#!/bin/sh # edit this: serial port of the roomba RPORT="/dev/usb/tts/0" # edit this: path to roombacmd.mpl ROOMBACMD="/tmp/tst.mpl" me="$SCRIPT_NAME" cmd="$QUERY_STRING" cat <

Roomba Control Panel

init sensors spy
   
  forward  
spinleft stop spinright
  backward  
EOF

echo -n "Date: "; date

if [ "$cmd" ] ; then
    echo "cmd: $cmd"
    $ROOMBACMD $RPORT $cmd
fi

cat <


EOF