Beispiel #1
0
        public override int SetMotorPowerOrSpeedLeft(int powerOrSpeed)
        {
            RQCommandMotorPowerLeft cmd = new RQCommandMotorPowerLeft(powerOrSpeed);

            cmd.queue = m_commandPowerLeftQueue;                        // to allow re-queueing of a failed command

            m_commandPowerLeftQueue.Enqueue(cmd);

            return(powerOrSpeed);
        }
        public override int SetMotorPowerOrSpeedLeft(int powerOrSpeed)
        {
            RQCommandMotorPowerLeft cmd = new RQCommandMotorPowerLeft(powerOrSpeed);

            cmd.queue = m_commandPowerLeftQueue;		// to allow re-queueing of a failed command

            m_commandPowerLeftQueue.Enqueue(cmd);

            return powerOrSpeed;
        }