public DroneConfig()
        {
            serializationUtils = new SerializationUtils();

            droneConfigInitialized = false;

            standardOwnIpAddress = "192.168.1.2";
            droneIpAddress = "192.168.1.1";
            droneNetworkIdentifierStart = "ardrone_";

            videoPort = 5555;
            navigationPort = 5554;
            commandPort = 5556;
            controlInfoPort = 5559;

            firmwareVersion = SupportedFirmwareVersion.Firmware_133;

            timeoutValue = int.MaxValue;
            defaultCameraMode = DroneCameraMode.FrontCamera;

            applicationId = ".NET SDK/1.7.4";
            userId = ".NET SDK USER";
            sessionId = Guid.NewGuid().ToString();

            initialSettings = new List<DroneSetting>();
        }
        public void DetermineMapping()
        {
            serializationUtils = new SerializationUtils();

            mapping = GetStandardMapping();
            LoadMapping();

            backupMapping = mapping.Clone();
        }
        public HudConfig()
        {
            serializationUtils = new SerializationUtils();

            showHud = true;

            showTarget = true;
            showBaseLine = true;
            showHeading = true;
            showAltitude = true;
            showSpeed = true;
            showBattery = true;
        }
Esempio n. 4
0
        public DroneConfig()
        {
            serializationUtils = new SerializationUtils();

            droneConfigInitialized = false;

            standardOwnIpAddress = "192.168.1.2";
            droneIpAddress = "192.168.1.1";
            droneNetworkIdentifierStart = "ardrone_";

            videoPort = 5555;
            navigationPort = 5554;
            commandPort = 5556;
            controlInfoPort = 5559;

            firmwareVersion = SupportedFirmwareVersion.Firmware_133;

            timeoutValue = 500;
            defaultCameraMode = DroneCameraMode.FrontCamera;
        }
Esempio n. 5
0
        public DroneConfig()
        {
            serializationUtils = new SerializationUtils();

            droneConfigInitialized = false;

            standardOwnIpAddress = "192.168.1.2";
            //droneIpAddress = "10.200.240.7";
                //droneNetworkIdentifierStart = "tamulink-guest";
                droneIpAddress = "192.168.1.1";
                droneNetworkIdentifierStart = "ardrone_";

            videoPort = 5555;
            navigationPort = 5554;
            commandPort = 5556;
            controlInfoPort = 5559;

            useSpecificFirmwareVersion = false;
            firmwareVersion = DroneConfig.DefaultSupportedFirmwareVersion;

            timeoutValue = 500;
            defaultCameraMode = DroneCameraMode.FrontCamera;
        }