Comments (6)
I meet the same problem with you now.Did you solve it?
from guidance-sdk.
@xtxper didn't solve it, still not working.
from guidance-sdk.
I find two methods to deal with this error.
i> i have insert the "usb-1.0" in three target_link_libraries, modify the CMakeList.txt like this
`cmake_minimum_required(VERSION 2.8)
project( dji_guidance_usb )
CMAKE_POLICY( SET CMP0015 NEW )
find_package( OpenCV )
if(OpenCV_FOUND)
add_definitions(-DHAVE_OPENCV)
endif()
add_executable( dji_guidance_usb main.cpp DJI_utility.cpp )
include_directories($(SOURCE_DIR)/../../../include)
if(WIN32)
find_library(Guidance_Lib DJI_guidance.lib HINTS $(SOURCE_DIR)/../../../../lib/2013/x86)
else()
find_library(Guidance_Lib DJI_guidance HINTS $(SOURCE_DIR)/../../../../so/x64)
target_link_libraries( dji_guidance_usb pthread usb-1.0)
endif()
#dji_guidance_usb
if(OpenCV_FOUND)
target_link_libraries(dji_guidance_usb ${OpenCV_LIBS} ${Guidance_Lib} usb-1.0)
else()
target_link_libraries( dji_guidance_usb ${Guidance_Lib} usb-1.0)
endif()`
ii> use the Makefile to build this project which needs move "libDJI_guidance.so" to this directory.
good lucky!!
from guidance-sdk.
It is actually easier to run the Guidance SDK on Ubuntu than it is in Windows (MS Visual Studio) because setting up the shared libraries and environment variables is just movement of necessary files (e.g .so) into the specified folders (e.g /usr/local/bin). Plus the use of the Makefile really simplifies the entire process of pointing to dependencies. If you guys are still facing the problem, please let me know so that I can prepare a lengthy explanation of what I did. I have so far managed to run sample code that uses the Guidance SDK on several machines...x64, x86 and now running on the DJI Manifold TK1 (ARM) processor. I don't know if I will see the responses to this but you can also contact me through [email protected]
All the best!
from guidance-sdk.
sudo apt-get install libusb-1.0-dev
add "usb-1.0" to target_link_libraries in CMakeLists.txt files
target_link_libraries( dji_guidance_usb ${OpenCV_LIBS} ${Guidance_Lib} usb-1.0)
from guidance-sdk.
It is actually easier to run the Guidance SDK on Ubuntu than it is in Windows (MS Visual Studio) because setting up the shared libraries and environment variables is just movement of necessary files (e.g .so) into the specified folders (e.g /usr/local/bin). Plus the use of the Makefile really simplifies the entire process of pointing to dependencies. If you guys are still facing the problem, please let me know so that I can prepare a lengthy explanation of what I did. I have so far managed to run sample code that uses the Guidance SDK on several machines...x64, x86 and now running on the DJI Manifold TK1 (ARM) processor. I don't know if I will see the responses to this but you can also contact me through [email protected]
All the best!
I am trying to run Guidance SDK on DJI Manifold, but uart example not works: it doesn't read anything from serial connection. I followed the DJI guide, enabled uart by Guidance Assistant software and connect with uart cable the uart port of Guidance and uart3 port of Manifold (/dev/ttyTHS2 in Manifold kernel) but no data arrives from Guidance.
Any ideas?
Were you able to run uart example on DJI Manifold?
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
- How to use Guidance SDK with OnboardSDK HOT 5
- ***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.