public void moveBothServos(int pos1, int pos2)
        {
                if (!isConnected())
                {
                        error("Robot is not connected!", "RXTXRobot", "moveBothServos");
                        return;
                }
                debug("Moving both servos to positions " + pos1 + " and " + pos2);
                if (!getOverrideValidation() && (pos1 < 0 || pos1 > 180 || pos2 < 0 || pos2 > 180))
                        error("Positions must be >=0 and <=180.  You supplied " + pos1 + " and " + pos2 + ".  One or more are invalid.", "RXTXRobot", "moveBothServos");
                else
                        sendRaw("V " + pos1 + " " + pos2);
        }