...
Below is a current simplified diagram representing the Attitude subsystem.
We will now discuss how to add an additional Attitude model to the GMAT code.
...
- if you have added user-settable fields, define the PARAMETER_TEXT and PARAMETER_TYPE arrays
- if you have added static const constants, define them
- implement the default constructor, copy constructor, operator=, and destructor. At a minimum, the paramCount and objectTypeNames must be set in the default constructor, e.g.
- ensure that your copy constructor and operator= handle the new data correctly
- implement the Initialize and Clone methods
- implement methods you added to the class
- implement the parameter and object access methods
- implement the required protected method, ComputeCosineMatrixAndAngularVelocity method
...
Step 6: Inspect the Attitude Panel for needed mods
...
You will
...
need to make mods to the Attitude tab of the Spacecraft panel to add/hide data specific to your model, at least in the Create and DisplayDataForModel methods.
Currently, the Attitude tab on the Spacecraft panel looks like this:
...