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
* Add tutorial for migrating a Python package from ROS 1 to 2

Signed-off-by: Shane Loretz <shane.loretz@gmail.com>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit d9391f3)
  • Loading branch information
sloretz authored and mergify[bot] committed Oct 15, 2024
1 parent 825e976 commit 002d770
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 002d770

Please sign in to comment.