84 std::chrono::milliseconds timeout,
97 bool dropOff(std::chrono::milliseconds timeout) const;
132 std::unique_ptr<Network> network_;
134 uint16_t ri_version_;
Maintains a network connection to the vacuum gripper, provides the current vacuum gripper state,...
Definition vacuum_gripper.h:28
bool dropOff(std::chrono::milliseconds timeout) const
Drops the grasped object off.
ProductionSetupProfile
Vacuum production setup profile.
Definition vacuum_gripper.h:38
ServerVersion serverVersion() const noexcept
Returns the software version reported by the connected server.
bool stop() const
Stops a currently running vacuum gripper vacuum or drop off operation.
bool vacuum(uint8_t vacuum, std::chrono::milliseconds timeout, ProductionSetupProfile profile=ProductionSetupProfile::kP0) const
Vacuums an object.
uint16_t ServerVersion
Version of the vacuum gripper server.
Definition vacuum_gripper.h:33
VacuumGripper & operator=(VacuumGripper &&vacuum_gripper) noexcept
Move-assigns this VacuumGripper from another VacuumGripper instance.
VacuumGripperState readOnce() const
Waits for a vacuum gripper state update and returns it.
VacuumGripper(const std::string &franka_address)
Establishes a connection with a vacuum gripper connected to a robot.
VacuumGripper(VacuumGripper &&vacuum_gripper) noexcept
Move-constructs a new VacuumGripper instance.
~VacuumGripper() noexcept
Closes the connection.
Describes the vacuum gripper state.
Definition vacuum_gripper_state.h:31
Contains the franka::VacuumGripperState type.