Go to the documentation of this file.
9 #include <control_msgs/GripperCommandAction.h>
12 #include <franka/exception.h>
13 #include <franka/gripper.h>
14 #include <franka/gripper_state.h>
15 #include <franka_gripper/GraspAction.h>
16 #include <franka_gripper/HomingAction.h>
17 #include <franka_gripper/MoveAction.h>
18 #include <franka_gripper/StopAction.h>
47 const franka::Gripper& gripper,
48 const GraspEpsilon& grasp_epsilon,
51 const control_msgs::GripperCommandGoalConstPtr& goal);
61 bool move(
const franka::Gripper& gripper,
const MoveGoalConstPtr& goal);
70 bool homing(
const franka::Gripper& gripper,
const HomingGoalConstPtr& );
79 bool stop(
const franka::Gripper& gripper,
const StopGoalConstPtr& );
91 bool grasp(
const franka::Gripper& gripper,
const GraspGoalConstPtr& goal);
bool stop(const franka::Gripper &gripper, const StopGoalConstPtr &)
Calls the libfranka stop service of the gripper to stop applying force.
void gripperCommandExecuteCallback(const franka::Gripper &gripper, const GraspEpsilon &grasp_epsilon, double default_speed, actionlib::SimpleActionServer< control_msgs::GripperCommandAction > *action_server, const control_msgs::GripperCommandGoalConstPtr &goal)
Wraps the execution of a gripper command action to catch exceptions and report results.
bool updateGripperState(const franka::Gripper &gripper, franka::GripperState *state)
Reads a gripper state if possible.
bool grasp(const franka::Gripper &gripper, const GraspGoalConstPtr &goal)
Calls the libfranka grasp service of the gripper.
bool homing(const franka::Gripper &gripper, const HomingGoalConstPtr &)
Calls the libfranka homing service of the gripper.
bool move(const franka::Gripper &gripper, const MoveGoalConstPtr &goal)
Calls the libfranka move service of the gripper.
franka_gripper
Author(s): Franka Emika GmbH
autogenerated on Mon Sep 19 2022 02:33:20