public class TwoSpinBiasSlewComputer extends Object implements Serializable
Class for two spin bias slew computation. Computation of slew returns a TabulatedSlew
.
The two spin bias slew computes the attitude of the satellite from initial and final attitude laws, the parameters of
the two angular velocity fields, plus the time step as well as the stabilization margin.
The angular velocity depends on the value of the slew angle.
Like all the other attitude legs, its interval of validity has closed endpoints.
Constructor and Description |
---|
TwoSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxIn,
double tauIn,
double epsInRall,
double omegaHigh,
double thetaSwitch,
double epsOutRall,
double omegaLow,
double tStab)
Constructor.
|
TwoSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxIn,
double tauIn,
double epsInRall,
double omegaHigh,
double thetaSwitch,
double epsOutRall,
double omegaLow,
double tStab,
String natureIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TabulatedSlew |
compute(PVCoordinatesProvider pvProv,
AttitudeProvider initialLaw,
AbsoluteDate initialDate,
AttitudeProvider finalLaw,
AbsoluteDate finalDate)
Compute the slew.
|
double |
computeDuration(PVCoordinatesProvider pvProv,
AttitudeProvider initialLaw,
AbsoluteDate initialDate,
AttitudeProvider finalLaw,
AbsoluteDate finalDate)
Computes the actual slew duration.
|
double |
computeMaxDuration()
Estimate the maximum duration of the slew, before computing it.
|
public TwoSpinBiasSlewComputer(double dtSCAOIn, double thetaMaxIn, double tauIn, double epsInRall, double omegaHigh, double thetaSwitch, double epsOutRall, double omegaLow, double tStab) throws PatriusException
dtSCAOIn
- (dtScao)
the time step [s].thetaMaxIn
- (angleMax)
the limit of validity of the maneuver amplitude [rad].tauIn
- (τ)
the time constant of the filter [s].epsInRall
- (seuilEntree)
initial orientation error threshold [rad].omegaHigh
- (biaisVitesse)
the high angular velocity value [rad/s].thetaSwitch
- (seuil)
the threshold for the low/high angular velocity switch [rad].epsOutRall
- (seuilSortie)
final orientation error threshold [rad].omegaLow
- (biaisVitesseBas)
the low angular velocity value [rad/s].tStab
- (margeStabilisation)
the stabilisation margin [s].PatriusException
- when the sampling step in not validpublic TwoSpinBiasSlewComputer(double dtSCAOIn, double thetaMaxIn, double tauIn, double epsInRall, double omegaHigh, double thetaSwitch, double epsOutRall, double omegaLow, double tStab, String natureIn) throws PatriusException
The two spin bias slew computes the attitude of the satellite from initial and final attitude laws, the
parameters of the two angular velocity fields, plus the time step as well as the stabilization margin.
The angular velocity depends on the value of the slew angle.
dtSCAOIn
- (dtScao) the time step [s].thetaMaxIn
- (angleMax) the limit of validity of the maneuver amplitude [rad].tauIn
- (τ) the time constant of the filter [s].epsInRall
- (seuilEntree) initial orientation error threshold [rad].omegaHigh
- (biaisVitesse) the high angular velocity value [rad/s].thetaSwitch
- (seuil) the threshold for the low/high angular velocity switch
[rad].epsOutRall
- (seuilSortie) final orientation error threshold [rad].omegaLow
- (biaisVitesseBas) the low angular velocity value [rad/s].tStab
- (margeStabilisation) the stabilisation margin [s].natureIn
- leg naturePatriusException
- when the sampling step in not validpublic TabulatedSlew compute(PVCoordinatesProvider pvProv, AttitudeProvider initialLaw, AbsoluteDate initialDate, AttitudeProvider finalLaw, AbsoluteDate finalDate) throws PatriusException
pvProv
- satellite PV coordinates through timeinitialLaw
- initial attitude law (before the slew)initialDate
- slew start date (may be null if slew defined with its end date)finalLaw
- final attitude law (after the slew)finalDate
- slew end date (currently unused)PatriusException
- thrown if computation failedpublic double computeDuration(PVCoordinatesProvider pvProv, AttitudeProvider initialLaw, AbsoluteDate initialDate, AttitudeProvider finalLaw, AbsoluteDate finalDate) throws PatriusException
pvProv
- the PV coordinates providerinitialLaw
- initial attitude law (before the slew)initialDate
- slew start date (may be null if slew defined with its end date)finalLaw
- final attitude law (after the slew)finalDate
- slew end date (currently unused)PatriusException
- when an error occurs during attitudes computationpublic double computeMaxDuration()
Copyright © 2021 CNES. All rights reserved.