lidar_camera_calibration icon indicating copy to clipboard operation
lidar_camera_calibration copied to clipboard

marker_coordinate confused and aruco_mapping detected no marker.

Open panecho opened this issue 6 years ago • 13 comments

@ankitdhall I'm confused about the coordination description of aruco maker as you stress the importance of Y axis pointing outward while XY planer is lying on marker planer like the following picture in our daily usage. X(red), Y(green), Z(blue). Do that mean any special function of this difference? in addition, aruco_mapping detected no marker when I launch this package, any advice? thank you! image

panecho avatar Jun 16 '18 00:06 panecho

The convention is to ensure that the X and Z axes are aligned along the edges of the cardboard marker. This makes it easier to estimate the corner locations using the board dimensions as it is done here.

Regarding your second question, ensure that the topic name, intrinsic calibration values, and marker dimensions are set properly.

karnikram avatar Jun 21 '18 07:06 karnikram

I run aruco_mapping package independently, and no marker detected while all seems good. the runtime shotcut is as follow: image any advice? thanks for your reply.

panecho avatar Jun 21 '18 10:06 panecho

Maybe you could vary the distance between the markers and your camera and try. Also ensure that the marker size in your launch file is correct.

karnikram avatar Jun 21 '18 11:06 karnikram

@karnikram yes, I did vary the distance to test aruco_mapping package independently. unfortunately, nothing new happens, shotcut is as follow: image

one question, Should the dictionary parameter of markers be passed explicitly? as showed above, I generated makers ID 512 and 513 with 7 dictionary parameter whose detail is available here.

by the way, aruco_detect package works well for the same scene. the runtime shotcut is as follow: image

looking forward to your reply.

panecho avatar Jun 22 '18 02:06 panecho

This seems very weird. Are you sure the values in the .ini file are right? The same values that are published in the camera_info topic? And no, you don't have to pass any other parameter.

On Fri, 22 Jun 2018 07:47 ZhengPan2014, [email protected] wrote:

@karnikram https://github.com/karnikram yes, I did vary the distance to test aruco_mapping package independently. unfortunately, nothing new happens, shotcut is as follow: [image: image] https://user-images.githubusercontent.com/15884732/41754023-239b557e-7603-11e8-951e-50c2bf7ac27f.png

one question, Should the dictionary parameter of markers be passed explicitly? as showed above, I generated makers ID 512 and 513 with 7 dictionary parameter whose detail is available here http://wiki.ros.org/aruco_detect.

by the way, aruco_detect package works well for the same scene. the runtime shotcut is as follow: [image: image] https://user-images.githubusercontent.com/15884732/41754511-2f731312-7605-11e8-8c24-59ebdc0fc493.png

looking forward to your reply.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/ankitdhall/lidar_camera_calibration/issues/55#issuecomment-399299855, or mute the thread https://github.com/notifications/unsubscribe-auth/AMETK_zPOj1_yfQXZlx8yRK8nmVrKqLHks5t_FOjgaJpZM4UqR4g .

karnikram avatar Jun 22 '18 17:06 karnikram

@karnikram yes, after running aruco_detect package successfully with topic /mynteye/left/image_rect/compressed and /mynteye/left/camera_info, I copy /mynteye/left/camera_info correspondding paramters to zed_left_uurmi.ini file and run aruco_mapping with /mynteye/left/image_rect and no maker detected.

panecho avatar Jun 25 '18 02:06 panecho

I annotated this sentence in aruco_mapping.cpp

lidar_camera_calibration-master/dependencies/aruco_mapping/src/aruco_mapping.cpp

440 ros::Duration(BROADCAST_WAIT_INTERVAL).sleep();

XiaoJianFang avatar Jun 28 '18 02:06 XiaoJianFang

@ZhengPan2014 Hi, have you been able to detect the markers? I trying the package and also unable to detect anything

ericzzj1989 avatar Oct 17 '19 07:10 ericzzj1989

Hi @ZhengPan2014, the same problem with you, aruco_mapping can not detect marker, but aruco_detect with correct dictionary argument can detect the above marker. Aruco_mapping doesn't have this param. BTW, did you have solved this problem? Could we have a discussion, thanks a lot!

narutojxl avatar Oct 28 '19 12:10 narutojxl

Hi @ericzzj1989, I figure out this problem. The aruco_mapping and author modified aruco_mapping can only detect original aruco marker type, aruco_detect can only detect dictionary aruco marker type, see online aruco marker generator. When using this web site generate marker, the set "Marker size, mm" does not match the actual marker size, you must manual measure with a ruler.

narutojxl avatar Nov 04 '19 02:11 narutojxl

@narutojxl Many thanks. In addition, I encounter an another problem. I am currently doing indoor UAV localization using multiple Aruco marker information, but I encounter a problem about the pose calculation.

The following is my setup: Use aruco_mapping software in github; Use aruco software in github; Print and use the original aruco markers; Set the necessary parameters (marker numbers, size, etc).

The problem is that the calculated poses are not stable and even sometimes jump to the wrong data. Did you encounter the same problem. Could we have a discussion, thanks a lot!

ericzzj1989 avatar Nov 04 '19 06:11 ericzzj1989

Hi @ericzzj1989, i only use this open source for lidar camera calibration, treating aruco_mapping as a black box and do not read its source code. Maybe i only have two markers, the calculated markers pose are stable.

narutojxl avatar Nov 04 '19 07:11 narutojxl

@narutojxl Ok. Many thanks!

ericzzj1989 avatar Nov 04 '19 07:11 ericzzj1989