Skip to content
Snippets Groups Projects
Commit dfbf3078 authored by Simon Gabl's avatar Simon Gabl
Browse files

Rename grasp parameter 'max_force' to 'force'.

parent d638cb7a
No related branches found
No related tags found
No related merge requests found
float64 width # [m] float64 width # [m]
float64 speed # [m/s] float64 speed # [m/s]
float64 max_force # [N] float64 force # [N]
--- ---
bool success bool success
string error string error
......
...@@ -75,7 +75,7 @@ bool stop(const franka::Gripper& gripper, const StopGoalConstPtr& /*goal*/) { ...@@ -75,7 +75,7 @@ bool stop(const franka::Gripper& gripper, const StopGoalConstPtr& /*goal*/) {
} }
bool grasp(const franka::Gripper& gripper, const GraspGoalConstPtr& goal) { bool grasp(const franka::Gripper& gripper, const GraspGoalConstPtr& goal) {
return gripper.grasp(goal->width, goal->speed, goal->max_force); return gripper.grasp(goal->width, goal->speed, goal->force);
} }
} // namespace franka_gripper } // namespace franka_gripper
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment