pub struct FrameOSD {Show 45 fields
pub fly_time: f32,
pub latitude: f64,
pub longitude: f64,
pub height: f32,
pub height_max: f32,
pub vps_height: f32,
pub altitude: f32,
pub x_speed: f32,
pub x_speed_max: f32,
pub y_speed: f32,
pub y_speed_max: f32,
pub z_speed: f32,
pub z_speed_max: f32,
pub pitch: f32,
pub roll: f32,
pub yaw: f32,
pub flyc_state: Option<FlightMode>,
pub flyc_command: Option<AppCommand>,
pub flight_action: Option<FlightAction>,
pub is_gpd_used: bool,
pub non_gps_cause: Option<NonGPSCause>,
pub gps_num: u8,
pub gps_level: u8,
pub drone_type: Option<DroneType>,
pub is_swave_work: bool,
pub wave_error: bool,
pub go_home_status: Option<GoHomeStatus>,
pub battery_type: Option<BatteryType>,
pub is_on_ground: bool,
pub is_motor_on: bool,
pub is_motor_blocked: bool,
pub motor_start_failed_cause: Option<MotorStartFailedCause>,
pub is_imu_preheated: bool,
pub imu_init_fail_reason: Option<ImuInitFailReason>,
pub is_acceletor_over_range: bool,
pub is_barometer_dead_in_air: bool,
pub is_compass_error: bool,
pub is_go_home_height_modified: bool,
pub can_ioc_work: bool,
pub is_not_enough_force: bool,
pub is_out_of_limit: bool,
pub is_propeller_catapult: bool,
pub is_vibrating: bool,
pub is_vision_used: bool,
pub voltage_warning: u8,
}Fields§
§fly_time: f32Flight time in seconds
latitude: f64Latitude in degrees
longitude: f64Longitude in degrees
height: f32Height above ground level in meters
height_max: f32Maximum height reached in meters
vps_height: f32Visual Positioning System height in meters
altitude: f32Altitude above sea level in meters
x_speed: f32Speed along the X-axis in meters per second
x_speed_max: f32Maximum speed reached along the X-axis in meters per second
y_speed: f32Speed along the Y-axis in meters per second
y_speed_max: f32Maximum speed reached along the Y-axis in meters per second
z_speed: f32Vertical speed in meters per second
z_speed_max: f32Maximum vertical speed reached in meters per second
pitch: f32Pitch angle in degrees
roll: f32Roll angle in degrees
yaw: f32Yaw angle in degrees
flyc_state: Option<FlightMode>Current flight mode
flyc_command: Option<AppCommand>Current app command
flight_action: Option<FlightAction>Current flight action
is_gpd_used: boolIndicates if GPS is being used
non_gps_cause: Option<NonGPSCause>Reason for not using GPS
gps_num: u8Number of GPS satellites detected
gps_level: u8GPS signal level
drone_type: Option<DroneType>Type of drone
is_swave_work: boolIndicates if obstacle avoidance is active
wave_error: boolIndicates if there’s an error with obstacle avoidance
go_home_status: Option<GoHomeStatus>Current status of the return-to-home function
battery_type: Option<BatteryType>Type of battery
is_on_ground: boolIndicates if the drone is on the ground
is_motor_on: boolIndicates if the motor is running
is_motor_blocked: boolIndicates if the motor is blocked
motor_start_failed_cause: Option<MotorStartFailedCause>Reason for motor start failure
is_imu_preheated: boolIndicates if the IMU is preheated
imu_init_fail_reason: Option<ImuInitFailReason>Reason for IMU initialization failure
is_acceletor_over_range: boolIndicates if the accelerometer is over range
is_barometer_dead_in_air: boolIndicates if the barometer is malfunctioning in air
is_compass_error: boolIndicates if there’s a compass error
is_go_home_height_modified: boolIndicates if the return-to-home height has been modified
can_ioc_work: boolIndicates if Intelligent Orientation Control can work
is_not_enough_force: boolIndicates if there’s not enough force (e.g., low battery)
is_out_of_limit: boolIndicates if the drone is out of its flight limit
is_propeller_catapult: boolIndicates if propeller catapult protection is active
is_vibrating: boolIndicates if the drone is experiencing vibrations
is_vision_used: boolIndicates if vision positioning system is being used
voltage_warning: u8Battery voltage warning level