Rqt is another modular visualization tool provided by ROS. As Rqt is named, like Rviz, it is also developed based on the QT visualization tool.Before use, we need to install it through such a command, and then we can start it through the rqt command.
Generally, as long as the desktop version is installed, the rqt toolbox will be installed by default;
If you need to install it, you can install it as follows
sudo apt install ros-foxy-rqt*
Commonly used rqt
startup commands are:
rqt
ros2 run rqt_gui rqt_gui
After starting rqt, you can add the required plugins through plugins:
Plugins include plug-ins related to topics, services, actions, parameters, logs, etc. We can select them as needed to facilitate ROS2 program debugging. Usage examples are as follows.
Add the topic plug-in and send speed commands to control the movement of the turtle.
Add the service plug-in and send a request to generate a turtle at the specified location.
Dynamically modify the background color of the turtle form through parameter plug-ins.