pub struct LidarSensor {Show 14 fields
pub sensor_id: Option<String>,
pub name: Option<String>,
pub status: Option<SensorStatus>,
pub sensor_type: Option<String>,
pub point_count: Option<u32>,
pub scan_frequency_hz: Option<f64>,
pub min_range_m: Option<f64>,
pub max_range_m: Option<f64>,
pub min_angle_deg: Option<f64>,
pub max_angle_deg: Option<f64>,
pub angular_resolution_deg: Option<f64>,
pub is_3d: Option<bool>,
pub closest_range_m: Option<f64>,
pub closest_angle_deg: Option<f64>,
}Expand description
LiDAR sensor information.
Fields§
§sensor_id: Option<String>Sensor ID
name: Option<String>Sensor name
status: Option<SensorStatus>Sensor status
sensor_type: Option<String>Sensor type/model
point_count: Option<u32>Number of points in current scan
scan_frequency_hz: Option<f64>Scan frequency in Hz
min_range_m: Option<f64>Minimum range in meters
max_range_m: Option<f64>Maximum range in meters
min_angle_deg: Option<f64>Minimum angle in degrees
max_angle_deg: Option<f64>Maximum angle in degrees
angular_resolution_deg: Option<f64>Angular resolution in degrees
is_3d: Option<bool>Whether sensor is 3D
closest_range_m: Option<f64>Closest detected range in meters
closest_angle_deg: Option<f64>Angle of closest detection in degrees
Trait Implementations§
Source§impl Clone for LidarSensor
impl Clone for LidarSensor
Source§fn clone(&self) -> LidarSensor
fn clone(&self) -> LidarSensor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LidarSensor
impl Debug for LidarSensor
Source§impl Default for LidarSensor
impl Default for LidarSensor
Source§fn default() -> LidarSensor
fn default() -> LidarSensor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LidarSensor
impl<'de> Deserialize<'de> for LidarSensor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for LidarSensor
impl Serialize for LidarSensor
Auto Trait Implementations§
impl Freeze for LidarSensor
impl RefUnwindSafe for LidarSensor
impl Send for LidarSensor
impl Sync for LidarSensor
impl Unpin for LidarSensor
impl UnwindSafe for LidarSensor
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