Hi Grace,<br><br>I've answered inline.<br><br><div class="gmail_quote">On Tue, Jul 20, 2010 at 3:43 PM, Yeon Grace Lee <span dir="ltr"><<a href="mailto:yeongrace.lee@gmail.com" target="_blank">yeongrace.lee@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi All,<br><br>I am trying to spawn my person_urdf in gazebo but instead of the entire human model, only one of the links is showing up. It seems that the other links were not spawned (they are neither in the sky nor the ground). Lower torso, which is the link that shows up in gazebo, is neither the fixed link nor the root link. Attached is the urdf file that i am spawning in gazebo. <br>


</blockquote><div><br>Any child(ren) of "virtual" links (links without 
inertia/collision/visual elements) are ignored in gazebo simulation (with the exception of the "world" link, or the inertial frame).  There's an <a href="https://code.ros.org/trac/ros-pkg/ticket/3524">open ticket</a> for this feature.<br>

 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Also, guessing from the previous urdf files in our USC repository, is it necessary to have a "world" joint whose parent is world and child is the root link? I wasn't sure if this was something I should take into consideration while working with urdf/gazebo in cturtle.<br>


</blockquote><div><br>As of cturtle, we do not require world-joint anymore.  Instead, if you attach your model to the inertial frame by specifying a joint with world as the parent link, you will need to declare a virtual link for the world:<br>

<link name="world"/><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

My last question is, in order to manipulate several joints at once (i.e. shoulder moves while hip rotates, etc), is it necessary to divide up the link which is currently in one urdf file into separate urdf files as your PR2 model has done?<br>


</blockquote><div><br>No.  The division and use of xacro macros simply allows us to reuse various components of the robot urdf.  In the end, the PR2 robot urdf is described by one single file/string, e.g.:<br><br>rosrun xacro xacro.py `rospack find pr2_description`/robots/pr2.urdf.xacro > /tmp/pr2.urdf<br>


<br>hope this helps,<br>John<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>Thank you in advance,<br><br>Grace L. <br><br><br>p.s. below is the snapshot of the terminal for spawning the urdf model in gazebo.<br><br>yglee@yglee-laptop:~/cturtle_usc/stacks/interaction-ros-pkg/sandbox/person_urdf2$ roslaunch person_urdf2 person_gazebo.launch <br>



... logging to /home/yglee/.ros/log/29ed66c2-944f-11df-afd2-00236c960005/roslaunch-yglee-laptop-8830.log<br>Checking log directory for disk usage. This may take awhile.<br>Press Ctrl-C to interrupt<br>Done checking log file disk usage. Usage is <1GB.<br>



<br>started roslaunch server <a href="http://yglee-laptop:51427/" target="_blank">http://yglee-laptop:51427/</a><br><br>SUMMARY<br>========<br><br>PARAMETERS<br> * /use_sim_time<br> * /robot_description<br><br>NODES<br>  /<br>


    gazebo (gazebo/gazebo)<br>
    human (gazebo_tools/gazebo_model)<br><br>ROS_MASTER_URI=<a href="http://yglee-laptop:11311/" target="_blank">http://yglee-laptop:11311/</a><br><br>core service [/rosout] found<br>process[gazebo-1]: started with pid [8850]<br>


process[human-2]: started with pid [8851]<br>
Gazebo multi-robot simulator, version 0.10.0<br><br>Part of the Player/Stage Project [<a href="http://playerstage.sourceforge.net" target="_blank">http://playerstage.sourceforge.net</a>].<br>Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.<br>



Released under the GNU General Public License.<br><br>directory [/tmp/gazebo-yglee-0] already exists (previous crash?)<br>but the owner gazebo server (pid=8743) is not running.<br>deleting the old information of the directory [/tmp/gazebo-yglee-0]<br>



Gazebo successfully initialized<br>[human-2] process has finished cleanly.<br>log file: /home/yglee/.ros/log/29ed66c2-944f-11df-afd2-00236c960005/human-2*.log<br><br>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">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>