Confirming I am an idiot who relies on cut-and-paste.
-- Bill
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@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@code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users