RCAddTilt

Adds a tilt command to a command group

RCResult RCAddTilt (
     HCGROUP rbt,
     RCDirection dir
)

Parameters
rbt
Handle returned by RCNewCmdGroup
dir
RCD_FORWARD, RCD_BACKWARD to tilt forward/backward, RCD_STOP to stop

Return Values
ValueMeaning
RC_OKCommand added successfully
RC_FAILCannot add command
RC_INVALIDARGTilt direction is incompatible with a previously added tilt command

Remarks
Adding a stop command will remove any previously added tilt command