コード例 #1
0
 /// <summary>WGS84 Inertial reference frame ECEF waypoint</summary>
 /// <param name="id">UNKNOWN</param>
 /// <param name="lat">North-South direction (rad) Range[0,6.2832)</param>
 /// <param name="lon">East-West direction (rad) Range[0,6.2832)</param>
 /// <param name="alt">Down-Up direction (m) Range[UAV Range]</param>
 /// <param name="spd">UNKNOWN</param>
 public Waypoint(id_wp id, double lat, double lon, float alt, float spd)
 {
     this.id        = id;
     this.latitude  = lat;
     this.longitude = lon;
     this.altitude  = alt;
     this.speed     = spd;
 }
コード例 #2
0
ファイル: Waypoint.cs プロジェクト: KAW0/Alter-Native
        /// <summary>WGS84 Inertial reference frame ECEF waypoint</summary>
        /// <param name="id">UNKNOWN</param>
        /// <param name="lat">North-South direction (rad) Range[0,6.2832)</param>
        /// <param name="lon">East-West direction (rad) Range[0,6.2832)</param>
        /// <param name="alt">Down-Up direction (m) Range[UAV Range]</param>
        /// <param name="spd">UNKNOWN</param>
        public Waypoint(id_wp id, double lat, double lon, float alt, float spd)
        {
            this.id = id;
            this.latitude = lat;
            this.longitude = lon;
            this.altitude = alt;
            this.speed = spd;

        }