From 2372149b8371027c9e9241c5dc2849e4082cca10 Mon Sep 17 00:00:00 2001 From: bramtoula Date: Wed, 26 Sep 2018 15:11:29 -0400 Subject: [PATCH] Add spiri case to cmdlinectr.sh --- misc/cmdlinectr.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/misc/cmdlinectr.sh b/misc/cmdlinectr.sh index 4e78d7e..f7e41dd 100644 --- a/misc/cmdlinectr.sh +++ b/misc/cmdlinectr.sh @@ -39,7 +39,7 @@ function updaterobot { echo "Installing launch file for TX-ubuntu16 with usb2serial" echo "With xbeemav" rosrun robot_upstart install --logdir /media/key/ROS_WS/log/ dji_sdk_mistlab/launch_robot/m100TX16US.launch - elif [ "$1" = 1 ] && [ "$2" = "X" ] + elif [ "$1" = 1 ] && [ "$2" = "X" ] then echo "Installing launch file for TX-ubuntu16" echo "With xbeemav" @@ -54,12 +54,17 @@ function updaterobot { echo "Installing launch file for Solo" echo "With xbeemav" rosrun robot_upstart install --logdir /media/key/ROS_WS/log/ dji_sdk_mistlab/launch_robot/solo.launch - elif [ "$1" = 0 ] && [ "$2" = "H" ] + elif [ "$1" = 4 ] && [ "$2" = "X" ] + then + echo "Installing launch file for Spiris" + echo "With xbeemav" + rosrun robot_upstart install --logdir /media/key/ROS_WS/log/ dji_sdk_mistlab/launch_robot/spiri.launch + elif [ "$1" = 0 ] && [ "$2" = "H" ] then echo "Installing launch file for TX-ubuntu16 with usb2serial" echo "With heavenmav" rosrun robot_upstart install --logdir /media/key/ROS_WS/log/ dji_sdk_mistlab/launch_robot/m100TX16USHeaven.launch - elif [ "$1" = 1 ] && [ "$2" = "H" ] + elif [ "$1" = 1 ] && [ "$2" = "H" ] then echo "Installing launch file for TX-ubuntu16" echo "With heavenmav"