Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to use the walking-module with iCubGenova09 #80

Merged
merged 20 commits into from
Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
1764b6a
Add terminal step in the TrajectoryGenerator class
GiulioRomualdi Nov 20, 2020
1d11f0b
Add the possibility to handle multiple wrenches in the RobotInterface…
GiulioRomualdi Nov 20, 2020
76e0b70
Commit the gains for iCubGazeboV3
GiulioRomualdi Nov 20, 2020
f71a8d1
Add gains for iCubGenova09
GiulioRomualdi Nov 20, 2020
1f10019
Tune the gains for iCubGenova09
GiulioRomualdi Nov 23, 2020
838ce5c
Update the dumped values in WalkingModule
GiulioRomualdi Nov 30, 2020
373e01c
Tune parameters on iCubGenova09
GiulioRomualdi Nov 30, 2020
b708202
First test with the oculus retargeting
GiulioRomualdi Dec 4, 2020
99dc1ae
Increase the gains on the CoM in the CoM-ZMP controller of iCubGenova09
GiulioRomualdi Dec 4, 2020
0bb22d3
Avoid to use ma27 on iCubGenova09
GiulioRomualdi Dec 4, 2020
b2bc99f
Add joint retargeting configuration file for iCubGenova09
GiulioRomualdi Dec 11, 2020
0514924
Disable the logger in the walking with joypad
GiulioRomualdi Dec 11, 2020
8fde5a0
Tune parameters for hand retargeting application
GiulioRomualdi Dec 11, 2020
45e70e0
Tune parameters for joint retargeting application
GiulioRomualdi Dec 11, 2020
bb8fba8
Tune parameter on iCubGenova09
GiulioRomualdi Jan 13, 2021
5ae97dd
Some tuning on the robot.
GiulioRomualdi Jan 15, 2021
80db2fe
Enable arms retargeting while walking.
GiulioRomualdi Jan 18, 2021
3b56c40
More tests on iCubGenova09.
GiulioRomualdi Jan 20, 2021
6bfd653
Adapt the robots/*/dcm_walking/common/forceTorqueSensors.ini scripts …
GiulioRomualdi Feb 11, 2021
fe9b999
Update the CHANGELOG.md
GiulioRomualdi Mar 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ All notable changes to this project are documented in this file.

## [Unreleased]
### Added
- Add the possibility to use the walking-module with iCubGenova09 (https://github.com/robotology/walking-controllers/pull/80)

### Changed
- Fixed missing link library in `WholeBodyControllers` component (https://github.com/robotology/walking-controllers/pull/81).
- Add the possibility to handle multiple wrenches in the RobotInterface/Helper class (https://github.com/robotology/walking-controllers/pull/80)

## [0.4.1] - 2020-02-04

Expand Down Expand Up @@ -121,7 +123,8 @@ All notable changes to this project are documented in this file.
- Implement the first version of the `WalkingLoggerModule`
- Implement the first version of the `WalkingJoypadModule`

[Unreleased]: https://github.com/robotology/walking-controllers/compare/v0.4.0...devel
[Unreleased]: https://github.com/robotology/walking-controllers/compare/v0.4.1...devel
[0.4.1]: https://github.com/robotology/walking-controllers/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/robotology/walking-controllers/compare/v0.3.3...v0.4.0
[0.3.3]: https://github.com/robotology/walking-controllers/compare/v0.3.2...v0.3.3
[0.3.2]: https://github.com/robotology/walking-controllers/compare/v0.3.1...v0.3.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,21 @@ namespace WalkingControllers
std::unique_ptr<iCub::ctrl::FirstOrderLowPassFilter> m_velocityFilter; /**< Joint velocity low pass filter .*/
bool m_useVelocityFilter; /**< True if the joint velocity filter is used. */

yarp::os::BufferedPort<yarp::sig::Vector> m_leftWrenchPort; /**< Left foot wrench port. */
yarp::os::BufferedPort<yarp::sig::Vector> m_rightWrenchPort; /**< Right foot wrench port. */
yarp::sig::Vector m_leftWrenchInput; /**< YARP vector that contains left foot wrench. */
yarp::sig::Vector m_rightWrenchInput; /**< YARP vector that contains right foot wrench. */
yarp::sig::Vector m_leftWrenchInputFiltered; /**< YARP vector that contains left foot filtered wrench. */
yarp::sig::Vector m_rightWrenchInputFiltered; /**< YARP vector that contains right foot filtered wrench. */
struct MeasuredWrench
{
std::unique_ptr<yarp::os::BufferedPort<yarp::sig::Vector>> port; /**< yarp port. */
yarp::sig::Vector wrenchInput; /**< YARP vector that contains foot wrench. */
yarp::sig::Vector wrenchInputFiltered; /**< YARP vector that contains foot filtered wrench. */
std::unique_ptr<iCub::ctrl::FirstOrderLowPassFilter> lowPassFilter; /**< Low pass filter.*/
bool useFilter;
bool isUpdated;
};

std::vector<MeasuredWrench> m_leftFootMeasuredWrench;
std::vector<MeasuredWrench> m_rightFootMeasuredWrench;

iDynTree::Wrench m_leftWrench; /**< iDynTree vector that contains left foot wrench. */
iDynTree::Wrench m_rightWrench; /**< iDynTree vector that contains right foot wrench. */
std::unique_ptr<iCub::ctrl::FirstOrderLowPassFilter> m_leftWrenchFilter; /**< Left wrench low pass filter.*/
std::unique_ptr<iCub::ctrl::FirstOrderLowPassFilter> m_rightWrenchFilter; /**< Right wrench low pass filter.*/
bool m_useWrenchFilter; /**< True if the wrench filter is used. */

double m_startingPositionControlTime;
bool m_positionMoveSkipped;
Expand Down Expand Up @@ -120,6 +124,14 @@ namespace WalkingControllers
bool setInteractionMode(yarp::dev::InteractionModeEnum interactionMode);

bool setInteractionMode(std::vector<yarp::dev::InteractionModeEnum>& interactionModes);

bool configureForceTorqueSensor(const std::string& portPrefix,
const std::string& portInputName,
const std::string& wholeBodyDynamicsPortName,
const double& samplingTime,
bool useWrenchFilter,
double cutFrequency,
MeasuredWrench& measuredWrench);
public:

/**
Expand Down
Loading