ros中常用指令分类汇总

编译指令

1.单独编译某个包

catkin_make -DCATKIN_WHITELIST_PACKAGES=" 包名"

路径查找指令

ros官方说明:wiki/roscd

1 roscd 不加任何参数会转到ros空间下
2 roscd <package-or-stack>[/subdir] 查找包的位置

话题查找指令

官方说明wiki/rostopic

rostopic bw     display bandwidth used by topic
rostopic delay display delay for topic which has header
rostopic echo   print messages to screen
rostopic find   find topics by type
rostopic hz     display publishing rate of topic
rostopic info   print information about active topic
rostopic list   print information about active topics
rostopic pub    publish data to topic
rostopic type   print topic type

节点启动指令

1.rosrun

rosrun <package> <executable>     package:包名 executable :节点

2.roslaunch
官网说明:wiki/roslaunch

$ roslaunch package_name file.launch
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值