spencer-project/spencer_people_tracking

How to change the odom default value?

Closed this issue · 1 comments

Hi:
I have a robot which public the tf odom named /my_robot/odom and can no be change, but in spencer the default odom tf frame value is "/odom", so I want to know how to change the default tf name from "/odom" to "/my_robot/odom"?

tlind commented

While some ROS nodes expose the odom frame as a parameter, this is currently not easily configurable in the launch files as it doesn't get passed through.

If you only have a single robot, I suggest to use a static_transform_publisher to publish a zero transform from /my_robot/odom to odom.