-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Polish the ROS 1 -> 2 CMake instructions #4767
Conversation
WIP. Progress so far: * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
HTML artifacts: https://github.com/ros2/ros2_documentation/actions/runs/11110850644/artifacts/1996752065. To view the resulting site:
|
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
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.
I've got two pretty minor changes that I think we should make, but this otherwise is a great update.
source/How-To-Guides/Migrating-from-ROS1/Migrating-CPP-Packages.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Chris Lalancette <clalancette@gmail.com> Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
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.
This is a fantastic improvement to these docs. Thanks so much for spending the time on this @sloretz
* Polish the ROS 1 -> 2 CMake instructions * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit 9d6552c)
* Polish the ROS 1 -> 2 CMake instructions * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit 9d6552c) # Conflicts: # source/How-To-Guides/Migrating-from-ROS1/Migrating-CPP-Packages.rst
* Polish the ROS 1 -> 2 CMake instructions * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit 9d6552c) # Conflicts: # source/How-To-Guides/Migrating-from-ROS1/Migrating-CPP-Packages.rst
* Polish the ROS 1 -> 2 CMake instructions * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit 9d6552c)
* Polish the ROS 1 -> 2 CMake instructions * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit 9d6552c)
* Polish the ROS 1 -> 2 CMake instructions * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit 9d6552c) Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
* Polish the ROS 1 -> 2 CMake instructions * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit 9d6552c) Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
* Polish the ROS 1 -> 2 CMake instructions * Use section headings to CMakeLists.txt steps appear in the TOC * Use modern CMake targets instead of standard CMake variables * Use Active voice and second person perspective * Include links to real examples Signed-off-by: Shane Loretz <shane.loretz@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit 9d6552c) Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
This updates the CMake portion of the ROS 1 to ROS 2 guide, and fixes one bug in the C++ code
package.xml
start with format 2 since that's different from migrating from ROS 1 to ROS 2.C++ bug fix: use
->publish(
instead of.publish(
I have tried out all steps of the example part of the guide to make sure they work.