Hello @leoghizoni,
I’ll try to answer your questions :
- Indeed, both objects should not run in a propagator parallelizer to avoid recursive call of each other propagate method. The best way is to either use an analytical propagator for both or, and this is the most generic way, to compute and save their ephemeris beforehand.
- Following 1/, the generated ephemeris will be a
BoundedPropagatorwhich itself extendsPropagatorwhich again, extendsPVCoordinatesProvider. Hence you’ll simply use previously computed ephemeris as input. - You’ll have to modify your code according to points 1/ and 2/ but you didn’t make any obvious mistake i think.
- To do so, you’ll have to project the position of the slave satellite on a plane which origin will be the camera, with its normal vector being colinear to the camera direction.
Hope that my answers were understandable
.
EDIT:
Forgot to say for 4/ that you can do it in a custom step handler to save these coordinates
Cheers,
Vincent