fn default() -> FlighController {
        FlighController {
            roll_vel_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),
            pitch_vel_ctrl: PIDController::new(1.0, None, None, 0.0, 0.0, 0.0),
            yaw_vel_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),

            roll_pos_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),
            pitch_pos_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),

            thrust_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),

            sequence_time: 0.0,
            sequence_motor: MotorSide::FrontLeft,
        }
    }
/// Create a new Flight Controller and init it
Create a new Flight Controller and init it
Create a new Flight Controller and init it
fn default() -> FlighController {
        FlighController {
            roll_vel_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),
            pitch_vel_ctrl: PIDController::new(1.0, None, None, 0.0, 0.0, 0.0),
            yaw_vel_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),
            roll_pos_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),
            pitch_pos_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),
            thrust_ctrl: PIDController::new(1.0, None, None, 0.0, 100.0, 0.0),
            sequence_time: 0.0,
            sequence_motor: MotorSide::FrontLeft,
        }
    }
fn default ( ) -> FlighController { FlighController { roll_vel_ctrl : PIDController :: new ( 1.0 , None , None , 0.0 , 100.0 , 0.0 ) , pitch_vel_ctrl : PIDController :: new ( 1.0 , None , None , 0.0 , 0.0 , 0.0 ) , yaw_vel_ctrl : PIDController :: new ( 1.0 , None , None , 0.0 , 100.0 , 0.0 ) , roll_pos_ctrl : PIDController :: new ( 1.0 , None , None , 0.0 , 100.0 , 0.0 ) , pitch_pos_ctrl : PIDController :: new ( 1.0 , None , None , 0.0 , 100.0 , 0.0 ) , thrust_ctrl : PIDController :: new ( 1.0 , None , None , 0.0 , 100.0 , 0.0 ) , sequence_time : 0.0 , sequence_motor : MotorSide :: FrontLeft , } }
Create a new Flight Controller and init it
Create a new Flight Controller and init it