Detecting Eclipse after a certain Date

Hello,

I have been trying to simulate some satellite trajectories and apply some impulsive maneuvers based on a list of dates when to realize them. Then, I wanted to find a way to shift those maneuvers to the nearest (nearest to the realization date of the maneuver) sunlight arc entry (Or let’s say the next one to begin with). However, I’m not sure how to proceed.

I was thinking of using the EventShifter class but it seems inapropriate for this specific use. So I was wondering if I should create a custom event based on the DateDetector and the EclipseDetector but I’m not sure how to do that. I’d be glad if anyone could suggest me any tip to do what I want. Thanks !

Nevermind, found the EventEnablingPredicateFilter and was able to do what I wanted.

Good to know @AVades !
Sorry we could not help you on time.

1 Like