Ejemplo n.º 1
0
 //! @brief  shuts down the various sphero controls
 private void ShutdownControls()
 {
     // I'm pretty sure this does nothing, we should just write modifiers - PJM
     m_joystick         = null;
     m_colorwheel       = null;
     m_calibrateElement = null;
 }
Ejemplo n.º 2
0
        //! @brief  configures the various sphero controls
        private void SetupControls()
        {
            m_colorwheel = new ColorWheel(ColorPuck, m_robot);
            m_joystick   = new Joystick(Puck, m_robot);

            m_calibrateElement = new CalibrateElement(
                CalibrateRotationRoot,
                CalibrateTarget,
                CalibrateRingOuter,
                CalibrateRingMiddle,
                CalibrateRingInner,
                CalibrationFingerPoint,
                m_robot);
        }
 //! @brief  shuts down the various sphero controls
 private void ShutdownControls() {
     // I'm pretty sure this does nothing, we should just write modifiers - PJM
     m_joystick = null;
     m_colorwheel = null;
     m_calibrateElement = null;
 }
        //! @brief  configures the various sphero controls
        private void SetupControls() {
            m_colorwheel = new ColorWheel(ColorPuck, m_robot);
            m_joystick = new Joystick(Puck, m_robot);

            m_calibrateElement = new CalibrateElement(
                CalibrateRotationRoot,
                CalibrateTarget,
                CalibrateRingOuter,
                CalibrateRingMiddle,
                CalibrateRingInner,
                CalibrationFingerPoint,
                m_robot);
        }