Robotics StackExchange | Archived questions

ros_opcua_communication error with realsense

when i run

roslaunch ros_opcua_impl_python_opcua rosopcua.launch

with

roslaunch realsense2_camera rs_rgbd.launch

the camera node down with this error:

[ERROR] [1552037450.343769414]: Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: mono8).
[ERROR] [1552037450.343865232]: Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: mono8)

So how can I ignore the camera topics to opcua_communication in the python version? because i want to replicate in ua only the topic of the slam pose. thanks

Asked by aryanna003 on 2019-03-08 05:01:17 UTC

Comments

Answers

i have solved putting in ros_topic.py an if:

if str(self.name)== "/slam/pos" :

rospy.loginfo(str(self.name)) self._recursive_create_items(self.parent, idx, topic_name, topic_type, self.message_instance, True) self._subscriber = rospy.Subscriber(self.name, self.message_class, self.message_callback) self._publisher = rospy.Publisher(self.name, self.message_class, queue_size=1) rospy.loginfo("Created ROS Topic with name: " + str(self.name))

now create only the specific topic that i need and exclude camera topic that create problem.

Asked by aryanna003 on 2019-03-08 06:02:42 UTC

Comments