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

AMC_BLDC: Alignment with the latest changes on MBD #250

Merged
merged 5 commits into from
Feb 3, 2022

Conversation

sgiraz
Copy link
Contributor

@sgiraz sgiraz commented Feb 2, 2022

What changes in this PR:

  • The mbd I/O interfaces have been updated with the latest architectural model changes.
  • Workarounds for STATUS CAN packet removed because it is now managed internally to the can_encoder
  • MBDAgent updated with minor improvements and now it is predisposed to manage multi I/O CAN packets although it still elaborates one packet at a time instance in RX

Notes:

  • ⚠️ The EMS still sends 1 target setpoint every 2ms instead of every 1ms. Remember that this workaround allows the AMC_BLDC to consume all its incoming packages. This is a temporary workaround until the multipackage manager will be completed inside the mbd.
  • ⚠️ After the fault button is pressed and then released, if we send the SET_CONTROL_MODE IDLE through the yarpmotorgui, there are 2 consecutive SET_CONTROL_MODE message packets are sent
  • ✅ This PR has been successfully tested on wrist-setup.

@sgiraz sgiraz requested a review from marcoaccame February 2, 2022 10:24
@sgiraz sgiraz self-assigned this Feb 2, 2022
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.

Hi @sgiraz

There're a couple of points to be addressed.

…e ConfigurationParameters model's output instead of the initialization paraemtere. Update the type of poles parameter in pwm.h optimizing memory usage.
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 9031151 into devel Feb 3, 2022
@marcoaccame marcoaccame deleted the amcbldc/multiple-can-packets branch February 3, 2022 10:17
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.

3 participants