FSailGuidance:
--------------------------------------------------------------------------
Right-hand-side for sail with fixed cone and clock angles (McInnes).
Point mass gravity model. Calls AnglesMcInnesToU and, optionally,
LocallyOptimalTraj for guidance. Assumes a heliocentric orbit.
The default mu is the Sun. Can be called from RK45 or ode113.
Since version 7.
--------------------------------------------------------------------------
Form:
xDot = FSailGuidance( t, x, a0, cone, clock, mu, d )
xDot = FSailGuidance( x, t, a0, cone, clock, mu, d ) RK45 format
--------------------------------------------------------------------------
------
Inputs
------
t (1,1) Time
x (6,1) States [r;v]
a0 (1,1) Characteristic acceleration
cone (1,1) Cone angle
clock (1,1) Clock angle
mu (1,1)
d (:) Optional data structure for LocallyOptimalTraj.
.type (:) string name of type
.dirFlag (1,1) Either +/-1
-------
Outputs
-------
xDot (6,1) State derivatives d[r;v]/dt
--------------------------------------------------------------------------
Children:
Sail: Coordinates/AnglesMcInnesToU
Sail: Guidance/LocallyOptimalTraj