8 from nerian_stereo.msg
import StereoCameraInfo
9 from sensor_msgs.msg
import CameraInfo
18 rospy.loginfo(rospy.get_caller_id() +
": Camera info received")
19 leftPub.publish(data.left_info)
20 rightPub.publish(data.right_info)
26 rospy.init_node(
'camera_info_splitter')
27 rospy.Subscriber(
"/nerian_stereo/stereo_camera_info", StereoCameraInfo, callback)
29 leftPub = rospy.Publisher(
'/nerian_stereo/left_camera_info', CameraInfo, queue_size=10)
30 rightPub = rospy.Publisher(
'/nerian_stereo/right_camera_info', CameraInfo, queue_size=10)
34 if __name__ ==
'__main__':