Stealth Drone Project @Purdue University 2018 Fall
This is Combined SDK from Dronecode SDK and YDLidar SDK.
Dronecode SDK: https://github.com/Dronecode/DronecodeSDK YDLidar SDK: http://ydlidar.com/download
$ cmake .
$ make
To execute a example on simulator.
$ cd example
$ cd StealthDrone-Purdue-
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./offboard udp://:14540
- Basic Info
- Simulator Position lat: 47.3978, lon: 8.54561
- CMakeList.txt
- Add include directories.
- Modify definitions.
add_definitions("-std=c++11 -Wall -Wextra -Werror")
Just remove warning options like this:
add_definitions("-std=c++11")
- Settings To use Threads. write this code under the 'add_definitions'
find_package(Threads)
And after add_executable write this.
target_link_libraries({PRJ NAME} ${CMAKE_THREAD_LIBS_INIT})
- YDLidar X4
X4 has 720 Elements that is vector
Indexes list
630 ~ 89: North
90 ~ 269: West
270 ~ 449: South
450 ~ 629: East