Skip to content

Commit

Permalink
Merge branch 'master' into feature/UnicycleTrajectoryGenerator/setMea…
Browse files Browse the repository at this point in the history
…suredTransform
  • Loading branch information
LoreMoretti authored Jan 30, 2025
2 parents a97a477 + f4ed878 commit c724035
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ All notable changes to this project are documented in this file.
### Added
- Add `ZMPgenerator` to `UnicycleTrajectoryGenerator` (https://github.com/ami-iit/bipedal-locomotion-framework/pull/916)
- Add `VariableFeasibleRegionTaskVariableFeasibleRegionTask` in the TSID controller (https://github.com/ami-iit/bipedal-locomotion-framework/pull/922)
- Add `setMeasuredTransform` in the `UnicycleTrajectoryGenerator` (https://github.com/ami-iit/bipedal-locomotion-framework/pull/927)
- Add `setFeetTransform` in the `UnicycleTrajectoryGenerator` (https://github.com/ami-iit/bipedal-locomotion-framework/pull/927)
- Add `getCurrentTime` to the `FixedFootDetector` (https://github.com/ami-iit/bipedal-locomotion-framework/pull/928)

### Changed
- Some improvements on the YarpRobotLoggerDevice (https://github.com/ami-iit/bipedal-locomotion-framework/pull/910)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ class FixedFootDetector : public ContactDetector
* @return the fixed foot.
*/
const EstimatedContact& getFixedFoot() const;

/**
* Get the fixed foot detector current time.
* @return the fixed foot detector current time.
*/
const std::chrono::nanoseconds& getCurrentTime() const;
};

} // namespace Contacts
Expand Down
5 changes: 5 additions & 0 deletions src/Contacts/src/FixedFootDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,3 +266,8 @@ const EstimatedContact& FixedFootDetector::getFixedFoot() const
log()->error("{} Unable to find the fixed foot. This should never happen.", logPrefix);
return m_dummyContact;
}

const std::chrono::nanoseconds& FixedFootDetector::getCurrentTime() const
{
return m_currentTime;
};

0 comments on commit c724035

Please sign in to comment.