Skip to content

Commit

Permalink
Update build_ros2_workspace.bash
Browse files Browse the repository at this point in the history
mention of --ros2_path is misleading since the actual variable is --ros_path
  • Loading branch information
akshayprsd authored and beniaminopozzan committed Dec 3, 2023
1 parent ccfaf6e commit 5e46ae5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/build_ros2_workspace.bash
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ -z $ros_distro ]; then
else
if [ -z $ros_path ]; then
echo "- No ROS 2 distro installed or not installed in the default directory."
echo " If you are using a ROS 2 version installed from source, please set the install location with '--ros2_path' arg! (ex: ~/ros_src/eloquent/install). Otherwise, please install ROS 2 Dashing following https://index.ros.org/doc/ros2/Installation/Dashing/Linux-Install-Binary/"
echo " If you are using a ROS 2 version installed from source, please set the install location with '--ros_path' arg! (ex: ~/ros_src/eloquent/install). Otherwise, please install ROS 2 Dashing following https://index.ros.org/doc/ros2/Installation/Dashing/Linux-Install-Binary/"
exit 1
else
# source the ROS2 environment (from arg)
Expand All @@ -63,7 +63,7 @@ if [ -z $ros_distro ]; then
else
if [ -z $ros_path ]; then
echo "- No ROS 2 distro installed or not installed in the default directory."
echo " If you are using a ROS 2 version installed from source, please set the install location with '--ros2_path' arg! (ex: ~/ros_src/foxy/install). Otherwise, please install ROS 2 Foxy following https://index.ros.org/doc/ros2/Installation/Foxy/Linux-Install-Binary/"
echo " If you are using a ROS 2 version installed from source, please set the install location with '--ros_path' arg! (ex: ~/ros_src/foxy/install). Otherwise, please install ROS 2 Foxy following https://index.ros.org/doc/ros2/Installation/Foxy/Linux-Install-Binary/"
exit 1
else
# source the ROS2 environment (from arg)
Expand All @@ -79,7 +79,7 @@ if [ -z $ros_distro ]; then
else
if [ -z $ros_path ]; then
echo "- No ROS 2 distro installed or not installed in the default directory."
echo " If you are using a ROS 2 version installed from source, please set the install location with '--ros2_path' arg! (ex: ~/ros_src/foxy/install). Otherwise, please install ROS 2 Humble following https://docs.ros.org/en/humble/Installation.html"
echo " If you are using a ROS 2 version installed from source, please set the install location with '--ros_path' arg! (ex: ~/ros_src/foxy/install). Otherwise, please install ROS 2 Humble following https://docs.ros.org/en/humble/Installation.html"
exit 1
else
# source the ROS2 environment (from arg)
Expand All @@ -97,7 +97,7 @@ if [ -z $ros_distro ]; then
else
if [ -z $ros_path ]; then
echo "- Warning: You set a ROS 2 manually to be used."
echo " This assumes you want to use another ROS 2 version installed on your system. Please set the install location with '--ros2_path' arg! (ex: --ros_path ~/ros_src/eloquent/install/setup.bash)"
echo " This assumes you want to use another ROS 2 version installed on your system. Please set the install location with '--ros_path' arg! (ex: --ros_path ~/ros_src/eloquent/install/setup.bash)"
exit 1
else
# source the ROS 2 environment (from arg)
Expand Down

0 comments on commit 5e46ae5

Please sign in to comment.