TF message visible in "rostopic echo /tf" but not in Rviz and tf_monitor
We are using our own implementation to publish a tfMessage type through rosjava.
In the simplest test I can see the message with the command rostopic echo /tf
as:
transforms:
-
header:
seq: 567527
stamp:
secs: 567
nsecs: 526999929
frame_id: map
child_frame_id: robot
transform:
translation:
x: 0.0
y: 0.0
z: 0.0
rotation:
x: 0.0
y: 0.0
z: 0.0
w: 1.0
While this looks fine, the command rosrun tf tf_monitor
shows no frames, rosrun tf tf_echo map robot
is unable to return the transform (empty list of current frames), and rviz does not find any frames.
The command rosrun tf view_frames
generates this visualization.
The data is coming from a simulator where I publish the /tf message and the /clock. The tf message time stamp equals the current simulation time in /clock. The parameter use_sim_time
is set to true.
Interestingly, recording and playing a rosbag with the topics /tf and /clock works, and the /tf transformation shows up correctly in tf_monitor and rviz.
My setup is ROS Indigo on Ubuntu 14.04.
Does anybody has an idea on how to debug this behaviour to figure out what's going wrong? Any suggestions welcome. Thank you!
can you share you frame.pdf from
rosrun tf view_frames
I have added the view_frames visualization: http://cl.ly/image/08443o3G0G2J
I see some problem with timestamp, you can see tf is 74.913 seconds old while you are publishing 1000hz.
related/same: http://answers.ros.org/question/26544...
related/same: http://answers.ros.org/question/23191...