public final class AngularMomentumExcessDetector extends AbstractDetector
EventDetector.ActionactionAtEntry, actionAtExit, DEFAULT_MAXCHECK, DEFAULT_MAXITER, DEFAULT_THRESHOLD, removeAtEntry, removeAtExit, shouldBeRemovedFlagDECREASING, INCREASING, INCREASING_DECREASING| Constructor and Description |
|---|
AngularMomentumExcessDetector(double momentum,
Frame inertial,
int slopeSelectionIn)
Constructor for an AngularMomentumExcessDetector instance.
|
AngularMomentumExcessDetector(double momentum,
Frame inertial,
int slopeSelectionIn,
double maxCheck,
double threshold)
Constructor for an AngularMomentumExcessDetector instance with complementary parameters.
|
AngularMomentumExcessDetector(double momentum,
Frame inertial,
int slopeSelectionIn,
double maxCheck,
double threshold,
EventDetector.Action ascending,
EventDetector.Action descending)
Constructor for an AngularMomentumExcessDetector instance with complementary parameters.
|
| Modifier and Type | Method and Description |
|---|---|
EventDetector |
copy()
A copy of the detector.
|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle an angular momentum excess event and choose what to do next.
|
double |
g(SpacecraftState s)
Compute the value of the switching function.
|
void |
setAttitudeRepresentedFrame(Frame frame)
Define the frame represented by the attitude law
|
void |
setInertia(RealMatrix inertia,
Frame frame)
Define the inertia matrix (from CoM and in vehicle axis)
|
filterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIter, shouldBeRemovedpublic AngularMomentumExcessDetector(double momentum,
Frame inertial,
int slopeSelectionIn)
momentum - angular momentum value triggering the event.inertial - frame with respect to which the w is to be computedslopeSelectionIn - g-function slope selection (0, 1, or 2)PositionAnglepublic AngularMomentumExcessDetector(double momentum,
Frame inertial,
int slopeSelectionIn,
double maxCheck,
double threshold)
momentum - AOL value triggering the event.inertial - equator with respect to which the AOL is to be computedslopeSelectionIn - g-function slope selection (0, 1, or 2)maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)public AngularMomentumExcessDetector(double momentum,
Frame inertial,
int slopeSelectionIn,
double maxCheck,
double threshold,
EventDetector.Action ascending,
EventDetector.Action descending)
momentum - momentum excess value triggering the event.inertial - inertial frame wrt the angular velocity is computedslopeSelectionIn - g-function slope selection (0, 1, or 2)maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)ascending - action performed when ascendingdescending - action performed when descendingpublic final void setInertia(RealMatrix inertia, Frame frame)
inertia - the inertia 3x3 matrix expressed in CoMframe - Framepublic final void setAttitudeRepresentedFrame(Frame frame)
frame - the attitude represented lawpublic final EventDetector.Action eventOccurred(SpacecraftState s, boolean increasing, boolean forward) throws PatriusException
eventOccurred in interface EventDetectoreventOccurred in class AbstractDetectors - the current state information : date, kinematics, attitudeincreasing - if true, the value of the switching function increases when times increases around eventforward - if true, the integration variable (time) increases during integration.PatriusException - if some specific error occurspublic final double g(SpacecraftState s) throws PatriusException
g in interface EventDetectorg in class AbstractDetectors - the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesPatriusException - if some specific error occurspublic EventDetector copy()
Copyright © 2024 CNES. All rights reserved.