I’ve tried working with ArUco in ROS, but for some reason I don’t get a correct position back. Good thing is, I found Sahloul’s ar_sys!

Sometimes a marker’s Tvec is approximately [0, 0, 0], sometimes to enormous values (~ ±1e15, z seems fixed to 9007199254740992.0).

Things that might be a problem:

Error resides somewhere in ArUco/parameter part, but not sure where! I will need help of Toby next meeting.


Update: I found Sahloul’s ar_sys by coincidence (googling for ROS AR packages). This package does work. A screenshot from Rviz:

A screenshot from Rviz, using ar_sys to localize the camera with respect to marker boards.