pub struct ManipulationDomain {
pub arm_state: Option<ArmState>,
pub end_effector: Option<EndEffector>,
pub workspace: Option<Workspace>,
pub grasp: Option<GraspOperation>,
pub hand_guiding: Option<HandGuiding>,
pub control_mode: Option<ManipulationControlMode>,
pub collision_avoidance_active: Option<bool>,
}Expand description
Manipulation domain containing arm and grasping information.
Fields§
§arm_state: Option<ArmState>Arm state
end_effector: Option<EndEffector>End effector information
workspace: Option<Workspace>Workspace information
grasp: Option<GraspOperation>Current grasp operation
hand_guiding: Option<HandGuiding>Hand guiding mode (for cobots)
control_mode: Option<ManipulationControlMode>Control mode
collision_avoidance_active: Option<bool>Whether in collision avoidance
Implementations§
Source§impl ManipulationDomain
impl ManipulationDomain
Sourcepub fn with_end_effector(self, end_effector: EndEffector) -> Self
pub fn with_end_effector(self, end_effector: EndEffector) -> Self
Builder to add end effector.
Sourcepub fn with_grasp(self, grasp: GraspOperation) -> Self
pub fn with_grasp(self, grasp: GraspOperation) -> Self
Builder to add grasp operation.
Sourcepub fn with_hand_guiding(self, hand_guiding: HandGuiding) -> Self
pub fn with_hand_guiding(self, hand_guiding: HandGuiding) -> Self
Builder to add hand guiding.
Trait Implementations§
Source§impl Clone for ManipulationDomain
impl Clone for ManipulationDomain
Source§fn clone(&self) -> ManipulationDomain
fn clone(&self) -> ManipulationDomain
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 ManipulationDomain
impl Debug for ManipulationDomain
Source§impl Default for ManipulationDomain
impl Default for ManipulationDomain
Source§fn default() -> ManipulationDomain
fn default() -> ManipulationDomain
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManipulationDomain
impl<'de> Deserialize<'de> for ManipulationDomain
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
Auto Trait Implementations§
impl Freeze for ManipulationDomain
impl RefUnwindSafe for ManipulationDomain
impl Send for ManipulationDomain
impl Sync for ManipulationDomain
impl Unpin for ManipulationDomain
impl UnwindSafe for ManipulationDomain
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