Difference between revisions of "Category:Hamster"

From cogniteam
Jump to: navigation, search
Line 40: Line 40:
 
<syntaxhighlight lang="bash" line='line'>
 
<syntaxhighlight lang="bash" line='line'>
 
rostopic pub /mapping_command std_msgs/String "data: 'slam'"
 
rostopic pub /mapping_command std_msgs/String "data: 'slam'"
 +
</syntaxhighlight>
 +
<syntaxhighlight lang="bash" line='line'>
 +
rostopic pub /mapping_command std_msgs/String "data: 'localization'"
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
When switching from mapping to localization mode, the map is saved by the server, and loaded for localization algorithm.
 
When switching from mapping to localization mode, the map is saved by the server, and loaded for localization algorithm.

Revision as of 15:31, 29 March 2017


System overview


Hamster system

Robot's components

Each robots have two raspberry pi computers on board - master and slave, and a low level controller.

Master - Has a wifi connection to the hamster network, provides network access to slave. It also connected to the slave computer directly via ethernet cable.

Slave - Second computer, used primarily for slam/localization algorithms, connected to hamster network via master.

Low level controller - Arduino based board responsible for interaction with hardware components.

Operation modes

Hamster robot is capable of running mapping, localization or outdoor localization (using GPS and IMU).

Switching between modes:

In order to change operation mode publish std_msgs/String message to /mapping_command topic, containing on e of the following strings:

  • slam
  • localization
  • outdoor

Example: <syntaxhighlight lang="bash" line='line'> rostopic pub /mapping_command std_msgs/String "data: 'slam'" </syntaxhighlight> <syntaxhighlight lang="bash" line='line'> rostopic pub /mapping_command std_msgs/String "data: 'localization'" </syntaxhighlight>

When switching from mapping to localization mode, the map is saved by the server, and loaded for localization algorithm.

Subcategories

This category has the following 5 subcategories, out of 5 total.