\input manualMacros.tex
\manBegin
\manPageInfo{RCI Reference Manual}{}{}
\manTitle{power}{1}
\manSection{NAME}
{\tt \manName{power}}
-- RCI program to turn robot power on or off.
\manSection{USAGE}
\cverbatim
power [<robotName>] (on|off) [-sim[=<simaddr>]]
@endcverbatim
\manSection{DESCRIPTION}
This program is used to turn robot power on, by calling it with
the {\TT on} keyword, or off, by calling it with the argument
{\TT off}. If robot power is turned on, then it is left on after the
program exits.

\manSection{ARGUMENTS}
\manItem{{\tt robotName} --}
Optional robot name. If absent, the name is obtained from the system file
{\filefont \$RCCL/conf/defaultRobot}.
\manItem{{\tt on}, {\tt off} --}
Describes whether to turn power on or off.
\manItem{{\tt -sim} --}
Causes the program to be run in simulator mode, in which it will attempt to 
connect to a robot simulator program (see {\tt robotsim}) instead of 
connecting to a real robot.
\manItem{}
If unqualified, the {\tt -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 {\tt <simaddr>},
as in {\tt -sim=<simaddr>}. For the format of this
address string, see {\tt simAddress(5)}.

\manSection{CAVEATS}
Problems occur if the robot is named ``on'' or ``off''. In this case,
please feel free to fix the program.
\manEnd
\end
