pal-robotics / aruco_ros

Software package and ROS wrappers of the Aruco Augmented Reality marker detector library
MIT License
448 stars 306 forks source link

cv_bridge exception #50

Closed ChunJyeBehBeh closed 6 years ago

ChunJyeBehBeh commented 6 years ago

Hi,

After I run "rostopic echo /aruco_single/pose, then the error "cv_bridge exception: Unrecognized image encoding" keep looping inside the terminal and no data out from the topic /aruco_single/pose.

May I know how to solve this problem?

Regards, Chun Jye

bmagyar commented 6 years ago

The exception tells you what the problem is: your input is wrong.

The reason why the issue only shows up when you try to echo the results is because aruco works on a lazy fashion and won't even touch the incoming image unless there's someone subscribed to the results.