Ask Your Question
0

Installing ar_pose

asked 2014-07-01 09:37:46 -0600

david.sanders gravatar image

updated 2014-07-01 20:19:12 -0600

Hi, I'm new to ROS and need help with installing the ar_pose(ttp://wiki.ros.org/ar_pose) package. I have downloaded the ccny_vision(ttp://wiki.ros.org/ccny_vision) stack, but after I run the command

rosmake ccny_vision

I get the following errors: make[3]: Entering directory /home/sander57/ros/stacks/ccny_vision/ar_pose/build' make[3]: Entering directory/home/sander57/ros/stacks/ccny_vision/ar_pose/build' [ 90%] [ 90%] Building CXX object CMakeFiles/ar_single.dir/src/ar_single.cpp.o Building CXX object CMakeFiles/ar_multi.dir/src/ar_multi.cpp.o /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp: In member function ‘void ar_pose::ARSinglePublisher::getTransformationCallback(const ImageConstPtr&)’: /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:240:7: error: ‘btQuaternion’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:240:20: error: expected ‘;’ before ‘rotation’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:241:7: error: ‘btVector3’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:241:17: error: expected ‘;’ before ‘origin’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:242:7: error: ‘btTransform’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:242:19: error: expected ‘;’ before ‘t’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:246:38: error: ‘t’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:254:19: error: expected ‘;’ before ‘markerOrigin’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:255:21: error: expected ‘;’ before ‘m’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:256:21: error: expected ‘;’ before ‘markerPose’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_multi.cpp:258:26: error: ‘markerPose’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp: In member function ‘void ar_pose::ARSinglePublisher::getTransformationCallback(const ImageConstPtr&)’: /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:260:7: error: ‘btQuaternion’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:260:20: error: expected ‘;’ before ‘rotation’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:261:7: error: ‘btVector3’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:261:17: error: expected ‘;’ before ‘origin’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:262:7: error: ‘btTransform’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:262:19: error: expected ‘;’ before ‘t’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:268:45: error: ‘t’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:271:45: error: ‘t’ was not declared in this scope /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:280:19: error: expected ‘;’ before ‘markerOrigin’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:281:21: error: expected ‘;’ before ‘m’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src/ar_single.cpp:282:21: error: expected ‘;’ before ‘markerPose’ /home/sander57/ros/stacks/ccny_vision/ar_pose/src ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2014-07-01 10:39:50 -0600

Procópio gravatar image

ccny has not been maintened AFAIK. try installing this one: http://wiki.ros.org/ar_tools

edit flag offensive delete link more

Comments

I'm getting the same error: cv_bridge/CvBridge.h: No such file or directory again, I do have cv_bridge installed, so I'm not sure what's going on... thanks for the suggestion though

david.sanders gravatar imagedavid.sanders ( 2014-07-01 10:54:39 -0600 )edit

cv_bridge/CvBridge.h is the old C-style OpenCV api version, which was deprecated in Fuerte and eventually removed in hydro. The new C++ style api version for OpenCV2 is in a header cv_bridge/cv_bridge.h

fergs gravatar imagefergs ( 2014-07-01 12:20:35 -0600 )edit

the ar_pose uses code from CvBridge.h instead of cv_bridge.h, so instead of manually converting everything, I decided to copy CvBridge.h into the correct directory. However, I'm now getting a bunch of errors which I will write in my main post. Any idea where it might be coming from? thanks!

david.sanders gravatar imagedavid.sanders ( 2014-07-01 20:13:56 -0600 )edit

The header files are completely different -- they have an entirely different API than the old one. The repository linked above (the wiki points to https://github.com/LucidOne/ar_tools) appears to be updated already -- you should grab that code instead of whatever you were previously using.

fergs gravatar imagefergs ( 2014-07-01 20:18:26 -0600 )edit

I was getting the same errors, but it turns out the command rosmake ar_tools still invoked the makefiles in the ccny_vision directory anyways. I deleted this directory and everything seems good now, thanks!

david.sanders gravatar imagedavid.sanders ( 2014-07-01 20:47:38 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-07-01 09:37:46 -0600

Seen: 684 times

Last updated: Jul 01 '14