🚀 👾 U.F.O: Universal Flying Objects
A Drone/UAV/Quadcopter/RC Plane
programming library for Rust
.
FYI: this is still a WIP, the traits and structs exist, but examples and documentation are lacking... Proceed with caution.
Goals
- Build an extensible modular library that can support an infinite number of UAVs.
- Handle as much of the boiler plate as possible. (Things just work)
- Low Latency Between Drone and Controller
Non-Goals
- Implement A UI for controlling UAVs (NOTE: I may decide to build a UI later on, but it will be in its own repository)
- Support other types of robotics/RCs, right now this crate is for RC Drones and Planes. This may change at a later date, but not right now.
Installation and usage
Add this to your Cargo.toml
[dependencies]
ufo_rs = "*"
And put something like this in src/main.rs
/// Import std stuff
use Error;
use Duration;
use thread;
// Import traits
use *;
use *;
// Import controller
use h61;
See the examples/
directory for more information.
Help out
If you want to help with U.F.O, we could use support in two areas:
- Writing Unit Tests, I want to make sure the
U.F.O.
is a safe and stable way to program drones. If we can find areas prone to bugs, we can build a more stable library quickly. - Adding support for more drones. If you would like to help with this or to see an example, please take a look at
src/drones/jjrc/h61.rs
.
Inspiration:
Inspired by:
- Gobot: Really cool robotics library for
Go
- A lack of a drone library for
Rust
- Flying things with code is fun 😄!