Struct arci_ros::RosNavClientBuilder
source · pub struct RosNavClientBuilder { /* private fields */ }
Expand description
Build RosNavClient interactively.
Examples
let client = arci_ros::RosNavClientBuilder::new().clear_costmap_before_start(true).finalize();
Implementations§
sourcepub fn request_final_nomotion_update_hack(self, val: bool) -> Self
pub fn request_final_nomotion_update_hack(self, val: bool) -> Self
Enable/Disable request_final_nomotion_update_hack
Examples
// true means enable (default: false)
let builder = arci_ros::RosNavClientBuilder::new().request_final_nomotion_update_hack(true);
sourcepub fn clear_costmap_before_start(self, val: bool) -> Self
pub fn clear_costmap_before_start(self, val: bool) -> Self
Enable/Disable clear_costmap_before_start
Examples
// true means enable (default: false)
let builder = arci_ros::RosNavClientBuilder::new().clear_costmap_before_start(true);
sourcepub fn finalize(self) -> RosNavClient
pub fn finalize(self) -> RosNavClient
Convert builder into RosNavClient finally.
Examples
let client = arci_ros::RosNavClientBuilder::new().finalize();
Trait Implementations§
source§fn clone(&self) -> RosNavClientBuilder
fn clone(&self) -> RosNavClientBuilder
Returns a copy 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 moreAuto Trait Implementations§
Blanket Implementations§
fn __clone_box(&self, _: Private) -> *mut ()
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>
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.