Comments (5)
I'm also curious about this, because on the DJI website, it says the Guidance SDK is deprecated, and suggests using the Onboard SDK.
from guidance-sdk.
I have done. I changed the cmake of the onboardsdk to include the guidancesdk. I have also changed the name of a variable in the onboardsdk source because there was a conflict.
from guidance-sdk.
I have also done it and develop an algorithm. My drone avoid obstacles now. I used guidance-sdk and onboard-sdk.
Firstly, inlude guidance headers on main.cpp at flight-control sample.
// ** Guidance header **//
#include "Guidance/uart_example/crc16.h"
#include "Guidance/uart_example/crc32.h"
#include "Guidance/uart_example/protocal_uart_sdk.h"
#include "Guidance/uart_example/linux/serial.h"
#include "Guidance/include/DJI_guidance.h"
Then. edit cmake file on linux/sample/flight-control as adding executables.
add_executable(${PROJECT_NAME} ${SOURCE_FILES}
Guidance/uart_example/crc16.cpp
Guidance/uart_example/crc32.cpp
Guidance/uart_example/protocal_uart_sdk.cpp
Guidance/uart_example/linux/serial.cpp
telemetry/telemetry_sample.cpp)
target_link_libraries(${PROJECT_NAME} djiosdk-core libDJI_guidance.so)
And also change CMAKE_CXX_FLAGS;
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -g -fno-stack-protector -O0")
Now, you can develop your own algorithm. I also add telemetry library for I want Guidance sensors is activated when the drone is in air because the guidance sensors detect trivial obstacles when the drone is in ground. And as a second activation of guidance sensor I have also use landing gear button on the RC. In conclusion, when landing gear is on and the drone is in air, then guidance sensors is activated.
from guidance-sdk.
Thanks for the example @SemihYildirim
I was curious if anyone officially from DJI had any insight on why the Guidance SDK was deprecated, and what the plan is going forward. I'd hate to do a bunch of work with the Guidance SDK and have it be for nothing if it's not supported in the future.
Thanks
from guidance-sdk.
@SemihYildirim I also develop my project with guidance add to onboard-sdk. I get some infor from guidance like : velocity, imu, obstancle distance, global position ... But I found that, it's value always unstable, when drone stops and do not thing, value from guidance still change. I wonder if you have the same problem ?
from guidance-sdk.
Related Issues (20)
- Black pixels in bottom part of image HOT 5
- A strange phenomenon of SVO algorithm HOT 1
- Issue Building on Raspberry Pi HOT 4
- frame index and timestamps HOT 1
- imu data is always zeros HOT 8
- Compiling sample on Mac OSX Yosemite - Unsupported file format HOT 1
- StereoBM parameters for additional depth maps HOT 5
- Is this a bug? I think there should be an assignment sentence.
- Use member function as a callback. HOT 3
- could you help me with Guidance in data? HOT 1
- Is it possible to obtain depth images and greyscale images of all five sensors in the same time when running usb_example? HOT 2
- Arduino or STM port
- Compiling usb example on Jetson TX1 with latest L4T Image HOT 10
- no callback for select_motion
- Undefined reference HOT 2
- Error while trying to compile USB example HOT 6
- ***stack smashing detected*** HOT 1
- Fly M100 without GPS use Guidance
- uart_example hangs on read_serial HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guidance-sdk.