Пример #1
0
        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);
        }
Пример #2
0
        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;
        }