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

Restarting a sheriff with the same config removes commands #25

Open
heuristicus opened this issue Apr 22, 2021 · 0 comments
Open

Restarting a sheriff with the same config removes commands #25

heuristicus opened this issue Apr 22, 2021 · 0 comments

Comments

@heuristicus
Copy link

Running on the anymal with each machine running two deputies, one for the default configuration and one for subt, starting

~/robots/drs/subt_ws/src/darpa_subt/anymal/anymal_coyote_subt/anymal_coyote_subt/config/procman $ rosrun procman_ros sheriff coyote_subt.pmd

Loads as normal (except both jetson deputies seem to appear?).

Killing this command and then running it again results in many of the commands being missing, and output in the terminal of

Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/procman_ros/sheriff_gtk/command_console.py", line 220, in _gtk_on_sheriff_command_removed
    del self._cmd_extradata[command]
KeyError: <procman_ros.sheriff.Command object at 0x7f0835b845e0>
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/procman_ros/sheriff_gtk/command_console.py", line 220, in _gtk_on_sheriff_command_removed
    del self._cmd_extradata[command]
KeyError: <procman_ros.sheriff.Command object at 0x7f0835b84610>
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/procman_ros/sheriff_gtk/command_console.py", line 220, in _gtk_on_sheriff_command_removed
    del self._cmd_extradata[command]
KeyError: <procman_ros.sheriff.Command object at 0x7f0835b84640>
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/procman_ros/sheriff_gtk/command_console.py", line 220, in _gtk_on_sheriff_command_removed
    del self._cmd_extradata[command]
KeyError: <procman_ros.sheriff.Command object at 0x7f0835b99d30>
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/procman_ros/sheriff_gtk/command_console.py", line 220, in _gtk_on_sheriff_command_removed
    del self._cmd_extradata[command]
KeyError: <procman_ros.sheriff.Command object at 0x7f0835b99b50>
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/procman_ros/sheriff_gtk/command_console.py", line 220, in _gtk_on_sheriff_command_removed
    del self._cmd_extradata[command]
KeyError: <procman_ros.sheriff.Command object at 0x7f0835b99f70>

This does not seem to happen consistently and the commands that are removed are not always the same.

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