From 3d4e07bc4ab994e4824e95810aa2d70916d7bba4 Mon Sep 17 00:00:00 2001 From: Eric Stoneking Date: Sat, 20 Jan 2024 09:31:41 -0500 Subject: [PATCH] GPS Time Accuracy Replaced JDToGpsTime with GpsTimeToGpsDate to reduce roundoff error. --- Database/42.json | 4121 +++++++++++++++++--------------- Database/JsonToIPC.py | 3 +- Kit/Include/timekit.h | 5 +- Kit/Source/timekit.c | 40 +- Source/42exec.c | 10 +- Source/42init.c | 2 +- Source/IPC/AppWriteToFile.c | 6 + Source/IPC/AppWriteToSocket.c | 8 + Source/IPC/SimReadFromCmd.c | 9 +- Source/IPC/SimReadFromFile.c | 9 +- Source/IPC/SimReadFromGmsec.c | 9 +- Source/IPC/SimReadFromSocket.c | 9 +- 12 files changed, 2275 insertions(+), 1956 deletions(-) diff --git a/Database/42.json b/Database/42.json index e3c312ba..365a167e 100644 --- a/Database/42.json +++ b/Database/42.json @@ -1,238 +1,166 @@ { "Table Definition": [ { - "Table Name": "SphereHarmType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "FormationType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "FlexNodeType", + "Table Name": "CmdVecType", "Table Type": "Structure", "Table Data": [ ] }, { - "Table Name": "BodyType", + "Table Name": "CmdType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "wn", - "Description": "Angular Velocity of B wrt N expressed in B frame", - "Units": "rad/sec", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "qn", + "Variable Name": "AngRate", "Description": "", "Units": "None", "Data Type": "double", - "Array Size": "4", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", - "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "JointType", - "Table Type": "Structure", - "Table Data": [ - { - "Variable Name": "Pos", - "Description": "translational kinematic state variables", - "Units": "None", - "Data Type": "double", "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", "Cmd Read": "", "Packet Role": "" }, { - "Variable Name": "PosRate", - "Description": "translational dynamic state variables", + "Variable Name": "Ang", + "Description": "", "Units": "None", "Data Type": "double", "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", "Cmd Read": "", "Packet Role": "" }, { - "Variable Name": "Ang", - "Description": "Joint Euler angles", + "Variable Name": "qrl", + "Description": "", "Units": "None", "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", - "Cmd Read": "", + "Array Size": "4", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "READ", "Packet Role": "" }, { - "Variable Name": "AngRate", - "Description": "Euler angle rates about gim axes", + "Variable Name": "qrn", + "Description": "", "Units": "None", "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", - "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "IdealActType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "WhlType", - "Table Type": "Structure", - "Table Data": [ - { - "Variable Name": "H", - "Description": "Angular Momentum,", - "Units": "Nms", - "Data Type": "double", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", - "Cmd Read": "", + "Array Size": "4", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "READ", "Packet Role": "" - } - ] - }, - { - "Table Name": "MTBType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "ThrType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "GyroType", - "Table Type": "Structure", - "Table Data": [ + }, { - "Variable Name": "SampleTime", + "Variable Name": "PriVec", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "CmdVecType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "MaxCounter", + "Variable Name": "SecVec", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "CmdVecType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" - }, + "Packet Role": "STRUCT" + } + ] + }, + { + "Table Name": "AcBodyType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "Axis", + "Variable Name": "mass", "Description": "", - "Units": "", + "Units": "kg", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MaxRate", + "Variable Name": "cm", "Description": "", - "Units": "", + "Units": "m", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Scale", + "Variable Name": "MOI", "Description": "", - "Units": "", + "Units": "kg-m^2", "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" - }, + } + ] + }, + { + "Table Name": "AcJointType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "Quant", + "Variable Name": "IsSpherical", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "SigV", - "Description": "ARW, rad/rt-sec", - "Units": "None", - "Data Type": "double", + "Variable Name": "RotDOF", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "SigU", - "Description": "Bias Stability, rad/sec^1.5", - "Units": "None", - "Data Type": "double", + "Variable Name": "TrnDOF", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "SigE", - "Description": "Angle Readout Noise, rad", - "Units": "None", - "Data Type": "double", + "Variable Name": "RotSeq", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "FlexNode", + "Variable Name": "TrnSeq", "Description": "", "Units": "", "Data Type": "long", @@ -242,83 +170,73 @@ "Packet Role": "PRM" }, { - "Variable Name": "BiasStabCoef", + "Variable Name": "CGiBi", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "ARWCoef", + "Variable Name": "CBoGo", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "AngNoiseCoef", + "Variable Name": "AngGain", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CorrCoef", - "Description": "Correlation Coef, exp(-SampleTime/BiasTime)", - "Units": "None", + "Variable Name": "AngRateGain", + "Description": "", + "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "TrueRate", - "Description": "rad/sec", - "Units": "None", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "MagnetometerType", - "Table Type": "Structure", - "Table Data": [ - { - "Variable Name": "SampleTime", + "Variable Name": "PosGain", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MaxCounter", + "Variable Name": "PosRateGain", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Axis", + "Variable Name": "MaxAngRate", "Description": "", "Units": "", "Data Type": "double", @@ -329,117 +247,135 @@ "Packet Role": "PRM" }, { - "Variable Name": "Saturation", + "Variable Name": "MaxPosRate", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Scale", + "Variable Name": "MaxTrq", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Quant", + "Variable Name": "MaxFrc", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Noise", + "Variable Name": "Ang", "Description": "", - "Units": "", + "Units": "rad", "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Array Size": "3", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "FlexNode", + "Variable Name": "Cmd", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "CmdType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" } ] }, { - "Table Name": "CssType", + "Table Name": "AcGyroType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "SampleTime", + "Variable Name": "Axis", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MaxCounter", + "Variable Name": "Rate", "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", + "Units": "rad/sec", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" - }, + "Packet Role": "" + } + ] + }, + { + "Table Name": "AcMagnetometerType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "Body", + "Variable Name": "Axis", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Axis", + "Variable Name": "Field", "Description": "", - "Units": "", + "Units": "Tesla", "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" - }, + "Packet Role": "" + } + ] + }, + { + "Table Name": "AcCssType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "FovHalfAng", + "Variable Name": "Body", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CosFov", + "Variable Name": "Axis", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", @@ -456,51 +392,31 @@ "Packet Role": "PRM" }, { - "Variable Name": "Quant", + "Variable Name": "Valid", "Description": "", - "Units": "", - "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "FlexNode", + "Variable Name": "Illum", "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", + "Units": "None", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" } ] }, { - "Table Name": "FssType", + "Table Name": "AcFssType", "Table Type": "Structure", "Table Data": [ - { - "Variable Name": "SampleTime", - "Description": "", - "Units": "", - "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - }, - { - "Variable Name": "MaxCounter", - "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - }, { "Variable Name": "qb", "Description": "", @@ -524,198 +440,310 @@ "Packet Role": "PRM" }, { - "Variable Name": "FovHalfAng", + "Variable Name": "Valid", "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "2", - "Sim Read/Write": "", - "App Read/Write": "", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "NEA", + "Variable Name": "SunAng", "Description": "", - "Units": "", + "Units": "rad", "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Array Size": "2", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" - }, + "Packet Role": "" + } + ] + }, + { + "Table Name": "AcStarTrackerType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "Quant", + "Variable Name": "qb", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "FlexNode", + "Variable Name": "CB", "Description": "", "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - }, - { - "Variable Name": "BoreAxis", - "Description": "X_AXIS, Y_AXIS, Z_AXIS", - "Units": "None", - "Data Type": "long", + "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "H_Axis", - "Description": "(BoreAxis+1)%3", + "Variable Name": "Valid", + "Description": "", "Units": "None", "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "V_Axis", - "Description": "(BoreAxis+2)%3", + "Variable Name": "qn", + "Description": "", "Units": "None", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", + "Data Type": "double", + "Array Size": "4", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" } ] }, { - "Table Name": "StarTrackerType", + "Table Name": "AcGpsType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "SampleTime", + "Variable Name": "Valid", "Description": "", - "Units": "", - "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "MaxCounter", + "Variable Name": "Rollover", "Description": "", - "Units": "", + "Units": "None", "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "qb", + "Variable Name": "Week", "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "4", - "Sim Read/Write": "", - "App Read/Write": "", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "CB", + "Variable Name": "Sec", "Description": "", - "Units": "", + "Units": "None", "Data Type": "double", - "Array Size": "3,3", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "FovHalfAng", + "Variable Name": "PosN", "Description": "", - "Units": "", + "Units": "m", "Data Type": "double", - "Array Size": "2", - "Sim Read/Write": "", - "App Read/Write": "", + "Array Size": "3", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "CosFov", + "Variable Name": "VelN", "Description": "", - "Units": "", + "Units": "m/s", "Data Type": "double", - "Array Size": "2", - "Sim Read/Write": "", - "App Read/Write": "", + "Array Size": "3", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "SunExclAng", + "Variable Name": "PosW", + "Description": "", + "Units": "m", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "VelW", + "Description": "", + "Units": "m/s", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "Lng", + "Description": "Geocentric", + "Units": "rad", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "Lat", + "Description": "Geocentric", + "Units": "rad", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "Alt", + "Description": "Geocentric", + "Units": "m", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "WgsLng", + "Description": "Geodetic, WGS-84", + "Units": "rad", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "WgsLat", + "Description": "Geodetic, WGS-84", + "Units": "rad", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "WgsAlt", + "Description": "Geodetic, WGS-84", + "Units": "m", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + } + ] + }, + { + "Table Name": "AcAccelType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "PosB", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CosSunExclAng", + "Variable Name": "Axis", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "EarthExclAng", + "Variable Name": "Acc", "Description": "", - "Units": "", + "Units": "m/s^2", "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + } + ] + }, + { + "Table Name": "AcEarthSensorType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "AcWhlType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "Body", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CosEarthExclAng", + "Variable Name": "Axis", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MoonExclAng", + "Variable Name": "DistVec", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CosMoonExclAng", + "Variable Name": "J", "Description": "", "Units": "", "Data Type": "double", @@ -725,104 +753,144 @@ "Packet Role": "PRM" }, { - "Variable Name": "NEA", + "Variable Name": "Tmax", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "FlexNode", + "Variable Name": "Hmax", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "BoreAxis", - "Description": "X_AXIS, Y_AXIS, Z_AXIS", - "Units": "None", - "Data Type": "long", + "Variable Name": "H", + "Description": "", + "Units": "Nms", + "Data Type": "double", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "Tcmd", + "Description": "", + "Units": "N-m", + "Data Type": "double", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", + "Cmd Read": "", + "Packet Role": "" + } + ] + }, + { + "Table Name": "AcMtbType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "Axis", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "H_Axis", - "Description": "(BoreAxis+1)%3", - "Units": "None", - "Data Type": "long", + "Variable Name": "DistVec", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "V_Axis", - "Description": "(BoreAxis+2)%3", - "Units": "None", - "Data Type": "long", + "Variable Name": "Mmax", + "Description": "", + "Units": "", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" + }, + { + "Variable Name": "Mcmd", + "Description": "", + "Units": "A-m^2", + "Data Type": "double", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", + "Cmd Read": "", + "Packet Role": "" } ] }, { - "Table Name": "GpsType", + "Table Name": "AcThrType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "SampleTime", + "Variable Name": "Body", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MaxCounter", + "Variable Name": "PosB", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "PosNoise", + "Variable Name": "Axis", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "VelNoise", + "Variable Name": "rxA", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "TimeNoise", + "Variable Name": "Fmax", "Description": "", "Units": "", "Data Type": "double", @@ -832,720 +900,1143 @@ "Packet Role": "PRM" }, { - "Variable Name": "FlexNode", - "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", + "Variable Name": "PulseWidthCmd", + "Description": "for PULSED", + "Units": "sec", + "Data Type": "double", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" + }, + { + "Variable Name": "ThrustLevelCmd", + "Description": "for PROPORTIONAL", + "Units": "None", + "Data Type": "double", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", + "Cmd Read": "", + "Packet Role": "" } ] }, { - "Table Name": "AccelType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "JointPathTableType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "BodyPathTableType", + "Table Name": "AcPrototypeCtrlType", "Table Type": "Structure", "Table Data": [ - - ] - }, - { - "Table Name": "DynType", + { + "Variable Name": "wc", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "amax", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "vmax", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kprec", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Knute", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } + ] + }, + { + "Table Name": "AcAdHocCtrlType", "Table Type": "Structure", "Table Data": [ - + { + "Variable Name": "Kr", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kp", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } ] }, { - "Table Name": "EnvTrqType", + "Table Name": "AcSpinnerCtrlType", "Table Type": "Structure", "Table Data": [ - + { + "Variable Name": "Ispin", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Itrans", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "SpinRate", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Knute", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kprec", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } ] }, { - "Table Name": "FreqNormEqType", + "Table Name": "AcMomBiasCtrlType", "Table Type": "Structure", "Table Data": [ ] }, { - "Table Name": "FreqRespType", + "Table Name": "AcThreeAxisCtrlType", "Table Type": "Structure", "Table Data": [ - + { + "Variable Name": "Kr", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kp", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kunl", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } ] }, { - "Table Name": "SCType", + "Table Name": "AcIssCtrlType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "PosR", - "Description": "Position of cm wrt Reference Orbit, expressed in N", - "Units": "m", + "Variable Name": "Kr", + "Description": "", + "Units": "", "Data Type": "double", "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kp", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Tmax", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } + ] + }, + { + "Table Name": "AcCmgCtrlType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "Kr", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kp", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } + ] + }, + { + "Table Name": "AcThrCtrlType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "Kw", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kth", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kv", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kp", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } + ] + }, + { + "Table Name": "AcCfsCtrlType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "Kr", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kp", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kunl", + "Description": "", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } + ] + }, + { + "Table Name": "AcThrSteerCtrlType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "Kr", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Kp", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } + ] + }, + { + "Table Name": "AcType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "ID", + "Description": "Spacecraft ID", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "EchoEnabled", + "Description": "For IPC", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "ParmLoadEnabled", + "Description": "", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "ParmDumpEnabled", + "Description": "", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Nb", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Ng", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Nwhl", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Nmtb", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Nthr", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Ncmg", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Ngyro", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Nmag", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Ncss", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "Nfss", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "VelR", - "Description": "Velocity of cm wrt R, expressed in N", - "Units": "m/s", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", + "Variable Name": "Nst", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "svb", - "Description": "Sun-pointing unit vector, expressed in SC.B[0]", - "Units": "None", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", + "Variable Name": "Ngps", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "bvb", - "Description": "Magfield, expressed in SC.B[0]", - "Units": "Tesla", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", + "Variable Name": "Nacc", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "Hvb", - "Description": "Total SC angular momentum, expressed in SC.B[0]", - "Units": "Nms", + "Variable Name": "Pi", + "Description": "", + "Units": "", "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "AC", + "Variable Name": "TwoPi", "Description": "", "Units": "", - "Data Type": "AcType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "B", + "Variable Name": "DT", "Description": "", - "Units": "None", - "Data Type": "BodyType", - "Array Size": "Nb", + "Units": "", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "G", + "Variable Name": "mass", "Description": "", - "Units": "None", - "Data Type": "JointType", - "Array Size": "Ng", + "Units": "", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "GN", - "Description": "Joint between N and B[0]", - "Units": "None", - "Data Type": "JointType", + "Variable Name": "cm", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "IdealAct", + "Variable Name": "MOI", "Description": "", "Units": "", - "Data Type": "IdealActType", - "Array Size": "3", + "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "Whl", - "Description": "", - "Units": "None", - "Data Type": "WhlType", - "Array Size": "Nw", + "Variable Name": "Time", + "Description": "Time since J2000", + "Units": "sec", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "MTB", + "Variable Name": "Mode", "Description": "", - "Units": "None", - "Data Type": "MTBType", - "Array Size": "Nmtb", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "Thr", + "Variable Name": "wbn", "Description": "", - "Units": "None", - "Data Type": "ThrType", - "Array Size": "Nthr", + "Units": "", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "Gyro", + "Variable Name": "qbn", "Description": "", - "Units": "None", - "Data Type": "GyroType", - "Array Size": "Ngyro", + "Units": "", + "Data Type": "double", + "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "MAG", + "Variable Name": "CBN", "Description": "", - "Units": "None", - "Data Type": "MagnetometerType", - "Array Size": "Nmag", + "Units": "", + "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "CSS", + "Variable Name": "CLN", "Description": "", - "Units": "None", - "Data Type": "CssType", - "Array Size": "Ncss", + "Units": "", + "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "FSS", + "Variable Name": "wln", "Description": "", - "Units": "None", - "Data Type": "FssType", - "Array Size": "Nfss", + "Units": "", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "ST", + "Variable Name": "qln", "Description": "", - "Units": "None", - "Data Type": "StarTrackerType", - "Array Size": "Nst", + "Units": "", + "Data Type": "double", + "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "GPS", + "Variable Name": "svn", "Description": "", - "Units": "None", - "Data Type": "GpsType", - "Array Size": "Ngps", + "Units": "", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "IN" }, { - "Variable Name": "Accel", + "Variable Name": "svb", "Description": "", "Units": "None", - "Data Type": "AccelType", - "Array Size": "Nacc", - "Sim Read/Write": "", - "App Read/Write": "", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", "Cmd Read": "", - "Packet Role": "STRUCT" - } - ] - }, - { - "Table Name": "TargetType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "POVType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "RegionType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "AtmoType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "WorldType", - "Table Type": "Structure", - "Table Data": [ + "Packet Role": "IN" + }, { - "Variable Name": "Exists", + "Variable Name": "bvn", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "IN" + }, + { + "Variable Name": "bvb", + "Description": "", + "Units": "None", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", + "Cmd Read": "", + "Packet Role": "IN" }, { - "Variable Name": "Type", - "Description": "STAR, PLANET, MOON, ASTEROID, COMET", - "Units": "None", - "Data Type": "long", + "Variable Name": "PosN", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "IN" }, { - "Variable Name": "Parent", + "Variable Name": "VelN", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "IN" }, { - "Variable Name": "Nsat", + "Variable Name": "SunValid", "Description": "", "Units": "", "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "IN" }, { - "Variable Name": "Sat", + "Variable Name": "MagValid", "Description": "", - "Units": "None", + "Units": "", "Data Type": "long", - "Array Size": "Nsat", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "IN" }, { - "Variable Name": "mu", - "Description": "Gravitation constant", - "Units": "None", - "Data Type": "double", + "Variable Name": "EphValid", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "IN" }, { - "Variable Name": "J2", - "Description": "Gravitation oblateness parameter", - "Units": "None", - "Data Type": "double", + "Variable Name": "StValid", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "IN" }, { - "Variable Name": "rad", - "Description": "Radius", - "Units": "None", - "Data Type": "double", + "Variable Name": "ReqMode", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "OUT" }, { - "Variable Name": "w", - "Description": "Spin Rate", - "Units": "None", + "Variable Name": "Tcmd", + "Description": "", + "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "OUT" }, { - "Variable Name": "PriMerAngJ2000", - "Description": "Prime Meridian Angle at J2000 epoch, rad", - "Units": "None", + "Variable Name": "Mcmd", + "Description": "", + "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "OUT" }, { - "Variable Name": "RadOfInfluence", - "Description": "Radius of Sphere of Influence", - "Units": "None", + "Variable Name": "Fcmd", + "Description": "", + "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "OUT" }, { - "Variable Name": "DipoleMoment", - "Description": "Magnetic Field Dipole Moment, Wb-m", - "Units": "None", + "Variable Name": "IdealTrq", + "Description": "", + "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "OUT" }, { - "Variable Name": "DipoleAxis", - "Description": "Magnetic Field Dipole Axis", - "Units": "None", + "Variable Name": "IdealFrc", + "Description": "", + "Units": "", "Data Type": "double", "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "OUT" }, { - "Variable Name": "DipoleOffset", - "Description": "Dipole Offset, m", + "Variable Name": "Hvb", + "Description": "", "Units": "None", "Data Type": "double", "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "READ", + "App Read/Write": "WRITE", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "RingInner,", + "Variable Name": "B", "Description": "", - "Units": "", - "Data Type": "double", + "Units": "None", + "Data Type": "AcBodyType", + "Array Size": "Nb", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Density", - "Description": "For minor bodies, polyhedron gravity", + "Variable Name": "G", + "Description": "", "Units": "None", - "Data Type": "double", + "Data Type": "AcJointType", + "Array Size": "Ng", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "HasRing", + "Variable Name": "Gyro", "Description": "", - "Units": "", - "Data Type": "long", + "Units": "None", + "Data Type": "AcGyroType", + "Array Size": "Ngyro", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Name", + "Variable Name": "MAG", "Description": "", - "Units": "", - "Data Type": "char", - "Array Size": "20", + "Units": "None", + "Data Type": "AcMagnetometerType", + "Array Size": "Nmag", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "MapFileName", + "Variable Name": "CSS", "Description": "", - "Units": "", - "Data Type": "char", - "Array Size": "40", + "Units": "None", + "Data Type": "AcCssType", + "Array Size": "Ncss", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "GeomFileName", + "Variable Name": "FSS", "Description": "", - "Units": "", - "Data Type": "char", - "Array Size": "40", + "Units": "None", + "Data Type": "AcFssType", + "Array Size": "Nfss", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "ColTexFileName", + "Variable Name": "ST", "Description": "", - "Units": "", - "Data Type": "char", - "Array Size": "40", + "Units": "None", + "Data Type": "AcStarTrackerType", + "Array Size": "Nst", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "BumpTexFileName", + "Variable Name": "GPS", "Description": "", - "Units": "", - "Data Type": "char", - "Array Size": "40", + "Units": "None", + "Data Type": "AcGpsType", + "Array Size": "Ngps", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Color", + "Variable Name": "Accel", "Description": "", - "Units": "", - "Data Type": "float", - "Array Size": "4", + "Units": "None", + "Data Type": "AcAccelType", + "Array Size": "Nacc", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Glyph", + "Variable Name": "ES", "Description": "", "Units": "", - "Data Type": "unsigned char", - "Array Size": "14", + "Data Type": "AcEarthSensorType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "TexTag", + "Variable Name": "Whl", "Description": "", - "Units": "", - "Data Type": "unsigned int", + "Units": "None", + "Data Type": "AcWhlType", + "Array Size": "Nwhl", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "MapTexTag", + "Variable Name": "MTB", "Description": "", - "Units": "", - "Data Type": "unsigned int", + "Units": "None", + "Data Type": "AcMtbType", + "Array Size": "Nmtb", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "ColTexTag", + "Variable Name": "Thr", "Description": "", - "Units": "", - "Data Type": "unsigned int", + "Units": "None", + "Data Type": "AcThrType", + "Array Size": "Nthr", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "BumpTexTag", + "Variable Name": "PrototypeCtrl", "Description": "", "Units": "", - "Data Type": "unsigned int", + "Data Type": "AcPrototypeCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "ColCubeTag", + "Variable Name": "AdHocCtrl", "Description": "", "Units": "", - "Data Type": "unsigned int", + "Data Type": "AcAdHocCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "BumpCubeTag", + "Variable Name": "SpinnerCtrl", "Description": "", "Units": "", - "Data Type": "unsigned int", + "Data Type": "AcSpinnerCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "CloudGlossCubeTag", + "Variable Name": "MomBiasCtrl", "Description": "", "Units": "", - "Data Type": "unsigned int", + "Data Type": "AcMomBiasCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "GeomTag", + "Variable Name": "ThreeAxisCtrl", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "AcThreeAxisCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "RingTexTag", + "Variable Name": "IssCtrl", "Description": "", "Units": "", - "Data Type": "unsigned int", + "Data Type": "AcIssCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "NearExtent,FarExtent", + "Variable Name": "CmgCtrl", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "AcCmgCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "CNH", - "Description": "DCM from heliocentric ecliptic frame", - "Units": "None", - "Data Type": "double", - "Array Size": "3,3", + "Variable Name": "ThrCtrl", + "Description": "", + "Units": "", + "Data Type": "AcThrCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "qnh", - "Description": "~", - "Units": "None", - "Data Type": "double", - "Array Size": "4", + "Variable Name": "CfsCtrl", + "Description": "", + "Units": "", + "Data Type": "AcCfsCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" - }, - { - "Variable Name": "PosH", - "Description": "Position in H frame", - "Units": "None", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", - "Cmd Read": "", - "Packet Role": "" + "Packet Role": "STRUCT" }, { - "Variable Name": "eph", - "Description": "Ephemeris", - "Units": "None", - "Data Type": "OrbitType", + "Variable Name": "ThrSteerCtrl", + "Description": "", + "Units": "", + "Data Type": "AcThrSteerCtrlType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "STRUCT" }, { - "Variable Name": "Atmo", + "Variable Name": "Cmd", "Description": "", "Units": "", - "Data Type": "AtmoType", + "Data Type": "CmdType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", @@ -1554,104 +2045,34 @@ ] }, { - "Table Name": "SpotType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "WidgetType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "FovType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "TdrsType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "GroundStationType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "ShadowFBOType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "AlbedoFBOType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "OrreryPOVType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "ConstellationType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "IpcType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "LagrangePointType", + "Table Name": "SphereHarmType", "Table Type": "Structure", "Table Data": [ ] }, { - "Table Name": "LagrangeSystemType", + "Table Name": "FormationType", "Table Type": "Structure", "Table Data": [ ] }, { - "Table Name": "Cheb3DType", + "Table Name": "NodeType", "Table Type": "Structure", "Table Data": [ ] }, { - "Table Name": "OrbitType", + "Table Name": "ShakerType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "Tag", - "Description": "Orb[Tag].Tag = Tag", - "Units": "None", + "Variable Name": "Body", + "Description": "", + "Units": "", "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", @@ -1659,7 +2080,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "Exists", + "Variable Name": "Node", "Description": "", "Units": "", "Data Type": "long", @@ -1669,27 +2090,28 @@ "Packet Role": "PRM" }, { - "Variable Name": "Epoch", - "Description": "Sec since J2000 epoch at which orbit elements are referenced", - "Units": "None", - "Data Type": "double", + "Variable Name": "FrcTrq", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Regime", - "Description": "ZERO, FLIGHT, CENTRAL (Two-body) or THREE_BODY", - "Units": "None", - "Data Type": "long", + "Variable Name": "Axis", + "Description": "", + "Units": "", + "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "PolyhedronGravityEnabled", + "Variable Name": "Ntone", "Description": "", "Units": "", "Data Type": "long", @@ -1699,7 +2121,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "World", + "Variable Name": "RandomActive", "Description": "", "Units": "", "Data Type": "long", @@ -1709,69 +2131,75 @@ "Packet Role": "PRM" }, { - "Variable Name": "Region", - "Description": "", - "Units": "", - "Data Type": "long", + "Variable Name": "ToneAmp", + "Description": "N or Nm", + "Units": "None", + "Data Type": "double", + "Array Size": "", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Sys", - "Description": "e.g. SUNEARTH, EARTHMOON, SUNJUPITER", + "Variable Name": "ToneFreq", + "Description": "For tonic, rad/sec", "Units": "None", - "Data Type": "long", + "Data Type": "double", + "Array Size": "", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "LP", - "Description": "Lagrange Point [0-4]", + "Variable Name": "TonePhase", + "Description": "For tonic, rad", "Units": "None", - "Data Type": "long", + "Data Type": "double", + "Array Size": "", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Body1", + "Variable Name": "RandomProc", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "RandomProcessType", + "Array Size": "", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Body2", + "Variable Name": "Lowpass", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "FilterType", + "Array Size": "", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "mu1", + "Variable Name": "Highpass", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "FilterType", + "Array Size": "", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "mu2", - "Description": "", - "Units": "", + "Variable Name": "LowBandLimit", + "Description": "rad/sec", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -1779,77 +2207,155 @@ "Packet Role": "PRM" }, { - "Variable Name": "LagDOF", - "Description": "", - "Units": "", - "Data Type": "long", + "Variable Name": "HighBandLimit", + "Description": "rad/sec", + "Units": "None", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Ax", - "Description": "", - "Units": "", + "Variable Name": "RandStd", + "Description": "Std Dev of band-limited random input, N or Nm", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" + } + ] + }, + { + "Table Name": "BodyType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "wn", + "Description": "Angular Velocity of B wrt N expressed in B frame", + "Units": "rad/sec", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", + "Cmd Read": "", + "Packet Role": "" }, { - "Variable Name": "Bx", + "Variable Name": "qn", "Description": "", - "Units": "", + "Units": "None", "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Array Size": "4", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" + } + ] + }, + { + "Table Name": "JointType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "Pos", + "Description": "translational kinematic state variables", + "Units": "None", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", + "Cmd Read": "", + "Packet Role": "" }, { - "Variable Name": "Cx", - "Description": "", - "Units": "", + "Variable Name": "PosRate", + "Description": "translational dynamic state variables", + "Units": "None", "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "Dx", - "Description": "", - "Units": "", + "Variable Name": "Ang", + "Description": "Joint Euler angles", + "Units": "None", "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "Ay", - "Description": "", - "Units": "", + "Variable Name": "AngRate", + "Description": "Euler angle rates about gim axes", + "Units": "None", "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", "Cmd Read": "", - "Packet Role": "PRM" - }, + "Packet Role": "" + } + ] + }, + { + "Table Name": "IdealActType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "WhlHarmType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "WhlType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "By", - "Description": "", - "Units": "", + "Variable Name": "H", + "Description": "Angular Momentum,", + "Units": "Nms", "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", "Cmd Read": "", - "Packet Role": "PRM" - }, + "Packet Role": "" + } + ] + }, + { + "Table Name": "MTBType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "ThrType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "GyroType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "Cy", + "Variable Name": "SampleTime", "Description": "", "Units": "", "Data Type": "double", @@ -1859,27 +2365,28 @@ "Packet Role": "PRM" }, { - "Variable Name": "Dy", + "Variable Name": "MaxCounter", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Az", + "Variable Name": "Axis", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Bz", + "Variable Name": "MaxRate", "Description": "", "Units": "", "Data Type": "double", @@ -1889,7 +2396,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "mu", + "Variable Name": "Scale", "Description": "", "Units": "", "Data Type": "double", @@ -1899,9 +2406,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "SMA", - "Description": "Semi-major axis", - "Units": "m", + "Variable Name": "Quant", + "Description": "", + "Units": "", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -1909,8 +2416,8 @@ "Packet Role": "PRM" }, { - "Variable Name": "ecc", - "Description": "Eccentricity", + "Variable Name": "SigV", + "Description": "ARW, rad/rt-sec", "Units": "None", "Data Type": "double", "Sim Read/Write": "", @@ -1919,9 +2426,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "inc", - "Description": "Inclination,", - "Units": "rad", + "Variable Name": "SigU", + "Description": "Bias Stability, rad/sec^1.5", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -1929,9 +2436,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "RAAN", - "Description": "Right Ascension of Ascending Node,", - "Units": "rad", + "Variable Name": "SigE", + "Description": "Angle Readout Noise, rad", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -1939,19 +2446,19 @@ "Packet Role": "PRM" }, { - "Variable Name": "ArgP", - "Description": "Argument of Periapsis,", - "Units": "rad", - "Data Type": "double", + "Variable Name": "Node", + "Description": "", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "tp", - "Description": "Time of Periapsis Passage, since J2000 epoch", - "Units": "sec", + "Variable Name": "BiasStabCoef", + "Description": "", + "Units": "", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -1959,9 +2466,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "alpha", - "Description": "1/SMA. Better behaved than SMA when e near 1.0", - "Units": "1/m", + "Variable Name": "ARWCoef", + "Description": "", + "Units": "", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -1969,9 +2476,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "SLR", - "Description": "Semilatus rectum. Always well behaved", - "Units": "m", + "Variable Name": "AngNoiseCoef", + "Description": "", + "Units": "", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -1979,9 +2486,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "rmin", - "Description": "Periapsis radius. Always well behaved", - "Units": "m", + "Variable Name": "CorrCoef", + "Description": "Correlation Coef, exp(-SampleTime/BiasTime)", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -1989,17 +2496,23 @@ "Packet Role": "PRM" }, { - "Variable Name": "Period", - "Description": "", - "Units": "", + "Variable Name": "TrueRate", + "Description": "rad/sec", + "Units": "None", "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "WRITE", + "App Read/Write": "READ", "Cmd Read": "", - "Packet Role": "PRM" - }, + "Packet Role": "" + } + ] + }, + { + "Table Name": "MagnetometerType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "MeanMotion", + "Variable Name": "SampleTime", "Description": "", "Units": "", "Data Type": "double", @@ -2009,18 +2522,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "FileName", - "Description": "", - "Units": "", - "Data Type": "char", - "Array Size": "20", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - }, - { - "Variable Name": "J2DriftEnabled", + "Variable Name": "MaxCounter", "Description": "", "Units": "", "Data Type": "long", @@ -2030,17 +2532,18 @@ "Packet Role": "PRM" }, { - "Variable Name": "MeanSMA", + "Variable Name": "Axis", "Description": "", "Units": "", "Data Type": "double", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "RAAN0", + "Variable Name": "Saturation", "Description": "", "Units": "", "Data Type": "double", @@ -2050,7 +2553,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "ArgP0", + "Variable Name": "Scale", "Description": "", "Units": "", "Data Type": "double", @@ -2060,7 +2563,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "MeanAnom0", + "Variable Name": "Quant", "Description": "", "Units": "", "Data Type": "double", @@ -2070,27 +2573,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "RAANdot", - "Description": "Due to average J2 effect, rad/sec", - "Units": "None", - "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - }, - { - "Variable Name": "ArgPdot", - "Description": "Due to average J2 effect, rad/sec", - "Units": "None", - "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - }, - { - "Variable Name": "J2Rw2bya", + "Variable Name": "Noise", "Description": "", "Units": "", "Data Type": "double", @@ -2099,126 +2582,87 @@ "Cmd Read": "", "Packet Role": "PRM" }, - { - "Variable Name": "SplineFile", - "Description": "", - "Units": "", - "Data Type": "FILE", - "Array Size": "", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - }, - { - "Variable Name": "PosN", - "Description": "Position,, expressed in N", - "Units": "m", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "VelN", - "Description": "Velocity,, expressed in N", - "Units": "m/sec", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ_WRITE", - "App Read/Write": "READ_WRITE", + { + "Variable Name": "Node", + "Description": "", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" } ] }, { - "Table Name": "CmdVecType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "CmdType", + "Table Name": "CssType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "AngRate", + "Variable Name": "SampleTime", "Description": "", - "Units": "None", + "Units": "", "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ", - "App Read/Write": "WRITE", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "Ang", + "Variable Name": "MaxCounter", "Description": "", - "Units": "None", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ", - "App Read/Write": "WRITE", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "qrl", + "Variable Name": "Body", "Description": "", - "Units": "None", - "Data Type": "double", - "Array Size": "4", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", - "Cmd Read": "READ", - "Packet Role": "" + "Cmd Read": "", + "Packet Role": "PRM" }, { - "Variable Name": "qrn", + "Variable Name": "Axis", "Description": "", - "Units": "None", + "Units": "", "Data Type": "double", - "Array Size": "4", + "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", - "Cmd Read": "READ", - "Packet Role": "" + "Cmd Read": "", + "Packet Role": "PRM" }, { - "Variable Name": "PriVec", + "Variable Name": "FovHalfAng", "Description": "", "Units": "", - "Data Type": "CmdVecType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "SecVec", + "Variable Name": "CosFov", "Description": "", "Units": "", - "Data Type": "CmdVecType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" - } - ] - }, - { - "Table Name": "AcBodyType", - "Table Type": "Structure", - "Table Data": [ + "Packet Role": "PRM" + }, { - "Variable Name": "mass", + "Variable Name": "Scale", "Description": "", - "Units": "kg", + "Units": "", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -2226,22 +2670,20 @@ "Packet Role": "PRM" }, { - "Variable Name": "cm", + "Variable Name": "Quant", "Description": "", - "Units": "m", + "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MOI", + "Variable Name": "Node", "Description": "", - "Units": "kg-m^2", - "Data Type": "double", - "Array Size": "3,3", + "Units": "", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", @@ -2250,21 +2692,21 @@ ] }, { - "Table Name": "AcJointType", + "Table Name": "FssType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "IsSpherical", + "Variable Name": "SampleTime", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "RotDOF", + "Variable Name": "MaxCounter", "Description": "", "Units": "", "Data Type": "long", @@ -2274,238 +2716,230 @@ "Packet Role": "PRM" }, { - "Variable Name": "TrnDOF", + "Variable Name": "qb", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", + "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "RotSeq", + "Variable Name": "CB", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "TrnSeq", + "Variable Name": "FovHalfAng", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", + "Array Size": "2", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CGiBi", + "Variable Name": "NEA", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CBoGo", + "Variable Name": "Quant", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "AngGain", + "Variable Name": "Node", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "AngRateGain", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", + "Variable Name": "BoreAxis", + "Description": "X_AXIS, Y_AXIS, Z_AXIS", + "Units": "None", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "PosGain", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", + "Variable Name": "H_Axis", + "Description": "(BoreAxis+1)%3", + "Units": "None", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "PosRateGain", + "Variable Name": "V_Axis", + "Description": "(BoreAxis+2)%3", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + } + ] + }, + { + "Table Name": "StarTrackerType", + "Table Type": "Structure", + "Table Data": [ + { + "Variable Name": "SampleTime", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MaxAngRate", + "Variable Name": "MaxCounter", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MaxPosRate", + "Variable Name": "qb", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", + "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MaxTrq", + "Variable Name": "CB", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MaxFrc", + "Variable Name": "FovHalfAng", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", + "Array Size": "2", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Ang", + "Variable Name": "CosFov", "Description": "", - "Units": "rad", + "Units": "", "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Array Size": "2", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "Cmd", + "Variable Name": "SunExclAng", "Description": "", "Units": "", - "Data Type": "CmdType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" - } - ] - }, - { - "Table Name": "AcGyroType", - "Table Type": "Structure", - "Table Data": [ + "Packet Role": "PRM" + }, { - "Variable Name": "Axis", + "Variable Name": "CosSunExclAng", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Rate", + "Variable Name": "EarthExclAng", "Description": "", - "Units": "rad/sec", + "Units": "", "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "AcMagnetometerType", - "Table Type": "Structure", - "Table Data": [ + "Packet Role": "PRM" + }, { - "Variable Name": "Axis", + "Variable Name": "CosEarthExclAng", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Field", + "Variable Name": "MoonExclAng", "Description": "", - "Units": "Tesla", + "Units": "", "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "AcCssType", - "Table Type": "Structure", - "Table Data": [ + "Packet Role": "PRM" + }, { - "Variable Name": "Body", + "Variable Name": "CosMoonExclAng", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Axis", + "Variable Name": "NEA", "Description": "", "Units": "", "Data Type": "double", @@ -2516,627 +2950,580 @@ "Packet Role": "PRM" }, { - "Variable Name": "Scale", + "Variable Name": "Node", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Valid", - "Description": "", + "Variable Name": "BoreAxis", + "Description": "X_AXIS, Y_AXIS, Z_AXIS", "Units": "None", "Data Type": "long", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "Illum", - "Description": "", + "Variable Name": "H_Axis", + "Description": "(BoreAxis+1)%3", "Units": "None", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" + }, + { + "Variable Name": "V_Axis", + "Description": "(BoreAxis+2)%3", + "Units": "None", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" } ] }, { - "Table Name": "AcFssType", + "Table Name": "GpsType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "qb", + "Variable Name": "SampleTime", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CB", + "Variable Name": "MaxCounter", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3,3", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Valid", - "Description": "", - "Units": "None", - "Data Type": "long", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "SunAng", + "Variable Name": "PosNoise", "Description": "", - "Units": "rad", + "Units": "", "Data Type": "double", - "Array Size": "2", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "AcStarTrackerType", - "Table Type": "Structure", - "Table Data": [ + "Packet Role": "PRM" + }, { - "Variable Name": "qb", + "Variable Name": "VelNoise", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "CB", + "Variable Name": "TimeNoise", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Valid", + "Variable Name": "Node", "Description": "", - "Units": "None", + "Units": "", "Data Type": "long", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "qn", - "Description": "", - "Units": "None", - "Data Type": "double", - "Array Size": "4", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" } ] }, { - "Table Name": "AcGpsType", + "Table Name": "AccelType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "Valid", + "Variable Name": "SampleTime", "Description": "", - "Units": "None", - "Data Type": "long", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Units": "", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "Rollover", + "Variable Name": "SampleCounter", "Description": "", - "Units": "None", + "Units": "", "Data Type": "long", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "Week", + "Variable Name": "MaxCounter", "Description": "", - "Units": "None", + "Units": "", "Data Type": "long", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "Sec", - "Description": "", - "Units": "None", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "PosN", - "Description": "", - "Units": "m", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "VelN", - "Description": "", - "Units": "m/s", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "PosW", - "Description": "", - "Units": "m", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "VelW", + "Variable Name": "Node", "Description": "", - "Units": "m/s", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "Lng", - "Description": "Geocentric", - "Units": "rad", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "Lat", - "Description": "Geocentric", - "Units": "rad", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "Alt", - "Description": "Geocentric", - "Units": "m", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "WgsLng", - "Description": "Geodetic, WGS-84", - "Units": "rad", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - }, - { - "Variable Name": "WgsLat", - "Description": "Geodetic, WGS-84", - "Units": "rad", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Units": "", + "Data Type": "long", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "WgsAlt", - "Description": "Geodetic, WGS-84", - "Units": "m", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", - "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "AcAccelType", - "Table Type": "Structure", - "Table Data": [ + "Variable Name": "Axis", + "Description": "Mounting matrix", + "Units": "None", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, { - "Variable Name": "PosB", + "Variable Name": "Quant", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Axis", + "Variable Name": "Scale", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Acc", - "Description": "", - "Units": "m/s^2", + "Variable Name": "SigV", + "Description": "DVRW m/s/rt-sec", + "Units": "None", "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" + }, + { + "Variable Name": "SigU", + "Description": "Bias Stability m/s^1.5", + "Units": "None", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" + }, + { + "Variable Name": "SigE", + "Description": "DV Readout Noise, m/s", + "Units": "None", + "Data Type": "double", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "PRM" } ] }, { - "Table Name": "AcEarthSensorType", + "Table Name": "JointPathTableType", "Table Type": "Structure", "Table Data": [ ] }, { - "Table Name": "AcWhlType", + "Table Name": "BodyPathTableType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "DynType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "EnvTrqType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "SCType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "Body", - "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", + "Variable Name": "PosR", + "Description": "Position of cm wrt Reference Orbit, expressed in N", + "Units": "m", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "Axis", - "Description": "", - "Units": "", + "Variable Name": "VelR", + "Description": "Velocity of cm wrt R, expressed in N", + "Units": "m/s", "Data Type": "double", "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "DistVec", - "Description": "", - "Units": "", + "Variable Name": "svb", + "Description": "Sun-pointing unit vector, expressed in SC.B[0]", + "Units": "None", "Data Type": "double", "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "" }, { - "Variable Name": "J", + "Variable Name": "bvb", + "Description": "Magfield, expressed in SC.B[0]", + "Units": "Tesla", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "Hvb", + "Description": "Total SC angular momentum, expressed in SC.B[0]", + "Units": "Nms", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "AC", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "AcType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Tmax", + "Variable Name": "B", "Description": "", - "Units": "", - "Data Type": "double", + "Units": "None", + "Data Type": "BodyType", + "Array Size": "Nb", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Hmax", + "Variable Name": "G", "Description": "", - "Units": "", - "Data Type": "double", + "Units": "None", + "Data Type": "JointType", + "Array Size": "Ng", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "H", + "Variable Name": "GN", + "Description": "Joint between N and B[0]", + "Units": "None", + "Data Type": "JointType", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "STRUCT" + }, + { + "Variable Name": "IdealAct", "Description": "", - "Units": "Nms", - "Data Type": "double", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Units": "", + "Data Type": "IdealActType", + "Array Size": "3", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "STRUCT" }, { - "Variable Name": "Tcmd", + "Variable Name": "Whl", "Description": "", - "Units": "N-m", - "Data Type": "double", - "Sim Read/Write": "READ", - "App Read/Write": "WRITE", + "Units": "None", + "Data Type": "WhlType", + "Array Size": "Nw", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "AcMtbType", - "Table Type": "Structure", - "Table Data": [ + "Packet Role": "STRUCT" + }, { - "Variable Name": "Axis", + "Variable Name": "MTB", "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", + "Units": "None", + "Data Type": "MTBType", + "Array Size": "Nmtb", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "DistVec", + "Variable Name": "Thr", "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", + "Units": "None", + "Data Type": "ThrType", + "Array Size": "Nthr", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Mmax", + "Variable Name": "Gyro", "Description": "", - "Units": "", - "Data Type": "double", + "Units": "None", + "Data Type": "GyroType", + "Array Size": "Ngyro", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Mcmd", + "Variable Name": "MAG", "Description": "", - "Units": "A-m^2", - "Data Type": "double", - "Sim Read/Write": "READ", - "App Read/Write": "WRITE", + "Units": "None", + "Data Type": "MagnetometerType", + "Array Size": "Nmag", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" - } - ] - }, - { - "Table Name": "AcThrType", - "Table Type": "Structure", - "Table Data": [ + "Packet Role": "STRUCT" + }, { - "Variable Name": "Body", + "Variable Name": "CSS", "Description": "", - "Units": "", - "Data Type": "long", + "Units": "None", + "Data Type": "CssType", + "Array Size": "Ncss", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "PosB", + "Variable Name": "FSS", "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", + "Units": "None", + "Data Type": "FssType", + "Array Size": "Nfss", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Axis", + "Variable Name": "ST", "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", + "Units": "None", + "Data Type": "StarTrackerType", + "Array Size": "Nst", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "rxA", + "Variable Name": "GPS", "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", + "Units": "None", + "Data Type": "GpsType", + "Array Size": "Ngps", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "Fmax", + "Variable Name": "Accel", "Description": "", - "Units": "", - "Data Type": "double", + "Units": "None", + "Data Type": "AccelType", + "Array Size": "Nacc", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" + "Packet Role": "STRUCT" }, { - "Variable Name": "PulseWidthCmd", + "Variable Name": "Shaker", "Description": "", - "Units": "sec", - "Data Type": "double", - "Sim Read/Write": "READ", - "App Read/Write": "WRITE", + "Units": "None", + "Data Type": "ShakerType", + "Array Size": "Nsh", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "STRUCT" } ] }, { - "Table Name": "AcPrototypeCtrlType", + "Table Name": "TargetType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "POVType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "RegionType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "AtmoType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "WorldType", "Table Type": "Structure", "Table Data": [ { - "Variable Name": "wc", + "Variable Name": "Exists", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "amax", - "Description": "", - "Units": "", - "Data Type": "double", + "Variable Name": "Type", + "Description": "STAR, PLANET, MOON, ASTEROID, COMET", + "Units": "None", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "vmax", + "Variable Name": "Parent", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kprec", + "Variable Name": "Nsat", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Knute", - "Description": "", - "Units": "", - "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcAdHocCtrlType", - "Table Type": "Structure", - "Table Data": [ - { - "Variable Name": "Kr", + "Variable Name": "Sat", "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", + "Units": "None", + "Data Type": "long", + "Array Size": "Nsat", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kp", - "Description": "", - "Units": "", + "Variable Name": "mu", + "Description": "Gravitation constant", + "Units": "None", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcSpinnerCtrlType", - "Table Type": "Structure", - "Table Data": [ + }, { - "Variable Name": "Ispin", - "Description": "", - "Units": "", + "Variable Name": "J2", + "Description": "Gravitation oblateness parameter", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -3144,9 +3531,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "Itrans", - "Description": "", - "Units": "", + "Variable Name": "rad", + "Description": "Radius", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -3154,9 +3541,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "SpinRate", - "Description": "", - "Units": "", + "Variable Name": "w", + "Description": "Spin Rate", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -3164,9 +3551,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "Knute", - "Description": "", - "Units": "", + "Variable Name": "PriMerAngJ2000", + "Description": "Prime Meridian Angle at J2000 epoch, rad", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", @@ -3174,43 +3561,29 @@ "Packet Role": "PRM" }, { - "Variable Name": "Kprec", - "Description": "", - "Units": "", + "Variable Name": "RadOfInfluence", + "Description": "Radius of Sphere of Influence", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcMomBiasCtrlType", - "Table Type": "Structure", - "Table Data": [ - - ] - }, - { - "Table Name": "AcThreeAxisCtrlType", - "Table Type": "Structure", - "Table Data": [ + }, { - "Variable Name": "Kr", - "Description": "", - "Units": "", + "Variable Name": "DipoleMoment", + "Description": "Magnetic Field Dipole Moment, Wb-m", + "Units": "None", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kp", - "Description": "", - "Units": "", + "Variable Name": "DipoleAxis", + "Description": "Magnetic Field Dipole Axis", + "Units": "None", "Data Type": "double", "Array Size": "3", "Sim Read/Write": "", @@ -3219,25 +3592,9 @@ "Packet Role": "PRM" }, { - "Variable Name": "Kunl", - "Description": "", - "Units": "", - "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcIssCtrlType", - "Table Type": "Structure", - "Table Data": [ - { - "Variable Name": "Kr", - "Description": "", - "Units": "", + "Variable Name": "DipoleOffset", + "Description": "Dipole Offset, m", + "Units": "None", "Data Type": "double", "Array Size": "3", "Sim Read/Write": "", @@ -3246,216 +3603,184 @@ "Packet Role": "PRM" }, { - "Variable Name": "Kp", + "Variable Name": "RingInner,", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Tmax", - "Description": "", - "Units": "", + "Variable Name": "Density", + "Description": "For minor bodies, polyhedron gravity", + "Units": "None", "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcCmgCtrlType", - "Table Type": "Structure", - "Table Data": [ + }, { - "Variable Name": "Kr", + "Variable Name": "HasRing", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kp", + "Variable Name": "Name", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "char", + "Array Size": "20", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcThrCtrlType", - "Table Type": "Structure", - "Table Data": [ + }, { - "Variable Name": "Kw", + "Variable Name": "MapFileName", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "char", + "Array Size": "40", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kth", + "Variable Name": "GeomFileName", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "char", + "Array Size": "40", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kv", + "Variable Name": "ColTexFileName", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "char", + "Array Size": "40", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kp", + "Variable Name": "BumpTexFileName", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "char", + "Array Size": "40", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcCfsCtrlType", - "Table Type": "Structure", - "Table Data": [ + }, { - "Variable Name": "Kr", + "Variable Name": "Color", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "float", + "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kp", + "Variable Name": "Glyph", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "unsigned char", + "Array Size": "14", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kunl", + "Variable Name": "TexTag", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "unsigned int", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcThrSteerCtrlType", - "Table Type": "Structure", - "Table Data": [ + }, { - "Variable Name": "Kr", + "Variable Name": "MapTexTag", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "unsigned int", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Kp", + "Variable Name": "ColTexTag", "Description": "", "Units": "", - "Data Type": "double", - "Array Size": "3", + "Data Type": "unsigned int", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" - } - ] - }, - { - "Table Name": "AcType", - "Table Type": "Structure", - "Table Data": [ + }, { - "Variable Name": "ID", - "Description": "Spacecraft ID", - "Units": "None", - "Data Type": "long", + "Variable Name": "BumpTexTag", + "Description": "", + "Units": "", + "Data Type": "unsigned int", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "EchoEnabled", - "Description": "For IPC", - "Units": "None", - "Data Type": "long", + "Variable Name": "ColCubeTag", + "Description": "", + "Units": "", + "Data Type": "unsigned int", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "ParmLoadEnabled", + "Variable Name": "BumpCubeTag", "Description": "", - "Units": "None", - "Data Type": "long", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Units": "", + "Data Type": "unsigned int", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "ParmDumpEnabled", + "Variable Name": "CloudGlossCubeTag", "Description": "", - "Units": "None", - "Data Type": "long", - "Sim Read/Write": "WRITE", - "App Read/Write": "READ", + "Units": "", + "Data Type": "unsigned int", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Nb", + "Variable Name": "GeomTag", "Description": "", "Units": "", "Data Type": "long", @@ -3465,59 +3790,179 @@ "Packet Role": "PRM" }, { - "Variable Name": "Ng", + "Variable Name": "RingTexTag", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "unsigned int", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Nwhl", + "Variable Name": "NearExtent,FarExtent", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Nmtb", - "Description": "", - "Units": "", - "Data Type": "long", + "Variable Name": "CNH", + "Description": "DCM from heliocentric ecliptic frame", + "Units": "None", + "Data Type": "double", + "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Nthr", - "Description": "", - "Units": "", - "Data Type": "long", + "Variable Name": "qnh", + "Description": "~", + "Units": "None", + "Data Type": "double", + "Array Size": "4", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Ncmg", + "Variable Name": "PosH", + "Description": "Position in H frame", + "Units": "None", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "eph", + "Description": "Ephemeris", + "Units": "None", + "Data Type": "OrbitType", + "Sim Read/Write": "", + "App Read/Write": "", + "Cmd Read": "", + "Packet Role": "STRUCT" + }, + { + "Variable Name": "Atmo", "Description": "", "Units": "", - "Data Type": "long", + "Data Type": "AtmoType", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "PRM" - }, + "Packet Role": "STRUCT" + } + ] + }, + { + "Table Name": "SpotType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "WidgetType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "FovType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "TdrsType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "GroundStationType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "ShadowFBOType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "AlbedoFBOType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "OrreryPOVType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "ConstellationType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "IpcType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "LagrangePointType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "LagrangeSystemType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "Cheb3DType", + "Table Type": "Structure", + "Table Data": [ + + ] + }, + { + "Table Name": "OrbitType", + "Table Type": "Structure", + "Table Data": [ { - "Variable Name": "Ngyro", - "Description": "", - "Units": "", + "Variable Name": "Tag", + "Description": "Orb[Tag].Tag = Tag", + "Units": "None", "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", @@ -3525,7 +3970,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "Nmag", + "Variable Name": "Exists", "Description": "", "Units": "", "Data Type": "long", @@ -3535,19 +3980,19 @@ "Packet Role": "PRM" }, { - "Variable Name": "Ncss", - "Description": "", - "Units": "", - "Data Type": "long", + "Variable Name": "Epoch", + "Description": "Sec since J2000 epoch at which orbit elements are referenced", + "Units": "None", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Nfss", - "Description": "", - "Units": "", + "Variable Name": "Regime", + "Description": "ZERO, FLIGHT, CENTRAL (Two-body) or THREE_BODY", + "Units": "None", "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", @@ -3555,7 +4000,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "Nst", + "Variable Name": "PolyhedronGravityEnabled", "Description": "", "Units": "", "Data Type": "long", @@ -3565,7 +4010,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "Ngps", + "Variable Name": "World", "Description": "", "Units": "", "Data Type": "long", @@ -3575,7 +4020,7 @@ "Packet Role": "PRM" }, { - "Variable Name": "Nacc", + "Variable Name": "Region", "Description": "", "Units": "", "Data Type": "long", @@ -3585,586 +4030,418 @@ "Packet Role": "PRM" }, { - "Variable Name": "Pi", - "Description": "", - "Units": "", - "Data Type": "double", + "Variable Name": "Sys", + "Description": "e.g. SUNEARTH, EARTHMOON, SUNJUPITER", + "Units": "None", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "TwoPi", - "Description": "", - "Units": "", - "Data Type": "double", + "Variable Name": "LP", + "Description": "Lagrange Point [0-4]", + "Units": "None", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "DT", + "Variable Name": "Body1", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "mass", + "Variable Name": "Body2", "Description": "", "Units": "", - "Data Type": "double", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "cm", + "Variable Name": "mu1", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "MOI", + "Variable Name": "mu2", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3,3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", "Packet Role": "PRM" }, { - "Variable Name": "Time", - "Description": "Time since J2000", - "Units": "sec", - "Data Type": "double", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "Mode", + "Variable Name": "LagDOF", "Description": "", "Units": "", "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "wbn", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "qbn", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "4", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "CBN", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3,3", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "CLN", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3,3", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "wln", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "qln", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "4", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "svn", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "svb", - "Description": "", - "Units": "None", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ", - "App Read/Write": "WRITE", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "bvn", - "Description": "", - "Units": "", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "bvb", - "Description": "", - "Units": "None", - "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ", - "App Read/Write": "WRITE", - "Cmd Read": "", - "Packet Role": "IN" + "Packet Role": "PRM" }, { - "Variable Name": "PosN", + "Variable Name": "Ax", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "IN" + "Packet Role": "PRM" }, { - "Variable Name": "VelN", + "Variable Name": "Bx", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "SunValid", - "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "MagValid", - "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "EphValid", - "Description": "", - "Units": "", - "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "StValid", - "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "IN" - }, - { - "Variable Name": "ReqMode", - "Description": "", - "Units": "", - "Data Type": "long", - "Sim Read/Write": "", - "App Read/Write": "", - "Cmd Read": "", - "Packet Role": "OUT" + "Packet Role": "PRM" }, { - "Variable Name": "Tcmd", + "Variable Name": "Cx", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "OUT" + "Packet Role": "PRM" }, { - "Variable Name": "Mcmd", + "Variable Name": "Dx", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "OUT" + "Packet Role": "PRM" }, { - "Variable Name": "Fcmd", + "Variable Name": "Ay", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "OUT" + "Packet Role": "PRM" }, { - "Variable Name": "IdealTrq", + "Variable Name": "By", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "OUT" + "Packet Role": "PRM" }, { - "Variable Name": "IdealFrc", + "Variable Name": "Cy", "Description": "", "Units": "", "Data Type": "double", - "Array Size": "3", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "OUT" + "Packet Role": "PRM" }, { - "Variable Name": "Hvb", + "Variable Name": "Dy", "Description": "", - "Units": "None", + "Units": "", "Data Type": "double", - "Array Size": "3", - "Sim Read/Write": "READ", - "App Read/Write": "WRITE", + "Sim Read/Write": "", + "App Read/Write": "", "Cmd Read": "", - "Packet Role": "" + "Packet Role": "PRM" }, { - "Variable Name": "B", + "Variable Name": "Az", "Description": "", - "Units": "None", - "Data Type": "AcBodyType", - "Array Size": "Nb", + "Units": "", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "G", + "Variable Name": "Bz", "Description": "", - "Units": "None", - "Data Type": "AcJointType", - "Array Size": "Ng", + "Units": "", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "Gyro", + "Variable Name": "mu", "Description": "", - "Units": "None", - "Data Type": "AcGyroType", - "Array Size": "Ngyro", + "Units": "", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "MAG", - "Description": "", - "Units": "None", - "Data Type": "AcMagnetometerType", - "Array Size": "Nmag", + "Variable Name": "SMA", + "Description": "Semi-major axis", + "Units": "m", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "CSS", - "Description": "", + "Variable Name": "ecc", + "Description": "Eccentricity", "Units": "None", - "Data Type": "AcCssType", - "Array Size": "Ncss", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "FSS", - "Description": "", - "Units": "None", - "Data Type": "AcFssType", - "Array Size": "Nfss", + "Variable Name": "inc", + "Description": "Inclination,", + "Units": "rad", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "ST", - "Description": "", - "Units": "None", - "Data Type": "AcStarTrackerType", - "Array Size": "Nst", + "Variable Name": "RAAN", + "Description": "Right Ascension of Ascending Node,", + "Units": "rad", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "GPS", - "Description": "", - "Units": "None", - "Data Type": "AcGpsType", - "Array Size": "Ngps", + "Variable Name": "ArgP", + "Description": "Argument of Periapsis,", + "Units": "rad", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "Accel", - "Description": "", - "Units": "None", - "Data Type": "AcAccelType", - "Array Size": "Nacc", + "Variable Name": "tp", + "Description": "Time of Periapsis Passage, since J2000 epoch", + "Units": "sec", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "ES", - "Description": "", - "Units": "", - "Data Type": "AcEarthSensorType", + "Variable Name": "alpha", + "Description": "1/SMA. Better behaved than SMA when e near 1.0", + "Units": "1/m", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "Whl", - "Description": "", - "Units": "None", - "Data Type": "AcWhlType", - "Array Size": "Nwhl", + "Variable Name": "SLR", + "Description": "Semilatus rectum. Always well behaved", + "Units": "m", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "MTB", - "Description": "", - "Units": "None", - "Data Type": "AcMtbType", - "Array Size": "Nmtb", + "Variable Name": "rmin", + "Description": "Periapsis radius. Always well behaved", + "Units": "m", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "Thr", + "Variable Name": "Period", "Description": "", - "Units": "None", - "Data Type": "AcThrType", - "Array Size": "Nthr", + "Units": "", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "PrototypeCtrl", + "Variable Name": "MeanMotion", "Description": "", "Units": "", - "Data Type": "AcPrototypeCtrlType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "AdHocCtrl", + "Variable Name": "FileName", "Description": "", "Units": "", - "Data Type": "AcAdHocCtrlType", + "Data Type": "char", + "Array Size": "20", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "SpinnerCtrl", + "Variable Name": "J2DriftEnabled", "Description": "", "Units": "", - "Data Type": "AcSpinnerCtrlType", + "Data Type": "long", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "MomBiasCtrl", + "Variable Name": "MeanSMA", "Description": "", "Units": "", - "Data Type": "AcMomBiasCtrlType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "ThreeAxisCtrl", + "Variable Name": "RAAN0", "Description": "", "Units": "", - "Data Type": "AcThreeAxisCtrlType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "IssCtrl", + "Variable Name": "ArgP0", "Description": "", "Units": "", - "Data Type": "AcIssCtrlType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "CmgCtrl", + "Variable Name": "MeanAnom0", "Description": "", "Units": "", - "Data Type": "AcCmgCtrlType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "ThrCtrl", - "Description": "", - "Units": "", - "Data Type": "AcThrCtrlType", + "Variable Name": "RAANdot", + "Description": "Due to average J2 effect, rad/sec", + "Units": "None", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "CfsCtrl", - "Description": "", - "Units": "", - "Data Type": "AcCfsCtrlType", + "Variable Name": "ArgPdot", + "Description": "Due to average J2 effect, rad/sec", + "Units": "None", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "ThrSteerCtrl", + "Variable Name": "J2Rw2bya", "Description": "", "Units": "", - "Data Type": "AcThrSteerCtrlType", + "Data Type": "double", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" }, { - "Variable Name": "Cmd", + "Variable Name": "SplineFile", "Description": "", "Units": "", - "Data Type": "CmdType", + "Data Type": "FILE", + "Array Size": "", "Sim Read/Write": "", "App Read/Write": "", "Cmd Read": "", - "Packet Role": "STRUCT" + "Packet Role": "PRM" + }, + { + "Variable Name": "PosN", + "Description": "Position,, expressed in N", + "Units": "m", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", + "Cmd Read": "", + "Packet Role": "" + }, + { + "Variable Name": "VelN", + "Description": "Velocity,, expressed in N", + "Units": "m/sec", + "Data Type": "double", + "Array Size": "3", + "Sim Read/Write": "READ_WRITE", + "App Read/Write": "READ_WRITE", + "Cmd Read": "", + "Packet Role": "" } ] } diff --git a/Database/JsonToIPC.py b/Database/JsonToIPC.py index d4f1b93c..d0e2bd09 100644 --- a/Database/JsonToIPC.py +++ b/Database/JsonToIPC.py @@ -294,13 +294,14 @@ def TimeRefreshCode(): outfile.write(" DOY2MD(UTC.Year,UTC.doy,&UTC.Month,&UTC.Day);\n") outfile.write(" CivilTime = DateToTime(UTC.Year,UTC.Month,UTC.Day,UTC.Hour,UTC.Minute,UTC.Second);\n") outfile.write(" AtomicTime = CivilTime + LeapSec;\n") + outfile.write(" GpsTime = AtomicTime - 19.0;\n") outfile.write(" DynTime = AtomicTime + 32.184;\n") outfile.write(" TT.JulDay = TimeToJD(DynTime);\n") outfile.write(" TimeToDate(DynTime,&TT.Year,&TT.Month,&TT.Day,\n") outfile.write(" &TT.Hour,&TT.Minute,&TT.Second,DTSIM);\n") outfile.write(" TT.doy = MD2DOY(TT.Year,TT.Month,TT.Day);\n") outfile.write(" UTC.JulDay = TimeToJD(CivilTime);\n") - outfile.write(" JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond);\n") + outfile.write(" GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond);\n") outfile.write(" SimTime = DynTime-DynTime0;\n") outfile.write(" }\n\n") else: diff --git a/Kit/Include/timekit.h b/Kit/Include/timekit.h index 67c6e955..0aa59294 100755 --- a/Kit/Include/timekit.h +++ b/Kit/Include/timekit.h @@ -55,8 +55,9 @@ void TimeToDate(double Time, long *Year, long *Month, long *Day, long MD2DOY(long Year, long Month, long Day); void DOY2MD(long Year, long DayOfYear, long *Month, long *Day); double JD2GMST(double JD); -double GpsTimeToJD(long GpsRollover, long GpsWeek, double GpsSecond); -void JDToGpsTime(double JD, long *GpsRollover, long *GpsWeek, double *GpsSecond); +void GpsTimeToGpsDate(double GpsTime, long *GpsRollover, long *GpsWeek, + double *GpsSecond); +double GpsDateToGpsTime(long GpsRollover, long GpsWeek, double GpsSecond); double usec(void); void RealSystemTime(long *Year, long *DOY, long *Month, long *Day, long *Hour, long *Minute, double *Second, double LSB); diff --git a/Kit/Source/timekit.c b/Kit/Source/timekit.c index 1581e61c..23b1b9b9 100755 --- a/Kit/Source/timekit.c +++ b/Kit/Source/timekit.c @@ -273,37 +273,33 @@ double JD2GMST(double JD) } /**********************************************************************/ -/* GPS Epoch is 6 Jan 1980 00:00:00.0 UTC which is JD = 2444244.5 UTC */ -/* GPS Time is expressed in weeks and seconds */ -/* GPS Time rolls over every 1024 weeks */ -/* This function yields JD in TT, so add (32.184+19.0) sec */ -double GpsTimeToJD(long GpsRollover, long GpsWeek, double GpsSecond) -{ - double DaysSinceWeek,DaysSinceRollover,DaysSinceEpoch,JD; - - DaysSinceWeek = GpsSecond/86400.0; - DaysSinceRollover = DaysSinceWeek + 7.0*GpsWeek; - DaysSinceEpoch = DaysSinceRollover + 7168.0*GpsRollover; - JD = DaysSinceEpoch + 2444244.5 + (32.184+19.0)/86400.0; - - return(JD); -} -/**********************************************************************/ -/* GPS Epoch is 6 Jan 1980 00:00:00.0 UTC which is JD = 2444244.5 UTC */ -/* GPS Time is expressed in weeks and seconds */ -/* GPS Time rolls over every 1024 weeks */ -/* This function requires JD in TT, so subtract (32.184+19.0) sec */ -void JDToGpsTime(double JD, long *GpsRollover, long *GpsWeek, double *GpsSecond) +/* GPS Epoch is 6 Jan 1980 00:00:00.0 UTC */ +/* which is 6 Jan 1980 00:00:19.0 TAI */ +/* J2000 is 1 Jan 2000 12:00:00.0 TT */ +/* which is 1 Jan 2000 11:59:27.816 TAI */ +/* so J2000-GPS epoch is 7300.5 days minus (19+32.184) sec */ +void GpsTimeToGpsDate(double GpsTime, long *GpsRollover, long *GpsWeek, + double *GpsSecond) { double DaysSinceEpoch, DaysSinceRollover, DaysSinceWeek; - DaysSinceEpoch = JD - 2444244.5 - (32.184+19.0)/86400.0; + DaysSinceEpoch = 7300.5 + GpsTime/86400.0; *GpsRollover = (long) (DaysSinceEpoch/7168.0); DaysSinceRollover = DaysSinceEpoch - 7168.0*((double) *GpsRollover); *GpsWeek = (long) (DaysSinceRollover/7.0); DaysSinceWeek = DaysSinceRollover - 7.0*((double) *GpsWeek); *GpsSecond = DaysSinceWeek*86400.0; } +/**********************************************************************/ +/* GPS Epoch is 6 Jan 1980 00:00:00.0 UTC */ +/* which is 6 Jan 1980 00:00:19.0 TAI */ +/* J2000 is 1 Jan 2000 12:00:00.0 TT */ +/* which is 1 Jan 2000 11:59:27.816 TAI */ +/* so J2000-GPS epoch is 7300.5 days minus (19+32.184) sec */ +double GpsDateToGpsTime(long GpsRollover, long GpsWeek, double GpsSecond) +{ + return(((GpsRollover*1024.0+GpsWeek)*7.0-7300.5)*86400.0+GpsSecond); +} /**********************************************************************/ /* This function returns the number of microseconds since the Unix */ diff --git a/Source/42exec.c b/Source/42exec.c index 9836501f..697f6172 100755 --- a/Source/42exec.c +++ b/Source/42exec.c @@ -101,7 +101,7 @@ long AdvanceTime(void) &UTC.Hour,&UTC.Minute,&UTC.Second,DTSIM); UTC.doy = MD2DOY(UTC.Year,UTC.Month,UTC.Day); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); break; case REAL_TIME : @@ -125,7 +125,7 @@ long AdvanceTime(void) &UTC.Hour,&UTC.Minute,&UTC.Second,DTSIM); UTC.doy = MD2DOY(UTC.Year,UTC.Month,UTC.Day); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); break; case EXTERNAL_TIME : @@ -143,6 +143,7 @@ long AdvanceTime(void) UTC.Hour,UTC.Minute,UTC.Second); AtomicTime = CivilTime + LeapSec; DynTime = AtomicTime + 32.184; + GpsTime = AtomicTime - 19.0; TT.JulDay = TimeToJD(DynTime); TimeToDate(DynTime,&TT.Year,&TT.Month,&TT.Day, @@ -152,7 +153,7 @@ long AdvanceTime(void) UTC.JulDay = TimeToJD(CivilTime); UTC.doy = MD2DOY(UTC.Year,UTC.Month,UTC.Day); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); DynTime0 = DynTime - SimTime; break; @@ -163,6 +164,7 @@ long AdvanceTime(void) UTC.Hour,UTC.Minute,UTC.Second); AtomicTime = CivilTime + LeapSec; DynTime = AtomicTime + 32.184; + GpsTime = AtomicTime - 19.0; TT.JulDay = TimeToJD(DynTime); TimeToDate(DynTime,&TT.Year,&TT.Month,&TT.Day, @@ -172,7 +174,7 @@ long AdvanceTime(void) UTC.JulDay = TimeToJD(CivilTime); UTC.doy = MD2DOY(UTC.Year,UTC.Month,UTC.Day); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); SimTime = DynTime - DynTime0; break; } diff --git a/Source/42init.c b/Source/42init.c index 3c8d11f1..f0035e42 100755 --- a/Source/42init.c +++ b/Source/42init.c @@ -4549,7 +4549,7 @@ void InitSim(int argc, char **argv) UTC.JulDay = TimeToJD(CivilTime); UTC.doy = MD2DOY(UTC.Year,UTC.Month,UTC.Day); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); /* .. Load Sun and Planets */ LoadSun(); diff --git a/Source/IPC/AppWriteToFile.c b/Source/IPC/AppWriteToFile.c index 7c4343d4..35544f6f 100644 --- a/Source/IPC/AppWriteToFile.c +++ b/Source/IPC/AppWriteToFile.c @@ -83,6 +83,12 @@ void WriteToFile(FILE *StateFile, struct AcType *AC) fprintf(StateFile,"%s",line); if (AC->EchoEnabled) printf("%s",line); + sprintf(line,"SC[%ld].AC.Thr[%ld].ThrustLevelCmd = %18.12le\n", + Isc,i, + AC->Thr[i].ThrustLevelCmd); + fprintf(StateFile,"%s",line); + if (AC->EchoEnabled) printf("%s",line); + } sprintf(line,"SC[%ld].AC.Cmd.AngRate = %18.12le %18.12le %18.12le\n", diff --git a/Source/IPC/AppWriteToSocket.c b/Source/IPC/AppWriteToSocket.c index 5a7c3f98..94fd77c1 100644 --- a/Source/IPC/AppWriteToSocket.c +++ b/Source/IPC/AppWriteToSocket.c @@ -103,6 +103,14 @@ void WriteToSocket(SOCKET Socket, struct AcType *AC) MsgLen += LineLen; if (AC->EchoEnabled) printf("%s",line); + sprintf(line,"SC[%ld].AC.Thr[%ld].ThrustLevelCmd = %18.12le\n", + Isc,i, + AC->Thr[i].ThrustLevelCmd); + LineLen = strlen(line); + memcpy(&Msg[MsgLen],line,LineLen); + MsgLen += LineLen; + if (AC->EchoEnabled) printf("%s",line); + } sprintf(line,"SC[%ld].AC.Cmd.AngRate = %18.12le %18.12le %18.12le\n", diff --git a/Source/IPC/SimReadFromCmd.c b/Source/IPC/SimReadFromCmd.c index 8592965b..ce8fe030 100644 --- a/Source/IPC/SimReadFromCmd.c +++ b/Source/IPC/SimReadFromCmd.c @@ -177,6 +177,12 @@ void ReadFromCmd(void) SC[Isc].AC.Thr[i].PulseWidthCmd = DbleVal[0]; } + if (sscanf(line,"SC[%ld].AC.Thr[%ld].ThrustLevelCmd = %le", + &Isc,&i, + &DbleVal[0]) == 3) { + SC[Isc].AC.Thr[i].ThrustLevelCmd = DbleVal[0]; + } + if (sscanf(line,"SC[%ld].AC.Cmd.AngRate = %le %le %le", &Isc, &DbleVal[0], @@ -1224,13 +1230,14 @@ void ReadFromCmd(void) DOY2MD(UTC.Year,UTC.doy,&UTC.Month,&UTC.Day); CivilTime = DateToTime(UTC.Year,UTC.Month,UTC.Day,UTC.Hour,UTC.Minute,UTC.Second); AtomicTime = CivilTime + LeapSec; + GpsTime = AtomicTime - 19.0; DynTime = AtomicTime + 32.184; TT.JulDay = TimeToJD(DynTime); TimeToDate(DynTime,&TT.Year,&TT.Month,&TT.Day, &TT.Hour,&TT.Minute,&TT.Second,DTSIM); TT.doy = MD2DOY(TT.Year,TT.Month,TT.Day); UTC.JulDay = TimeToJD(CivilTime); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); SimTime = DynTime-DynTime0; } diff --git a/Source/IPC/SimReadFromFile.c b/Source/IPC/SimReadFromFile.c index 7f90a9d8..92ede404 100644 --- a/Source/IPC/SimReadFromFile.c +++ b/Source/IPC/SimReadFromFile.c @@ -154,6 +154,12 @@ void ReadFromFile(FILE *StateFile, long EchoEnabled) SC[Isc].AC.Thr[i].PulseWidthCmd = DbleVal[0]; } + if (sscanf(line,"SC[%ld].AC.Thr[%ld].ThrustLevelCmd = %le", + &Isc,&i, + &DbleVal[0]) == 3) { + SC[Isc].AC.Thr[i].ThrustLevelCmd = DbleVal[0]; + } + if (sscanf(line,"SC[%ld].AC.Cmd.AngRate = %le %le %le", &Isc, &DbleVal[0], @@ -1177,13 +1183,14 @@ void ReadFromFile(FILE *StateFile, long EchoEnabled) DOY2MD(UTC.Year,UTC.doy,&UTC.Month,&UTC.Day); CivilTime = DateToTime(UTC.Year,UTC.Month,UTC.Day,UTC.Hour,UTC.Minute,UTC.Second); AtomicTime = CivilTime + LeapSec; + GpsTime = AtomicTime - 19.0; DynTime = AtomicTime + 32.184; TT.JulDay = TimeToJD(DynTime); TimeToDate(DynTime,&TT.Year,&TT.Month,&TT.Day, &TT.Hour,&TT.Minute,&TT.Second,DTSIM); TT.doy = MD2DOY(TT.Year,TT.Month,TT.Day); UTC.JulDay = TimeToJD(CivilTime); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); SimTime = DynTime-DynTime0; } diff --git a/Source/IPC/SimReadFromGmsec.c b/Source/IPC/SimReadFromGmsec.c index 604f6fc4..38668290 100644 --- a/Source/IPC/SimReadFromGmsec.c +++ b/Source/IPC/SimReadFromGmsec.c @@ -174,6 +174,12 @@ void ReadFromGmsec(GMSEC_ConnectionMgr ConnMgr,GMSEC_Status status, long EchoEna SC[Isc].AC.Thr[i].PulseWidthCmd = DbleVal[0]; } + if (sscanf(line,"SC[%ld].AC.Thr[%ld].ThrustLevelCmd = %le", + &Isc,&i, + &DbleVal[0]) == 3) { + SC[Isc].AC.Thr[i].ThrustLevelCmd = DbleVal[0]; + } + if (sscanf(line,"SC[%ld].AC.Cmd.AngRate = %le %le %le", &Isc, &DbleVal[0], @@ -1201,13 +1207,14 @@ void ReadFromGmsec(GMSEC_ConnectionMgr ConnMgr,GMSEC_Status status, long EchoEna DOY2MD(UTC.Year,UTC.doy,&UTC.Month,&UTC.Day); CivilTime = DateToTime(UTC.Year,UTC.Month,UTC.Day,UTC.Hour,UTC.Minute,UTC.Second); AtomicTime = CivilTime + LeapSec; + GpsTime = AtomicTime - 19.0; DynTime = AtomicTime + 32.184; TT.JulDay = TimeToJD(DynTime); TimeToDate(DynTime,&TT.Year,&TT.Month,&TT.Day, &TT.Hour,&TT.Minute,&TT.Second,DTSIM); TT.doy = MD2DOY(TT.Year,TT.Month,TT.Day); UTC.JulDay = TimeToJD(CivilTime); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); SimTime = DynTime-DynTime0; } diff --git a/Source/IPC/SimReadFromSocket.c b/Source/IPC/SimReadFromSocket.c index 287b2a41..b2827a3b 100644 --- a/Source/IPC/SimReadFromSocket.c +++ b/Source/IPC/SimReadFromSocket.c @@ -170,6 +170,12 @@ void ReadFromSocket(SOCKET Socket, long EchoEnabled) SC[Isc].AC.Thr[i].PulseWidthCmd = DbleVal[0]; } + if (sscanf(line,"SC[%ld].AC.Thr[%ld].ThrustLevelCmd = %le", + &Isc,&i, + &DbleVal[0]) == 3) { + SC[Isc].AC.Thr[i].ThrustLevelCmd = DbleVal[0]; + } + if (sscanf(line,"SC[%ld].AC.Cmd.AngRate = %le %le %le", &Isc, &DbleVal[0], @@ -1200,13 +1206,14 @@ void ReadFromSocket(SOCKET Socket, long EchoEnabled) DOY2MD(UTC.Year,UTC.doy,&UTC.Month,&UTC.Day); CivilTime = DateToTime(UTC.Year,UTC.Month,UTC.Day,UTC.Hour,UTC.Minute,UTC.Second); AtomicTime = CivilTime + LeapSec; + GpsTime = AtomicTime - 19.0; DynTime = AtomicTime + 32.184; TT.JulDay = TimeToJD(DynTime); TimeToDate(DynTime,&TT.Year,&TT.Month,&TT.Day, &TT.Hour,&TT.Minute,&TT.Second,DTSIM); TT.doy = MD2DOY(TT.Year,TT.Month,TT.Day); UTC.JulDay = TimeToJD(CivilTime); - JDToGpsTime(TT.JulDay,&GpsRollover,&GpsWeek,&GpsSecond); + GpsTimeToGpsDate(GpsTime,&GpsRollover,&GpsWeek,&GpsSecond); SimTime = DynTime-DynTime0; }