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

changes to support rcl refactor #48

Merged
merged 6 commits into from
Dec 18, 2015
Merged

changes to support rcl refactor #48

merged 6 commits into from
Dec 18, 2015

Conversation

wjwwood
Copy link
Member

@wjwwood wjwwood commented Dec 1, 2015

While testing, I realized that we need to change some things in the rmw API to support the rcl library changes. The two biggest changes are to make the API actually C and not C++, and to expose things like the node name and topic names through the rmw API. Currently I plan to do the latter by putting these fields directly in the rmw struct rather than adding getter and setter functions to the rmw API and making it larger.

This pr is still a work in progress as I discover things in testing. I'll also be opening pr's against all of the current rmw implementations to bring them up to speed, but I am testing locally with opensplice for the time being.

Later, but probably not on the first pass, I think we should make the rmw interface more like the rcl interface in a few ways, for example exposing an allocator option in some places, using a wait set struct, and thorough documentation which considers thread-safety, memory allocation, complex usage, etc...

Connects to ros2/rcl#5

@wjwwood wjwwood added the in progress Actively being worked on (Kanban column) label Dec 1, 2015
@wjwwood
Copy link
Member Author

wjwwood commented Dec 1, 2015

Note to myself, need to check all uses of functions which had their default arguments dropped.

@jacquelinekay
Copy link
Contributor

Should services and clients also have the service name in the struct (similar to adding the topic name to subscribers and publishers)?

@wjwwood
Copy link
Member Author

wjwwood commented Dec 2, 2015

Yes, but my rcl work so far doesn't support services so I've been sort of ignoring changes related to that.

@jacquelinekay
Copy link
Contributor

Ok, sounds fine with me.

On Wed, Dec 2, 2015 at 3:42 PM, William Woodall notifications@github.com
wrote:

Yes, but my rcl work so far doesn't support services so I've been sort of
ignoring changes related to that.


Reply to this email directly or view it on GitHub
#48 (comment).

@jacquelinekay
Copy link
Contributor

+1

1 similar comment
@dirk-thomas
Copy link
Member

+1

wjwwood added a commit that referenced this pull request Dec 18, 2015
changes to support rcl refactor
@wjwwood wjwwood merged commit 97008fd into master Dec 18, 2015
@wjwwood wjwwood removed the in progress Actively being worked on (Kanban column) label Dec 18, 2015
@wjwwood wjwwood deleted the rcl_refactor branch December 18, 2015 19:13
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