![]() |
COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
Geodetic position structure. 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. |
| gvector | s |
| Position vector. More... | |
| gvector | v |
| Velocity vector. More... | |
| gvector | a |
| Acceleration vector. More... | |
| uint32_t | pass = 0 |
| pass indicator: allows synchronization with other attitude and position values. More... | |
Geodetic position structure.
Structure containing 3 geodetic vectors representing position, velocity and acceleration.
|
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 geoidpos::utc = 0. |
| gvector geoidpos::s |
Position vector.
| gvector geoidpos::v |
Velocity vector.
| gvector geoidpos::a |
Acceleration vector.
| uint32_t geoidpos::pass = 0 |
pass indicator: allows synchronization with other attitude and position values.