当前位置:网站首页>7、 Common commands of ROS (II): rosservice, rossrv, rosparam
7、 Common commands of ROS (II): rosservice, rossrv, rosparam
2022-07-26 17:54:00 【Rock magnon】
List of articles
1、rosservice: List and query related services
1. rosservice list
- List all activities service
- Return results :
rosservice list /add_int /rosout/get_loggers /rosout/set_logger_level /server/get_loggers /server/set_logger_level
2. rosservice args service name
- Print service parameters
- Return results :
rosservice args add_int num1 num2
3. rosservice call service name Parameters 1 Parameters 2
- Call the service
- Return results :
rosservice call add_int 12 12 sum: 24
4. rosservice find Package name / Message type
- Get topics according to the message type
- Return results :
rosservice find server_client/add /add_int
5. rosservice info service name
- Get service topic details
- Return results :
rosservice info add_int Node: /server URI: rosrpc://d102-W65KJ1-KK1:50671 Type: server_client/add Args: num1 num2
6. rosservice uri service name
- Get server uri
- Return results :
rosservice uri add_int rosrpc://d102-W65KJ1-KK1:50671
7. rosservice type service name
- Get message type
- Return results :
rosservice type add_int server_client/add
2、rossrv: Show ros Commands related to service type message information
1. rossrv list (| grep -i Package name / Search name )
- List all srv news , Add the contents in brackets , You can display the message types in a package , Add the search name , You can display related packages containing the search name
- Return results
rossrv list control_msgs/QueryCalibrationState control_msgs/QueryTrajectoryState control_toolbox/SetPidGains controller_manager_msgs/ListControllerTypesRetrieval function : rossrv list | grep -i add diagnostic_msgs/AddDiagnostics rospy_tutorials/AddTwoInts server_client/add topic_tools/DemuxAdd topic_tools/MuxAddrossrv list | grep -i server_client server_client/add
2. rossrv packages
- List all packages that contain service messages
- Return results :
rossrv packages control_msgs control_toolbox controller_manager_msgs
3. rossrv package Package name
- List all under a package msg
- Return results :
rossrv package server_client server_client/add
4. rossrv show Data type name
- Displays the message description
- Return results :
rossrv show add [server_client/add]: int32 num1 int32 num2 --- int32 sum
5. rossrv info Data type name
- Displays the message description
- Return results :
rossrv info add [server_client/add]: int32 num1 int32 num2 --- int32 sum
6. rossrv md5
- Unknown
- Return results :
3、rosparam: Parameter server related parameter operations , Inquire about
1. rosparam list
- List all parameters
- Return results :
osparam list /nh_bool /nh_double /nh_int /nh_int_param
2. rosparam set key value
- Set parameters , Some words , To cover , If not , Carry out new construction
- Return results :
rosparam set nh_int 10
3. rosparam get key
- Get key value
- Return results :
rosparam get nh_int 10
4. rosparam delete key
- Delete parameters
- Return results :
rosparam delete nh_int
5. rosparam load xxx.yaml
- Load parameters
- Return results :
rosparam load test.yaml
6. rosparam dump xxx.yaml
- Write out the parameters to an external file
- Return results :
rosparam dump test.yaml
边栏推荐
- Use replace regexp to add a sequence number at the beginning of a line
- Tree DP problem
- URL跳转漏洞
- [training Day2] torchbearer
- SQL injection (mind map)
- 2.1.2 synchronization always fails
- RedisDesktopManager去除升级提示
- Zhaoqi science and technology innovation overseas high-level talent introduction platform, entrepreneurship event Roadshow
- ASEMI整流桥KBPC3510,KBPC3510封装,KBPC3510应用
- How to set IP for layer 2 management switches
猜你喜欢

带你熟悉云网络的“电话簿”:DNS

JS 闭包 模拟私有变量 面试题 立即执行函数IIFE

Week 16 OJ practice 1 calculates the day of the year

即刻报名|飞桨黑客马拉松第三期盛夏登场,等你挑战

(25) top level menu of blender source code analysis blender menu

kudu设计-tablet

leetcode:1206. 设计跳表【跳表板子】

AI sky covering DL multilayer perceptron

Coscon'22 city / school / institution producer solicitation order
![Leetcode:1206. design jump table [jump table board]](/img/4f/2b6df8e2151b8bce70c8227c69d8bc.png)
Leetcode:1206. design jump table [jump table board]
随机推荐
[training Day1] Dwaves line up
SQL中去去重的三种方式
兆骑科创海外高层次人才引进平台,创业赛事活动路演
(24) the top menu of blender source code analysis shows code analysis
6-19 vulnerability exploitation -nsf to obtain the target password file
线性表的顺序存储结构——顺序表
[virtual machine data recovery] data recovery cases in which XenServer virtual machine is unavailable due to accidental power failure and virtual disk files are lost
Zhaoqi science and technology innovation overseas high-level talent introduction platform, entrepreneurship event Roadshow
JS function scope variables declare that the variables that promote the scope chain without VaR are global variables
Pay attention to the traffic safety warning of tourism passenger transport issued by the Ministry of public security
【集训Day2】cinema ticket
【集训Day3】Reconstruction of roads
#夏日挑战赛# OpenHarmony基于JS实现的贪吃蛇
(25) top level menu of blender source code analysis blender menu
URL jump vulnerability
Spark data format unsafe row
pip安装模块,报错
AI sky covering DL multilayer perceptron
Several ways to resolve hash conflicts
Spark数据格式UnsafeRow