COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
Magnetic Torque Rod structure: z axis is aligned with rod. 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 |
Rotates vectors from MTR frame to Body frame. More... | |
float | npoly [7] = {0.f} |
Terms of 6th order polynomial converting negative moment to current. More... | |
float | ppoly [7] = {0.f} |
Terms of 6th order polynomial converting positive moment to current. More... | |
float | mxmom = 0.f |
Maxiumum field strength. More... | |
float | tc = 0.f |
Field Change Time Constant. More... | |
float | rmom = 0.f |
Requested Magnetic Moment. More... | |
float | mom = 0.f |
Actual Magnetic Moment. More... | |
Magnetic Torque Rod structure: z axis is aligned with rod.
|
inline |
Convert class contents to JSON object.
Returns a json11 JSON object of the class
|
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 mtrstruc::align |
Rotates vectors from MTR frame to Body frame.
float mtrstruc::npoly[7] = {0.f} |
Terms of 6th order polynomial converting negative moment to current.
float mtrstruc::ppoly[7] = {0.f} |
Terms of 6th order polynomial converting positive moment to current.
float mtrstruc::mxmom = 0.f |
Maxiumum field strength.
float mtrstruc::tc = 0.f |
Field Change Time Constant.
float mtrstruc::rmom = 0.f |
Requested Magnetic Moment.
float mtrstruc::mom = 0.f |
Actual Magnetic Moment.