mirror of
https://github.com/eddyem/pusirobot.git
synced 2026-03-20 16:51:08 +03:00
Add better reaction to -q keyword
This commit is contained in:
22
commandline/cfg/Oscill
Executable file
22
commandline/cfg/Oscill
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
Ampl=$1
|
||||
|
||||
./steppermove -s250
|
||||
./steppermove -I1 -m4000
|
||||
./steppermove -I2 -m4000
|
||||
|
||||
#if false; then
|
||||
./steppermove -I2 -qr-3000
|
||||
./steppermove -I1 -qr-3000
|
||||
./steppermove -I2 -qw -r500
|
||||
./steppermove -I1 -qr500
|
||||
./steppermove -I2 -qw
|
||||
#fi
|
||||
|
||||
while true; do
|
||||
./steppermove -I2 -qwr${Ampl}
|
||||
./steppermove -I1 -qr${Ampl}
|
||||
./steppermove -I2 -qwr-${Ampl}
|
||||
./steppermove -I1 -qr-${Ampl}
|
||||
done
|
||||
Reference in New Issue
Block a user