PL1

Add distance and pointing angles

The trajectory should provide an easy way to compute the distance and the angle between one of the spacecraft axis and a target body:

traj.target_distance('JUPITER', unit='AU')
traj.target_angle('JUPITER', axis='+Z')

This should allow the user to perform this type of plot: image

The pointed target does not require to be the same as the primary target.

In both cases, we need to compute the sc -> target position vector in J2000 frame. This value should be cached internally to avoid to compute it multiple times.

Edited Apr 08, 2022 by benoit seignovert
Assignee Loading
Time tracking Loading

Provided with 鉂わ笍 by esait | 馃摐 Terms of Service | 馃搳 Live metrics | 馃摑 Our Documentation | 馃挰 Need assistance? esait.service.desk@esa.int