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

Polish the ROS 1 -> 2 CMake instructions (backport #4767) #4775

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 30, 2024

This updates the CMake portion of the ROS 1 to ROS 2 guide, and fixes one bug in the C++ code

  • Included links to real examples in the core (Mostly tf2)
  • Updated section headings to CMakeLists.txt steps appear in the ToC
  • Used modern CMake targets instead of standard CMake variables
  • Used Active voice and second person perspective
  • Removed unnecessary code from example code in Unit tests section
  • Make the example 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.


This is an automatic backport of pull request #4767 done by [Mergify](https://mergify.com).

* 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 <[email protected]>
Co-authored-by: Chris Lalancette <[email protected]>
(cherry picked from commit 9d6552c)
Copy link

HTML artifacts: https://github.com/ros2/ros2_documentation/actions/runs/11111465450/artifacts/1996938105.

To view the resulting site:

  1. Click on the above link to download the artifacts archive
  2. Extract it
  3. Open html-artifacts-4775/index.html in your favorite browser

@clalancette clalancette merged commit 032aa76 into jazzy Sep 30, 2024
4 checks passed
@clalancette clalancette deleted the mergify/bp/jazzy/pr-4767 branch September 30, 2024 18:02
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.

2 participants