pub struct LocalizationState {
pub x_m: f64,
pub y_m: f64,
pub yaw_rad: f64,
pub confidence: f32,
}Expand description
A planar localization estimate in the map frame.
Fields§
§x_m: f64§y_m: f64§yaw_rad: f64§confidence: f32Trait Implementations§
Source§impl Clone for LocalizationState
impl Clone for LocalizationState
Source§fn clone(&self) -> LocalizationState
fn clone(&self) -> LocalizationState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContractBody for LocalizationState
impl ContractBody for LocalizationState
Source§const FAMILY: &'static str = "localize::LocalizationState"
const FAMILY: &'static str = "localize::LocalizationState"
Canonical contract family id: the
::-joined node path plus the body type
name, with dynamic variables excluded, e.g. "drive::State" or
"component::motor::Command".Source§const SCHEMA_ID: &'static str = "eea128627b56225c"
const SCHEMA_ID: &'static str = "eea128627b56225c"
Per-contract compatibility id: lower-hex SHA-256 of the canonical
transitive wire-shape string, truncated to 16 hex characters.
Source§const TOPIC: &'static str = "localize/state"
const TOPIC: &'static str = "localize/state"
Versionless topic key: the
/-joined node path plus the topic leaf, with
each dynamic node contributing a {var} placeholder, e.g. "drive/state"
or "component/{instance}/motor/{capability}/command". The concrete key is
produced by the api-local topic builder, which fills the placeholders.Source§impl Debug for LocalizationState
impl Debug for LocalizationState
Source§impl<'de> Deserialize<'de> for LocalizationState
impl<'de> Deserialize<'de> for LocalizationState
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 PartialEq for LocalizationState
impl PartialEq for LocalizationState
Source§fn eq(&self, other: &LocalizationState) -> bool
fn eq(&self, other: &LocalizationState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LocalizationState
impl Serialize for LocalizationState
impl StructuralPartialEq for LocalizationState
Auto Trait Implementations§
impl Freeze for LocalizationState
impl RefUnwindSafe for LocalizationState
impl Send for LocalizationState
impl Sync for LocalizationState
impl Unpin for LocalizationState
impl UnsafeUnpin for LocalizationState
impl UnwindSafe for LocalizationState
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more