Tweaked ROS
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user