Difference between revisions of "HamsterCommands"
Line 16: | Line 16: | ||
rostopic pub /agent1/events/wandering/state std_msgs/Bool "data: true" | rostopic pub /agent1/events/wandering/state std_msgs/Bool "data: true" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | <strong>2. Stop command for autonomous mode</strong> | ||
<syntaxhighlight lang="bash" line='line'> | <syntaxhighlight lang="bash" line='line'> | ||
− | rostopic pub / | + | rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'PAUSE'" |
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | '''OR for hamster V7''' | |
+ | |||
<syntaxhighlight lang="bash" line='line'> | <syntaxhighlight lang="bash" line='line'> | ||
− | rostopic pub / | + | rostopic pub /agent1/events/wandering/state std_msgs/Bool "data: false" |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 14:08, 20 April 2020
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>
OR for hamster V7
<syntaxhighlight lang="bash" line='line'> rostopic pub /agent1/events/wandering/state std_msgs/Bool "data: true" </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>
OR for hamster V7
<syntaxhighlight lang="bash" line='line'> rostopic pub /agent1/events/wandering/state std_msgs/Bool "data: false" </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>