IRbtControl::MoveArm

Adds a move arm command to a command group

HRESULT IRbtControl::MoveArm (
     RCSide arm,
     RCDirection dir
)

Parameters
arm
Which arm to move
dir
Which direction to move the arm. RCD_UP, RCD_DOWN to move up/down, RCD_STOP to stop

Return Values
ValueMeaning
S_OKCommand added successfully
E_FAILCannot add command
E_INVALIDARGArguments are incompatible with a previously added move arm command or move direction is invalid

Remarks
You cannot add two move arm commands moving the same arm in opposite directions.
Adding a stop command will remove any previously added move arm command