power(1)

NAME
power -- RCI program to turn robot power on or off.

USAGE
power [<robotName>] (on|off) [-sim[=<simaddr>]]

DESCRIPTION
This program is used to turn robot power on, by calling it with the "on" keyword, or off, by calling it with the argument "off". If robot power is turned on, then it is left on after the program exits.

ARGUMENTS

robotName --
    Optional robot name. If absent, the name is obtained from the system file $RCCL/conf/defaultRobot.

on, off --
    Describes whether to turn power on or off.

-sim --
    Causes the program to be run in simulator mode, in which it will attempt to connect to a robot simulator program (see robotsim) instead of connecting to a real robot.

    If unqualified, the -sim option causes the program to seek a simulator running on the same machine under the same user name. A different simulator can be specified by adding an address string <simaddr>, as in -sim=<simaddr>. For the format of this address string, see simAddress(5).

CAVEATS
Problems occur if the robot is named "on" or "off". In this case, please feel free to fix the program.