Skip to content
Snippets Groups Projects
Commit 0b9e7bd0 authored by Nicolas Mansard's avatar Nicolas Mansard
Browse files

Correct the gain value.

parent d932ca06
No related branches found
No related tags found
No related merge requests found
......@@ -647,7 +647,7 @@ namespace dynamicgraph
{
EIGEN_VECTOR_FROM_SIGNAL(qref,postureSIN(t));
EIGEN_VECTOR_FROM_SIGNAL(q,positionSIN(t));
const double Kp = Kv*Kv;
const double Kp = .25*Kv*Kv;
ref = (-Kp*(q-qref)-Kv*dq).tail(nbDofs);
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment