% Create spacecraft and put it at the libration point
Create Spacecraft libSat
libSat.CoordinateSystem = libCS
libSat.X = 0;
libSat.Y = 0;
libSat.Z = 0;
libSat.VX = 0;
libSat.VY = 0;
libSat.VZ = 0;
% Create libration point centered coordinate system
Create LibrationPoint LibPointL2
Create CoordinateSystem libCS
libCS.Origin = LibPointL2
Create ReportFile rf
BeginMissionSequence
Report rf libSat.EarthMJ2000Eq.X libSat.EarthMJ2000Eq.Y libSat.EarthMJ2000Eq.Z libSat.EarthMJ2000Eq.VX libSat.EarthMJ2000Eq.VY libSat.EarthMJ2000Eq.VZ
Users browsing this forum: No registered users and 2 guests