Difference between revisions of "HamsterCommands"

From cogniteam
Jump to: navigation, search
(Created page with "Category:HamsterV5 Category:HamsterV4 Category:Hamster Command list for terminal: <strong>Start command for autonomus mode</strong> <syntaxhighlight lang="bash"...")
 
Line 5: Line 5:
 
Command list for terminal:
 
Command list for terminal:
  
<strong>Start command for autonomus mode</strong>
+
<strong>1. Start command for autonomus 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>Stop command for autonomus mode</strong>
+
<strong>2. Stop command for autonomus 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'"
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 15:38, 5 March 2018


Command list for terminal:

1. Start command for autonomus 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 autonomus mode <syntaxhighlight lang="bash" line='line'> rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'PAUSE'" </syntaxhighlight>