Distance/range event detector

Hello,
I am looking for a way to generate measurements only when a space-based observer is within a certain distance from the space-based target which it is trying to observe. I think the way to do this is to add an EventBasedScheduler to my measurement generator, but I don’t see an event detector which suits my needs. Am I going about this the best way? What event detector would you recommend I should use for this purpose?
Thank you,
Erin

Hi,

A RelativeDistanceDetector exists on the develop branch.
You can copy paste the code I guess.

Cheers,
Romain.

Or we can also release 12.1 soon :wink:

Release elves might get to work soon :gift:

1 Like

Awesome! It seems to work great. I can’t wait for the release, but this works in the mean time.