Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

ptam compile issues #28

Closed
amittleider opened this issue Sep 20, 2013 · 2 comments
Closed

ptam compile issues #28

amittleider opened this issue Sep 20, 2013 · 2 comments

Comments

@amittleider
Copy link

Hello,

I'm running ROS Fuerte on ubuntu 12.04, running on the Asctec Mastermind. I just checked out the most recent versions of asctec_mav_framework, ethzasl_sensor_fusion, and ethzasl_ptam.

Compiling the framework and sensor fusion packages works, but when compiling the ptam stack I get an error in the rqt_ptam "rqt_ptam/src/rqt_ptam/remote_ptam.cpp: 326: error: expected constcutor, destructor, or type conversion before EOF"

The line it's referring to is the last line of the file, which says
"PLUGINLIB_EXPORT_CLASS(rqt_ptam::RemotePTAM, rqt_gui_cpp::Plugin)", though, I'm not sure that the error relates to the pluginlib package. Commenting out this line results in successful compilation, but running 'cameracalibration.launch' does not pull up a GUI.

Edit: In fact, I had the camera image topic remapped incorrectly in "ptam.launch", which was the reason that the GUI did not initialize. So far the package seems to be working as intended. I'm not sure what the consequences are for removing this line of code. I will leave the issue open for now..

Thanks

@markusachtelik
Copy link
Contributor

rqt_ptam was written with support for groovy and later only. One difference is the pluginlib macro which fails compiling in your code. In fuerte, it used to have 4 arguments. Here is a description what you need to change:
http://wiki.ros.org/pluginlib (and switch to fuerte) also, when you switch to the groovy documentation, there is a migration guide at 5) for fuerte --> groovy, which you essentially would have to revert. However, if possible, I'd consider upgrading to hydro since fuerte is deprecated with the release of hydro.

@amittleider
Copy link
Author

Oh, good call. Upgrade to Hydro and there are no problems compiling. Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants