Skip to content

Commit

Permalink
Merge pull request #698 from prashanthr05/fix/LO
Browse files Browse the repository at this point in the history
Fix bug in init() of SimpleLeggedOdometry
  • Loading branch information
traversaro authored Jun 15, 2020
2 parents ba43b00 + 89dff6b commit d805354
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- Fix bug in init() of SimpleLeggedOdometry that used an incorrect initial world frame location if used with an additional frame of a link (https://github.com/robotology/idyntree/pull/698)

## [1.1.0] - 2020-06-08

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/estimation/src/SimpleLeggedOdometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ bool SimpleLeggedOdometry::init(const FrameIndex initialFixedFrameIndex,
m_fixedLinkIndex = m_model.getFrameLink(initialFixedFrameIndex);

Transform world_H_initialFixedFrame = initialFixedFrame_H_world.inverse();
Transform initalFixedFrame_H_fixedLink = m_model.getFrameTransform(m_fixedLinkIndex).inverse();
Transform initalFixedFrame_H_fixedLink = m_model.getFrameTransform(initialFixedFrameIndex).inverse();

m_world_H_fixedLink = world_H_initialFixedFrame*initalFixedFrame_H_fixedLink;

Expand Down

0 comments on commit d805354

Please sign in to comment.