Legend
Robot Actual Position
Robot Destination Position
This applet allows you to view the robots as they move around, as well as move the robots with drag and drop. The table at the bottom shows the current position (x, y, orientation), the destination position, and the battery level (percentage and voltage). The shaded areas (blue border) are exclusion zones where robots are not allowed to go. You can right click on a robot to bring up its info page. See below for instructions on how to use the drag and drop features.
\n"; # # Create a tempfile to use as a unique prefix; it is not actually used but # serves the same purpose (The script uses ${prefix}.jpg and ${prefix}.map .) # $prefix = tempnam("/tmp", "floormap"); # # Get the unique part to send back. # if (!preg_match("/^\/tmp\/([-\w]+)$/", $prefix, $matches)) { TBERROR("Bad tempnam: $prefix", 1); } $uniqueid = $matches[1]; $perl_args = "-o $prefix -t -z -n -x -y -f $floor $building"; $retval = SUEXEC($uid, "nobody", "webfloormap $perl_args", SUEXEC_ACTION_IGNORE); if ($retval) { SUEXECERROR(SUEXEC_ACTION_USERERROR); # Never returns. die(""); } $auth = $HTTP_COOKIE_VARS[$TBAUTHCOOKIE]; $pipeurl = "robopipe.php3?foo=bar"; $baseurl = "../floormap_aux.php3?prefix=$uniqueid"; # Temp for debugging. if (isset($fake)) $pipeurl .= "&fake=yes"; echo " \n"; echo "

Using the Robot Tracker Applet

\n"; PAGEFOOTER(); ?>