ros中Odom话题与odom坐标系的理解

odom话题发表的是odom坐标系到base_link之间的转换关系,以及机器人的速度。其中base_like是机器人本体坐标系,与机器人中心重合,所以odom坐标系到base_link之间的转换关系也就是机器人在里程计坐标系中的位姿。
注:有些机器人例如pr_2是base_footprint,这是base_link原点在地面上的投影。不过在2D导航中两者表达的意思是一样的。
官网上是这么说的
The nav_msgs/Odometry message stores an estimate of the position and velocity of a robot in free space:
The pose in this message corresponds to the estimated position of the robot in the odometric frame along with an optional covariance for the certainty of that pose estimate. The twist in this message corresponds to the robot’s velocity in the child frame, normally the coordinate frame of the mobile base, along with an optional covariance for the certainty of that velocity estimate.

多个机器人仿真导航时,机器人的xacro文件中修改插件 differential_drive_controller的odom topic为$ (arg bodyframe)/odom其中bodyframe在launch文件中给出,其值是每个小车对应的命名空间,这样就可以分开查看每个小车的odom话题了,如果不改话题名,这种情况下odom会不断发出每个机器人的odom。但是多个小车仿真中,若指定其中

  • 4
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值