Struct arci_ros::RosControlClientConfig
source · pub struct RosControlClientConfig {
pub name: String,
pub joint_names: Vec<String>,
pub controller_name: String,
pub state_topic_name: Option<String>,
pub send_partial_joints_goal: bool,
pub complete_allowable_errors: Vec<f64>,
pub complete_timeout_sec: f64,
pub wrapper_config: JointTrajectoryClientWrapperConfig,
}
Fields§
§name: String
§joint_names: Vec<String>
§controller_name: String
§state_topic_name: Option<String>
§send_partial_joints_goal: bool
§complete_allowable_errors: Vec<f64>
§complete_timeout_sec: f64
§wrapper_config: JointTrajectoryClientWrapperConfig
Trait Implementations§
source§impl Clone for RosControlClientConfig
impl Clone for RosControlClientConfig
source§fn clone(&self) -> RosControlClientConfig
fn clone(&self) -> RosControlClientConfig
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 moresource§impl Debug for RosControlClientConfig
impl Debug for RosControlClientConfig
source§impl<'de> Deserialize<'de> for RosControlClientConfig
impl<'de> Deserialize<'de> for RosControlClientConfig
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 JsonSchema for RosControlClientConfig
impl JsonSchema for RosControlClientConfig
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl RosControlClientBuilder for RosControlClientConfig
impl RosControlClientBuilder for RosControlClientConfig
fn build_joint_state_provider( &self, joint_state_topic_name: impl Into<String>, ) -> Arc<LazyLock<Box<dyn JointStateProvider + Send + Sync>, Box<dyn FnOnce() -> Box<dyn JointStateProvider + Send + Sync> + Send + Sync>>>
fn build_joint_trajectory_client( &self, lazy: bool, joint_state_provider: Arc<LazyLock<Box<dyn JointStateProvider + Send + Sync>, Box<dyn FnOnce() -> Box<dyn JointStateProvider + Send + Sync> + Send + Sync>>>, ) -> Result<Arc<dyn JointTrajectoryClient>, Error>
fn state_topic(&self) -> String
fn wrapper_config(&self) -> &JointTrajectoryClientWrapperConfig
fn name(&self) -> &str
Auto Trait Implementations§
impl Freeze for RosControlClientConfig
impl RefUnwindSafe for RosControlClientConfig
impl Send for RosControlClientConfig
impl Sync for RosControlClientConfig
impl Unpin for RosControlClientConfig
impl UnwindSafe for RosControlClientConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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 moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§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 moresource§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).source§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.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§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 moresource§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).source§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.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.