abb_robot_driver icon indicating copy to clipboard operation
abb_robot_driver copied to clipboard

Call to set_motor_on failed after not using the robot for longer period of time

Open dave992 opened this issue 3 years ago • 2 comments

The service call to /rws/set_motors_on sometimes fails with the following result:

result_code: 0 
message: "Service failed (e.g. timeout or resource not found, see the DEBUG log for details)"

This only seems to happen if I do not use the abb_robot_driver for a longer period of time (like 5min plus?) when the motors are off and I want to activate them again via the /rws/set_motors_on service call.

Immediately calling the same service again works and activates the motors as expected.

dave992 avatar Aug 12 '22 12:08 dave992

It's likely this is caused by the servos going into energy conservation / eco mode.

That's indeed not a situation that was included in testing during development.

I'm not immediately sure why a second invocation is required.

Is there any indication of whether servos are still on in the state topic(s)?

gavanderhoorn avatar Sep 05 '22 13:09 gavanderhoorn

The /rws/system_states topics report motors_on: False just before reproducing this error. (I always start the state machine in a motors off state).

dave992 avatar Sep 05 '22 13:09 dave992