You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,27 +29,25 @@ Below is an example of a trajectory I propagated which performs a three-dimensio
29
29
## Code Structure
30
30
### `steering` - Steering Algorithms
31
31
This code computes the LVLH steering angle in which to point the sail. There are currently two components to the steering algorithm:
32
-
1.Lyapunov steering law - computes an optimal steering angle which decreases the control-Lyapunov potential function as quickly as possible
33
-
2.NDF Heuristic - accounts for the position of the Sun, and adapts the steering angle proposed by the Lyapunov steering law to something a solar sail can achieve. e.g. Feathering the sail if the desired pointing direction is directly toward the Sun.
32
+
1.Modified Q Law - computes an optimal steering angle which decreases the control-Lyapunov potential function as quickly as possible
33
+
2.Steering Angle Regularization - accounts for the position of the Sun, and adapts the steering angle proposed by the Lyapunov steering law to something a solar sail can achieve. e.g. Feathering the sail if the desired pointing direction is directly toward the Sun.
34
34
35
35
### `sim` - Simulator
36
-
This folder includes equations of motion, ephemerides, and propulsion models.
37
-
38
-
Currently, there are two propulsion models implemented:
39
-
1. Constant thrust - thrusts in the direction of the sail normal vector with a constant magnitude
40
-
2. Solar sail - thrusts in the direction of the sail normal vector with a magnitude dependent on cone angle
41
-
42
-
`run_mission.m` connects all of the low-level ODEs and guidance stack together.
36
+
This folder includes equations of motion, ephemerides, and propulsion models used to "operate" the guidance law.
43
37
44
38
### `postprocess` - Postprocessing Functions
45
39
Used to interpolate, plot, and summarize the results of the simulations.
46
40
47
41
### `utils` - Utility Functions
48
42
This folder includes functions for converting between coordinate frames, computing orbital elements, and other miscellaneous functions.
49
43
44
+
### `scripts` - Case Files
45
+
Various simulation cases to run.
46
+
50
47
## Usage
51
48
1. Run one of the mission cases inside `scripts`.
52
49
2. Wait for the sim to finish. Then, run `postprocess` to show plots.
50
+
3. Data will be saved to the `outputs` folder.
53
51
54
52
## Code Formatting
55
53
Code is formatted using [MBeautifier](https://github.com/davidvarga/MBeautifier).
0 commit comments