Skip to content

Commit

Permalink
Add example for migrating a Python package from ROS 1 to 2 (#4780) (#…
Browse files Browse the repository at this point in the history
…4817)

* Add tutorial for migrating a Python package from ROS 1 to 2

Signed-off-by: Shane Loretz <[email protected]>
Co-authored-by: Chris Lalancette <[email protected]>
(cherry picked from commit d9391f3)

Co-authored-by: Shane Loretz <[email protected]>
  • Loading branch information
mergify[bot] and sloretz authored Oct 15, 2024
1 parent 0c8ec64 commit a19dbfc
Show file tree
Hide file tree
Showing 4 changed files with 871 additions and 4 deletions.
1 change: 1 addition & 0 deletions source/How-To-Guides/Migrating-from-ROS1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ If you are new to porting between ROS 1 and ROS 2, it is recommended to read thr
Migrating-from-ROS1/Migrating-Interfaces
Migrating-from-ROS1/Migrating-CPP-Package-Example
Migrating-from-ROS1/Migrating-CPP-Packages
Migrating-from-ROS1/Migrating-Python-Package-Example
Migrating-from-ROS1/Migrating-Python-Packages
Migrating-from-ROS1/Migrating-Launch-Files
Migrating-from-ROS1/Migrating-Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The files have the following content:
<name>talker</name>
<version>0.0.0</version>
<description>talker</description>
<maintainer email="gerkey@osrfoundation.org">Brian Gerkey</maintainer>
<maintainer email="gerkey@example.com">Brian Gerkey</maintainer>
<license>Apache-2.0</license>
<buildtool_depend>catkin</buildtool_depend>
<depend>roscpp</depend>
Expand Down Expand Up @@ -304,7 +304,7 @@ Your ``package.xml`` now looks like this:
<name>talker</name>
<version>0.0.0</version>
<description>talker</description>
<maintainer email="gerkey@osrfoundation.org">Brian Gerkey</maintainer>
<maintainer email="gerkey@example.com">Brian Gerkey</maintainer>
<license>Apache-2.0</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<depend>rclcpp</depend>
Expand Down
Loading

0 comments on commit a19dbfc

Please sign in to comment.