Skip to content

[rclcpp] Add class Waitable#589

Merged
jacobperron merged 13 commits intomasterfrom
jacob/waitable
Nov 22, 2018
Merged

[rclcpp] Add class Waitable#589
jacobperron merged 13 commits intomasterfrom
jacob/waitable

Conversation

@jacobperron
Copy link
Copy Markdown
Member

Provides a virtual API for interacting with wait sets.

Closes #588

Provides a virtual API for interacting with wait sets.
@jacobperron jacobperron added the in progress Actively being worked on (Kanban column) label Nov 21, 2018
@jacobperron jacobperron added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Nov 21, 2018
@jacobperron jacobperron self-assigned this Nov 21, 2018
Copy link
Copy Markdown
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but for a small doubt

timer_handles_[i].reset();
}
}
for (size_t i = 0; i < timer_handles_.size(); ++i) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jacobperron twice on timers? I feel like I'm missing something here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy-pasta 😬. Fixed in a4a5493.

@hidmic
Copy link
Copy Markdown
Contributor

hidmic commented Nov 21, 2018

@jacobperron one CI run and this guy is good to go.

@sloretz
Copy link
Copy Markdown
Contributor

sloretz commented Nov 21, 2018

Should add NodeWaitables to lifecycle node as well

@jacobperron
Copy link
Copy Markdown
Member Author

Should add NodeWaitables to lifecycle node as well

Thanks, LGTM.

@jacobperron
Copy link
Copy Markdown
Member Author

With tests:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@sloretz
Copy link
Copy Markdown
Contributor

sloretz commented Nov 22, 2018

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron
Copy link
Copy Markdown
Member Author

Rebuild:

  • macOS Build Status
  • Windows Build Status

@hidmic
Copy link
Copy Markdown
Contributor

hidmic commented Nov 22, 2018

I believe Windows is failing because those RCLCPP_PUBLIC macros in ros2/system_tests#314 shouldn't be there. I'll take them out and re-trigger the job (if CI is there still).

@jacobperron
Copy link
Copy Markdown
Member Author

jacobperron commented Nov 22, 2018

Windows: Build Status

Copy link
Copy Markdown
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jacobperron jacobperron merged commit 27b0428 into master Nov 22, 2018
@jacobperron jacobperron removed the in review Waiting for review (Kanban column) label Nov 22, 2018
@jacobperron jacobperron deleted the jacob/waitable branch November 22, 2018 22:03
@sloretz sloretz mentioned this pull request Nov 27, 2018
24 tasks
cho3 pushed a commit to cho3/rclcpp that referenced this pull request Jun 3, 2019
* [rclcpp] Add class Waitable

Provides a virtual API for interacting with wait sets.

* [rclcpp] Add node interface for Waitables

* [rclcpp] Implement node interface for Waitables

* [rclcpp] Integrate Waitable entities with executor

* Implement remaining logic for integrating Waitables

* Add visibility macros and other refactoring to Waitable class

* Return zero size for entities in a Waitable by default

* Bugfix: Clear list of waitable handles

* Bugfix: update Waitable handle list based on readiness

* Bugfix: update for loop condition

* Give node a node_waitables_

* Give lifecycle node a node_waitables
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
Signed-off-by: Donghee Ye <donghee.ye@samsung.com>
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