Disabling UR5e teach pendant and turning on the arm with ROS
Hello,
So I have a system to power the UR5e, but now I want to disable the teach pendant and instead of doing the initialization sequence (the 5 circles) from the teach pendant (turning off the brakes, etc..) and would like to do with ROS. I have tried some stuff with the service /ur_driver/robot_enable, but I am not sure if this is what is suposed to do.
Besides this I also tried using the /ur_driver/URScript topic with "power on" and I get the following error:
[ERROR] [/ur_hardware_interface]: Robot is not ready, check robot_mode
What should I do to be able to avoid using the teach pendant every time I turn on/off the UR5e?