Created
July 5, 2024 07:14
-
-
Save srathi-monarch/511282abe7b849b51ad6d2f1b0b4b034 to your computer and use it in GitHub Desktop.
Add delay to ros nodes from roslaunch using launch-prefix.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/sh | |
if [ $# -lt 2 ]; then | |
echo "Usage: $0 <delay> <command> [args...]" | |
exit 1 | |
fi | |
sleep "$1" | |
shift | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment