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

Alignment of the application framework for the amcbldc and amc2c boards #367

Merged
merged 1 commit into from
Apr 17, 2023
Merged

Alignment of the application framework for the amcbldc and amc2c boards #367

merged 1 commit into from
Apr 17, 2023

Conversation

marcoaccame
Copy link
Contributor

@marcoaccame marcoaccame commented Apr 17, 2023

This PR adds an application framework which is shared by the amcbldc and the amc2c, the second core of the amc.

The framework starts a thrCOMM thread which manages CAN communication and a thrCTRL thread which runs the MBD motor control code.

Tests have shown that the new amcbldc application works as the legacy one, for which we still keep code and project.

The application on the amc2c runs the same framework. It is able to successfully run the CAN communication and to call the two user-defined functions, init() and tick(), of the control thread. These functions will soon be filled w/ MBD motor control code.

The PR can be safely merged.

some minor and backward compatible changes were required to some embot objects / functions
@marcoaccame marcoaccame merged commit 826093d into robotology:devel Apr 17, 2023
valegagge pushed a commit to valegagge/icub-firmware that referenced this pull request May 5, 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.

1 participant