ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

robot_state_publisher publishes strange tf

asked 2021-02-24 10:54:44 -0600

dandelion1124 gravatar image

I tried to develop simulation environment for ROS2.
https://github.com/atinfinity/megarov...

And, I launch the following command.

ros2 launch megarover_samples_ros2 vmegarover_with_sample_world.launch.py

This launch file uses robot_state_publisher to publish tf.
But, it seems some frames publish strange tf.
So, I launch the following command to check tf.

ros2 run tf2_tools view_frames.py

As a result, I found that some frame has Wall Time as time stamp.
But, I don't know the reason.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-02-24 11:35:48 -0600

dandelion1124 gravatar image

I resolved this problem.
I need to set use_sim_time=True to joint_state_publisher

edit flag offensive delete link more

Comments

Why is that?

skpro19 gravatar image skpro19  ( 2021-02-24 14:04:58 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-02-24 10:54:44 -0600

Seen: 127 times

Last updated: Feb 24 '21