amcl_pose更新太慢,无法实时获取机器人位置
-
用nav2的定位作为输入信息,但是发现其amcl_pose不是实时发布的,如何能够实时获取机器人当前的位姿呢,不然没法实现导航,像下面这样,位姿变化大才能获取一次
- [INFO] [1716359553.313979535] [Cal_Speed]: Current pose --- x:-0.9131642949331301, y: 1.7694896337933446, roll: -0.5944041742896721
- [INFO] [1716359554.500156434] [Cal_Speed]: Current pose --- x:-0.7149973758145713, y: 1.6404336672952016, roll: -0.6106016280224231
- [INFO] [1716359572.103620354] [Cal_Speed]: Current pose --- x:-0.6411368650629771, y: 1.5749633766483337, roll: -0.8429240614491312
- [INFO] [1716359572.931332719] [Cal_Speed]: Current pose --- x:-0.6504249647644103, y: 1.5256313100829122, roll: -1.0980112952668792
- [INFO] [1716359573.245436151] [Cal_Speed]: Current pose --- x:-0.7124886086056397, y: 1.482090609183854, roll: -1.3804752144120587
- [INFO] [1716359930.618673763] [Cal_Speed]: Current pose --- x:-0.7685960112053141, y: 1.4564874246178168, roll: -1.6389129402594276
-
@zhangcj13 可以通过tf获取位置信息