[ros-users] Standard GPS Message
Mike Purvis
mpurvis at clearpathrobotics.com
Fri May 28 14:05:56 UTC 2010
(Sorry to continue hijacking the GPS thread...)
For sure. I have actually been working largely from the tutorials, which are
excellent, especially the rospy ones. But the tools tutorials seem to be a
bit more aimed at understanding and contributing to established projects,
rather than providing instruction on how to start from scratch.
For example, regarding path setup issues, the CreatingPackage tutorial has
the reader use "rospack find" to ensure that the rosbash tools are aware of
the new package that's been created. However, in a new package other than
beginner_tutorials, this will fail due to problems with ROS_PACKAGE_PATH;
the tutorial is great for getting going on beginning_tutorials (with its
pre-cooked setup.sh file), but it's a bit incomplete if one is following it
to start a new project.
In the future, I may be able to contribute some additional material from my
notes, which would cover the questions related to our project that don't
seem to be as explicit in the existing documentation.
Mike
On 28 May 2010 00:29, Tully Foote <tfoote at willowgarage.com> wrote:
> Mike,
> I suggest you take a look at the ROS tutorials. They talk about how to
> setup and use your ROS environment etc.
> http://www.ros.org/wiki/ROS/Tutorials
>
> Tully
>
>
> On Thu, May 27, 2010 at 6:30 PM, Ken Conley <kwc at willowgarage.com> wrote:
>
>> On Thu, May 27, 2010 at 6:08 PM, Mike Purvis
>> <mpurvis at clearpathrobotics.com> wrote:
>> > Firstly, when I'm setting out to build a new node, it seems it needs to
>> have
>> > a package. Does it need to have a stack too? Or can I
>> just roscreate-pkg,
>> > and then put my python scripts in the src directory?
>>
>> A package is sufficient.
>>
>> > Secondly, I tried to create my new package outside of $ROS_ROOT--- in a
>> > directory that's a peer to ros and ros-tutorials. However, when I do
>> this,
>> > none of the rosbash tools can find it. Do I need to put my stuff inside
>> of
>> > $ROS_ROOT, or do I need to add to PATH and PYTHONPATH. If so, should I
>> be
>> > doing this by editing the ros setup.sh, or by creating my own?
>>
>> You need to update your ROS_PACKAGE_PATH. The python path is
>> automatically taken care of if you setup your <depend> tags correctly
>> in your packages' manifest.xml (and call
>> roslib.load_manifest('mypackage'))
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>
>
>
> --
> Tully Foote
> Systems Engineer
> Willow Garage, Inc.
> tfoote at willowgarage.com
> (650) 475-2827
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100528/80d22b94/attachment-0003.html>
More information about the ros-users
mailing list