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 v1.9, ems v3.83, mc2plus v3.65, mc4plus v3.86, bat v1.3.3, bat_r v1.3.3 #126

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

MSECode
Copy link
Contributor

@MSECode MSECode commented Jan 8, 2024

amc v1.9, ems v3.83, mc2plus v3.65, mc4plus v3.86, bat v1.3.3, bat_r v1.3.3

This firmware versions introduce the following changes:

  • EMS and other ETH boards send a message to the BAT board when the yarprobotinterface starts the Battery service (w/ device embObjBattery) in order to activate the transmission over CAN. Before that, the BAT board remains silent, like all others CAN boards, in order to do not saturate the CAN bus. That allows FirmwareUpdater to work fine.
  • The CAN monitor running on the ETH board that checks the presence of the BAT during the Battery service now uses a fixed configuration adapted to the TX rate of the BAT.

@MSECode MSECode self-assigned this Jan 8, 2024
@MSECode MSECode marked this pull request as draft January 8, 2024 17:16
@MSECode
Copy link
Contributor Author

MSECode commented Jan 9, 2024

PR linked to:

@MSECode
Copy link
Contributor Author

MSECode commented Jan 9, 2024

Tested on ergocub SN001 and it working fine as shown here:

image

Image (2)

As you can see the CANReal shows the message with ID: 202, class: 07 and value 01 meaning that it is sent from the EMS to the BAT (which has address 2 ) and having value 01 it tells to stop the transmission. To enable the transmission an equivalent message with value 00 is sent by the EMS

The YRI shows that we do not have errors on the canmonitor

Copy link
Member

@valegagge valegagge left a comment

Choose a reason for hiding this comment

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

LGTM.
The EMS works properly only if the pr robotology/robots-configuration#603 has been merged, because the battery needs the CAN address 2 as it is explained in the note Just a more note about the need to set the address 2 to the bat board in this comment

@marcoaccame marcoaccame changed the title amc v1.9, ems v3.83, mc2plus v3.65, mc4plus v3.86, bat v1.3.3, bat_r1… amc v1.9, ems v3.83, mc2plus v3.65, mc4plus v3.86, bat v1.3.3, bat_r v1.3.3 Jan 10, 2024
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, thanks

@marcoaccame marcoaccame merged commit 6245c37 into robotology:devel Jan 10, 2024
@MSECode MSECode deleted the feature/fwUpdaterBat branch March 21, 2024 08:38
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