42 explicit Gripper(
const std::string& franka_address);
102 double epsilon_inner = 0.005,
103 double epsilon_outer = 0.005) const;
116 bool move(
double width,
double speed) const;
151 std::unique_ptr<Network> network_;
153 uint16_t ri_version_;
Maintains a network connection to the gripper, provides the current gripper state,...
Definition gripper.h:27
Gripper(const std::string &franka_address)
Establishes a connection with a gripper connected to a robot.
bool move(double width, double speed) const
Moves the gripper fingers to a specified width.
uint16_t ServerVersion
Version of the gripper server.
Definition gripper.h:32
ServerVersion serverVersion() const noexcept
Returns the software version reported by the connected server.
Gripper(Gripper &&gripper) noexcept
Move-constructs a new Gripper instance.
GripperState readOnce() const
Waits for a gripper state update and returns it.
Gripper & operator=(Gripper &&gripper) noexcept
Move-assigns this Gripper from another Gripper instance.
bool grasp(double width, double speed, double force, double epsilon_inner=0.005, double epsilon_outer=0.005) const
Grasps an object.
bool stop() const
Stops a currently running gripper move or grasp.
~Gripper() noexcept
Closes the connection.
bool homing() const
Performs homing of the gripper.
Contains the franka::GripperState type.
Describes the gripper state.
Definition gripper_state.h:20