pub struct Scan {
pub angles_radian: Vec<f64>,
pub distances: Vec<u16>,
pub flags: Vec<InterferenceFlag>,
pub intensities: Vec<u8>,
pub checksum_correct: bool,
}
Expand description
Struct to hold one lap of lidar scan data.
Fields§
§angles_radian: Vec<f64>
Scan angle in radian.
distances: Vec<u16>
Distance to an object.
flags: Vec<InterferenceFlag>
Interference status of the returned signal.
intensities: Vec<u8>
Return strength of the laser pulse.
checksum_correct: bool
Checksum valiadtion result of the scan signal.
Auto Trait Implementations§
impl Freeze for Scan
impl RefUnwindSafe for Scan
impl Send for Scan
impl Sync for Scan
impl Unpin for Scan
impl UnwindSafe for Scan
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