Module: dualHingedRigidBodyStateEffector¶
Class to represent a solar array of two panels. The first panel is hinged on a single axis to the spacecraft body. The second panel is hinged to the first panel by a parallel axis on the opposite end of the first panel from the spacecraft body.) The module PDF Module Description
contains further information on this module’s function, how to run it, as well as testing.
-
class
DualHingedRigidBodyStateEffector
: public StateEffector, public SysModel¶ Public Functions
-
DualHingedRigidBodyStateEffector
()¶
-
~DualHingedRigidBodyStateEffector
()¶
-
void
registerStates
(DynParamManager &statesIn)¶
-
void
linkInStates
(DynParamManager &states)¶
-
void
updateEffectorMassProps
(double integTime)¶
-
void
updateContributions
(double integTime, BackSubMatrices &backSubContr, Eigen::Vector3d sigma_BN, Eigen::Vector3d omega_BN_B, Eigen::Vector3d g_N)¶ Back-sub contributions
Public Members
-
double
mass1
¶ [kg] mass of 1st hinged rigid body
-
double
mass2
¶ [kg] mass of 2nd hinged rigid body
-
double
d1
¶ [m] distance from hinge point to hinged rigid body center of mass
-
double
d2
¶ [m] distance from hinge point to hinged rigid body center of mass
-
double
l1
¶ [m] distance from hinge point to hinged rigid body center of mass
-
double
l2
¶ [m] distance from hinge point to hinged rigid body center of mass
-
double
k1
¶ [N-m/rad] torsional spring constant of hinge
-
double
k2
¶ [N-m/rad] torsional spring constant of hinge
-
double
c1
¶ [N-m-s/rad] rotational damping coefficient of hinge
-
double
c2
¶ [N-m-s/rad] rotational damping coefficient of hinge
-
double
theta1Init
¶ [rad] Initial hinged rigid body angle for first panel
-
double
theta1DotInit
¶ [rad/s] Initial hinged rigid body angle rate for first panel
-
double
theta2Init
¶ [rad] Initial hinged rigid body angle for second panel
-
double
theta2DotInit
¶ [rad/s] Initial hinged rigid body angle rate for second panel
-
Eigen::Matrix3d
IPntS1_S1
¶ [kg-m^2] Inertia of hinged rigid body about point S in S frame components
-
Eigen::Matrix3d
IPntS2_S2
¶ [kg-m^2] Inertia of hinged rigid body about point S in S frame components
-
double
thetaH2S1
¶ [-] theta offset of H2 frame with respect to S1 frame
-
std::string
nameOfTheta1State
¶ [-] Identifier for the theta state data container
-
std::string
nameOfTheta1DotState
¶ [-] Identifier for the thetaDot state data container
-
std::string
nameOfTheta2State
¶ [-] Identifier for the theta state data container
-
std::string
nameOfTheta2DotState
¶ [-] Identifier for the thetaDot state data container
Private Members
-
Eigen::Vector3d
rS1B_B
¶ [-] Vector pointing from body origin to CoM of hinged rigid body in B frame comp
-
Eigen::Vector3d
rS2B_B
¶ [-] Vector pointing from body origin to CoM of hinged rigid body in B frame comp
-
double
theta1
¶ [rad] hinged rigid body angle
-
double
theta1Dot
¶ [rad/s] hinged rigid body angle rate
-
double
theta2
¶ [rad] hinged rigid body angle
-
double
theta2Dot
¶ [rad/s] hinged rigid body angle rate
-