![]() |
COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
In units for the SGP4 propogator (not NORAD TLE itself). More...
#include <convertdef.h>
Public Member Functions | |
| json11::Json | to_json () const |
| Convert class contents to JSON object. More... | |
| void | from_json (const string &js) |
| Set class contents from JSON string. More... | |
Public Attributes | |
| double | utc = 0. |
| char | name [25] = "" |
| uint16_t | snumber = 0 |
| char | id [9] = "" |
| double | bstar = 0. |
| Drag (1/Earth radii) More... | |
| double | i = 0. |
| Inclination (radians) More... | |
| double | raan = 0. |
| Right ascension of ascending node (radians) More... | |
| double | e = 0. |
| Eccentricity (unitless) More... | |
| double | ap = 0. |
| Argument of perigee (radians) More... | |
| double | ma = 0. |
| Mean anomaly (radians) More... | |
| double | mm = 0. |
| Mean motion (radians / minute) More... | |
| uint32_t | orbit = 0 |
In units for the SGP4 propogator (not NORAD TLE itself).
|
inline |
|
inline |
Set class contents from JSON string.
Parses the provided JSON-formatted string and sets the class data. String should be formatted like the string returned from to_json()
| s | JSON-formatted string to set class contents to |
| double tlestruc::utc = 0. |
| char tlestruc::name[25] = "" |
| uint16_t tlestruc::snumber = 0 |
| char tlestruc::id[9] = "" |
| double tlestruc::bstar = 0. |
Drag (1/Earth radii)
| double tlestruc::i = 0. |
Inclination (radians)
| double tlestruc::raan = 0. |
Right ascension of ascending node (radians)
| double tlestruc::e = 0. |
Eccentricity (unitless)
| double tlestruc::ap = 0. |
Argument of perigee (radians)
| double tlestruc::ma = 0. |
Mean anomaly (radians)
| double tlestruc::mm = 0. |
Mean motion (radians / minute)
| uint32_t tlestruc::orbit = 0 |