]> rtime.felk.cvut.cz Git - socketcan-simulink.git/blob - demo/canopen_2j_arm/run_model.sh
Include initial version of two joints robotic arm model.
[socketcan-simulink.git] / demo / canopen_2j_arm / run_model.sh
1 #!/bin/sh
2
3 if [ -n "$2" ] ; then
4
5   xterm -e "scp -i target-ssh-key ./$1 root@$2:/tmp ; echo model $1 copied to target is run ; ssh  -i target-ssh-key root@$2 /tmp/$1 -tf inf -w ; sleep 2" &
6
7 else
8
9   xterm -e "./$1 -tf inf -w ; sleep 2" &
10
11 fi