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 support for viscousPos/Neg and coulombPos/Neg friction parameters #254

Merged
merged 6 commits into from
Mar 7, 2022

Conversation

sgiraz
Copy link
Contributor

@sgiraz sgiraz commented Feb 23, 2022

What's new in this PR:

  • When the MController_config_joint is triggered, now it is able to manage the new friction parameters (viscous and coulomb) properly.

Note:

  • ⚠️ We still need to clarify how we should handle the size of ROP in EOMtheEMSapplCfg_cfg.h
  • Code tested successfully on a custom single joint setup (mc4plus + DC motor + aea2)
  • Code tested successfully on iCubGenova02 🟣

@sgiraz sgiraz requested a review from marcoaccame February 23, 2022 12:36
@sgiraz sgiraz self-assigned this Feb 23, 2022
@sgiraz sgiraz marked this pull request as ready for review February 25, 2022 18:05
sgiraz added 5 commits March 2, 2022 19:53
- Increase EOMTHEEMSAPPLCFG_SOCKET_OUTDGRAMSIZEOF by 8
- Restore EOMTHEEMSAPPLCFG_TRANSCEIVER_ROPFRAMEREGULARSCAPACITY as original
- Update EOMTHEEMSAPPLCFG_TRANSCEIVER_ROPFRAMEREPLIESCAPACITY to 256+8
Add USE_VISCOUS_COULOMB macro in Pid.c.
Update DATAGRAMSIZE and ROPFRAMEREPLIESCAPACITY of mc2plus as well
Copy link
Contributor

@marcoaccame marcoaccame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, we can proceed w/ the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants