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

HCM callback groups #313

Open
4 tasks
SammyRamone opened this issue Dec 7, 2022 · 1 comment · May be fixed by #460
Open
4 tasks

HCM callback groups #313

SammyRamone opened this issue Dec 7, 2022 · 1 comment · May be fixed by #460
Assignees
Labels
bug Something isn't working motion
Milestone

Comments

@SammyRamone
Copy link
Member

The HCM has a lot of callbacks. To achieve a decent performance, these should be executed in parallel. This is unfortunately not the default. See also https://docs.ros.org/en/rolling/How-To-Guides/Using-callback-groups.html

Expected behavior

All callbacks for sensordata and joint goals is executed in parallel

Current behavior

All callbacks are executed after each other.

Steps to Reproduce

...

Context (Environment)

  • RViz
  • Simulator
  • Robot
  • Local

Possible Solution

@SammyRamone SammyRamone added the bug Something isn't working label Dec 7, 2022
@texhnolyze texhnolyze self-assigned this Mar 5, 2023
@texhnolyze texhnolyze added this to the RoboCup2023 milestone Mar 8, 2023
@jaagut
Copy link
Member

jaagut commented Nov 24, 2023

@Flova any updates on this?

@jaagut jaagut transferred this issue from bit-bots/bitbots_motion Jan 23, 2024
@Flova Flova added the motion label Jan 24, 2024
texhnolyze added a commit that referenced this issue May 16, 2024
using a `MutuallyExclusiveCallbackGroup` for each one, so that they do
not block each other but each subscription's callback is still called in
order of received messages.

See: https://docs.ros.org/en/rolling/How-To-Guides/Using-callback-groups.html

Fixes: #313
@texhnolyze texhnolyze linked a pull request May 16, 2024 that will close this issue
6 tasks
@texhnolyze texhnolyze moved this from 🔖 Ready to 👀 In review in Software Jun 11, 2024
texhnolyze added a commit that referenced this issue Jun 11, 2024
using a `MutuallyExclusiveCallbackGroup` for each one, so that they do
not block each other but each subscription's callback is still called in
order of received messages.

See: https://docs.ros.org/en/rolling/How-To-Guides/Using-callback-groups.html

Fixes: #313
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working motion
Projects
Status: 👀 In review
Status: Todo
Development

Successfully merging a pull request may close this issue.

4 participants