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
Value
Meaning
S_OK
Command added successfully
E_FAIL
Cannot add command
E_INVALIDARG
Tilt direction is incompatible with a previously added tilt command
Remarks
Adding a stop command will remove any previously added tilt command