Struct urdf_rs::SafetyController
source · pub struct SafetyController {
pub soft_lower_limit: f64,
pub soft_upper_limit: f64,
pub k_position: f64,
pub k_velocity: f64,
}
Fields§
§soft_lower_limit: f64
§soft_upper_limit: f64
§k_position: f64
§k_velocity: f64
Trait Implementations§
source§impl Clone for SafetyController
impl Clone for SafetyController
source§fn clone(&self) -> SafetyController
fn clone(&self) -> SafetyController
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 SafetyController
impl Debug for SafetyController
source§impl Default for SafetyController
impl Default for SafetyController
source§fn default() -> SafetyController
fn default() -> SafetyController
Returns the “default value” for a type. Read more
source§impl YaDeserialize for SafetyController
impl YaDeserialize for SafetyController
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
source§impl YaSerialize for SafetyController
impl YaSerialize for SafetyController
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
Auto Trait Implementations§
impl RefUnwindSafe for SafetyController
impl Send for SafetyController
impl Sync for SafetyController
impl Unpin for SafetyController
impl UnwindSafe for SafetyController
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