Rtcm1046Data.java
/* Copyright 2022-2026 Thales Alenia Space
* Licensed to CS GROUP (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.gnss.metric.messages.rtcm.ephemeris;
import org.orekit.gnss.metric.messages.common.AccuracyProvider;
import org.orekit.propagation.analytical.gnss.GNSSPropagator;
import org.orekit.propagation.analytical.gnss.data.GalileoNavigationMessage;
import org.orekit.propagation.analytical.gnss.data.GalileoNavigationMessageFactory;
/**
* Container for RTCM 1046 data.
* @author Nathan Schiffmacher
* @since 14.0
*/
public class Rtcm1046Data extends RtcmEphemerisData {
/** Factory for Galileo navigation message.
* @since 14.0
*/
private final GalileoNavigationMessageFactory factory;
/** Constructor.
* @param satelliteId satellite ID
* @param accuracyProvider accuracy provider
* @param factory factory for QZSS navigation message
* @since 14.0
*/
public Rtcm1046Data(final int satelliteId, final AccuracyProvider accuracyProvider,
final GalileoNavigationMessageFactory factory) {
super(satelliteId);
setAccuracyProvider(accuracyProvider);
this.factory = factory;
}
/**
* Get the Galileo navigation message corresponding to the current RTCM data.
* <p>
* This object can be used to initialize a {@link GNSSPropagator}
* </p>
* @return the Galileo navigation message
*/
public GalileoNavigationMessage getGalileoNavigationMessage() {
return factory.createFromDrivers();
}
}