Difference between revisions of "HamsterCommands"
From cogniteam
Line 5: | Line 5: | ||
Command list for terminal: | Command list for terminal: | ||
− | <strong>1. Start command for | + | <strong>1. Start command for autonomous mode</strong> |
<syntaxhighlight lang="bash" line='line'> | <syntaxhighlight lang="bash" line='line'> | ||
rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'RESUME'" | rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'RESUME'" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | <strong>2. Stop command for | + | <strong>2. Stop command for autonomous mode</strong> |
<syntaxhighlight lang="bash" line='line'> | <syntaxhighlight lang="bash" line='line'> | ||
rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'PAUSE'" | rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'PAUSE'" |
Revision as of 08:43, 9 April 2018
Command list for terminal:
1. Start command for autonomous mode <syntaxhighlight lang="bash" line='line'> rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'RESUME'" </syntaxhighlight>
2. Stop command for autonomous mode <syntaxhighlight lang="bash" line='line'> rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'PAUSE'" </syntaxhighlight>
3. Mapping mode <syntaxhighlight lang="bash" line='line'> rostopic pub /mapping_command std_msgs/String "data: 'slam'" </syntaxhighlight>
4. Localization mode <syntaxhighlight lang="bash" line='line'> rostopic pub /mapping_command std_msgs/String "data: 'localization'" </syntaxhighlight>