pub struct NavigationGoal {
pub goal_id: Option<String>,
pub position: Option<Position2D>,
pub orientation_deg: Option<f64>,
pub name: Option<String>,
pub goal_type: Option<String>,
pub frame_id: Option<String>,
pub distance_m: Option<f64>,
pub position_tolerance_m: Option<f64>,
pub orientation_tolerance_deg: Option<f64>,
}Expand description
Navigation goal.
Fields§
§goal_id: Option<String>Goal ID
position: Option<Position2D>Goal position
orientation_deg: Option<f64>Goal orientation (yaw) in degrees
name: Option<String>Goal name/label
goal_type: Option<String>Goal type (e.g., “waypoint”, “dock”, “work_location”)
frame_id: Option<String>Goal frame ID
distance_m: Option<f64>Distance to goal in meters
position_tolerance_m: Option<f64>Tolerance for goal position (meters)
orientation_tolerance_deg: Option<f64>Tolerance for goal orientation (degrees)
Implementations§
Trait Implementations§
Source§fn clone(&self) -> NavigationGoal
fn clone(&self) -> NavigationGoal
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§fn default() -> NavigationGoal
fn default() -> NavigationGoal
Returns the “default value” for a type. Read more
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§
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