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 emergency halt publisher #19

Open
wants to merge 96 commits into
base: galactic-devel
Choose a base branch
from

Conversation

niemsoen
Copy link

Adding a publisher to the rosbridge, that publishes a message, should the emergency halt be triggered, so that this can be used as trigger in other ROS nodes.

niemsoen and others added 30 commits September 30, 2021 12:52
Added headless launch file to mir_driver
…ver"

This reverts commit cf0f5c1, reversing
changes made to 39e025e.
Niemann and others added 29 commits January 20, 2022 16:54
…gfix

Launch mir_restapi_server in external driver
Co-authored-by: Sönke Niemann <[email protected]>
* add publisher for emergency halt

* fix cyclic emergency halt checking interrupts rosbridge

* improved terminal output

Co-authored-by: Sönke Niemann <[email protected]>
@mintar
Copy link

mintar commented Sep 19, 2022

It's not necessary to use the REST API to get the emergency status. The emergency status is already published as part of the RobotState message:

uint8 ROBOT_STATE_EMERGENCYSTOP = 10 # the robot has emg-stop activated

All we need to do is uncomment this line to get it published:

# TopicConfig('robot_state', mir_msgs.msg.RobotState),

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.

3 participants