depthai-ros icon indicating copy to clipboard operation
depthai-ros copied to clipboard

Error visualizing Pointcloud data using stereo_node.launch

Open sameertodkar opened this issue 4 years ago • 4 comments

@saching13 I am trying to publish the pointcloud data using the oak-d pro. I am facing the following issues.

  1. Is it possible to publish the pointcloud data using the depthai-ros and OAK-D pro? I am looking for the pointcloud data which has the message type sensor_msgs/PointCloud1 or PointCloud2.

http://docs.ros.org/en/melodic/api/sensor_msgs/html/msg/PointCloud.html

  1. On adding other topics to RViz, it crashes with a message on the terminal QObject::connect: Cannot queue arguments of type 'QVector<int>' (Make sure 'QVector<int>' is registered using qRegisterMetaType().) I think it may not be related. I have attached the image.

Screenshot from 2022-02-23 15-12-01

  1. On trying out the rgb_stereo_node.launch, it does not publish any data on to the topic as none of it can be visualized.

Screenshot from 2022-02-23 15-16-55

sameertodkar avatar Feb 23 '22 23:02 sameertodkar

~~Use the stereo_nodelet.launch file for pointcloud~~

saching13 avatar Feb 23 '22 23:02 saching13

Use the stereo_nodelet.launch file for pointcloud.

Hi! What would be the case for obtaining the pointcloud in ROS2?

rafaelRinconFo avatar Mar 24 '22 19:03 rafaelRinconFo

ros2 launch depthai_examples stereo_inertial_node.launch.py & ros2 launch depthai_examples stereo.launch.py Both works.

saching13 avatar Mar 24 '22 19:03 saching13

For ROS1: roslaunch depthai_examples stereo_inertial_node.launch

saching13 avatar Mar 24 '22 19:03 saching13

Closing due to inactivity, if you think this should remain open, please tag me in a comment here.

Serafadam avatar Nov 07 '22 12:11 Serafadam