Enum nyx_space::dynamics::NyxError [−][src]
pub enum NyxError {
Show 39 variants
SingularStateTransitionMatrix,
FuelExhausted(Box<Spacecraft>),
ConditionNeverTriggered,
UnsufficientTriggers(usize, usize),
MaxIterReached(String),
EventNotInEpochBraket(String, String),
StateTransitionMatrixUnset,
SensitivityNotUpdated,
SingularKalmanGain,
SingularCovarianceMatrix,
SingularJacobian,
TargetsTooClose,
LambertNotReasonablePhi,
LambertMultiRevNotSupported,
PartialsUndefined,
ParameterUnavailableForType,
LoadingError(String),
FileUnreadable(String),
ObjectNotFound(String),
NoInterpolationData(String),
InvalidInterpolationData(String),
OutOfInterpolationWindow(String),
NoStateData(String),
DisjointFrameOrientations(String, String),
CtrlExistsButNoThrusterAvail,
CtrlNotAUnitVector(f64),
CtrlThrottleRangeErr(f64),
NoObjectiveDefined,
ExportError(String),
NotHyperbolic(String),
CorrectionIneffective(String),
MonteCarlo(String),
TargetError(String),
UnderdeterminedProblem,
CCSDS(String),
MultipleShootingTargeter(usize, Box<NyxError>),
TrajectoryCreationError,
CustomError(String),
TimeError(TimeErrors),
}
Variants
SingularStateTransitionMatrix
STM is singular, check the automatic differentiation function and file a bug
FuelExhausted(Box<Spacecraft>)
Tuple Fields
0: Box<Spacecraft>
Fuel exhausted error, try running without fuel depletion, and then adding it. Parameter is the state at which the fuel has exhaused
ConditionNeverTriggered
Propagation event not triggered withinin the max propagation time
UnsufficientTriggers(usize, usize)
Propagation event not hit enough times (requested, found).
MaxIterReached(String)
Tuple Fields
0: String
Maximum iterations reached, value corresponds to the number of iterations used
EventNotInEpochBraket(String, String)
Event not in braket
StateTransitionMatrixUnset
The operation was expecting the state to have an STM, but it isn’t present.
SensitivityNotUpdated
The sensitivity matrix was not updated prior to requesting a filter measurement update
SingularKalmanGain
Kalman gain is singular, file a bug if this is encountered
SingularCovarianceMatrix
Covariance is singular
SingularJacobian
Jacobian of some optimization problem is singular
TargetsTooClose
LambertNotReasonablePhi
LambertMultiRevNotSupported
PartialsUndefined
Returns this error if the partials for this model are not defined, thereby preventing the computation of the STM
ParameterUnavailableForType
Returned if trying to set a parameter for something which does not have that parameter.
LoadingError(String)
Tuple Fields
0: String
FileUnreadable(String)
Tuple Fields
0: String
ObjectNotFound(String)
Tuple Fields
0: String
NoInterpolationData(String)
Tuple Fields
0: String
InvalidInterpolationData(String)
Tuple Fields
0: String
OutOfInterpolationWindow(String)
Tuple Fields
0: String
NoStateData(String)
Tuple Fields
0: String
DisjointFrameOrientations(String, String)
CtrlExistsButNoThrusterAvail
When there is a controller but there isn’t any thruster available
CtrlNotAUnitVector(f64)
Tuple Fields
0: f64
The control vector returned by a controller must be a unit vector. Use the throttle() function to specify the amount.
CtrlThrottleRangeErr(f64)
Tuple Fields
0: f64
The control throttle range must be between 0.0 and 1.0 (both included) as it represents a percentage.
NoObjectiveDefined
An objective based analysis or control was attempted, but no objective was defined.
ExportError(String)
Tuple Fields
0: String
Error when exporting data
NotHyperbolic(String)
Tuple Fields
0: String
This computation requires the orbit to be hyperbolic
CorrectionIneffective(String)
Tuple Fields
0: String
Raised if a differential corrector is not decreasing the error
MonteCarlo(String)
Tuple Fields
0: String
When there is an error during a Monte Carlo or in the conditions starting a Monte Carlo run
TargetError(String)
Tuple Fields
0: String
Raised if the variables to be adjusted lead to an over-determined of the problem for the targeter
UnderdeterminedProblem
Raised if the variables to be adjusted lead to an under-determined of the problem for the targeter
CCSDS(String)
Tuple Fields
0: String
Returned if CCSDS encountered an error
MultipleShootingTargeter(usize, Box<NyxError>)
Returned if the targeter for node_no
has failed
TrajectoryCreationError
Returned when the trajectory could not be created
CustomError(String)
Tuple Fields
0: String
Some custom error for new dynamics
TimeError(TimeErrors)
Tuple Fields
0: TimeErrors
Hifitime errors that rose upward
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NyxError
impl UnwindSafe for NyxError
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.