[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orekit Users] Issue with EventState/Propagator/Elevation Detector - HELP!!



Update-

Well, this was mostly my fault. I did not understand the order of events in
the Propagator and detection sequence. There does not seem to be any mechanism
to record the elevation at the critical times event ElevationDetector events
are detected, although they are close to the set threshold. The
EventState.evaluateStep method finds the critical time (e.g., when the
elevation rises above or falls below the critical inclination) and records it
in pendingEventTime/getEventDate(). However, the actual elevation at that time
is not recorded.

Another issue is what happens when the threshold is exceeded at either end of
the propagation interval. That starting or ending interval is not recorded by
the tutorial EventHandler.

In other words, if what you want is a complete list of all periods between the
current date and the propagate end date where the elevation exceeds the
threshold, the tutorial code will not do this because it does not report
intervals that include either the initial or the final propagation date. It
appears that events should be generated at the initial and final propagation
dates for any elevations exceeding the threshold.