Difference between revisions of "Category:HamsterProKit/Ros2Example"

From cogniteam
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
[[File:ros2.png|400px]]
 
[[File:ros2.png|400px]]
  
 +
'''NOTE: In case no input from camera - reconnect USB realsense D435i and restart launch'''
  
  
Line 17: Line 18:
 
Optionally you can publish through rqt standard ROS program, ROS2 usage same like ROS
 
Optionally you can publish through rqt standard ROS program, ROS2 usage same like ROS
  
Run rqt->plugins->topics-message publisher, use UI interface and hints.
+
Open new terminal, make source to ros2:
 +
 
 +
<code>ros2_prokit</code>
 +
 
 +
Run rqt:
 +
 
 +
<code>rqt</code>
 +
 
 +
Run plugins->topics-message publisher, use UI interface and hints
 +
 
 +
[[File:Rqt_ss.png|400px]]
  
 
More detailed about ROS rqt:
 
More detailed about ROS rqt:
  
[[ros_rqt|http://wiki.ros.org/rqt]]
+
[https://index.ros.org/doc/ros2/Tutorials/RQt-Overview-Usage/#rqt-components-structure ROS2_rqt]
 
 
[[rqt_publisher]]
 
  
'''NOTE: In case no input from camera - reconnect USB realsense D435i'''
+
[http://wiki.ros.org/rqt ROS_rqt]

Latest revision as of 11:26, 7 May 2020


ROS2 example

For ros2 available driver pkg for drive/steering control and ros2_intel_realsense launch.

ros2 launch hamster_driver ros2_camera_and_driver.launch.py

You should see something like:

Ros2.png

NOTE: In case no input from camera - reconnect USB realsense D435i and restart launch


topic for platform control - /ackermann_cmd

Optionally you can publish through rqt standard ROS program, ROS2 usage same like ROS

Open new terminal, make source to ros2:

ros2_prokit

Run rqt:

rqt

Run plugins->topics-message publisher, use UI interface and hints

Rqt ss.png

More detailed about ROS rqt:

ROS2_rqt

ROS_rqt

This category currently contains no pages or media.