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: JointTrajectoryClientWrapperConfigTrait Implementations§
Source§impl Clone for RosControlClientConfig
impl Clone for RosControlClientConfig
Source§fn clone(&self) -> RosControlClientConfig
fn clone(&self) -> RosControlClientConfig
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 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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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§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.