Skip to content

Commit 79eec3d

Browse files
committed
renaming to get consistent terminology with report
1 parent fef7238 commit 79eec3d

34 files changed

+102
-45
lines changed

postprocessing/plotting/plot_quivers.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ function plot_quivers(t, y, y_target)
88
sun_dir_o = COI * sun_dir_i;
99

1010
% GNC
11-
[alpha, beta] = lyapunov_steering(t, y, y_target);
11+
[alpha, beta] = q_law(t, y, y_target);
1212

1313
n_lyapunov_o = steering2lvlh(alpha, beta);
1414

1515
% Adjust targeted steering angle if needed
16-
[alpha, beta] = ndf_heuristic(t, y, alpha, beta);
16+
[alpha, beta] = cone_adaptation(t, y, alpha, beta);
1717

1818
n_ndf_o = steering2lvlh(alpha, beta);
1919

postprocessing/plotting/plot_steering_history.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ function plot_steering_history(y, t, cfg)
1212
for j = 1:length(t)
1313
% yup this is slow, but that's the price to pay for getting rid of
1414
% explicit-ness in lyapunov steering
15-
[alpha(j), beta(j)] = lyapunov_steering(t(j), y(:, j), cfg);
16-
[alpha_f(j), beta_f(j)] = ndf_heuristic(t(j), y(:, j), alpha(j), beta(j), cfg);
15+
[alpha(j), beta(j)] = q_law(t(j), y(:, j), cfg);
16+
[alpha_f(j), beta_f(j)] = cone_adaptation(t(j), y(:, j), alpha(j), beta(j), cfg);
1717
end
1818

1919
%% Rates

scripts/benchmark_transfer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
cfg.y0 = [20000e3; 0.5; -0.2; 0.5; 0; 0];
1111
cfg.y_target = [25000e3; 0.2; 0.5; 0; 0.3];
1212
cfg.propulsion_model = @sail_thrust;
13-
cfg.steering_law = @lyapunov_steering;
13+
cfg.steering_law = @quail;
1414
cfg.solver = @ode89;
1515
cfg.t_span = [0, 1e8];
1616
cfg.options = odeset('RelTol', 1e-4, "Stats", "on", "MaxStep", 1e4);

scripts/benchmark_transfer_cart.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
cfg.y0 = [20000e3; 0.5; -0.2; 0.5; 0; 0];
77
cfg.y_target = [25000e3; 0.2; 0.5; 0; 0.3];
88
cfg.propulsion_model = @sail_thrust;
9-
cfg.steering_law = @lyapunov_steering;
9+
cfg.steering_law = @quail;
1010
cfg.solver = @ode89;
1111
cfg.t_span = [0, 1e8];
1212
cfg.options = odeset('RelTol', 1e-6, "Stats", "on", "MaxStep", 1e4);

scripts/benchmark_transfer_cone_limits.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
cfg.y0 = [20000e3; 0.5; -0.2; 0.5; 0; 0];
77
cfg.y_target = [25000e3; 0.2; 0.5; 0; 0.3];
88
cfg.propulsion_model = @sail_thrust;
9-
cfg.steering_law = @lyapunov_steering;
9+
cfg.steering_law = @quail;
1010
cfg.solver = @ode89;
1111
cfg.t_span = [0, 1e8];
1212
cfg.options = odeset('RelTol', 1e-4, "Stats", "on", "MaxStep", 1e4);

scripts/benchmark_transfer_no_feather.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
cfg.y0 = [20000e3; 0.5; -0.2; 0.5; 0; 0];
77
cfg.y_target = [25000e3; 0.2; 0.5; 0; 0.3];
88
cfg.propulsion_model = @sail_thrust;
9-
cfg.steering_law = @lyapunov_steering;
9+
cfg.steering_law = @quail;
1010
cfg.solver = @ode89;
1111
cfg.t_span = [0, 2e8];
1212
cfg.options = odeset('RelTol', 1e-4, "Stats", "on", "MaxStep", 1e4);

scripts/benchmark_transfer_optim.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
cfg.y0 = [20000e3; 0.5; -0.2; 0.5; 0; 0];
77
cfg.y_target = [25000e3; 0.2; 0.5; 0; 0.3];
88
cfg.propulsion_model = @sail_thrust;
9-
cfg.steering_law = @lyapunov_steering;
9+
cfg.steering_law = @quail;
1010
cfg.solver = @ode89;
1111
cfg.t_span = [0, 1e8];
1212
cfg.options = odeset('RelTol', 1e-4, "Stats", "on", "MaxStep", 1e4);

scripts/geo_disposal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
cfg.y0 = [42164e3; 1e-6; 0; 0; 0; 0];
88
cfg.y_target = [42464e3; 1e-6; 0; 0; 0];
99
cfg.propulsion_model = @sail_thrust;
10-
cfg.steering_law = @lyapunov_steering;
10+
cfg.steering_law = @quail;
1111
cfg.solver = @ode89;
1212
cfg.t_span = [0, 1e7];
1313
cfg.options = odeset('RelTol', 1e-4, "Stats", "on", "MaxStep", 1e4);

scripts/geo_stiff.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
cfg.y0 = [42164e3; 1e-6; 0; 0; 0; 0];
77
cfg.y_target = [42464e3; 1e-6; 0; 0; 0];
88
cfg.propulsion_model = @sail_thrust;
9-
cfg.steering_law = @lyapunov_steering;
9+
cfg.steering_law = @quail;
1010
cfg.solver = @ode89;
1111
cfg.t_span = [0, 1e7];
1212
cfg.options = odeset('RelTol', 1e-4, "Stats", "on", "MaxStep", 1e4);

scripts/leo_operations.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
cfg.y0 = [6878e3; 0.1; -0.1; 0.5; 0; 0];
77
cfg.y_target = [7500e3; 0; 0; 0; 0.2];
88
cfg.propulsion_model = @sail_thrust;
9-
cfg.steering_law = @lyapunov_steering;
9+
cfg.steering_law = @quail;
1010
cfg.solver = @ode89;
1111
cfg.t_span = [0, 1e8];
1212
cfg.options = odeset('RelTol', 1e-4, "Stats", "on", "MaxStep", 1e4);

0 commit comments

Comments
 (0)