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

Multiple start of MC service #25

Merged
merged 2 commits into from
Mar 25, 2021
Merged

Multiple start of MC service #25

merged 2 commits into from
Mar 25, 2021

Conversation

marcoaccame
Copy link
Contributor

This PR is associated to robotology/icub-firmware#176.

  • ems v3.38 release date 2021 mar 22 @ 18:24

  • mc4plus v3.31 release date 2021 mar 22 @ 18:26

  • mc2plus v3.22 release date 2021 mar 22 1 @ 18:27

  • built on 2021 mar 23 using icub-firmware w/ SHA-1: 8931b94b0175205b9d7ad1e2107e39d19d7bbd41 and icub-firmware-shared devel w/ SHA-1: b163ba92d48d5ee7d816e7b51396ec70bbcb7b88

  • main changes from previous release are:

    • fixed behaviour when multiple init() / deinit() of the MC service is called (i.e., yarprobotinterface started and stopped many times in a row).
      that avoids the boards executing in the fatal error handler which causes their disappearance from the interna ETH network.
      In particular:
      • removed memory leaks due to EOCurrentsWatchdog / hal_spiencoder when multiple init() / deinit() are called.
      • protected hal_quadencoder_init_indexes_flags() so that it does not interfere w/ associated IRQ Handler even if executed multiple times

 - ems v3.38 release date 2021 mar 22 @ 18:24
 - mc4plus v3.31 release date 2021 mar 22 @ 18:26
 - mc2plus v3.22 release date 2021 mar 22 1 @ 18:27

- built on 2021 mar 23 using icub-firmware w/ SHA-1: 8931b94b0175205b9d7ad1e2107e39d19d7bbd41 and icub-firmware-shared devel w/ SHA-1: b163ba92d48d5ee7d816e7b51396ec70bbcb7b88
- main changes from previous release are:
  - fixed behaviour when multiple init() / deinit() of the MC service is called (i.e., yarprobotinterface started and stopped many times in a row).
    that avoids the boards executing in the fatal error handler which causes their disappearance from the interna ETH network.
    In particular:
    - removed memory leaks due to EOCurrentsWatchdog / hal_spiencoder when multiple init() / deinit() are called.
    - protected hal_quadencoder_init_indexes_flags() so that it does not interfere w/ associated IRQ Handler even if executed multiple times
 - ems v3.38 release date 2021 mar 22 @ 18:24
 - mc4plus v3.31 release date 2021 mar 22 @ 18:26
 - mc2plus v3.22 release date 2021 mar 22 1 @ 18:27

- built on 2021 mar 23 using icub-firmware w/ SHA-1: abf002d1983e9e1fa98ef1fce5e38ab18e56df2c and icub-firmware-shared devel w/ SHA-1: b163ba92d48d5ee7d816e7b51396ec70bbcb7b88
- main changes from previous release are:
  - fixed behaviour when multiple init() / deinit() of the MC service is called (i.e., yarprobotinterface started and stopped many times in a row).
    that avoids the boards executing in the fatal error handler which causes their disappearance from the interna ETH network.
    In particular:
    - removed memory leaks due to EOCurrentsWatchdog / hal_spiencoder when multiple init() / deinit() are called.
    - protected hal_quadencoder_init_indexes_flags() so that it does not interfere w/ associated IRQ Handler even if executed multiple times
@marcoaccame
Copy link
Contributor Author

tested on the robot iCubGenova04 once more on 24 mar 2021 as i had to rebase the source code.
i decided to recompile to be 100% sure. tests are ok.

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