You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gmat-de...@lists.sourceforge.net
Greetings,
I am trying to run the sample script "Ex_R2020a_CelestialBodyRendezvous_Mars.script". But I am getting these errors. How to solve it ? I am also attaching the script file with it.
Interpreting scripts from the file. ***** file: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script 1: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "emtgThrustModel". The "EMTGSpacecraft" is an unknown object type or invalid object name or dimension in line: " 160: Create EMTGSpacecraft emtgThrustModel;"
5: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "PCDynConfig". The "DynamicsConfiguration" is an unknown object type or invalid object name or dimension in line: " 169: Create DynamicsConfiguration PCDynConfig;"
10: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "PCLaunchGuess". The "OptimalControlGuess" is an unknown object type or invalid object name or dimension in line: " 178: Create OptimalControlGuess PCLaunchGuess;"
15: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "phase_LAUNCH". The "Phase" is an unknown object type or invalid object name or dimension in line: " 189: Create Phase phase_LAUNCH;"
26: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot find LHS object named "phase_LAUNCH" in line: " 200: GMAT phase_LAUNCH.EpochLowerBound = '29000'; % Set bounds huge +/- your launch and make identical for all phases"
37: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "transferGuess". The "OptimalControlGuess" is an unknown object type or invalid object name or dimension in line: " 215: Create OptimalControlGuess transferGuess;"
42: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "thrustToArrival". The "Phase" is an unknown object type or invalid object name or dimension in line: " 225: Create Phase thrustToArrival;"
64: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "MarsRendezvous". The "OptimalControlFunction" is an unknown object type or invalid object name or dimension in line: " 248: Create OptimalControlFunction MarsRendezvous;"
68: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Found invalid function or command name "MarsRendezvous.SetModelParameter" in line: " 252: GMAT MarsRendezvous.SetModelParameter('CelestialBody', 'Mars');"
69: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "duration_LAUNCH". The "CustomLinkageConstraint" is an unknown object type or invalid object name or dimension in line: " 257: Create CustomLinkageConstraint duration_LAUNCH;"
75: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: "" is not a valid LHS of assignment in line: " 263: GMAT duration_LAUNCH.SetModelParameter('TimeLowerBound', 'ElapsedDays', 5); %LowerBounds = [432000]; % 5 days * 86400 seconds"
76: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: "" is not a valid LHS of assignment in line: " 264: GMAT duration_LAUNCH.SetModelParameter('TimeUpperBound', 'ElapsedDays', 5); %UpperBounds = [432000];"
77: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "launchBound". The "OptimalControlFunction" is an unknown object type or invalid object name or dimension in line: " 271: Create OptimalControlFunction launchBound;"
81: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Found invalid function or command name "launchBound.SetModelParameter" in line: " 275: GMAT launchBound.SetModelParameter(VehicleName, Atlas_V_401);"
82: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Found invalid function or command name "launchBound.SetModelParameter" in line: " 276: GMAT launchBound.SetModelParameter(CentralBody, Earth);"
83: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Found invalid function or command name "launchBound.SetModelParameter" in line: " 277: GMAT launchBound.SetModelParameter(EMTGLaunchVehicleOptionsFile, ../data/emtg/NLSII_August2018_Augmented.emtg_launchvehicleopt);"
84: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Cannot create an object "traj". The "Trajectory" is an unknown object type or invalid object name or dimension in line: " 281: Create Trajectory traj;"
104: D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script: **** ERROR **** Interpreter Exception: Found invalid function or command name "Collocate traj" in line: " 307: Collocate traj"
======================================== Errors were found in the script named "D:\Vbox Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script". Please fix all errors listed in message window.
Sincerely, Tamas Pal Mollarpur Kamar Para Village/Town and Post - Mallarpur