Path: FormationFlying/Guidance
% Estimate the weighted cost to achieve all specified unique target states
Since version 7.
--------------------------------------------------------------------------
Usage:
costEstimate = FFEccEstimateCost( el0, xH0, teamGoals, memID, window, weight, nSPO );
--------------------------------------------------------------------------
------
Inputs
------
el0 (1,6) Initial elements of reference orbit [a,i,W,w,e,M]
xH0 (6,1) Initial relative state in Hills frame
teamGoals (.) Team goals data structure defining desired relative motion for team
memID (1) Unique member ID
window (1) Time window data structure
weight (1) Scalar weight to be applied to all costs for this spacecraft
nSPO (1) Number of samples to use per orbit for LP algorithm
-------
Outputs
-------
costEstimate (.) Data structure including weighted cost to achieve
all specified unique target states.
nuOpt (M) True anomaly at maneuver end time corresponding to
the minimum cost solution. One for each fixed state.
--------------------------------------------------------------------------