luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
239 stars 173 forks source link

[BUG] Alvar markers wrong positioning #326

Open ladrians opened 1 year ago

ladrians commented 1 year ago

I am using the noetic branch from this alvar marker repository.

I have the OAK-D-W device and noticed that the marker detections are wrong located on the space, particularly when the markers are to the left or right side of the device. Created a minimal video to showcase it here. Notice the left marker shown as yellow, when rotating it goes away and it should not do that. With other cameras this problem is not detected.

The node does not need rectified images, I tested the left default topics (raw, rgb) and a rectified one created by the rectify node but all of them details similar wrong behavior.

Any thoughts on what to do to solve the case?

thanks

Serafadam commented 1 year ago

Hi, I'll test that out, camera calibration should be okay if you are able to rectify the images properly or produce proper RGB pointcloud. Does this behavior also occur when using rviz to visualize the data?

ladrians commented 1 year ago

Yes, you can verify the problem happens easily with rviz. thanks