I THINK that the single shooter is ok. I can always improve it later

This commit is contained in:
rconnorjohnstone
2021-06-17 23:36:50 -06:00
parent 2c39c34f01
commit 966f954528
13 changed files with 170 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
struct Sc
mass::Float64
struct Sc{T <: Real}
mass::T
mass_flow_rate::Float64
max_thrust::Float64
num_thrusters::Int
@@ -8,9 +8,9 @@ end
function Sc(name::String)
if name == "test"
return Sc(1000., 0.01, 0.1, 2, 1.)
return Sc(10000., 0.01, 0.05, 2, 1.)
elseif name == "no_thrust"
return Sc(1000., 0.01, 0., 0, 0.)
return Sc(10000., 0.01, 0., 0, 0.)
else
throw(ErrorException("Bad sc name"))
end