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

Parametrized Wrist decoupler and aea3 support in AMC board #424

Merged
merged 8 commits into from
Oct 17, 2023

Conversation

valegagge
Copy link
Member

@valegagge valegagge commented Oct 10, 2023

In this PR the main changes are:

  1. the wrist decoupler manages both the mechanical versions: MK2.0 and MK2.1.
  2. support to AEA3 encoder in the AMC board.

Other details:

  • Now the AMC project is official: it is in icub-firmware-wrist\emBODY\eBcode\arch-arm\board\amc\application\v1
  • the code decoupler code is under WRIST_MK2 macro, only to avoid compiling the decoupler in the EMS board. It is important to notice that the wrist decoupler can be activated by software by configuring the correct jointset-constraint in the configuration files
  • in the AMC project, the WRIST_MK2 macro has been added to activate the code related to the wrist decoupler. As said before, if we want to run the controller without the wrist decoupler, we don't need to remove the WRIST_MK2 macro in the project, but only set the correct parameter in the configuration files. For more details see here Updated mechanical file in iCubTemplateV6_0 with the ergoCub wrist constraint robots-configuration#578

Note
This is a personal note: I developed the code in order to make it completely configurable and, in general, I'm not a fan of MACRO in the code, but in this case, it's the faster and safer solution because of the RAM issue on EMS.

EMS 1.76, AMC 1.1,  MC2PLUS 3.58, MC4PLUS 3.79
@valegagge valegagge marked this pull request as ready for review October 11, 2023 10:08
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.

Hi @valegagge, the changes are OK. Thanks.

The amc w/ the decoupler works on the setup and it is very useful to have the amc single project. I used it for some tests I had to do where the decoupler is not called and it works fine.

We wait till next week to complete the evaluation of execution duration of the decoupler and we shall merge afterwards.

@marcoaccame
Copy link
Contributor

marcoaccame commented Oct 17, 2023

We wait till next week to complete the evaluation of execution duration of the decoupler and we shall merge afterwards.

Today @valegagge @sgiraz and I tested the amc execution time on the wrist setup and the results seem OK.
As a result of that, we can proceed w/ the merge.

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

@marcoaccame marcoaccame merged commit 37c7994 into robotology:devel Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants