Ros Intro
Ros Intro
Carnegie Mellon
Node 3:
Planning
Node7
Node 6
• Use ROS only at the edges of your interconnected software modules: Downstream/Upstream interface
• Logging (VIDEO)
Logger
• Playback (VIDEO)
Object
Logger Playback
Recognition 17
Useful ROS Debugging Tools
• rostopic: Display debug information about ROS topics: publishers, subscribers, publishing
rate, and message content.
rostopic echo [topic name] prints messages to console
rostopic list prints active topics
… (several more commands)
• rqt_plot : Plot data from one or more ROS topic fields using matplotlib.
rqt_plot /turtle1/pose/x,/turtle1/pose/y graph data from 2 topics in 1 plot
Record data from published to
topics
rosbag record [topics] -o <output_file>
• Sensor data
• Robot joint states
• Coordinate frames
• Maps being built
• Debugging 3D markers
VIDEO
rviz
ROS Transformations
• “TF” = Name of Transform package
Example:
rosrun tf tf_echo [reference_frame] [target_frame]
Packages
• Perception
• OpenCV
• Kinect/OpenNI
ROS Simulator
Gazebo
• http://wiki.ros.org