Difference between revisions of "Category:HamsterProKit/RosExample"

From cogniteam
Jump to: navigation, search
(Created page with "== ROS1 examples == '''1. For launch SLAM example:''' <code><span style="color:black"></span>roslaunch hamster_launch prokit_slam_2d.launch</code> To visualize output you c...")
 
Line 1: Line 1:
 +
[[Category:HamsterProKit]]
 
== ROS1 examples ==
 
== ROS1 examples ==
  

Revision as of 16:02, 5 December 2019

ROS1 examples

1. For launch SLAM example:

roslaunch hamster_launch prokit_slam_2d.launch

To visualize output you can use RVIZ and output topics:

/map - 2D map

/agent<your_agent_number>/scan - 2D scan

/agent<your_agent_number>/camera/depth/color/points - point cloud

Example image below

Slam2D rviz.png

2. For launch wandering example:

roslaunch hamster_launch prokit_wandering.launch

Wandering with obstacle avoidance will start automatically.

3. For launch detection example:

roslaunch hamster_launch prokit_detection.launch

To see picture with detection use standard ros plugin: rqt_image_view

/agent<your_agent_number>/openvino_toolkit/images - topic to see detection


To control robot drive/steering use /agent*/ackermann_cmd topic.

This category currently contains no pages or media.