Skip to content

Conversation

@adivardi
Copy link
Collaborator

@adivardi adivardi commented Dec 8, 2025

@adivardi adivardi changed the title Fix: reset controller_server loop_rate when missed desired rate #5712… Cheery-pick upstream #5712, add debug info Dec 8, 2025
gennartan and others added 2 commits December 12, 2025 10:31
…avigation#5712 (ros-navigation#5723)

When a single iteration takes longer than the expected period,
this impacts the next iterations behavior since they will have
less time to perform the control logic, thus increasing the actual
controller_frequency. By resetting the loop_rate on sleep() failure,
this ensures that each iteration will have a full period to exectue its
logic.

Signed-off-by: agennart <antoine.gennart@quimesis.be>
Co-authored-by: agennart <antoine.gennart@quimesis.be>
Squashed commit of the following:

commit 5f4c345
Author: Adi Vardi <adi.vardi@enway.ai>
Date:   Wed Nov 26 18:01:42 2025 +0100

    add more info to debug

commit 40363cb
Author: Adi Vardi <adi.vardi@enway.ai>
Date:   Tue Nov 25 13:43:29 2025 +0100

    Add lower bound as well

commit 27dc6a4
Author: Adi Vardi <adi.vardi@enway.ai>
Date:   Tue Nov 25 13:40:33 2025 +0100

    Add more debug info to controller error
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