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

Has there been progress for URDF transform jitter in RVIZ?

asked 2011-02-20 16:37:10 -0600

Chad Rockey gravatar image

From my ros-users post:

So I have been following the really nice (R2D2) tutorials on URDF, thanks a lot for those! I've managed to get our robot model into RVIZ and follow base_link, but the transforms on the URDF besides base_link all seem to time lag, causing some jittery looking motion:

http://www.youtube.com/watch?v=GiQUc8FG6m8

We originally noticed that the static TFs defaulted publishing from joint_state_publisher at 10Hz, so we set it to 100Hz. This upped the maximum rate published to that of our base_link (~50Hz from our odom source), but this is what you see in the video.

The model does not jitter in RVIZ if the target and fixed frame are set to base_link, but does jitter when fixed frame is odom. We are playing data from a recorded bag file using --clock and have set use_sim_time to true. I've attached a copy of the xacro file I use to generate our urdf in case I've made a mistake in there.

Thanks,

- Chad

It would be nice to have the links update and move synchronously for the robot model. Is this something that should have a ticket made? Are there other solutions than editing the timestamps in the bagfile?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2011-03-28 16:25:34 -0600

tfoote gravatar image

I think that the most proper fix is to file a ticket against rviz to update the robot model atomically.

The development version of tf2 deals with static transforms natively, however that won't fix this problem completely if some of the joints are not static.

edit flag offensive delete link more

Comments

The link is broken, could you post a new link?

littleghost gravatar image littleghost  ( 2019-02-01 01:03:31 -0600 )edit
0

answered 2011-02-20 17:21:30 -0600

Did you run tf_monitor?

edit flag offensive delete link more

Comments

Yea, especially playing from a bag file, the transforms DO arrive late. However, it was mentioned that it might be better to have RVIZ "know" that all static transforms for a URDF to base_link are static and will move with base_link.
Chad Rockey gravatar image Chad Rockey  ( 2011-02-21 17:26:58 -0600 )edit
0

answered 2016-11-25 09:25:06 -0600

TwoBid gravatar image

Is there any progress regarding this problem? I have an prismatic joint attached to my robot for lifting pallets. In Gazebo everything runs smoothly but in riz its jittering pretty hard.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2011-02-20 16:37:10 -0600

Seen: 1,232 times

Last updated: Nov 25 '16