Ejemplo n.º 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);
        }
Ejemplo n.º 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;
        }