-
Notifications
You must be signed in to change notification settings - Fork 152
Missing functions in rclrs #465
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
Comments
Sorry you haven't missed anything, the tutorial is out of date. Maybe we should consider moving the tutorial into in-module documentation instead of a separate markdown file. That way we can run doctests on it and ensure it doesn't drift from the API. Any thoughts on that @esteve @maspe36 @jhdcs ? Feel free to assign this ticket to me. I'll either update the docs as-is or move it into the module depending on what people prefer. |
In the meantime @montmejat you can refer to the examples here which are up to date. |
Thanks for your suuper quick answer! I will look into that :) I'd also be very interested if there are any examples on using custom |
Let's reopen the issue to keep it tracked. This is something we should get fixed. |
Client and service examples can be found here. We might want to consider consolidating all the examples. |
I like the idea of moving the tutorial into in-module documentation, we can always automate generating the examples as standalone applications from the documentation and at the same time having the doctests run on them. Do you want to give it a try @mxgrey ? |
@roboticswithjulia cool! I've assigned the ticket to @mxgrey, but if you want to work on something else, that'd be awesome 🙂 |
Help is always appreciated, thanks for offering @roboticswithjulia ! This page provides a quick overview of how documentation works in Rust. The key thing is that when you use
inside a Rust "module" (a source file that ends with There are two reasons that I'm suggesting we move the documentation into the module:
|
Thank you for the detailed explanation @mxgrey, it has helped me a lot and I think that's the good way to proceed. After looking through the overall examples, there's two things we could do:
Which is the best way to proceed? Thank you for your help! |
@mxgrey do you have any idea why the pipelines fails due to |
@roboticswithjulia that's just a warning, it shouldn't make the CI fail. However, the CI seems to fail because the new example is not properly formatted (see |
@esteve thank you for the explanation. I see, I just tried to fix it and it seems that there were a few spaces that cargo fmt didn't like :) Totally agree on the best is to ask the question about PR in the PR itself!! Will do from now on there :) Thank you!!! |
I'm simply trying to run the example from writing-your-first-rclrs-node.md but I'm getting the following errors:
Here's what I have:
and:
What could I have missed? 😅 Thanks!
The text was updated successfully, but these errors were encountered: