当前位置:网站首页>[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
rqt
1 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-plugins
Replace
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_gui
integration GUI and start the plugin from theplugins
menu.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_bag
is a plugin in the rqt core package and can be run without therosrun
command.):
rqt_graphrosrun rqt_graph rqt_graph
1.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_graph
currently 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 Info
rqt_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. ︎
边栏推荐
- Supervision strikes again, what about the market outlook?2021-05-22
- [ROS]ROS常用工具介绍(待续)
- 专访|带着问题去学习,Apache DolphinScheduler 王福政
- The 2nd China Rust Developers Conference (RustChinaConf 2021~2022) Online Conference Officially Opens Registration
- 监管再次重拳出击,后市如何?2021-05-22
- [ROS](03)CMakeLists.txt详解
- Chapter6 visualization (don't want to see the version)
- 第十三单元 混入视图基类
- 期货具体是如何开户的?
- [ROS](05)ROS通信 —— 节点,Nodes & Master
猜你喜欢
deal!It's July 30th!
Sentinel源码(四)(滑动窗口流量统计)
The most complete ever!A collection of 47 common terms of "digital transformation", read it in seconds~
专访|带着问题去学习,Apache DolphinScheduler 王福政
浅浅写一下PPOCRLabel的使用及体验
[ROS]roscd和cd的区别
8580 合并链表
你接受不了60%的暴跌,就没有资格获得6000%的涨幅 2021-05-27
The future of financial services will never stop, and the bull market will continue 2021-05-28
[ROS](05)ROS通信 —— 节点,Nodes & Master
随机推荐
监管再次重拳出击,后市如何?2021-05-22
Flask框架
海明校验码纠错设计原理
如何自定义feign方法级别的超时时间
Deep learning framework pytorch rapid development and actual combat chapter4
瑞吉外卖笔记——第10讲Swagger
你接受不了60%的暴跌,就没有资格获得6000%的涨幅 2021-05-27
Tornado框架路由系统介绍及(IOloop.current().start())启动源码分析
Data Organization---Chapter 6 Diagram---Graph Traversal---Multiple Choice Questions
Flask框架的搭建及入门
Haystack的介绍和使用
Flask上下文,蓝图和Flask-RESTful
MobileNet ShuffleNet & yolov5替换backbone
【ROS】编译软件包packages遇到进度缓慢或卡死,使用swap
第十二单元 关联序列化处理
第十五单元 分页、过滤
关于密码加密的一点思路
【Tensorflow】AttributeError: '_TfDeviceCaptureOp' object has no attribute '_set_device_from_string'
RowBounds[通俗易懂]
AWVS工具介绍[通俗易懂]