Add tutorial on Node Interfaces Template Class#4992
Add tutorial on Node Interfaces Template Class#4992kscottz merged 12 commits intoros2:rollingfrom NickTziaros:rolling
Conversation
source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst
Outdated
Show resolved
Hide resolved
…lass.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
…lass.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
…lass.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
…lass.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
…lass.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
…lass.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
|
I noticed people having a lot of resistance towards the templated NodeInterface class. I would suggest to at least mention the possibility to also do something like this if you need a simple solution |
|
@alsora I considered mentioning this approach as well, especialy since it was also brought up in the lightning talk . However, I thought it might be out of scope since this tutorial focuses on showcasing the Template class. I might be wrong though . I would love the input from @kscottz @Yadunund since they raised the issue. |
Yadunund
left a comment
There was a problem hiding this comment.
This is great! Thanks a lot for the contributions! Left a couple suggestions to consider.
source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst
Outdated
Show resolved
Hide resolved
I think we can include this approach before highlighting the |
kscottz
left a comment
There was a problem hiding this comment.
@NickTziaros Thanks for stepping up here! We really appreciate it.
I think the other reviewers have covered most of the required changes. I sent you two suggestions. The first one should help clarify the motivation for the tutorial. The second one is a minor change.
I'll approve on the condition that these get folded in and everyone else's concerns are mostly addressed.
source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst
Outdated
Show resolved
Hide resolved
…lass.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
…lass.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
…lass.rst Co-authored-by: yadunund <yadunund@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
Added both a LifecycleNode annd a simple Node in the examples.
I also creates an example on passing the node interfaces explicitely. Thank you all for you input. I tried to incorporate the changes you asked in this last commit. Let me know what you think and how I can make this better. |
|
I think we're good to go here. @NickTziaros thanks a lot! Really appreciate your patience and effort. I am going to give you a shout out to the ROS community. |
|
Don't mention it. I am happy I can contribute, even at this level. |
|
@Mergifyio backport jazzy humble |
✅ Backports have been createdDetails
|
* Created Using-Node-Interfaces-Template-Class.rst and modified Intermediate.rst * fixing lint errors * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: yadunund <yadunund@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Implemented Suggested Changes --------- Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: yadunund <yadunund@gmail.com> (cherry picked from commit 3ac77be)
* Created Using-Node-Interfaces-Template-Class.rst and modified Intermediate.rst * fixing lint errors * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: yadunund <yadunund@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Implemented Suggested Changes --------- Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: yadunund <yadunund@gmail.com> (cherry picked from commit 3ac77be)
* Created Using-Node-Interfaces-Template-Class.rst and modified Intermediate.rst * fixing lint errors * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: yadunund <yadunund@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Implemented Suggested Changes --------- Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: yadunund <yadunund@gmail.com> (cherry picked from commit 3ac77be) Co-authored-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
* Created Using-Node-Interfaces-Template-Class.rst and modified Intermediate.rst * fixing lint errors * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Update source/Tutorials/Intermediate/Using-Node-Interfaces-Template-Class.rst Co-authored-by: yadunund <yadunund@gmail.com> Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> * Implemented Suggested Changes --------- Signed-off-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: yadunund <yadunund@gmail.com> (cherry picked from commit 3ac77be) Co-authored-by: Nikos Tziaros <33639811+NickTziaros@users.noreply.github.com>
|
@NickTziaros this is great documentation enhancement, thanks! |
|
This is awesome! Thanks again! |
Relevant to isuue #4924.
Created the tutorial Using the Node Interfaces Template Class (C++) in the intermediate section.
Let me know if this is what you had in mind.