Ask Your Question
0

Question about the simmechanics_to_urdf

asked 2012-12-20 19:33:23 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi,

My ROS Version is electric, I hope to show my model drawn by PROE 5.0 in the rviz. I used simmechanics_to_urdf but there is a problem. My xml file is stored in the administrator/ros_workspace, I ran the command rosrun simmechanics_to_urdf convert.py yuanzhu.xml yuanzhu.yaml xml > yuanzhu.urdf. However, the mistake happened:

File "/opt/ros/electric/stacks/robot_model/simmechanics_to_urdf/convert.py", line 683, in get (off,rpy) = self.listener.lookupTransform(parent, child, rospy.Time(0)) tf.ExtrapolationException: Lookup would require extrapolation at time 1356075103.032196045, but only time 1356075103.032871008 is in the buffer, when looking up transform from frame [/____1CG] to frame [/X____1]

I'm new to ROS, if anyone can give me a help, I'll appreciate it. Thank you!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-12-26 15:34:46 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Copied from here.

The first version of the package used a TransformListener/TransformBroadcaster to calculate geometry, when the appropriate behavior is to use a Transformer object. This is what leads to the TransformExtrapolation Error.

The most recent version is available here: https://code.google.com/p/wu-robotics/source/browse/#svn%2Fbranches%2Fstable%2Furdf_tools.

edit flag offensive delete link more
0

answered 2012-12-30 14:44:42 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Thank you for your reply,

I downloaded the new tool and when I ran it, another error came out: ImportError: No module named urdf_python.urdf

I hope to ask about where I can find the urdf_python.urdf? There is a package named urdf_python but I can't find this file even after I rosmake the package.

edit flag offensive delete link more

Comments

It is in the linked stack.

David Lu gravatar image David Lu  ( 2013-01-03 15:10:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-12-20 19:33:23 -0500

Seen: 94 times

Last updated: Dec 30 '12