Commit a1cb420b authored by Fredrik Bagge Carlson's avatar Fredrik Bagge Carlson
Browse files

Implement Parameters constructor for ETHHelicopter

parent 7144dbc5
......@@ -7,16 +7,16 @@
export ETHHelicopter, ETHHelicopterSimulator, AbstractETHHelicopter
struct ETHHelicopter <: PhysicalProcess
h::Float64
bias::Float64
stream::LabStream
measure1::AnalogInput10V
measure2::AnalogInput10V
control1::AnalogOutput10V
control2::AnalogOutput10V
@with_kw struct ETHHelicopter <: PhysicalProcess
h::Float64 = 0.05
bias::Float64 = 0.0
stream::LabStream = ComediStream()
measure1::AnalogInput10V = AnalogInput10V(0)
measure2::AnalogInput10V = AnalogInput10V(1)
control1::AnalogOutput10V = AnalogOutput10V(0)
control2::AnalogOutput10V = AnalogOutput10V(1)
end
ETHHelicopter() = ETHHelicopter(0.050, 0., ComediStream(), AnalogInput10V(0), AnalogInput10V(1), AnalogOutput10V(0), AnalogOutput10V(1))
struct ETHHelicopterSimulator <: SimulatedProcess
h::Float64
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment