pub type Position = nalgebra::geometry::Isometry2<f64>;
pub type Point = nalgebra::geometry::Point2<f64>;
pub type Orientation = nalgebra::geometry::UnitComplex<f64>;
pub type Vector = nalgebra::Vector2<f64>;
pub type Rotation = nalgebra::UnitComplex<f64>;
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct Velocity {
pub translational: Vector,
pub rotational: f64,
}
impl Velocity {
pub fn zero() -> Self {
Velocity {
translational: Vector::zeros(),
rotational: 0.0,
}
}
}
pub mod timed_position;
pub use timed_position::*;
pub mod space;
pub use space::*;
pub mod oriented;
pub use oriented::*;
pub type LinearTrajectorySE2 = super::Trajectory<WaypointSE2>;
pub mod quickest_path;
pub use quickest_path::{QuickestPathHeuristic, QuickestPathPlanner};
pub mod differential_drive_line_follow;
pub use differential_drive_line_follow::*;