7 #include <franka/exception.h>
8 #include <franka/gripper.h>
14 const double width_calibration {0.004};
15 const double min_width {0.002};
21 double last_clamp_width;
27 explicit Gripper(
const std::string& fci_ip,
double speed = 0.04,
double force = 20.0);
36 bool isGrasping()
const;
38 bool move(
double width);
39 bool move_unsafe(
double width);
40 std::future<bool> moveAsync(
double width);
44 bool clamp(
double min_clamping_width);
47 bool release(
double width);
48 bool releaseRelative(
double width);
51 ::franka::GripperState get_state();