Add static method to create an event detector that would be activated or deactivated through another event detector
Hi everyone,
After discussing with @Jasquier, we thought that a simple but yet very useful feature could be added to Orekit.
The idea would be to add static methods to EventEnablingPredicateFilter
to easily create a detector that would be linked to another detector. For example :
newDetector = EventEnablingPredicateFilter.activateEventIfEventIsDetected(eventDetectorToActivate, otherEventDetector)
or
newDetector = EventEnablingPredicateFilter.deactivateEventIfEventIsDetected(eventDetectorToDeactivate, otherEventDetector)
This would allow for very interesting and computationally efficient uses such as linking maneuvers with each other so that the propagator would not check all maneuver triggers but only the one of the next maneuver.
Cheers, Vincent
Edited by Vincent CUCCHIETTI