ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Afaik importing msgs in Python would use the pattern:

from pkg_name.msgs import SomeMsg

In your case you'd probably have to adapt your import line to use that pattern, or spec msgs.StereoCameraInfo in your rospy.Subscriber(..) line.

Afaik importing msgs in Python would use follow the pattern:

from pkg_name.msgs pkg_name.msg import SomeMsg

In your case you'd probably have to adapt your import line to use that pattern, or spec msgs.StereoCameraInfomsg.StereoCameraInfo in your rospy.Subscriber(..) line.