e_drone_sp
Rust library for BYROBOT drones.
-
Tested
- Windows 10 (x64)
- Ubuntu linux 20.04 (x64)
- macOS Big Sur
- Raspberry Pi OS (Raspberry PI Compute Module 4)
- Raspberry Pi OS Lite (Raspberry PI Zero)
-
Support
Dependencies
Linux
If you see an error when you build your project,
error: failed to run custom build command for `libudev-sys v0.1.4`
You need to install 'libudev-dev'.
sudo apt-get install libudev-dev
Example
Cargo.toml
[]
="21.*"
="21.*"
main.rs
extern crate e_drone_sp;
use ;
use ;
use ;
Examples in library
Source code
https://github.com/byrobot-rust/e_drone_sp/tree/master/examples
Show in github1s.com
- Drone
- Flight
- Controller
- Button
- Buzzer
- Display
- Joystick
- Light
- Request
- Vibrator
Clone Library
git clone https://github.com/byrobot-rust/e_drone_sp/
Run
cargo run --example flight
cargo run --example button
cargo run --example buzzer
cargo run --example display
cargo run --example joystick
cargo run --example light
cargo run --example request
cargo run --example vibrator