I coppied and pasted example code from "https://mavsdk.mavlink.io/develop/en/examples/takeoff_and_land.html" to my "~/catkin_ws/src/droneControl/localization.cpp" folder. When I build catkin_ws with "catkin build" I take error like that:
**`
`**
mavsdk location : "/usr/include/mavsdk"
I try to add plugin_base.h directory to cmakefile but it doesn't run. I also try to do this "https://github.com/mavlink/MAVSDK/issues/802".
Did you solve it? :slightly_smiling_face:
Thanks for your reply. I solved it. 馃檪
@Gardiar just for someone seeing this later: how did you fix it?
It was an only typo in 'CMakeLists.txt'. After coping and pasting 'CMakeFiles.txt' from 'https://github.com/mavlink/MAVSDK/blob/develop/example/takeoff_land/CMakeLists.txt', the error was fixed.
Most helpful comment
It was an only typo in 'CMakeLists.txt'. After coping and pasting 'CMakeFiles.txt' from 'https://github.com/mavlink/MAVSDK/blob/develop/example/takeoff_land/CMakeLists.txt', the error was fixed.