pub struct FrameHome {Show 19 fields
pub latitude: f64,
pub longitude: f64,
pub altitude: f32,
pub height_limit: f32,
pub is_home_record: bool,
pub go_home_mode: Option<GoHomeMode>,
pub is_dynamic_home_point_enabled: bool,
pub is_near_distance_limit: bool,
pub is_near_height_limit: bool,
pub is_compass_calibrating: bool,
pub compass_calibration_state: Option<CompassCalibrationState>,
pub is_multiple_mode_enabled: bool,
pub is_beginner_mode: bool,
pub is_ioc_enabled: bool,
pub ioc_mode: Option<IOCMode>,
pub go_home_height: u16,
pub ioc_course_lock_angle: Option<i16>,
pub max_allowed_height: f32,
pub current_flight_record_index: u16,
}Fields§
§latitude: f64Home point latitude in degrees
longitude: f64Home point longitude in degrees
altitude: f32Home point altitude in meters
height_limit: f32Max allowed height in meters
is_home_record: boolIndicates if home point is recorded
go_home_mode: Option<GoHomeMode>Current return-to-home mode
is_dynamic_home_point_enabled: boolIndicates if dynamic home point is enabled
is_near_distance_limit: boolIndicates if the drone is near its distance limit
is_near_height_limit: boolIndicates if the drone is near its height limit
is_compass_calibrating: boolIndicates if compass calibration is in progress
compass_calibration_state: Option<CompassCalibrationState>Current state of compass calibration
is_multiple_mode_enabled: boolIndicates if multiple flight modes are enabled
is_beginner_mode: boolIndicates if beginner mode is active
is_ioc_enabled: boolIndicates if Intelligent Orientation Control is enabled
ioc_mode: Option<IOCMode>Current Intelligent Orientation Control mode
go_home_height: u16Return-to-home height in meters
ioc_course_lock_angle: Option<i16>Intelligent Orientation Control course lock angle
max_allowed_height: f32Maximum allowed height for the drone in meters
current_flight_record_index: u16Index of the current flight record
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameHome
impl RefUnwindSafe for FrameHome
impl Send for FrameHome
impl Sync for FrameHome
impl Unpin for FrameHome
impl UnwindSafe for FrameHome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more