lesin - nicolob/pep-full GitHub Wiki
Type: subroutine
Defined in: lesin.f
Definition: subroutine LEsin(nstop, lname, in0, les0)
name = satellite name (les8 or les9)
imonth = month (1 to 12)
iday = day (1 to 31)
iyear = year (last two digits in 1900's, ge 100 in 2000's)
ihr = utc hour
imin = utc minute
sec = utc second
ithrst = indicate if tangential thrusters are firing
0 no firing
+1 start or middle of firing (thrust is interpolated between
tabular points with +1, or last point for interpolation
can be -1)
-1 end of firing (can only occur after a +1 has occured,
thrust is nonzero before the -1 and zero after)
thrst = thrust (millipounds)
if thrust positive, thrusters on -z2 roll face are firing
with dv in +z2 roll direction
(west face on les9, dv with orbital velocity)
(east face on les8, dv against orbital velocity)
if thrust negative, thrusters on +z2 roll face are firing
with dv in -z2 roll direction
(east face on les9, dv against orbital velocity)
(west face on les8, dv with orbital velocity)
note: les8 is turned upside down from les9
of1pt = offset angle about z1 pitch axis
(deg) (between -180 and +180)
of2rl = offset angle about z2 roll axis
(deg) (between -11.25 and +11.25)
funcon.inc
inodta.inc
nstop
lname
in0
les0
- ...
- ...