Skip to content
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

marker_coordinate confused and aruco_mapping detected no marker. #55

Open
panecho opened this issue Jun 16, 2018 · 13 comments
Open

marker_coordinate confused and aruco_mapping detected no marker. #55

panecho opened this issue Jun 16, 2018 · 13 comments

Comments

@panecho
Copy link

panecho commented Jun 16, 2018

@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 panecho changed the title marker_coordinate confused. marker_coordinate confused and aruco_mapping detected no marker. Jun 20, 2018
@karnikram
Copy link
Contributor

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.

@panecho
Copy link
Author

panecho commented Jun 21, 2018

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.

@karnikram
Copy link
Contributor

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.

@panecho
Copy link
Author

panecho commented Jun 22, 2018

@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.

@karnikram
Copy link
Contributor

karnikram commented Jun 22, 2018 via email

@panecho
Copy link
Author

panecho commented Jun 25, 2018

@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.

@XiaoJianFang
Copy link

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();

@ericzzj1989
Copy link

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

@narutojxl
Copy link

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
Copy link

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.

@ericzzj1989
Copy link

@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!

@narutojxl
Copy link

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.

@ericzzj1989
Copy link

@narutojxl Ok. Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants