Skip to content

Commit 72108df

Browse files
committed
Added trivial orbit as canonical
1 parent a384bef commit 72108df

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
classdef Canonical < otp.cr3bp.CR3BPProblem
2-
2+
methods
3+
function obj = Canonical(varargin)
4+
% Create the NRHO CR3BP problem object.
5+
% This is a trivial steady state orbit.
6+
7+
mu = 0.5;
8+
9+
y0 = zeros(6, 1);
10+
tspan = [0, 10];
11+
params = otp.cr3bp.CR3BPParameters('Mu', mu, 'SoftFactor', 1e-3, varargin{:});
12+
obj = obj@otp.cr3bp.CR3BPProblem(tspan, y0, params);
13+
end
14+
end
315
end

0 commit comments

Comments
 (0)