Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martin Heyden
LabProcesses.jl
Commits
a1cb420b
Commit
a1cb420b
authored
Aug 29, 2017
by
Fredrik Bagge Carlson
Browse files
Implement Parameters constructor for ETHHelicopter
parent
7144dbc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/interface_implementations/eth_helicopter.jl
View file @
a1cb420b
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment