Class ParamState¶
Defined in File params.h
Inheritance Relationships¶
Base Type¶
public lupnt::State(Class State)
Class Documentation¶
-
class ParamState : public lupnt::State¶
Labeled vector of “extra” dynamics parameters (e.g. SRP/drag coefficients, integer ambiguities) carried alongside a primary
State, always expressed in frame MOON_CI.ParamStateis the parameter container threaded throughDynamics::GetParams/Dynamics::SetParamsandDynamics::PropagateWithParams, and is concatenated across sub-states byJointState::Add/JointState::GetParamsso the EKF/UKF/batch filters can estimate, consider, or fix these parameters alongside the orbit/clock state.Public Functions
-
inline ParamState()¶
Construct an empty parameter state (type
Params, frame MOON_CI).
-
inline ParamState(int n)¶
Construct a zero-initialized parameter state of length
n(typeParams, frame MOON_CI), with placeholder names/units.- Parameters:
n – Number of parameters.
-
inline ParamState(const VecX &x, std::vector<std::string> names)¶
Construct a parameter state from values and names, inferring units from the known parameter names (see GetParamUnits).
Used e.g. by
NumericalOrbitDynamics::GetParamsto build the default{"bcoeff_srp", "bcoeff_drag"}parameter state.- Parameters:
x – Parameter values.
names – Parameter names (same length as
x), e.g."bcoeff_srp","bcoeff_drag","IntegerAmbiguity".
-
inline ParamState(const VecX &x, std::vector<std::string> names, std::vector<std::string> units)¶
Construct a parameter state from values, names, and explicit units.
Used by
Dynamics::PropagateWithParamsto rebuild aParamStateafter propagation, preserving the original parameter names/units.- Parameters:
x – Parameter values.
names – Parameter names (same length as
x).units – Parameter unit strings (same length as
x).
-
inline ParamState()¶