-
Notifications
You must be signed in to change notification settings - Fork 316
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
Added services examples #3
Conversation
#include <userland_msgs/AddTwoInts.h> | ||
#include <userland_msgs/RequestId.h> | ||
|
||
void add(const std::shared_ptr<userland_msgs::AddTwoIntsRequest> req, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use userland_msgs::AddTwoInts::Request
here.
+1 for me. |
@wjwwood This branch depends on RTI's messaging library, which we haven't packaged and for which we don't have the source code, so this will break the current code unless we all install the messaging library. In any case, it'd be relatively straightfoward to reimplement that library on top of the existing classes or just implement the spec. |
Ah, I forgot about needing to synchronize with the other packages. I am +1'ing the current examples and rclcpp API. If we are blocked on the implementations for specific DDS vendors then in the mean time we can raise not implemented errors at compile time or run time. by doing this we can at least continue to iterate on the user facing API and the middleware API with your service changes in place. Getting it working with RTI's public version and with OpenSplice is important, but we shouldn't let stalls there stop our work in trying to get our API's figured out. |
Ping @tfoote @dirk-thomas |
+1 for the API |
This branch adds service and client examples.