BSK_MujocoFSW

class BSK_MujocoFSW.BSKMujocoFSWModels(SimBase, fswRate)[source]

Bases: object

Defines the bskSim FSW class

InitAllFSWObjects(SimBase)[source]

Initialize all FSW objects in the simulation

SetAttError()[source]

Define the attitude tracking error module

SetHingedJointArrayMotor(SimBase)[source]

Define the hinged joint array motor module

SetInertial3D()[source]

Defined the inertial 3D guidance module

SetInertialCartFeedback()[source]

Define the inertial cart feedback module

SetJointMotionCompensator(SimBase)[source]

Define the joint motion compensator module

SetJointThrAllocation(SimBase)[source]

Define the joint and thruster allocation module

SetMrpFeedback()[source]

Define the MRP feedback module

SetNavConverter()[source]

Define the nav converter module

SetStateMerge(SimBase)[source]

Define the state merge module

SetThrArmConfig()[source]

Set the thruster arm configuration information

SetThrFiringRound()[source]

Define the thruster firing logic module

SetThrJointCompensation(SimBase)[source]

Define the thruster-joint compensation module

SetThrOnTimeToForce()[source]

Define the thruster on-time to force conversion module

SetTransRef()[source]

Set the translational reference state information

SetVehicleConfiguration()[source]

Set the spacecraft configuration information

setupGatewayMsgs(SimBase)[source]

create stand-alone actuator gateway messages such that different modules can write this message (or it can be left as zero) and provide a common input message for the mujoco actuators

wrapAngle(angle)[source]

Helper function to wrap angles to the range [-pi, pi]