public override int SetMotorPowerOrSpeedRight(int powerOrSpeed) { RQCommandMotorPowerRight cmd = new RQCommandMotorPowerRight(powerOrSpeed); cmd.queue = m_commandPowerRightQueue; // to allow re-queueing of a failed command m_commandPowerRightQueue.Enqueue(cmd); return(powerOrSpeed); }
public override int SetMotorPowerOrSpeedRight(int powerOrSpeed) { RQCommandMotorPowerRight cmd = new RQCommandMotorPowerRight(powerOrSpeed); cmd.queue = m_commandPowerRightQueue; // to allow re-queueing of a failed command m_commandPowerRightQueue.Enqueue(cmd); return powerOrSpeed; }