Skip to content

Commit 489f4fb

Browse files
committed
Make centroidal baseTask test pass by adding small com task (to compesate for base pos)
1 parent e161e2b commit 489f4fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/inverse-dynamics/centroidal.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,10 @@ BOOST_AUTO_TEST_CASE(CentroidalID_baseTask)
251251
{
252252
CentroidalID::Settings settings;
253253
settings.kp_base = 7.;
254+
settings.kp_com = 1.;
254255
settings.kp_contact = .1;
255256
settings.w_base = 100.0;
257+
settings.w_com = 10.0;
256258
settings.w_contact_force = 1.0;
257259
settings.w_contact_motion = 1.0;
258260

0 commit comments

Comments
 (0)