42 explicit Gripper(
const std::string& franka_address);
99 bool grasp(
double width,
102 double epsilon_inner = 0.005,
103 double epsilon_outer = 0.005) const;
116 bool move(
double width,
double speed) const;
ServerVersion serverVersion() const noexcept
Returns the software version reported by the connected server.
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.
GripperState readOnce() const
Waits for a gripper state update and returns it.
Maintains a network connection to the gripper, provides the current gripper state, and allows the execution of commands.
bool move(double width, double speed) const
Moves the gripper fingers to a specified width.
std::unique_ptr< Network > network_
Contains the franka::GripperState type.
uint16_t ServerVersion
Version of the gripper server.
Describes the gripper state.
bool homing() const
Performs homing of the gripper.
Gripper(const std::string &franka_address)
Establishes a connection with a gripper connected to a robot.