Skip to content

Conversation

@ivanpauno
Copy link
Collaborator

This is going to be a big PR ....

I don't want to send something massive, this at least compiles though it's not yet usable.
@jacobperron I would like some early feedback, does the proposed abstractions look good?

@ivanpauno
Copy link
Collaborator Author

@jacobperron I would like to have a feature branch in this repo (e.g. feature/event_handlers_support).

I prefer merging this yet unusable (but compiling) code there, than update this PR repeatedly. Reviewing massive PRs is painful.
When that branch reaches an usable state, we should merge it into master (and delete it).

@jacobperron
Copy link

@ivanpauno I've given you maintainer access. You should be able to create branches now.

@ivanpauno ivanpauno self-assigned this Aug 7, 2020
@jacobperron
Copy link

@ivanpauno Also, you should base your changes on the foxy-devel branch. Sorry the confusion with all the branches.

Signed-off-by: Ivan Santiago Paunovic <[email protected]>
@ivanpauno
Copy link
Collaborator Author

@ivanpauno Also, you should base your changes on the foxy-devel branch. Sorry the confusion with all the branches.

Ups, fixed.

@ivanpauno ivanpauno changed the base branch from jacob/foxy to foxy-devel August 10, 2020 16:38
Signed-off-by: Ivan Santiago Paunovic <[email protected]>

Co-authored-by: Jacob Perron <[email protected]>
Copy link

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me! Some questions and minor comments below.

* @param handle A pointer to the underlying event status.
*/
void fromRCLEvent(long handle);
}

Choose a reason for hiding this comment

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

Does it make sense to also have a "get event type" method as part of this interface?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That's part of PublisherEventStatus and SubscriptionEventStatus.

ivanpauno and others added 7 commits August 11, 2020 14:55
Signed-off-by: Ivan Santiago Paunovic <[email protected]>

Co-authored-by: Jacob Perron <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>

Co-authored-by: Jacob Perron <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>

Co-authored-by: Jacob Perron <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>

Co-authored-by: Jacob Perron <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
@ivanpauno
Copy link
Collaborator Author

ivanpauno commented Aug 11, 2020

@jacobperron if you think this approach is fine, I will merge this in a feature branch and continue working on a few follow ups:

  • Add methods in publisher/subscription to actually create an event handlers.
  • Make the executor collect event handlers and execute them.
  • Create one event status, and start writing up tests.
  • Add support to the other event statuses.

@ivanpauno ivanpauno marked this pull request as ready for review August 12, 2020 13:09
@ivanpauno ivanpauno changed the base branch from foxy-devel to feature/events August 12, 2020 13:09
@ivanpauno ivanpauno changed the title Add support for rcl events Add abstractions and minimal implementation of rcl events Aug 12, 2020
@ivanpauno ivanpauno merged commit dbbb162 into osrf:feature/events Aug 12, 2020
@ivanpauno
Copy link
Collaborator Author

@jacobperron I have merged this into the feature branch, so I can continue with one of the other tasks listed here #4 (comment).

Let me know if there are any further comments here.

@ivanpauno ivanpauno deleted the ivanpauno/foxy branch August 12, 2020 13:12
ivanpauno added a commit that referenced this pull request Aug 20, 2020
ivanpauno added a commit that referenced this pull request Aug 31, 2020
ivanpauno added a commit that referenced this pull request May 17, 2021
ivanpauno added a commit to ros2-java/ros2_java that referenced this pull request Dec 3, 2021
ivanpauno added a commit to ros2-java/ros2_java that referenced this pull request Dec 6, 2021
ivanpauno added a commit to ros2-java/ros2_java that referenced this pull request Dec 6, 2021
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.

2 participants