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

add estop #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add estop #196

wants to merge 1 commit into from

Conversation

jimmytyyang
Copy link
Contributor

skill_executor.py now will listen to the rospy to determine if we want to terminate the current skills and go back to dock

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 20, 2024
Comment on lines +42 to +50
estop = rospy.get_param("estop", False)
if estop:
print("Emergency Stop!!! Robot returns to dock")
spotskillmanager = SpotSkillManager(
use_mobile_pick=True, use_semantic_place=True
)
spotskillmanager.dock()
self.end = True
raise SystemExit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Jimmy,

I think what I was thinking for e-stop is that we can just let robot "settle down" like with do in spot_estop functionality.

If we raise errors then we are killing out the node which is not necessarily what we want to do?

Want to know your thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants