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

Working package for fiducial pose recognition?

asked 2011-05-06 18:26:33 -0600

Billy gravatar image

Hi all,

I've been trying to compile the fiducial package ( http://www.ros.org/browse/details.php... ) without success due to a compilation error in its dependency, opencv_candidate ( http://www.ros.org/browse/details.php... ). (I've included the rosmake output below.) I'm on Ubuntu 10.04 using Diamondback.

Should I be using another package (or other option) for fiducial pose recognition? Has anyone else had luck compiling the fiducial package, and its opencv_candidate dependency?

Thank you, Billy McCafferty http://www.sharprobotica.com/


rosmake opencv_candidate:

[rosmake-0] Starting >>> opencv_candidate [ make ]
[ rosmake ] Last 40 linesencv_candidate: 1.3 sec ] [ 1 Active 28/29 Complete ] {------------------------------------------------------------------------------- /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:398: error: expected ‘;’ before ‘crmag’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:399: error: expected ‘;’ before ‘ncx’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:400: error: expected ‘;’ before ‘ncy’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:402: error: ‘v’ was not declared in this scope /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:402: error: ISO C++ forbids declaration of ‘type name’ with no type /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:402: error: ISO C++ forbids declaration of ‘type name’ with no type /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:402: error: expected primary-expression before ‘const’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:402: error: expected ‘)’ before ‘const’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:403: error: expected ‘;’ before ‘ccyxyxA’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:404: error: expected ‘;’ before ‘ccyxyxB’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:405: error: expected ‘;’ before ‘ccx’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:406: error: expected ‘;’ before ‘ccy’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:407: error: expected ‘;’ before ‘ccmag’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:408: error: expected ‘;’ before ‘ccrmag’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:409: error: expected ‘;’ before ‘nccx’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:410: error: expected ‘;’ before ‘nccy’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:412: error: expected ‘;’ before ‘dot’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:414: error: expected ‘;’ before ‘iscand’ /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:416: error: ‘iscand’ was not declared in this scope /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:416: error: ‘cmag’ was not declared in this scope /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:416: error: ‘ccmag’ was not declared in this scope /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix.cpp:416: error: ‘_mm_min_ps’ was not declared in this scope /home/lebowski/suijuris/ros/diamondback/stacks/vision_bleeding/opencv_candidate/src/datamatrix ...

(more)
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
2

answered 2011-05-13 11:42:22 -0600

Hi,

I'm not sure this is what you need, but have you looked at ar_pose?

edit flag offensive delete link more
0

answered 2011-05-08 19:06:48 -0600

Julius gravatar image

Yes, I have been lucky in compiling ROS packages fiducial and opencv_candidate. Pose estimation also works for me. I am using these packages in SVN revision 50479 on Ubuntu 10.10 / ROS Diamondback. Seems that some header is not included, have a look at the datamatrix.cpp file. Errors seem to come from this file only.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-05-06 18:26:33 -0600

Seen: 724 times

Last updated: May 16 '11