Rviz and .urdf from Lego Digital Designer [closed]
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?
Please add more details. What did you use to convert your file? How did you call it? How exactly are you visualizing it?
I created a model with Lego Digital Designer and save it as .lxf file then export it as .ldr file
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
Then I add <param name="robot_description" command="cat $(find nxt_lejos_proxy_mod)/robot.urdf"/> in my .launch file
Then I launch my nodes and rosrun rviz rviz. I can see the links but their positions are wrong
Obviously I renamed the links which refers to the sensors with the names that I use in the .yaml file
Can someone tell me what I do wrong and how can i visualize in the right way my model, please?