<div><br></div><div>Hi, John:</div><div><br></div><div>Sorry to bother you again.</div><div><br></div><div>1) </div><div>I checked out pr2_2dnav_gazebo and put it under the corresponding folder of my installed ROS.</div><div>
say:   /opt/ros/cturtle/stacks/wg_robots_gezebo/pr2_2dnav_gazebo</div><div><br></div><div>When I do roslaunch</div><div>"<span class="Apple-style-span" style="font-family: courier, monospace; font-size: 15px; white-space: pre-wrap; ">roslaunch pr2_2dnav_gazebo pr2-armless-wg-fake_localization.launch"</span></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>I got 'ROBOT' is not set</div><div><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; ">
<div>jiapei@jiapei-laptop:/opt/ros/cturtle/stacks/wg_robots_gezebo$ roslaunch pr2_2dnav_gazebo pr2-armless-wg-fake_localization.launch</div><div>... logging to /home/jiapei/.ros/log/73e7b77a-bd42-11df-8314-0040d0a919ff/roslaunch-jiapei-laptop-4044.log</div>
<div>Checking log directory for disk usage. This may take awhile.</div><div>Press Ctrl-C to interrupt</div><div>Done checking log file disk usage. Usage is <1GB.</div><div><br></div><div>environment variable 'ROBOT' is not set</div>
</blockquote><div><br></div><div><br></div><div>Then, I set 'ROBOT' as "PR2" (I just guessed this, how to set this environment variable? )</div><div>This time, I obtained  "Invalid roslaunch XML syntax: [Errno 2] No such file or directory" .</div>
<div><br></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; ">
<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; ">
jiapei@jiapei-laptop:/opt/ros/cturtle/stacks/wg_robots_gezebo$ export ROBOT=PR2</blockquote><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; ">
jiapei@jiapei-laptop:/opt/ros/cturtle/stacks/wg_robots_gezebo$ roslaunch pr2_2dnav_gazebo pr2-armless-wg-fake_localization.launch</blockquote><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; ">
... logging to /home/jiapei/.ros/log/db1290a0-bd42-11df-b443-0040d0a919ff/roslaunch-jiapei-laptop-4091.log</blockquote><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; ">
Checking log directory for disk usage. This may take awhile.</blockquote><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; ">
Press Ctrl-C to interrupt</blockquote><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; ">
Done checking log file disk usage. Usage is <1GB.</blockquote><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; ">
<br></blockquote><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; ">
while processing /opt/ros/cturtle/stacks/wg_robots_gezebo/pr2_2dnav_gazebo/2dnav-stack-fake_localization.launch:</blockquote><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; ">
while processing /opt/ros/cturtle/stacks/pr2_navigation/pr2_navigation_global/move_base.xml:                         </blockquote><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; ">
while processing /opt/ros/cturtle/stacks/pr2_common/pr2_machine/PR2.machine:                                         </blockquote><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; ">
Invalid roslaunch XML syntax: [Errno 2] No such file or directory: u'/opt/ros/cturtle/stacks/pr2_common/pr2_machine/PR2.machine'  </blockquote></blockquote><div><br></div><div><br></div><div>So, my first question is: How to set 'ROBOT'  for this pr2 2D navigation simulation?</div>
<div><br></div><div><br></div><div>2) My 2nd question is I found I've installed  "ros-cturtle-simulator-gazebo",</div><div>I'm wondering what are the connections between "pr2_2dnav_gazebo" and "ros-cturtle-simulator-gazebo" ?</div>
<div>And, why "pr2_2dnav_gazebo" is not packaged into Ubuntu repository for automatic installation?</div><div><br></div><div>By the way, from the name of "ros-cturtle-simulator-gazebo",</div><div>I'm guessing, by using "ros-cturtle-simulator-gazebo" only,</div>
<div>am I able to simulate the robots navigation already, without checking out "pr2_2dnav_gazebo" ?</div><div>Or, "ros" refers to the system without specifying a particular robot,</div><div>while "pr2" is a specific robot.</div>
<div>We have to specify a type of robot before its navigation?</div><div><br></div><div>Sorry for my entry-level questions, but I really need your help.</div><div><br></div><div><br></div><div>Best Regards</div><div>JIA</div>
<div><br></div><div><br></div><br><div class="gmail_quote">On Sat, Sep 11, 2010 at 1:32 AM, John Hsu <span dir="ltr"><<a href="mailto:johnhsu@willowgarage.com">johnhsu@willowgarage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi JIA,<br>Sorry, my mistake, wg-ros-pkg trunk has been moved to branches/trunk_cturtle.  I've updated the svn command accordingly:<br><pre>svn co  <a href="https://code.ros.org/svn/wg-ros-pkg/branches/trunk_cturtle/stacks/wg_robots_gazebo/pr2_2dnav_gazebo" target="_blank">https://code.ros.org/svn/wg-ros-pkg/branches/trunk_cturtle/stacks/wg_robots_gazebo/pr2_2dnav_gazebo</a></pre>


<br><font color="#888888">John</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Fri, Sep 10, 2010 at 5:05 AM, JIA Pei <span dir="ltr"><<a href="mailto:jp4work@gmail.com" target="_blank">jp4work@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">

<div><br></div>Hi, John:<div><br></div><div>Sorry that I couldn't make it work yet.</div><div>It seems I'm not able to check out "pr2_2dnav_gazebo".</div><div>
<br></div><div><div>jiapei@jiapei-laptop:~$ svn co  <a href="https://code.ros.org/svn/wg-ros-pkg/trunk/stacks/wg_robots_gazebo/pr2_2dnav_gazebo" target="_blank">https://code.ros.org/svn/wg-ros-pkg/trunk/stacks/wg_robots_gazebo/pr2_2dnav_gazebo</a></div>



<div>svn: URL '<a href="https://code.ros.org/svn/wg-ros-pkg/trunk/stacks/wg_robots_gazebo/pr2_2dnav_gazebo" target="_blank">https://code.ros.org/svn/wg-ros-pkg/trunk/stacks/wg_robots_gazebo/pr2_2dnav_gazebo</a>' doesn't exist</div>



<div>jiapei@jiapei-laptop:~$<br></div><div><br></div><div><br></div><div>Any further suggestions?</div><div><br></div><div><br></div><div>Best Regards</div><div>JIA</div><div><div></div><div><div><br></div><br>

<div class="gmail_quote">On Fri, Sep 10, 2010 at 5:31 AM, John Hsu <span dir="ltr"><<a href="mailto:johnhsu@willowgarage.com" target="_blank">johnhsu@willowgarage.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 JIA,<br>I've fixed the <a href="http://www.ros.org/wiki/pr2_2dnav_gazebo/Tutorials/Simulating%20the%202dnav%20Stack" target="_blank">tutorial</a> page to include where to get pr2_2dnav_gazebo.<br>



Please let me know if you can test the nav stack successfully in sim.<br>

thanks,<br>John<br><br><br><br><div class="gmail_quote"><div><div></div><div>On Thu, Sep 9, 2010 at 6:46 AM, JIA Pei <span dir="ltr"><<a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a>></span> wrote:<br>



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

<div><br></div>Hi, all:<div><br></div><div>Sorry for my amateur question.</div><div><br></div><div>I'd love to try out some simple robot control demos of ROS.</div><div>So, I went to <a href="http://www.ros.org/wiki/AllTutorials" target="_blank">http://www.ros.org/wiki/AllTutorials</a> and tried pr2_simulator,</div>






<div>but it seems the tutorials here are too old and </div><div>I failed to find pr2_2dnav_gazebo (but pr2_2dnav found),</div><div>and pr2-simple-fake_localization.launch doesn't existing at all.</div><div><br></div>





<div>
So, can anybody please show me </div><div>where to find a runnable robot navigation or robot control demo of ROS,</div><div>including the source code, </div><div>so that I may be able to revise the source according to my own control requirement?</div>






<div><br></div><div>Thanks in advance.</div><div><br></div><div>Best Regards</div><div>JIA</div><div><br></div><font color="#888888"><div><br></div><div><br></div><div><br></div><div><br></div><div>
<br></div><div><br clear="all"><br>-- <br>Welcome to Vision Open<br><a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a><br>
</div>
</font><br></div></div>------------------------------------------------------------------------------<br>
This SF.net Dev2Dev email is sponsored by:<br>
<br>
Show off your parallel programming skills.<br>
Enter the Intel(R) Threading Challenge 2010.<br>
<a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@lists.sourceforge.net" target="_blank">ros-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ros-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/ros-users</a><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>
<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><br clear="all"><br>-- <br>Welcome to Vision Open<br><a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a><br>
</div></div></div>
<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>
</div></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><br clear="all"><br>-- <br>Welcome to Vision Open<br><a href="http://www.visionopen.com">http://www.visionopen.com</a><br>