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 aea3 encoder #769

Merged
merged 3 commits into from
Nov 16, 2021
Merged

Add support for aea3 encoder #769

merged 3 commits into from
Nov 16, 2021

Conversation

sgiraz
Copy link
Contributor

@sgiraz sgiraz commented Nov 9, 2021

This PR introduces the support for the new AEA3 encoder.

The ServiceParser now recognizes correctly the string for the new encoder.
A new info string will be printed when we run yarprobotinterface showing us which encoder we are trying to use.

Note: we should fix the default deadzone value for AEA3.

Copy link
Member

@pattacini pattacini left a comment

Choose a reason for hiding this comment

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

We should complete the work on the dead zone then.

@pattacini
Copy link
Member

Hi @sgiraz

CI failed with this error:

2021-11-09T18:18:40.7393756Z /home/runner/work/icub-main/icub-main/src/libraries/icubmod/embObjLib/serviceParser.cpp: In member function ‘bool ServiceParser::parse_encoder_port(const string&, eObrd_ethtype_t, eOmc_encoder_t, uint8_t&, bool&)’:
2021-11-09T18:18:40.7397504Z /home/runner/work/icub-main/icub-main/src/libraries/icubmod/embObjLib/serviceParser.cpp:1815:14: error: ‘eomc_enc_aea3’ was not declared in this scope; did you mean ‘eomc_enc_aea’?

Could you give it a look?

@sgiraz
Copy link
Contributor Author

sgiraz commented Nov 10, 2021

Hi @sgiraz

CI failed with this error:

2021-11-09T18:18:40.7393756Z /home/runner/work/icub-main/icub-main/src/libraries/icubmod/embObjLib/serviceParser.cpp: In member function ‘bool ServiceParser::parse_encoder_port(const string&, eObrd_ethtype_t, eOmc_encoder_t, uint8_t&, bool&)’:
2021-11-09T18:18:40.7397504Z /home/runner/work/icub-main/icub-main/src/libraries/icubmod/embObjLib/serviceParser.cpp:1815:14: error: ‘eomc_enc_aea3’ was not declared in this scope; did you mean ‘eomc_enc_aea’?

Could you give it a look?

Hi @pattacini, It is an expected failure because eomc_enc_aea3 is included in EoMotionControl.h which is included in the new icub-firmware-shared which is awaiting approval in PR

@pattacini
Copy link
Member

Gotcha @sgiraz 👍🏻
We can then re-run the CI once robotology/icub-firmware-shared#50 will get merged.

Copy link
Member

@Nicogene Nicogene left a comment

Choose a reason for hiding this comment

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

I would bump the icub_firmware_shared version after the PR is merged and then I would increase the required version here in icub-main

@pattacini
Copy link
Member

This is a good point @Nicogene.
I've already asked @marcoaccame to handle the versioning.

@marcoaccame
Copy link
Contributor

This is a good point @Nicogene. I've already asked @marcoaccame to handle the versioning.

The versioning is solved w/ the small change in icub-main done in here, because of this reason.

Copy link
Member

@pattacini pattacini left a comment

Choose a reason for hiding this comment

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

Thanks!

@pattacini
Copy link
Member

Giving the CI the time to complete and then will merge it.

@marcoaccame
Copy link
Contributor

Gotcha @sgiraz 👍🏻 We can then re-run the CI once robotology/icub-firmware-shared#50 will get merged.

The CI will be 100% OK after the merge of the above PR.

@pattacini pattacini merged commit d8d8c10 into robotology:devel Nov 16, 2021
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.

4 participants