Skip to content

Fix close cleanup in real race env#86

Open
Yuming-Lee24 wants to merge 1 commit intolearnsyslab:devfrom
Yuming-Lee24:fix-close-cleanup
Open

Fix close cleanup in real race env#86
Yuming-Lee24 wants to merge 1 commit intolearnsyslab:devfrom
Yuming-Lee24:fix-close-cleanup

Conversation

@Yuming-Lee24
Copy link
Copy Markdown
Collaborator

Changes

  • Remove early-return guard in close()
  • Guard _return_to_start() with if self.data.taken_off
  • Emergency stop, close_link(), and ROS connector close now always run via the try/finally chain

@Yuming-Lee24 Yuming-Lee24 requested a review from ratheron April 29, 2026 14:57
@ratheron
Copy link
Copy Markdown
Collaborator

Have you also tested this in real?

@Yuming-Lee24
Copy link
Copy Markdown
Collaborator Author

Have you also tested this in real?

no I didn't. Yes, I should have tested this in real before open the PR.

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

Successfully merging this pull request may close these issues.

2 participants