Mike, <div>I suggest you take a look at the ROS tutorials.  They talk about how to setup and use your ROS environment etc.  <a href="http://www.ros.org/wiki/ROS/Tutorials">http://www.ros.org/wiki/ROS/Tutorials</a> </div><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>

<br></div><div>Tully<br><br><div class="gmail_quote">On Thu, May 27, 2010 at 6:30 PM, Ken Conley <span dir="ltr"><<a href="mailto:kwc@willowgarage.com">kwc@willowgarage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Thu, May 27, 2010 at 6:08 PM, Mike Purvis<br>
<<a href="mailto:mpurvis@clearpathrobotics.com">mpurvis@clearpathrobotics.com</a>> wrote:<br>
> Firstly, when I'm setting out to build a new node, it seems it needs to have<br>
> a package. Does it need to have a stack too? Or can I just roscreate-pkg,<br>
> and then put my python scripts in the src directory?<br>
<br>
</div>A package is sufficient.<br>
<div class="im"><br>
> Secondly, I tried to create my new package outside of $ROS_ROOT--- in a<br>
> directory that's a peer to ros and ros-tutorials. However, when I do this,<br>
> none of the rosbash tools can find it. Do I need to put my stuff inside of<br>
> $ROS_ROOT, or do I need to add to PATH and PYTHONPATH. If so, should I be<br>
> doing this by editing the ros setup.sh, or by creating my own?<br>
<br>
</div>You need to update your ROS_PACKAGE_PATH. The python path is<br>
automatically taken care of if you setup your <depend> tags correctly<br>
in your packages' manifest.xml (and call<br>
roslib.load_manifest('mypackage'))<br>
<div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>
</div>