Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dave992 opened this issue Aug 12, 2022 · 2 comments

Comments

@dave992
Copy link

dave992 commented Aug 12, 2022

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 dave992 changed the title Call to set_motor_on failed after not using the robot for longer period Call to set_motor_on failed after not using the robot for longer period of time Aug 12, 2022
@gavanderhoorn
Copy link
Member

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)?

@dave992
Copy link
Author

dave992 commented Sep 5, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants