diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-09-29 13:56:32 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-09-29 13:56:32 -0500 |
commit | 705de6a57a584c6004c475949b649ae9931f8f29 (patch) | |
tree | a4331d82d42b1f92499f00c45bbe12249335bd16 /tf2_watch | |
parent | 9eaf8b5ed1c3f97a42b6f6a6d77f9267326801c3 (diff) | |
download | extra-ros-utils-main.tar.xz extra-ros-utils-main.zip |
Diffstat (limited to 'tf2_watch')
-rwxr-xr-x | tf2_watch | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -9,6 +9,16 @@ if [ -z "${TIME_BETWEEN_SAMPLES}" ]; then TIME_BETWEEN_SAMPLES="25" fi +depends() { + if ! type "$1" >/dev/null; then + die "\"$1\" must be installed and in your \$PATH" + fi +} + +depends pkill +depends mupdf +depends rosrun + GENERATED_PDF="frames.pdf" GENERATED_RV="frames.gv" |