Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Problem with basic tutorial #140

Open
alfred316 opened this issue Jan 29, 2018 · 2 comments
Open

Problem with basic tutorial #140

alfred316 opened this issue Jan 29, 2018 · 2 comments

Comments

@alfred316
Copy link

I am trying to work through the basic tutorial for the collision avoidance library after going through the steps in the Readme (https://github.com/intel/collision-avoidance-library) to install all the components correctly and get the coav-control command running. I was able to install realsense, gazebo, and set up the library correctly and have generated the libcoav library files in the /user/local/lib directories. However, I did not go the simulator steps under "simulation and automated tests" or the "deploy to intel aero" steps. I am not sure if I am supposed to do those yet, maybe you can shed some insight on that and maybe that will help with my following problem with the basic tutorial found here in the wiki: https://github.com/intel/collision-avoidance-library/wiki/TutorialBasic

I got the first part to work, which has us include the common.hh (I had to change the include line to ../src/common/common.hh for it to find the right file) but I am having trouble with the linking of the sensors/avoidance/common/vehicles/detection libraries as they were not created separately but rather are in libcoav which I include. I managed to get around that by removing the link to those libraries and add the correct include directory in my cmake gui and got the first step to run, but when I try to do the vehicle step I get an error telling me that "In function void __gnu_cxx::new_allocator<MavQuadCopter>::construct<MavQuadCopter>(MavQuadCopter*)': myapp.cc:(.text._ZN9__gnu_cxx13new_allocatorI13MavQuadCopterE9constructIS1_JEEEvPT_DpOT0_[_ZN9__gnu_cxx13new_allocatorI13MavQuadCopterE9constructIS1_JEEEvPT_DpOT0_]+0x32): undefined reference to MavQuadCopter::MavQuadCopter()'"

I feel like I missed some step somewhere. Can you shed some insight? I can provide screenshots and code if more specific information is needed.

Thank you for your time.

@rchiossi
Copy link

Which distro are you using? I'll try to reproduce the tutorial using the same environment.

@alfred316
Copy link
Author

Ubuntu 16.04.1.

thank you for your time! I appreciate it

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