IRbtControl::Tilt

Adds a tilt command to a command group

HRESULT IRbtControl::Tilt (
     RCDirection dir
)

Parameters
dir
RCD_FORWARD, RCD_BACKWARD to tilt forward/backward, RCD_STOP to stop

Return Values
ValueMeaning
S_OKCommand added successfully
E_FAILCannot add command
E_INVALIDARGTilt direction is incompatible with a previously added tilt command

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