Skip to content

Commit

Permalink
Fix dimension of A and b matrices in TSID's CoMTask (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Sep 22, 2023
1 parent 6723222 commit 367c1e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project are documented in this file.
## [Unreleased]

### Added
- Add the possibility to control a subset of coordinates in `TSID::CoMTask` (https://github.com/ami-iit/bipedal-locomotion-framework/pull/724)
- Add the possibility to control a subset of coordinates in `TSID::CoMTask` (https://github.com/ami-iit/bipedal-locomotion-framework/pull/724, https://github.com/ami-iit/bipedal-locomotion-framework/pull/727)

## [0.15.0] - 2023-09-05
### Added
Expand Down
4 changes: 2 additions & 2 deletions src/TSID/src/CoMTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ bool CoMTask::setVariablesHandler(const System::VariablesHandler& variablesHandl
}

// resize the matrices
m_A.resize(m_linearVelocitySize, variablesHandler.getNumberOfVariables());
m_A.resize(m_DoFs, variablesHandler.getNumberOfVariables());
m_A.setZero();
m_b.resize(m_linearVelocitySize);
m_b.resize(m_DoFs);
m_b.setZero();
m_jacobian.resize(m_linearVelocitySize, m_robotAccelerationVariable.size);

Expand Down

0 comments on commit 367c1e6

Please sign in to comment.