Tweaked ROS

This commit is contained in:
2022-04-19 13:43:42 -04:00
parent 578d193b62
commit ac1b9a4ba1

View File

@ -30,17 +30,14 @@ fi
# ROS 1
if [ -f /opt/ros/noetic/setup.bash ]; then
# 20.04
# 20.04/22.04
source /opt/ros/noetic/setup.bash
export PYTHONPATH=$PYTHONPATH:$HOME/catkin_ws/devel/lib/python3/dist-packages
elif [ -f /opt/ros/melodic/setup.bash ]; then
# 16.04/18.04
source /opt/ros/melodic/setup.bash
fi
# ROS 2
#if [ -f /opt/ros/foxy/setup.bash ]; then
# 20.04
# 20.04/22.04
# source /opt/ros/foxy/setup.bash
#fi