pub struct SafetyControllerData {
pub soft_lower_limit: Option<f32>,
pub soft_upper_limit: Option<f32>,
pub k_position: Option<f32>,
pub k_velocity: f32,
}
Fields§
§soft_lower_limit: Option<f32>
(optional, defaults to 0)
An attribute specifying the lower joint boundary where the safety controller starts limiting the position of the joint. This limit needs to be larger than the lower joint limit (see above). See See safety limits for more details. TODO: FIX DOCUMENTATION
soft_upper_limit: Option<f32>
(optional, defaults to 0)
An attribute specifying the upper joint boundary where the safety controller starts limiting the position of the joint. This limit needs to be smaller than the upper joint limit (see above). See See safety limits for more details. TODO: FIX DOCUMENTATION
k_position: Option<f32>
(optional, defaults to 0)
An attribute specifying the relation between position and velocity limits. See See safety limits for more details. TODO: FIX DOCUMENTATION
k_velocity: f32
An attribute specifying the relation between effort and velocity limits. See See safety limits for more details.
Trait Implementations§
source§impl Clone for SafetyControllerData
impl Clone for SafetyControllerData
source§fn clone(&self) -> SafetyControllerData
fn clone(&self) -> SafetyControllerData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SafetyControllerData
impl Debug for SafetyControllerData
source§impl Default for SafetyControllerData
impl Default for SafetyControllerData
source§fn default() -> SafetyControllerData
fn default() -> SafetyControllerData
source§impl PartialEq<SafetyControllerData> for SafetyControllerData
impl PartialEq<SafetyControllerData> for SafetyControllerData
source§fn eq(&self, other: &SafetyControllerData) -> bool
fn eq(&self, other: &SafetyControllerData) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl ToURDF for SafetyControllerData
impl ToURDF for SafetyControllerData
impl Copy for SafetyControllerData
impl StructuralPartialEq for SafetyControllerData
Auto Trait Implementations§
impl RefUnwindSafe for SafetyControllerData
impl Send for SafetyControllerData
impl Sync for SafetyControllerData
impl Unpin for SafetyControllerData
impl UnwindSafe for SafetyControllerData
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.