ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How can I set Dictionary in aruco in ROS?

asked 2018-11-20 09:27:57 -0500

BigeYoung gravatar image

I can use MarkerDetector::setDictionary() in <opencv2/aruco>, but I could not find the same function in ROS's <aruco/markerdetector>, and I didn't find any wiki or FAQ that specify the dictionary used in ROS. So why? and what dictionary exactly is used in ROS's aruco?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-12-02 09:16:42 -0500

danambrosio gravatar image

Seems like the kinetic version of aruco_ros does not publicly expose the ArUco dictionary type on MarkerDetector construction or through a setter function. The melodic version however does include a dictionary type on construction (through overloaded int/string types), see this source file. Where the dictionary types are defined here.

It seems like these types are specific to the aruco_ros package and do not have a 1-to-1 match to the dictionary types defined in the opencv2 ArUco library.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-11-20 09:27:57 -0500

Seen: 300 times

Last updated: Nov 20 '18