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

Improve callbacks for active controllers #131

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

stefanscherzinger
Copy link
Contributor

@stefanscherzinger stefanscherzinger commented May 26, 2023

Steps


Fixes #130

@stefanscherzinger stefanscherzinger force-pushed the improve-input-callbacks branch 2 times, most recently from e89f504 to 8dd2ac0 Compare September 21, 2023 16:53
@stefanscherzinger stefanscherzinger force-pushed the improve-input-callbacks branch 4 times, most recently from 9bdd9fa to 30e818c Compare January 10, 2024 09:13
@stefanscherzinger stefanscherzinger added the enhancement New feature or request label Jan 10, 2024
This is cleaner and easier to understand for user applications:

- Controllers process input only when active
- This avoids sudden jumps upon activation due to some values from
  earlier callbacks.
- Controllers don't spam `NaN` warnings when inactive and working with
  fake hardware.
@stefanscherzinger stefanscherzinger force-pushed the improve-input-callbacks branch from de16202 to 91e1d38 Compare April 8, 2024 05:41
@stefanscherzinger stefanscherzinger merged commit 438e330 into ros2 Apr 8, 2024
13 checks passed
@stefanscherzinger stefanscherzinger deleted the improve-input-callbacks branch April 8, 2024 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ROS2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue] Nan Warning printed quite often / not deactivated together with controller
1 participant