pub struct CarmenScan {
pub timestamp: f64,
pub angle_min: f64,
pub angle_increment: f64,
pub max_range: f64,
pub ranges: Vec<f64>,
pub laser_odometry: Pose2D,
}Expand description
One laser scan from a CARMEN log.
Fields§
§timestamp: f64IPC timestamp [s] (the time the relations of the SLAM benchmark use).
angle_min: f64Bearing of the first beam in the laser frame [rad].
angle_increment: f64Angle between consecutive beams [rad].
max_range: f64Maximum range of the sensor [m] (f64::INFINITY when unknown).
ranges: Vec<f64>Measured ranges [m], in beam order.
laser_odometry: Pose2DLaser pose from odometry (the pose of the scan in the odometry frame).
Implementations§
Trait Implementations§
Source§impl Clone for CarmenScan
impl Clone for CarmenScan
Source§impl Debug for CarmenScan
impl Debug for CarmenScan
Source§impl PartialEq for CarmenScan
impl PartialEq for CarmenScan
impl StructuralPartialEq for CarmenScan
Auto Trait Implementations§
impl Freeze for CarmenScan
impl RefUnwindSafe for CarmenScan
impl Send for CarmenScan
impl Sync for CarmenScan
impl Unpin for CarmenScan
impl UnsafeUnpin for CarmenScan
impl UnwindSafe for CarmenScan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.