6 #ifndef FLEXIV_RDK_GRIPPER_HPP_
7 #define FLEXIV_RDK_GRIPPER_HPP_
144 void Move(
double width,
double velocity,
double force_limit = 0);
169 std::unique_ptr<Impl> pimpl_;
Interface with the robot gripper. Because gripper is also a type of device, this API uses the same un...
const GripperStates states() const
[Non-blocking] Current states data of the enabled gripper.
void Stop()
[Blocking] Stop the gripper and hold its current finger width.
void Move(double width, double velocity, double force_limit=0)
[Blocking] Move the gripper fingers with position control.
void Init()
[Blocking] Manually trigger the initialization of the enabled gripper. This step is not needed for gr...
void Disable()
[Blocking] Disable the currently enabled gripper, similar to Device::Disable().
const GripperParams params() const
[Non-blocking] Parameters of the currently enabled gripper.
void Enable(const std::string &name)
[Blocking] Enable the specified gripper as a device, same as Device::Enable().
void Grasp(double force)
[Blocking] Grasp with direct force control. Requires the mounted gripper to support direct force cont...
Gripper(const Robot &robot)
[Non-blocking] Create an instance and initialize gripper control interface.
Main interface with the robot, containing several function categories and background services.
std::ostream & operator<<(std::ostream &ostream, const RobotInfo &robot_info)
Operator overloading to out stream all robot info in JSON format: {"info_1": [val1,...
Data structure containing the gripper parameters.
Data structure containing the gripper states.