pub struct Obstacle {
pub id: u64,
pub position: [f64; 3],
pub distance: f64,
pub radius: f64,
pub label: String,
pub confidence: f32,
}Expand description
An obstacle detected by the perception pipeline.
Fields§
§id: u64§position: [f64; 3]§distance: f64§radius: f64§label: String§confidence: f32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Obstacle
impl<'de> Deserialize<'de> for Obstacle
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
Auto Trait Implementations§
impl Freeze for Obstacle
impl RefUnwindSafe for Obstacle
impl Send for Obstacle
impl Sync for Obstacle
impl Unpin for Obstacle
impl UnsafeUnpin for Obstacle
impl UnwindSafe for Obstacle
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