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

Allow event statuses to be taken anytime #365

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Conversation

Yadunund
Copy link
Member

@Yadunund Yadunund commented Dec 28, 2024

Fix #317

Certain tests in rclcpp, eg. test_publisher and test_qos_event expect to retrieve event statuses even if an event was not actually triggered. In these cases an event status with total_count_change and current_count_change with values of 0 is expected.

We now maintain a fixed set of status variables in the EventsManager for each event we support. Graph events directly modify the same statuses which greatly simplifies the implementation in GraphCache.

@Yadunund Yadunund force-pushed the yadu/refactor_events branch from 41b5de7 to 35ac6a0 Compare December 28, 2024 06:45
@Yadunund Yadunund marked this pull request as draft December 28, 2024 06:59
@Yadunund Yadunund force-pushed the yadu/refactor_events branch 3 times, most recently from eb3058c to 937d33b Compare December 28, 2024 08:10
@Yadunund
Copy link
Member Author

Yadunund commented Dec 28, 2024

Alright i've ran tests across rcl, rcl_lifecycle, rcl_action, test_communication, test_quality_of_service, rclcpp, rclcpp_components, rclcpp_lifecycle, rclcpp_action, and rclpy multiple times and the only failing tests are

@Yadunund Yadunund merged commit 6098711 into rolling Dec 30, 2024
4 of 5 checks passed
@Yadunund Yadunund deleted the yadu/refactor_events branch December 30, 2024 17:46
@Yadunund
Copy link
Member Author

Yadunund commented Jan 2, 2025

@Mergifyio backport humble jazzy

Copy link

mergify bot commented Jan 2, 2025

backport humble jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jan 2, 2025
Signed-off-by: Yadunund <[email protected]>
(cherry picked from commit 6098711)
mergify bot pushed a commit that referenced this pull request Jan 2, 2025
Signed-off-by: Yadunund <[email protected]>
(cherry picked from commit 6098711)
Yadunund added a commit that referenced this pull request Jan 2, 2025
Signed-off-by: Yadunund <[email protected]>
(cherry picked from commit 6098711)

Co-authored-by: yadunund <[email protected]>
Yadunund added a commit that referenced this pull request Jan 2, 2025
Signed-off-by: Yadunund <[email protected]>
(cherry picked from commit 6098711)

Co-authored-by: yadunund <[email protected]>
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.

[Test Failure] rclcpp / test_publisher.run_event_handlers
2 participants