DirectLidarStateInfo

Struct DirectLidarStateInfo 

Source
#[repr(C, packed(1))]
pub struct DirectLidarStateInfo {
Show 43 fields pub pcl_data_type: u8, pub pattern_mode: u8, pub dual_emit_en: u8, pub point_send_en: u8, pub lidar_ipcfg: LivoxLidarIpInfo, pub host_state_info: HostStateInfoIpInfo, pub pointcloud_host_ipcfg: HostPointIPInfo, pub imu_host_ipcfg: HostImuDataIPInfo, pub ctl_host_ipcfg: LivoxIpCfg, pub log_host_ipcfg: LivoxIpCfg, pub vehicle_speed: i32, pub environment_temp: i32, pub install_attitude: LivoxLidarInstallAttitude, pub blind_spot_set: u32, pub frame_rate: u8, pub fov_cfg0: FovCfg, pub fov_cfg1: FovCfg, pub fov_cfg_en: u8, pub detect_mode: u8, pub func_io_cfg: [u8; 4], pub work_tgt_mode: u8, pub glass_heat: u8, pub imu_data_en: u8, pub fusa_en: u8, pub sn: [c_char; 16], pub product_info: [c_char; 64], pub version_app: [u8; 4], pub version_loader: [u8; 4], pub version_hardware: [u8; 4], pub mac: [u8; 6], pub cur_work_state: u8, pub core_temp: i32, pub powerup_cnt: u32, pub local_time_now: u64, pub last_sync_time: u64, pub time_offset: i64, pub time_sync_type: u8, pub status_code: [u8; 32], pub lidar_diag_status: u16, pub lidar_flash_status: u8, pub fw_type: u8, pub hms_code: [u32; 8], pub ROI_Mode: u8,
}

Fields§

§pcl_data_type: u8§pattern_mode: u8§dual_emit_en: u8§point_send_en: u8§lidar_ipcfg: LivoxLidarIpInfo§host_state_info: HostStateInfoIpInfo§pointcloud_host_ipcfg: HostPointIPInfo§imu_host_ipcfg: HostImuDataIPInfo§ctl_host_ipcfg: LivoxIpCfg§log_host_ipcfg: LivoxIpCfg§vehicle_speed: i32§environment_temp: i32§install_attitude: LivoxLidarInstallAttitude§blind_spot_set: u32§frame_rate: u8§fov_cfg0: FovCfg§fov_cfg1: FovCfg§fov_cfg_en: u8§detect_mode: u8§func_io_cfg: [u8; 4]§work_tgt_mode: u8§glass_heat: u8§imu_data_en: u8§fusa_en: u8§sn: [c_char; 16]§product_info: [c_char; 64]§version_app: [u8; 4]§version_loader: [u8; 4]§version_hardware: [u8; 4]§mac: [u8; 6]§cur_work_state: u8§core_temp: i32§powerup_cnt: u32§local_time_now: u64§last_sync_time: u64§time_offset: i64§time_sync_type: u8§status_code: [u8; 32]§lidar_diag_status: u16§lidar_flash_status: u8§fw_type: u8§hms_code: [u32; 8]§ROI_Mode: u8

Trait Implementations§

Source§

impl Clone for DirectLidarStateInfo

Source§

fn clone(&self) -> DirectLidarStateInfo

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DirectLidarStateInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for DirectLidarStateInfo

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.