SunEarthSatGeometry.hpp
Go to the documentation of this file.
1 //==============================================================================
2 //
3 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
4 //
5 // The GNSSTk is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published
7 // by the Free Software Foundation; either version 3.0 of the License, or
8 // any later version.
9 //
10 // The GNSSTk is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with GNSSTk; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 //
19 // This software was developed by Applied Research Laboratories at the
20 // University of Texas at Austin.
21 // Copyright 2004-2022, The Board of Regents of The University of Texas System
22 //
23 //==============================================================================
24 
25 //==============================================================================
26 //
27 // This software was developed by Applied Research Laboratories at the
28 // University of Texas at Austin, under contract to an agency or agencies
29 // within the U.S. Department of Defense. The U.S. Government retains all
30 // rights to use, duplicate, distribute, disclose, or release this software.
31 //
32 // Pursuant to DoD Directive 523024
33 //
34 // DISTRIBUTION STATEMENT A: This software has been approved for public
35 // release, distribution is unlimited.
36 //
37 //==============================================================================
38 
47 #ifndef SUN_EARTH_SATELLITE_INCLUDE
48 #define SUN_EARTH_SATELLITE_INCLUDE
49 
50 #include "Matrix.hpp"
51 #include "Position.hpp"
52 
53 namespace gnsstk
54 {
74  Matrix<double> northEastUp(Position& pos, bool geoc=false);
75 
83  Matrix<double> northEastUpGeocentric(Position& pos);
84 
92  Matrix<double> northEastUpGeodetic(Position& pos);
93 
113  Matrix<double> upEastNorth(Position& pos, bool geoc=false);
114 
123  Matrix<double> upEastNorthGeocentric(Position& pos);
124 
132  Matrix<double> upEastNorthGeodetic(Position& pos);
133 
145  double shadowFactor(double angRadEarth, double angRadSun, double angSeparation);
146 
155  double shadowFactor(const Position& sv, const Position& sun);
156 
177  Matrix<double> satelliteAttitude(const Position& pos, const Position& sun);
178 
195  Matrix<double> orbitNormalAttitude(const Position& pos, const Position& vel);
196 
209  void satelliteNadirAzimuthAngles(const Position& sv,
210  const Position& rx,
211  const Matrix<double>& rot,
212  double& nadir,
213  double& azimuth);
214 
227  double satelliteEarthSunAngle(const Position& sv, const Position& sun);
228 
248  void sunOrbitAngles(const Position& pos, const Position& vel, const Position& sun,
249  double& beta, double& phi);
250 
264  double satelliteYawAngle(const Position& pos, const Position& vel, const Position& sun,
265  const bool& blkIIRF, double& yawrate);
266 
267 } // end namespace gnsstk
268 
269 #endif // SUN_EARTH_SATELLITE_INCLUDE
gnsstk::satelliteYawAngle
double satelliteYawAngle(const Position &pos, const Position &vel, const Position &sun, const bool &blkIIRF, double &yawrate)
Definition: SunEarthSatGeometry.cpp:534
gnsstk::northEastUp
Matrix< double > northEastUp(Position &pos, bool geocentric)
Same as upEastNorth(), but with rows re-ordered.
Definition: SunEarthSatGeometry.cpp:57
gnsstk::northEastUpGeocentric
Matrix< double > northEastUpGeocentric(Position &pos)
Same as northEastUp(pos, true).
Definition: SunEarthSatGeometry.cpp:97
gnsstk::upEastNorthGeodetic
Matrix< double > upEastNorthGeodetic(Position &pos)
Same as upEastNorth, but using geodetic coordinates.
Definition: SunEarthSatGeometry.cpp:134
gnsstk::shadowFactor
double shadowFactor(double angRadEarth, double angRadSun, double angSeparation)
Definition: SunEarthSatGeometry.cpp:185
Position.hpp
gnsstk::upEastNorth
Matrix< double > upEastNorth(Position &pos, bool geocentric)
Definition: SunEarthSatGeometry.cpp:111
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::satelliteNadirAzimuthAngles
void satelliteNadirAzimuthAngles(const Position &sv, const Position &rx, const Matrix< double > &rot, double &nadir, double &azimuth)
Definition: SunEarthSatGeometry.cpp:377
gnsstk::satelliteAttitude
Matrix< double > satelliteAttitude(const Position &sat, const Position &sun)
Definition: SunEarthSatGeometry.cpp:266
gnsstk::satelliteEarthSunAngle
double satelliteEarthSunAngle(const Position &sat, const Position &sun)
Definition: SunEarthSatGeometry.cpp:426
gnsstk::beta
double beta(double x, double y)
Definition: SpecialFuncs.cpp:204
example4.pos
pos
Definition: example4.py:125
gnsstk::orbitNormalAttitude
Matrix< double > orbitNormalAttitude(const Position &pos, const Position &vel)
Definition: SunEarthSatGeometry.cpp:330
gnsstk::upEastNorthGeocentric
Matrix< double > upEastNorthGeocentric(Position &pos)
Definition: SunEarthSatGeometry.cpp:130
gnsstk::sunOrbitAngles
void sunOrbitAngles(const Position &pos, const Position &vel, const Position &sun, double &beta, double &phi)
Definition: SunEarthSatGeometry.cpp:465
gnsstk::northEastUpGeodetic
Matrix< double > northEastUpGeodetic(Position &pos)
Same as northEastUp(pos, false).
Definition: SunEarthSatGeometry.cpp:101
Matrix.hpp


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41