Skip to content

fix coalesce_interval_ms not working correctly#296

Open
sathyas2023 wants to merge 1 commit intoros-drivers:ros2from
sathyas2023:fix_coalesce_interval_ms_parameter_has_no_effect
Open

fix coalesce_interval_ms not working correctly#296
sathyas2023 wants to merge 1 commit intoros-drivers:ros2from
sathyas2023:fix_coalesce_interval_ms_parameter_has_no_effect

Conversation

@sathyas2023
Copy link

#284

The coalesce_interval_ms parameter doesn't get used properly. Spamming axis events (ex: spinning joysticks) causes rates to get very high.

should_publish is being incorrectly overwritten to true in the event loop function.

The PR makes the event loop logic the same as game_controller_node which did not have this issue from my testing.

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