ROS2 publish posestamped bug. pose dont change, Wrong doc or I use it wrong?

5.1.0

Operating System

Ubuntu 22.04
GPU Information

  • Model: 5070ti
  • Driver Version: 570.144

Topic Description

ROS2 publish posestamped topic, when move turtlebot in sim. Pose dont change, Wrong doc or I use it wrong?

Detailed Description

I use this doc to publish posestamped ros2 topic.

when run the simulation, I use teleop_keyboard to move trim robot, but the posestamped topic pose dont change, time goes as it should be.
no matter how I move the robot, the topic pose position stay the same as it started.
how to publish make topic pose position change in simulation?

Why not publish odometry of the robot? It is basically the ground truth robot pose provided by Isaac Sim.
Please check out this tutorial

谢谢回复。我也用了这个,只是写的上层ros模块需要一个posestamped类型的topic来获取实时位置。后来用别的方式解决了,原来发topic教程里的方式里那个/pose数据不刷新,只能读取到trim一开始的位置。

1 Like

@user31642 So your issue is resolved, right? Then I will close this topic.