Closed jaggiK closed 5 months ago
@themarpe Please, check this.
@Serafadam any thoughts on this? (also, perhaps lets move this issue to depthai-ros repository)
Hi, Unfortunately Foxy distribution is no longer supported as it reached end-of-life, I would suggest trying out Humble if possible (you can also use it inside Docker container).
What would be the best example to enable dot projector and visualize point cloud on rviz2?
All launch file examples in depthai_ros_driver have dot projector active if present on the device.
Is there a way to confirm that dot projector is enabled?
If you check left/right image from stereo pair, dots should be visible.
Like in depthai sdk directly how visualization of IR frames is possible, is it possible to view these IR frames via ROS2 interface?.
These can be enabled in YAML file for depthai_ros_driver.
In the screenshot above obtained from stereo_inertial_node.launch.py, the region marked with white contains straight line patterns. Is this expected in active sensing mode?
These probably come from aligning non-rectified rgb image in stereo_inertial_node. This node serves more as an example how to write your own driver instead of being full-fledged driver.
Closing due to inactivity, please reopen if the issue still exists.
Describe the bug
Not able to enable dot projector on OAK-D PRO W via ROS2. This is a follow up from this thread.
Here is the camera.yaml settings to enable dot projector:
i_enable_ir: true
andi_laser_dot_brightness: 800
.Launching
camera.launch.py
,rgbd_pcl.launch.py
, orpointcloud.launch.py
files usingros2 launch depthai_ros_driver <launch_file>
doesn't produce point cloud data.ros2 topic list
shows/oak/points
topic. However,ros2 topic echo /oak/points
doesn't print any data or rviz2 doesn't show point cloud data. I suspect that the point cloud data is not being published.As an alternate experiment,
stereo_inertial_node.launch.py
was modified to setenableDotProjector
totrue
anddotProjectormA
to800.0
. While launching this file did produce point cloud data published on/stereo/points
topic, the point cloud data quality wasn't better than default setting without enabling dot projector. This is tested in both indoor and outdoor setting. A sample output is attached below.Minimal Reproducible Example OS: Ubuntu 20.04
ROS2 version: Foxy
Expected behavior Able to view high quality point cloud on rviz2 using active sensing mode.
Screenshot
A few questions:
stereo_inertial_node.launch.py
, the region marked with white contains straight line patterns. Is this expected in active sensing mode?Thank you.