Topic Monitor
WARNING: Be careful when running the robot on the table as the robot might fall.
NOTE:
- This instructions were tested on
Ubuntu 16.04
andROS Kinetic Kame
. - This instructions are supposed to be running on the remote PC. Please run the instructions below on your Remote PC.
- Make sure to run the Bringup instructions before running the instructions below.
In order to check the topics of TurtleBot3, we will use rqt provided by ROS. The rqt is a Qt-based framework for GUI development for ROS. The rqt is a tool that allows users to easily see the topic status by displaying all the topics in the topic list. There are topic names, types, bandwidth, Hz, value in GUI.
[Remote PC] Run the rqt.
$ rqt
TIP: If rqt is not displayed, select the plugin
-> Topics
-> Topic Monitor
.
When rqt is first run, the topic values are not monitored. To monitor the topic, click the checkbox next to each topic.
If you want to see more detail topic message, click the ▶
button next to each checkbox.
/battery_state
indicates a message relating to the battery condition, such as the current battery voltage and remaining capacity.
/diagnostics
indicates a message the status of the components connected to the TurtleBot3, such as a MPU9250, a DYNAMIXEL X, a HLS-LFCD-LDS, a battery and a OpenCR.
/odom
indicates a message the odometry of the TurtleBot3. This topic has orientation and position by the encoder data.
/sensor_state
indicates a message the encoder values, battery and torque.
/scan
indicates a message all of the LDS data, such as angle_max and min, range_max and min, indicates, ranges.
In addition, you can monitor topics through rqt whenever you have a topic added.