Got plotting working
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
struct sc
|
||||
struct Sc
|
||||
mass::Float64
|
||||
mass_flow_rate::Float64
|
||||
max_thrust::Float64
|
||||
@@ -6,11 +6,11 @@ struct sc
|
||||
duty_cycle::Float64
|
||||
end
|
||||
|
||||
function sc(name::String)
|
||||
function Sc(name::String)
|
||||
if name == "test"
|
||||
return sc(1000., 0.01, 0.1, 2, 1.)
|
||||
return Sc(1000., 0.01, 0.1, 2, 1.)
|
||||
elseif name == "no_thrust"
|
||||
return sc(1000., 0.01, 0., 0, 0.)
|
||||
return Sc(1000., 0.01, 0., 0, 0.)
|
||||
else
|
||||
throw(ErrorException("Bad sc name"))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user