-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] {Problem with 3D Reconstruction} #539
Comments
Hi, thanks for the report, would it be possible for you to share a rosbag with topics available? Also, what is the CPU/RAM usage when the driver is running? |
This rosbag contain the main topic from de camera. You can find the pointcloud in the topic /environment_points . If you want to see on rviz, you need to change the qos of /environment_points to best_effort. rosbag link: |
@Serafadam do you have some update if there is some way to workaround mentioned issue? Maybe we could disable some functionalities on the OAK camera to avoid issues? If you have an idea how to process I would appreciate your sharing it with us. |
Hi @MariuszSzczepanikSpyrosoft @lucianoperetti, I investigated a bit and unfortunately I wasn't able to replicate the issue, although I might've found a clue - |
@Serafadam currently from our software side: we didn't publish on topic /stereo/camera_info, only reading using the subscription mechanism. Could you tell me more about: "I would check if anything calls for updates to calibration" and how this could be checked? some dedicated topics messages? Second question: after upgrading OAK drivers to the newest ones do we need to recalibrate the camera/IMU if old drivers work correctly on the same hardwares? |
I would check with
The calibration values are the same, with one of the future updates we will add IMU extrinsics but that shouldn't affect the driver much. |
Hi @Serafadam Appreciate your support in resolving this. |
Hi, could you checkout this branch and see what is the output? Additionally it would be good to compare it with what appears on topic itself |
Hi @Serafadam. RCLCPP_INFO(this->get_logger(), “Camera ready!”); However, I never see the message coming from the file |
Hi @MateoGiova, you might need to subscribe to the stereo topic (should be enough to display it using rviz or rqt) for those logs to appear |
Hi @Serafadam I subscribe to the stereo topic (and the pointcloud topic) by ros2 topic echo ... and with rviz but the logs never appear. |
Hi @MateoGiova I have updated the branch to publish the information while using IPC and changed the launch files a bit to enable IPC in them, although I haven't been able to reproduce the issue where two publishers are spawned for |
Describe the bug
I have a problem with rebuilding the pointcloud using the latest version of depthai_ros on the commit 0144d79. In the following video, you can see how the reconstruction changes place randomly when the camera is still:
PointcloudNewDriver.webm
I'm also attaching a second video recorded with our fork (made 8 months ago approx.) in which the reconstruction seems to be stable. You can see in the following video:
PontcloudOldDriver1.webm
Minimal Reproducible Example
We use the launch file:
<node_container pkg="rclcpp_components" exec="component_container_mt" name="pipeline" namespace="oak">
</node_container>
We use the params file:
camera:
i_enable_imu: true
i_enable_ir: true
i_pipeline_type: RGBD
i_nn_type: none
i_laser_dot_brightness: 1000
i_floodlight_brightness: 700
i_ip: ''
i_mx_id: ''
i_usb_port_id: ''
i_usb_speed: SUPER_PLUS
i_pipeline_dump: false
i_calibration_dump: false
i_external_calibration_path: ''
imu:
i_acc_mode: linear
i_acc_freq: 50
i_acc_cov: 0.003
i_gyro_mode: calibrated
i_gyro_freq: 50
i_gyro_cov: 0.003
i_mag_mode: calibrated
i_mag_freq: 50
i_enable_rotation: true
i_message_type: IMU
i_rot_mode: default
i_rot_freq: 50
i_rot_cov: 0.003
i_sync_method: LINEAR_INTERPOLATE_ACCEL
i_rotation_vector_type: ROTATION_VECTOR
rgb:
i_board_socket_id: 0
i_fps: 10.0
i_width: 640
i_height: 360
i_resolution: 1080P
r_focus: 0
r_set_man_focus: false
i_isp_num: 1
left:
i_board_socket_id: 1
i_fps: 10.0
i_width: 1280
i_height: 720
i_resolution: 720P
i_publish_topic: true
right:
i_board_socket_id: 2
i_fps: 10.0
i_width: 1280
i_height: 720
i_resolution: 720P
i_publish_topic: true
stereo:
i_align_depth: true
i_board_socket_id: 0
i_publish_right_rect: true
i_left_socket_id: 1
i_right_socket_id: 2
i_depth_filter_size: 7
i_enable_distortion_correction: true
i_enable_speckle_filter: true
i_depth_preset: HIGH_ACCURACY
i_stereo_conf_threshold: 230
i_subpixel: true
i_width: 640
i_height: 360
i_lr_check: true
i_extended_disp: true
i_disparity_width: DISPARITY_96
Expected behavior
I hope it works like the old driver, which can be seen in the second video.
You can save it in
depthai_ros_driver
, either by calling/save_pipeline
ROS service, or by setting parametercamera.i_pipeline_dump
in ROS 2 orcamera_i_pipeline_dump
in ROS. Pipeline dump is saved to/tmp/pipeline.json
.Attach system log
Additional context
We have more than 10 oak D pro cameras working well, but in the new version bought in February, we have problem to launch the system with our Fork because there is an inconpatibility between the boot system of the new cameras and the old version of depthai_ros. For these reason we need to update the driver to the new version but we have some problems with the new driver.
The text was updated successfully, but these errors were encountered: