Skip to content

Commit

Permalink
fixed constraint ominwheel working on local velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMingo committed Sep 27, 2024
1 parent 2ca4ef2 commit 7c92b15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/constraints/velocity/OmniWheels4X.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ void OmniWheels4X::update()
{
// _robot.getPose(_base_link, _w_T_b);
// _Aineq.rightCols(_x_size-6).noalias() = _w_T_b.linear() * _J.rightCols(_x_size-6);

//todo: here we assumes velocity of the floating base are in local frame!
_Aineq.rightCols(_x_size-6).noalias() = _J.rightCols(_x_size-6);
}

Expand Down

0 comments on commit 7c92b15

Please sign in to comment.