Can you please post this on <a href="http://answers.ros.org">answers.ros.org</a> along with the first few lines of your URDF?<br><br><div class="gmail_quote">On Thu, Nov 10, 2011 at 9:17 AM, Miguel G. <span dir="ltr"><<a href="mailto:capelare@gmail.com">capelare@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, I'm trying to visualize the URDF models of the nxt_robots (robot.urdf files on each package) with the display.launch program from the urdf_tutorials stack, but I don't seem to be able to do so, it keeps crashing all the time:
<div><br></div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">




started core service [/rosout]<br>process[joint_state_publisher-2]: started with pid [2754]<br>process[robot_state_publisher-3]: started with pid [2759]<br>process[rviz-4]: started with pid [2762]<br>Traceback (most recent call last):<br>




  File "/home/capelare/ros/urdf_tools/joint_state_publisher/joint_state_publisher", line 208, in <module><br>    jsp = JointStatePublisher()<br>  File "/home/capelare/ros/urdf_tools/joint_state_publisher/joint_state_publisher", line 25, in __init__<br>




    robot = URDF().parse(description)<br>  File "/home/capelare/ros/urdf_tools/urdf_python/src/urdf_python/urdf.py", line 506, in parse<br>    base = xml.dom.minidom.parseString(xml_string)<br>  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1924, in parseString<br>




    return expatbuilder.parseString(string)<br>  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString<br>    return builder.parseString(string)<br>  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString<br>




    parser.Parse(string, True)<br>xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2, column 12<br>[joint_state_publisher-2] process has died [pid 2754, exit code 1].<br>log files: /home/capelare/.ros/log/b0629bba-0bad-11e1-93ed-001d4ffc607c/joint_state_publisher-2*.log</blockquote>




</div><div><br></div><div>That's what I get on the Terminal. Then rviz opens and displays all the meshes on the origin. Any ideas? Too many joints, maybe? The robot.urdf file passes the check_urdf tool, so I guess the syntax is OK. BTW, display.launch works fine with the urdf files I made following the urdf_tutorials, if you're wondering.</div>



<div><br></div><div>I'm still getting used to ros, urdf, rviz... and I tried to make this work by myself, so maybe this is the stupidest problem ever, but I'm totally lost.</div><div><br></div><div>Thanks for your time,</div>



<div>Miguel :)</div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>