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

ros_opcua_communication error with realsense

asked 2019-03-08 04:02:15 -0500

aryanna003 gravatar image

updated 2019-03-08 04:16:19 -0500

gvdhoorn gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-08 05:02:42 -0500

aryanna003 gravatar image

updated 2019-03-08 05:03:14 -0500

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.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-03-08 04:01:17 -0500

Seen: 90 times

Last updated: Mar 08 '19