Class in Zendir.Classes | Inherits from Software

Declaration

class SunSafePointingSoftware;

Description

This module provides the attitude guidance output for a sun pointing mode. This is used for safe mode, or a power generation mode. The input is the sun direction vector which does not have to be normalized, as well as the body rate information. The output is the standard attitude reference state message. The sun direction measurement is cross with the desired body axis that is to point at the sun to create a principle rotation vector. The dot product between these two vectors is used to extract the principal rotation angle. With these a tracking error MRP state is computer. The body rate tracking errors relative to the reference frame are set equal to the measured body rates to bring the vehicle to rest when pointing at the sun. Thus, the reference angular rate and acceleration vectors relative to the inertial frame are nominally set to zero. If the sun vector is not available, then the reference rate is set to a body-fixed value while the attitude tracking error is set to zero.


Properties

DeclaredDescription
In_NavigationAttitudeMsgInput body attitude (estimation)
In_SunDirectionMsgInput sun position (estimation)
MinUnitMag[-] The minimally acceptable norm of sun body vector
Omega_RN_B[r/s] Desired body rate vector if no sun direction is available
Out_AttitudeErrorMsgfor the outgoing body estimate message
Out_AttitudeReferenceMsgFor the outgoing body attitude reference message
SmallAngle[rad] An angle value that specifies what is near 0 or 180 degrees
SunAxisSpinRate[r/s] Desired constant spin rate about sun heading vector
SunBodyVector[-] Desired body vector to point at the sun
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object (if any).

Methods

InheritedDescription
DestroyRemoves the current object from the simulation.
DisableDisable the software componentDerived classes should clear any output messages
EnableEnable the software component
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.