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

Populate or remove Dxl shutdown flag from status dictionary #308

Open
hello-binit opened this issue Apr 26, 2024 · 0 comments
Open

Populate or remove Dxl shutdown flag from status dictionary #308

hello-binit opened this issue Apr 26, 2024 · 0 comments

Comments

@hello-binit
Copy link
Contributor

There is a "shutdown" key in the status dictionary that isn't populated or used.

self.status={'timestamp_pc':0,'comm_errors':0,'pos':0,'vel':0,'effort':0,'temp':0,'shutdown':0, 'hardware_error':0,

Screenshot from 2024-04-26 00-27-54

According to the Dynamixel docs (https://emanual.robotis.com/docs/en/dxl/x/xl430-w250/#shutdown), the shutdown byte can report whether the servo is experiencing:

  • an overload error
  • an electrical shock error
  • a motor encoder error
  • an overheating error
  • an input voltage error

Confusingly, we also have "hardware_error", "input_voltage_error", "overheating_error", "motor_encoder_error", "electrical_shock_error", "overload_error", "stalled", and "stalled_overload" flags. Furthermore, "stalled" always reports True, even if the servo is clearly not stalled. I think some consolidation and documentation around these error states would be useful.

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

No branches or pull requests

1 participant