Skip to content

Add error recovery for trossen arms#70

Open
shantanuparab-tr wants to merge 1 commit intotrossen-aifrom
enhancement/add_error_recovery
Open

Add error recovery for trossen arms#70
shantanuparab-tr wants to merge 1 commit intotrossen-aifrom
enhancement/add_error_recovery

Conversation

@shantanuparab-tr
Copy link
Copy Markdown
Collaborator

This pull request updates the disconnect method in trossen_arm_driver.py to improve the shutdown sequence for the Trossen arm. The changes ensure the arm is properly reconfigured and moved to the sleep pose in a blocking manner during disconnection.

Improvements to device disconnection and safety:

  • Added a call to self.driver.cleanup() at the start of the disconnect process to ensure resources are properly released.
  • Reconfigured the driver with the model name, end effector, and IP after cleanup to reset the device state.
  • Changed the call to set_all_positions for the sleep pose to be blocking (wait=True), ensuring the arm reaches the sleep position before disconnecting.

@shantanuparab-tr shantanuparab-tr self-assigned this Feb 27, 2026
@shantanuparab-tr shantanuparab-tr added the enhancement New feature or request label Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant