Skip to content

Commit

Permalink
add a time to the quadrotor state
Browse files Browse the repository at this point in the history
  • Loading branch information
friend0 committed Dec 8, 2024
1 parent 330ae59 commit 2b8e148
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/quadrotor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ use nalgebra::{UnitQuaternion, Vector3};
#[derive(Clone, Debug, Default)]
/// Represents the state of a quadrotor
pub struct QuadrotorState {
/// Time stampe of the state
pub time: f32,
/// Current position of the quadrotor in NED
pub position: Vector3<f32>,
/// Current velocity of the quadrotor
pub velocity: Vector3<f32>,
Expand Down

0 comments on commit 2b8e148

Please sign in to comment.