public NavSatFix(Header header, NavSatStatus status, double latitude, double longitude, double altitude, double[] position_covariance, byte position_covariance_type) { this.header = header; this.status = status; this.latitude = latitude; this.longitude = longitude; this.altitude = altitude; this.position_covariance = position_covariance; this.position_covariance_type = position_covariance_type; }
public NavSatFix() { this.header = new Header(); this.status = new NavSatStatus(); this.latitude = 0.0; this.longitude = 0.0; this.altitude = 0.0; this.position_covariance = new double[9]; this.position_covariance_type = 0; }