Fix scripts
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
usage() {
|
usage() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage:
|
Usage:
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ ros_distro="jazzy"
|
|||||||
script_dir=$(dirname "$(readlink -f "${bash_source[0]}")")
|
script_dir=$(dirname "$(readlink -f "${bash_source[0]}")")
|
||||||
pids=()
|
pids=()
|
||||||
|
|
||||||
|
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
|
||||||
|
|
||||||
source "/opt/ros/${ROS_DISTRO}/setup.bash"
|
source "/opt/ros/${ROS_DISTRO}/setup.bash"
|
||||||
source "./install/setup.bash"
|
source "./install/setup.bash"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user