COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
Sun Sensor (SSEN) Sructure. More...
#include <jsondef.h>
Public Member Functions | |
json11::Json | to_json () const |
Convert class contents to JSON object. More... | |
void | from_json (const string &s) |
Set class contents from JSON string. More... | |
Public Attributes | |
quaternion | align |
Sensor alignment quaternion. More... | |
float | qva = 0.f |
float | qvb = 0.f |
float | qvc = 0.f |
float | qvd = 0.f |
float | azimuth = 0.f |
float | elevation = 0.f |
Sun Sensor (SSEN) Sructure.
|
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 |
quaternion ssenstruc::align |
Sensor alignment quaternion.
float ssenstruc::qva = 0.f |
float ssenstruc::qvb = 0.f |
float ssenstruc::qvc = 0.f |
float ssenstruc::qvd = 0.f |
float ssenstruc::azimuth = 0.f |
float ssenstruc::elevation = 0.f |