[ros-users] pr2_msgs problem

Bill Smart wds at willowgarage.com
Mon Nov 1 23:32:42 UTC 2010


Confirming I am an idiot who relies on cut-and-paste.

-- Bill


On Mon, Nov 1, 2010 at 3:25 PM, Ken Conley <kwc at willowgarage.com> wrote:

> Your script does a load_manifest('photographer') instead of a
> load_manifest('janitor'). That may have something to do with it. All
> PYTHONPATHs are constructed by the load_manifest call.
>
>  - Ken
>
> On Mon, Nov 1, 2010 at 3:13 PM, Bill Smart <wds at willowgarage.com> wrote:
> > I have a problem with pr2_msgs/AccessPoint that I can't track down.  In
> my
> > package, I define a new message, SimpleWirelessData:
> >
> >   Header header
> >   geometry_msgs/PoseWithCovarianceStamped pose
> >   pr2_msgs/AccessPoint data
> >
> > C++ code written to use this message, works as expected.  rosmsg reports
> > details of the new message type correctly.  However, python code to use
> the
> > message excepts out:
> >
> >   acv% rosrun janitor wireless_data_logger.py
> >   Traceback (most recent call last):
> >     File "/u/wds/src/janitor/janitor/src/wireless_data_logger.py", line
> 7,
> > in <module>
> >       from janitor.msg import SimpleWirelessData
> >     File
> "/wg/stor6a/wds/src/janitor/janitor/src/janitor/msg/__init__.py",
> > line 1, in <module>
> >       from _SimpleWirelessData import *
> >     File
> >
> "/wg/stor6a/wds/src/janitor/janitor/src/janitor/msg/_SimpleWirelessData.py",
> > line 7, in <module>
> >       import pr2_msgs.msg
> >   ImportError: No module named pr2_msgs.msg
> >
> > Removing the reference to pr2_msgs/AccessPoint in the message definition
> > removes the exception.  I'm running a stock c-turtle from debs.
> >
> > help?
> >
> > -- Bill
> >
> >
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> _______________________________________________
> 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/20101101/18ddbd0d/attachment-0003.html>


More information about the ros-users mailing list