hs_hackathon/
lib.rs

1pub use hs_hackathon_macros::main;
2
3/// The prelude module to jumpstart your implementation
4pub mod prelude {
5    pub use crate::car::*;
6    pub use crate::drone::*;
7    pub use crate::vision::*;
8
9    pub use eyre;
10    pub use futures;
11    pub use futures::StreamExt;
12    pub use tokio;
13    pub use tracing;
14    pub use tracing_subscriber;
15}
16
17/// A library for controling the drone, as well as recieving frames from its camera
18pub mod drone {
19    pub use hs_hackathon_drone::*;
20}
21
22/// A hardware abstraction layer over the motor and wheels of the RC car
23pub mod car {
24    pub use hs_hackathon_car::{Angle, MotorSocket, Velocity, WheelOrientation};
25}
26
27/// A computer vision api to detect LEDs inside of video frames recieved from drones
28pub mod vision {
29    pub use hs_hackathon_vision::{detect, distance, BoundingBox, Color, Led, LedDetectionConfig};
30}