perrytsao / pc-drone Goto Github PK
View Code? Open in Web Editor NEWPython OpenCV Code for Flying a Mini-Drone
License: MIT License
Python OpenCV Code for Flying a Mini-Drone
License: MIT License
Hi, i think im close to flying the drone with your python code
Where exactly in the code of fly_drone.py does it start binding to the drone (eg: simulating the minimum throttle, maximum throttle, minimum throttle sequence)?
Im actually trying to run the serial_test.py file from your other repo, which uses the same command as this file (arduino.write())
at https://github.com/perrytsao/nrf24_cx10_pc/blob/master/serial_test.py
though i can't post comments there
(im just trying to test flight the drone with manual keyboard controls before moving on to opencv and the real fun ^^)
Cheers
Hi,
I have a question about getting the realtime Drone video on the computer. It would be great if you could let me know is there any solution for getting real-time drone camera video in the computer?
Thanks.
Hi, i've been analyzing the code, is it correct that this part of the code is the one directly commanding the movements of the cx-10?
## Serial comms - write to Arduino
throttle=clamp(throttle, 1000, 2000)
rudder=clamp(rudder, 1000, 2000)
command="%i,%i,%i,%i"% (throttle, aileron, elevator, rudder)
print "[PC]: "+command
arduino.write(command+"\n")
cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.