pub struct EnvironmentPerception {
pub ambient_light_lux: Option<f64>,
pub surface_type: Option<String>,
pub surface_friction: Option<f64>,
pub incline_deg: Option<f64>,
pub visibility_m: Option<f64>,
pub is_cluttered: Option<bool>,
}Expand description
Environment perception data.
Fields§
§ambient_light_lux: Option<f64>Ambient light level (lux)
surface_type: Option<String>Surface type detected
surface_friction: Option<f64>Surface friction estimate (0-1)
incline_deg: Option<f64>Detected incline in degrees
visibility_m: Option<f64>Visibility estimate (meters)
is_cluttered: Option<bool>Whether environment is cluttered
Trait Implementations§
Source§impl Clone for EnvironmentPerception
impl Clone for EnvironmentPerception
Source§fn clone(&self) -> EnvironmentPerception
fn clone(&self) -> EnvironmentPerception
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 EnvironmentPerception
impl Debug for EnvironmentPerception
Source§impl Default for EnvironmentPerception
impl Default for EnvironmentPerception
Source§fn default() -> EnvironmentPerception
fn default() -> EnvironmentPerception
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvironmentPerception
impl<'de> Deserialize<'de> for EnvironmentPerception
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 EnvironmentPerception
impl Serialize for EnvironmentPerception
Source§impl Validate for EnvironmentPerception
impl Validate for EnvironmentPerception
Auto Trait Implementations§
impl Freeze for EnvironmentPerception
impl RefUnwindSafe for EnvironmentPerception
impl Send for EnvironmentPerception
impl Sync for EnvironmentPerception
impl Unpin for EnvironmentPerception
impl UnwindSafe for EnvironmentPerception
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