当前位置:网站首页>[ROS] Introduction to common tools in ROS (to be continued)
[ROS] Introduction to common tools in ROS (to be continued)
2022-08-02 14:18:00 【CynalFly】

Introduce the tools commonly used in ROS development.But it will not be so comprehensive. If you want to know more in detail, please get familiar with the reference link at the end of the article.
These tools are updated as needed.
1. rqt
rqt1 is a Qt based softwareFramework, in the form of plugins for developing various ROS GUIs.It has the characteristics of good scalability, flexibility and ease of use, and cross-platform.Multiple GUI tools can be opened in rqt and these tools can still be run in the traditional standalone way.
1.1 install
Initial installation of standard packages (rqt's core library and common plugins) can be installed by the following command:
$ sudo apt-get install ros-<distro>-rqt$ sudo apt-get install ros-<distro>-rqt-common-pluginsReplace
with the short name of the ROS distribution you installed (such as melodic or noetic, etc.).
1.2 running the rqt plugin
rqt plugins can be run in the standard integrated window (recommended later) or separately.
- Run the
rqt_guiintegration GUI and start the plugin from thepluginsmenu.Choose one of the following two commands:
rqtrosrun rqt_gui rqt_gui
- Run each individual plugin, whichever plugin is needed.Choose one of the following two commands (our commonly used
rqt_graph,rqt_plot,rqt_console,rqt_logger_level,rqt_bagis a plugin in the rqt core package and can be run without therosruncommand.):
rqt_graphrosrun rqt_graph rqt_graph1.3 rqt common plugin: rqt_graph
Function: Visualize the ROS computational graph.It can display which Nodes and Topics are currently running, and the direction of message delivery, which can be displayed in this GUI.
Note:rqt_graphcurrently does not automatically update statistical notes.You must click the Refresh button to update them.
1.4 rqt common plugin: rqt_plot
Function: 2D drawing, which can dynamically draw the data on the topic in the form of 2D drawing.
1.5 rqt common plugins: rqt_console and rqt_logger_level
Function: Display and filter ROS messages.rqt_console is connected to ROS's logging framework to display node output information.rqt_logger_level allows us to change the verbosity level of output information including Debug, Info, Warn and Error while the node is running.
Now let's take a look at the information output by turtlesim in rqt_console, and switch the log level in rqt_logger_level when using turtlesim.Run rqt_console and rqt_logger_level in two new terminals before starting turtlesim:
rqt_consolerqt_logger_level Start turtlesim, refresh the node in the rqt_logger_level window and select the turtlesim node, and set the log level Debug and Inforqt_console window.
Logger Level: Debug is the lowest priority and Fatal is the highest priority.For example, when the log level is set to Warn, you will get three levels of log messages Warn, Error and Fatal.
1.6 rqt common plugin: rqt_bag
Function: Record and playback bag files.
2. rosbag
2. Gazebo
2. RViz
2. rosbridge
2. moveit
ROS.org. rqt[EB/OL]. 2016-08-30[2022-07-28]. https://wiki.ros.org/rqt. ︎
边栏推荐
猜你喜欢

How to solve mysql service cannot start 1069

文件加密软件有哪些?保障你的文件安全

The bad policy has no long-term impact on the market, and the bull market will continue 2021-05-19

Interview | with questions to learn, Apache DolphinScheduler Wang Fuzheng

Deep learning framework pytorch rapid development and actual combat chapter4

redis延时队列

配置zabbix自动发现和自动注册。

Sentinel源码(六)ParamFlowSlot热点参数限流

8580 合并链表

政策利空对行情没有长期影响,牛市仍将继续 2021-05-19
随机推荐
无序数组排序并得到最大间隔
Sentinel源码(四)(滑动窗口流量统计)
How does Apache, the world's largest open source foundation, work?
理解TCP长连接(Keepalive)
瑞吉外卖笔记——第05讲Redis入门
Cloin 控制台乱码
未来的金融服务永远不会停歇,牛市仍将继续 2021-05-28
[ROS] Compiling packages packages encounters slow progress or stuck, use swap
window10下半自动标注
Basic operations of 8583 sequential stack
[ROS] (04) Detailed explanation of package.xml
第三单元 视图层
Raft对比ZAB协议
What is the difference between web testing and app testing?
期货具体是如何开户的?
RowBounds[通俗易懂]
配置zabbix自动发现和自动注册。
Flask-RESTful请求响应与SQLAlchemy基础
海明校验码纠错设计原理
第十四单元 视图集及路由