launch文件部分参数

例如:

<launch>
<!--调用laser_calibration_node节点-->
<node pkg="laser_calibration" name="laser_calibration" type="laser_calibration_node"  output="screen">
      <rosparam file="$(find laser_calibration)/config/parameter.yaml"/>
      <remap from="/laser_calibration/odom" to="/odom"/>
      <remap from="/laser_calibration/laserodom" to="/laserodom"/>
</node>

<!--调用其他launch文件-->
<include file="$(find tf_odom)/launch/transform.launch"/>

</launch>

node pkg为节点所在文件夹名,name可以随便取,type为编译生成的节点名字;
程序运行时,输入rosnode list,显示的会是launch文件里写的name;

remap修改接收和发布的话题名称,from(程序内部),to(程序外部)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值