HamsterCommands

From Cogniteam
Jump to: navigation, search


Command list for terminal:

1. Start command for autonomous mode

1 rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'RESUME'"

OR for hamster V7

1 rostopic pub /agent(PUT_YOUR_AGENT_NUMBER)/commands/wandering/enable std_msgs/Bool "data: true"

2. Stop command for autonomous mode

1 rostopic pub /decision_making/agent(PUT_YOUR_AGENT_NUMBER)/events std_msgs/String "data: 'PAUSE'"

OR for hamster V7

1 rostopic pub /agent(PUT_YOUR_AGENT_NUMBER)/commands/wandering/enable std_msgs/Bool "data: false"

3. Mapping mode

1 rostopic pub /mapping_command std_msgs/String "data: 'slam'"

4. Localization mode

1 rostopic pub /mapping_command std_msgs/String "data: 'localization'"