1 /* Copyright 2022-2025 Luc Maisonobe
2 * Licensed to CS GROUP (CS) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * CS licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.orekit.estimation.measurements;
18
19 import org.orekit.frames.Transform;
20 import org.orekit.propagation.SpacecraftState;
21 import org.orekit.utils.TimeStampedPVCoordinates;
22
23 /** Common intermediate parameters used to estimate measurements where receiver is a ground station.
24 * @author Luc Maisonobe
25 * @since 12.0
26 */
27 public class GroundReceiverCommonParametersWithoutDerivatives extends CommonParametersWithoutDerivatives {
28
29 /** Transform between station and inertial frame. */
30 private final Transform offsetToInertialDownlink;
31
32 /** Station position in inertial frame at end of the downlink leg. */
33 private final TimeStampedPVCoordinates stationDownlink;
34
35 /** Simple constructor.
36 * @param state spacecraft state
37 * @param offsetToInertialDownlink transform between station and inertial frame
38 * @param stationDownlink station position in inertial frame at end of the downlink leg
39 * @param tauD downlink delay
40 * @param transitState transit state
41 * @param transitPV transit position/velocity
42 */
43 public GroundReceiverCommonParametersWithoutDerivatives(final SpacecraftState state,
44 final Transform offsetToInertialDownlink,
45 final TimeStampedPVCoordinates stationDownlink,
46 final double tauD,
47 final SpacecraftState transitState,
48 final TimeStampedPVCoordinates transitPV) {
49 super(state, tauD, transitState, transitPV);
50 this.offsetToInertialDownlink = offsetToInertialDownlink;
51 this.stationDownlink = stationDownlink;
52 }
53
54 /** Get transform between station and inertial frame.
55 * @return transform between station and inertial frame
56 */
57 public Transform getOffsetToInertialDownlink() {
58 return offsetToInertialDownlink;
59 }
60
61 /** Get station position in inertial frame at end of the downlink leg.
62 * @return station position in inertial frame at end of the downlink leg
63 */
64 public TimeStampedPVCoordinates getStationDownlink() {
65 return stationDownlink;
66 }
67
68 }