6 #ifndef FLEXIV_RDK_GRIPPER_HPP_
7 #define FLEXIV_RDK_GRIPPER_HPP_
13 namespace flexiv::rdk {
167 std::map<JointGroup, GripperParams>
params()
const;
173 std::map<JointGroup, GripperStates>
states()
const;
177 std::unique_ptr<Impl> pimpl_;
Interface to control the gripper installed on the robot. Because gripper is also a type of robot devi...
void Init(JointGroup group)
[Blocking] Manually trigger the initialization of the enabled gripper used by the specified joint gro...
std::map< JointGroup, GripperStates > states() const
[Non-blocking] Current states data of all enabled grippers.
void Disable(JointGroup group)
[Blocking] Disable the gripper currently used by the specified joint group.
std::map< JointGroup, GripperParams > params() const
[Non-blocking] Parameters of all enabled grippers.
void Enable(JointGroup group, const std::string &name)
[Blocking] Enable the specified gripper as a device used by the specified joint group.
void Grasp(JointGroup group, double force)
[Blocking] Command the gripper used by the specified joint group to grasp with direct force control....
void Move(JointGroup group, double width, double velocity, double force_limit)
[Blocking] Command the gripper used by the specified joint group to move the fingers with position co...
Gripper(const Robot &robot)
[Non-blocking] Instantiate the gripper control interface.
void Stop(JointGroup group)
[Blocking] Stop and hold the gripper used by the specified joint group.
Main interface to control the robot, containing several function categories and background services.
JointGroup
All possible joint groups of the robot.
std::ostream & operator<<(std::ostream &ostream, const RobotEvent &robot_event)
Operator overloading to out stream all members of RobotEvent in JSON format.
Data structure containing the gripper parameters.
Data structure containing the gripper states.