Skip to content

Commit

Permalink
Change damping factor values in example
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Exner (fexner) <[email protected]>
  • Loading branch information
URJala and fmauch authored Oct 8, 2024
1 parent 9ca40b0 commit 6a37208
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/force_mode_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,15 @@ int main(int argc, char* argv[])
{ 0, 0, 0, 0, 0, 0 }, // do not apply any active wrench
2, // do not transform the force frame at all
{ 0.1, 0.1, 1.5, 3.14, 3.14, 0.5 }, // limits
0.8); // damping_factor. See ScriptManual for details.
0.025); // damping_factor. See ScriptManual for details.
else
{
success = g_my_driver->startForceMode({ 0, 0, 0, 0, 0, 0 }, // Task frame at the robot's base
{ 0, 0, 1, 0, 0, 1 }, // Compliance in z axis and rotation around z axis
{ 0, 0, 0, 0, 0, 0 }, // do not apply any active wrench
2, // do not transform the force frame at all
{ 0.1, 0.1, 1.5, 3.14, 3.14, 0.5 }, // limits
0.8, // damping_factor
0.025, // damping_factor
0.8); // gain_scaling. See ScriptManual for details.
}
if (!success)
Expand Down

0 comments on commit 6a37208

Please sign in to comment.