Ejemplo n.º 1
0
        public VirtualNmeaSensor()
        {
            _currentValues = new Dictionary<string, Dictionary<string, string>>();
            _windDirection = new Vector3(0, 0, 1);
            _wayPoints = new float[,] {{64f,91f,64f,10f,64f,91f},
                        {64f,37f,10f,64f,118f,91f}};

            _currentPosition = new Vector3(64, 0, 64);
            _currentDirection = 0f;

            _currentWayPoint = 1;

            //_windSpeed = 10.0f;

            _dictionary = new NmeaDictionary("../../nmea.xml");
        }
Ejemplo n.º 2
0
        public VirtualNmeaSensor()
        {
            _currentValues = new Dictionary <string, Dictionary <string, string> >();
            _windDirection = new Vector3(0, 0, 1);
            _wayPoints     = new float[, ] {
                { 64f, 91f, 64f, 10f, 64f, 91f },
                { 64f, 37f, 10f, 64f, 118f, 91f }
            };

            _currentPosition  = new Vector3(64, 0, 64);
            _currentDirection = 0f;

            _currentWayPoint = 1;

            //_windSpeed = 10.0f;

            _dictionary = new NmeaDictionary("../../nmea.xml");
        }
Ejemplo n.º 3
0
 static NmeaParser()
 {
     _nmea = new NmeaDictionary(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("AmphibianSoftware.VisualSail.Nmea.xml"));/*"../../nmea.xml"*/
 }
Ejemplo n.º 4
0
 static NmeaParser()
 {
     _nmea = new NmeaDictionary(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("AmphibianSoftware.VisualSail.Nmea.xml"));/*"../../nmea.xml"*/
 }