mirror of
https://github.com/eddyem/pusirobot.git
synced 2025-12-06 02:25:10 +03:00
17 lines
227 B
Bash
Executable File
17 lines
227 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "Usage: $0 <steps>"
|
|
exit 1
|
|
fi
|
|
|
|
STEPS=$1
|
|
NEGSTEPS=$((-$1))
|
|
|
|
echo "Move focus to $STEPS steps"
|
|
|
|
./steppermove -qI1 -r $NEGSTEPS
|
|
./steppermove -qI2 -r $STEPS
|
|
./steppermove -qI3 -r $STEPS
|
|
|