Hi all,
I want to use the PredicateFilter in Matlab.
Unfortunatelly the predicate is not accepted
curstate = propagate(initialState.getDate().shiftedBy(86400*5));
trigger_aps = ApsideDetector(initialOrbit);
trigger_apo = trigger_aps.withHandler(StopOnDecreasing); % chnage to stop at apogee
predicate = propagator.getInitialState.getDate.isBefore(curstate.getDate.shiftedBy(60*60));
apo_trigger = EventEnablingPredicateFilter(trigger_apo,true);
Error:
No constructor 'org.orekit.propagation.events.EventEnablingPredicateFilter' with
matching signature found.
How would I set the predicate on Matlab site correctly?
The variable “predicate” carries a boolean after initialization. So the statement itself works.
However I want to pass it to the EventEnablingPredicateFilter.
Cheers!