Robotics StackExchange | Archived questions

Rviz and .urdf from Lego Digital Designer

I converted a model created with Lego Digital Designer in a .urdf file, but when I visualize it with rviz all the link positions are wrong. What do I do wrong?

Asked by camilla on 2012-08-22 02:28:55 UTC

Comments

Please add more details. What did you use to convert your file? How did you call it? How exactly are you visualizing it?

Asked by AHornung on 2012-08-22 03:38:20 UTC

I created a model with Lego Digital Designer and save it as .lxf file then export it as .ldr file

Asked by camilla on 2012-08-22 04:07:25 UTC

then I used the command: rosrun nxt_lxf2urdf lxf2urdf.py robot.lxf robot.ldr > robot.urdf to get the .urdf file as stated in this tutorial: http://www.ros.org/wiki/nxt_lxf2urdf/Tutorials/Creating%20a%20simple%20robot%20model%20using%20lxf2urdf.py

Asked by camilla on 2012-08-22 04:08:10 UTC

Then I add in my .launch file

Asked by camilla on 2012-08-22 04:09:13 UTC

Then I launch my nodes and rosrun rviz rviz. I can see the links but their positions are wrong

Asked by camilla on 2012-08-22 04:10:10 UTC

Obviously I renamed the links which refers to the sensors with the names that I use in the .yaml file

Asked by camilla on 2012-08-22 04:10:59 UTC

Can someone tell me what I do wrong and how can i visualize in the right way my model, please?

Asked by camilla on 2012-08-22 04:11:31 UTC

Answers