-
Notifications
You must be signed in to change notification settings - Fork 311
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
Monocular camera calibration #59
Comments
You just need to make your own launchfile like: https://github.com/pal-robotics/aruco_ros/blob/kinetic-devel/aruco_ros/launch/single.launch With your data (markerid you printed, real life size of it, camera info topic, image topic). Note that to have accurate results your camera should be calibrated intrinsically (so what's published in the camera_info topic should be correct, or you provide the rectified topic already, like in the example launchfile). You can ignore the stereo parameters as you may see in the launchfile they are there for convenience for the stereo case. |
HI @awesomebytes , Thank you for your explanation. So, in my case should I have something like this?
But I am not sure on what to insert in marker_frame, ref_frame and camera_frame fields in my case since I am not in the simulator and I still have to extrinsically calibrate the camera.
Thank you very much again! |
Hey @GianlucaCerilli . That looks like a correct launchfile to me. You did set
|
Hi @GianlucaCerilli , Thank you for your explanation. Now all the extrinsic calibration works. How can I do the get a more accurate result in this sense? Thank you very much |
Well you should add as camera_frame the frame of your camera, I mean, the optical frame, which is probably the sensor of your camera, just behind the lens. If you think that is the error. In many cameras there is the camera_link > camera_optical_frame. Maybe you need to add that to your model to fix the issue? (If the error you are seeing is constant, of course). |
Hi @awesomebytes , Thank you for your reply. Where can I check if there is camera_optical_frame for my camera or if I am using the correct one? From rostopic echo I see only these topics:
|
Hello, @GianlucaCerilli |
Update: |
Hi, @LiGengLei, I am facing the exact same problem, where the distance of z is just wrong. May I know where do you set the resolution of the camera? |
Good evening,
I have a monocular camera mounted on the end-effector of a kinova manipulator and I am trying to use Aruco_ros to detect the marker for getting the camera extrinsic parameters witih Ros Kinetic.
In the documentation I see how to use it with a reem gazebo simulator and a stereo camera.
Can I ask you the commands to run it without simulator and with a mono camera?
I tried but when I run rosrun image_view image_view image:=/aruco_single/result It does not work.
Thank you very much
The text was updated successfully, but these errors were encountered: