IRbtCmdGroup::Move

Adds a move command to a command group

HRESULT IRbtCmdGroup::Move (
     RCMoveDir dir,
     RCMoveSpeed sp
)

Parameters
dir
Direction to move
sp
Speed at which to move

Return Values
ValueMeaning
RC_OKCommand added successfully
RC_FAILCannot add command
RC_INVALIDARGArguments are incompatible with a previously added move command

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