lrse / whycon

Vision-based external localization system. NOTE: not currently being developed
GNU General Public License v2.0
74 stars 70 forks source link

cv::LocalisationSystem has not been declared #25

Open NishanthARao opened 4 years ago

NishanthARao commented 4 years ago

Hello. I am running ROS melodic on Ubuntu 18.04. There is an issue with the package when i run the "make" command. 1) First of all, i downloaded the package "whycon-master" and placed it inside the "src" folder of catkin_ws directory. 2) Then i build the workspace by executing the catkin_make command. I do not get any errors here. 2) Then, i go into the whycon-master folder and created a new "build folder"; Then executed the command cmake -DDISABLE_ROS=ON .. 3) After that, i run the make command and this is where i am getting an error.

(There are the directions mentioned as well).

I have opencv3 working properly. Furthere more i have installed all the dependencies as mentioned.

I have enclosed a screenshot of the error, please let me know why i am getting this.

Screenshot from 2020-01-25 14-29-27

Thank you so much for your time.

ChristianRG27 commented 4 years ago

Hi,

I have ROS indigo, so I don't know if it will serve you. At the first, I go to GIT page of Whycon, and I copy de GIT url of whycon. After that, I go to cd catkin_ws/src and I run git clone (url of git whycon), and for the last, I run in cd catkin_ws the next catkin_make.

Thus, I can run this program.

I hope that this serve you.

vamshi666 commented 4 years ago

@NishanthARao If you have ROS, there are different set of instructions. I don't think you should be compiling with the flag -DDISABLE_ROS=ON. I am experiencing the same issue except that I am running standalone version. Any help is appreciated

NishanthARao commented 4 years ago

@ChristianRG27 , @vamshi666 Thank you so much for the comments. However I am still stuck at the very same error.

@vamshi666 , it appears that the newer versions of cmake (on ubuntu 18.04) doesn't compile the given source code. Thus I moved on to use the Whycon package provided by another developer.

It works perfectly well for me i.e on ROS melodic distro and Ubuntu 18.04 . I have put the link here. I hope it may be useful to somebody someday?

https://github.com/gestom/whycon-orig/tree/whycon-ros-full

vamshi666 commented 4 years ago

@NishanthARao Thanks for the info, but, I need the standalone version to be working.