Skip to content

Commit

Permalink
Merge branch 'ros2' into ros2-migration-nihar
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihar3430 authored Mar 22, 2024
2 parents 10cfae7 + 9b7e703 commit e7a9030
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ deprecated/IndyAV/simulation/indyav_gazebo/worlds/speedways/*.xacro

# Unpackaged proprietary software
mil_common/drivers/mil_blueview_driver/bvtsdk

# ROS2 stuff
roscompile
25 changes: 25 additions & 0 deletions scripts/install_magical_ros2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#! /usr/bin/env bash

## Ensure that the user is at ~/catkin_ws/src/mil
cd ~/catkin_ws/src/mil || exit

cmonly() {
cd ~/catkin_ws || exit
catkin_make --only-pkg-with-deps "$1"
cd - >/dev/null || exit
}

## Clone the magical_ros2 repository
git clone https://github.com/DLu/roscompile
cd roscompile || exit
cmonly ros_introspection
cmonly roscompile
cmonly magical_ros2_conversion_tool
cd ~/catkin_ws/src/mil || exit

python3 -m pip install ruamel.yaml

echo -e "\n\n\n\n\n"
echo "To call the conversion tool, run the following command:"
echo ">>> rosrun magical_ros2_conversion_tool ros2_conversion"
echo "This will convert the ROS1 packages in the workspace to ROS2 packages."

0 comments on commit e7a9030

Please sign in to comment.