103 void pleph_(
double [],
long *,
long *,
double []);
104 void dpleph_(
double [],
long *,
long *,
double []);
113 double gravity(
double radius,
double colat,
double elon,
int model, uint32_t degree);
117 double nplgndr(uint32_t l, uint32_t m,
double x);
139 double rearth(
double lat);
147 void gauss_jackson_init(
gj_handle &
gjh, uint32_t order, int32_t mode,
double dt,
double mjd,
double altitude,
double angle,
double hour,
locstruc &iloc,
physicsstruc &physics,
locstruc &loc);
svector groundstation(locstruc &satellite, locstruc &groundstation)
Ground station values.
Definition: physicslib.cpp:855
void orbit_init_shape(int32_t mode, double dt, double mjd, double altitude, double angle, double hour, cosmosstruc *root)
Definition: physicslib.cpp:1897
int update_eci(cosmosstruc *root, double utc, cartpos pos)
Definition: physicslib.cpp:3297
void propagate(cosmosstruc *root, double mjd)
Definition: physicslib.cpp:2044
Gauss-Jackson integration handle.
Definition: physicsdef.h:98
void orbit_init_eci(int32_t mode, double dt, double mjd, cartpos ipos, cosmosstruc *root)
Definition: physicslib.cpp:1797
ElapsedTime dt
Definition: agent_file3.cpp:183
Quaternion Attitude.
Definition: convertdef.h:475
3 element generic row vector
Definition: vector.h:53
double nplgndr(uint32_t l, uint32_t m, double x)
Legendre polynomial.
Definition: physicsclass.cpp:1820
Cartesian full position structure.
Definition: convertdef.h:158
int orbit_init(int32_t mode, double dt, double mjd, string ofile, cosmosstruc *root)
Initialize orbit from orbital data.
Definition: physicslib.cpp:3150
rvector gravity_accel2(posstruc pos, int model, uint32_t degree)
Calculates geocentric acceleration vector from chosen model.
Definition: physicslib.cpp:645
COSMOS definitions Definitions specific to the COSMOS environement.
void gauss_jackson_init_eci(gj_handle &gjh, uint32_t order, int32_t mode, double dt, double mjd, cartpos ipos, qatt iatt, physicsstruc &physics, locstruc &loc)
Initialize Gauss-Jackson orbit using ECI state vector.
Definition: physicslib.cpp:2479
void initialize_imu(uint16_t index, devspecstruc &devspec, locstruc &loc)
Initialize IMU simulation.
Definition: physicslib.cpp:1452
rvector gravity_vector(svector pos, int model, uint32_t degree)
Definition: physicslib.cpp:556
void gauss_jackson_init(gj_handle &gjh, uint32_t order, int32_t mode, double dt, double mjd, double altitude, double angle, double hour, locstruc &iloc, physicsstruc &physics, locstruc &loc)
Definition: physicslib.cpp:2721
rvector gravity_accel(posstruc pos, int model, uint32_t degree)
Calculates geocentric acceleration vector from chosen model.
Definition: physicslib.cpp:65
Physics Simulation Structure.
Definition: jsondef.h:3411
Definition: convertdef.h:733
STK positions structure.
Definition: convertdef.h:999
int orbit_propagate(cosmosstruc *root, double mjd)
Load TLE's from file.
Definition: physicslib.cpp:3259
void dpleph_(double[], long *, long *, double[])
static uint16_t model
Definition: add_radio.cpp:19
3 element spherical vector
Definition: vector.h:167
void geod2icrf(posstruc *pos)
Geodetic to Heliocentric.
locstruc gauss_jackson_converge_orbit(gj_handle &gjh, physicsstruc &physics)
Definition: physicslib.cpp:2761
void att_accel(physicsstruc &physics, locstruc &loc)
Torque.
Definition: physicslib.cpp:1493
Headers and definitions common to all COSMOS.
convertlib include file A library providing functions for conversion between the various position and...
double gravity_potential(double lon, double lat, double r, int model, uint32_t degree)
Definition: physicslib.cpp:605
stkstruc stk
Definition: testengine.cpp:46
vector< locstruc > gauss_jackson_propagate(gj_handle &gjh, physicsstruc &physics, locstruc &loc, double mjd)
Definition: physicslib.cpp:2871
double mjd
Definition: udp_send.cpp:41
gj_handle gjh
Definition: agent_node.cpp:80
void gauss_jackson_init_stk(gj_handle &gjh, uint32_t order, int32_t mode, double dt, double mjd, stkstruc &stk, physicsstruc &physics, locstruc &loc)
Definition: physicslib.cpp:2619
void hardware_init_eci(cosmosstruc *cinfo, locstruc &loc)
Initialize Hardware.
Definition: physicslib.cpp:877
double msis00_density(posstruc pos, float f107avg, float f107, float magidx)
Calculate atmospheric density.
Definition: physicslib.cpp:1664
void gauss_jackson_converge_hardware(gj_handle &gjh, physicsstruc &physics)
Definition: physicslib.cpp:2862
double msis86_density(posstruc pos, float f107avg, float f107, float magidx)
void simulate_hardware(cosmosstruc *cinfo, locstruc &loc)
Simulate all devices.
Definition: physicslib.cpp:951
Specific Device structure.
Definition: jsondef.h:3860
void simulate_imu(int index, cosmosstruc *root, locstruc &loc)
Simulated IMU values.
Definition: physicslib.cpp:1467
void gauss_jackson_init_tle(gj_handle &gjh, uint32_t order, int32_t mode, double dt, double mjd, cosmosstruc *cinfo)
Definition: jsondef.h:4199
NRLMSISE-00 Extended Support header file.
double gravity(double radius, double colat, double elon, int model, uint32_t degree)
Calculates geocentric acceleration magnitude from chosen model.
int32_t gravity_params(int model)
Gravitational model parameters.
Definition: physicslib.cpp:699
Definition: convertdef.h:876
Orbit library support definitions.
double rearth(double lat)
Definition: convertlib.cpp:1556
void orbit_init_tle(int32_t mode, double dt, double mjd, cosmosstruc *root)
Definition: physicslib.cpp:1705
void gauss_jackson_setup(gj_handle &gjh, uint32_t order, double utc, double &dt)
Prepare for Gauss-Jackson integration.
Definition: physicslib.cpp:2219
void pleph_(double[], long *, long *, double[])
int32_t pos_accel(physicsstruc &physics, locstruc &loc)
Acceleration.
Definition: physicslib.cpp:1553