Struct robotics_signals::navigation::MapMetadata
source · [−]#[repr(C)]pub struct MapMetadata {
pub map_load_time: Timestamp,
pub resolution: f32,
pub width: u32,
pub height: u32,
pub origin: Pose,
}
Fields
map_load_time: Timestamp
time at which the map is loaded
resolution: f32
the map resolution [m/cell]
width: u32
map width in cells
height: u32
map height in cells
origin: Pose
The origin of the map [m,m, rad]. This is the real world post of the bottom left corner of cell (0,0) in the map.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for MapMetadata
impl<'de> Deserialize<'de> for MapMetadata
sourcefn 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
sourceimpl Serialize for MapMetadata
impl Serialize for MapMetadata
Auto Trait Implementations
impl RefUnwindSafe for MapMetadata
impl Send for MapMetadata
impl Sync for MapMetadata
impl Unpin for MapMetadata
impl UnwindSafe for MapMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more