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
processes
LabProcesses.jl
Commits
2bde548e
Commit
2bde548e
authored
Aug 29, 2017
by
Fredrik Bagge Carlson
Browse files
Update install path LabConnections
parent
d3031645
Pipeline
#528
failed with stage
in 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/LabProcesses.jl
View file @
2bde548e
# __precompile__()
installed_packages
=
Pkg
.
installed
()
if
"LabConnection"
∉
keys
(
installed_packages
)
Pkg
.
clone
(
"https://gitlab.control.lth.se/labdev/LabConnection.jl"
)
if
"LabConnections"
∉
keys
(
installed_packages
)
Pkg
.
clone
(
"https://gitlab.control.lth.se/labdev/LabConnections.jl"
)
# Pkg.checkout("LabConnection","v0.0.1")
end
module
LabProcesses
using
ControlSystems
,
LabConnection
.
Computer
,
Parameters
using
ControlSystems
,
LabConnection
s
.
Computer
,
Parameters
include
(
"utilities.jl"
)
...
...
src/interface_implementations/ballandbeam.jl
View file @
2bde548e
...
...
@@ -38,8 +38,7 @@ const beam_system, nice_beam_controller = define_beam_system()
struct
BeamSimulator
<:
SimulatedProcess
h
::
Float64
s
::
SysFilter
BeamSimulator
()
=
new
(
0.01
,
SysFilter
(
beam_system
,
0.01
))
BeamSimulator
(
h
::
Real
)
=
new
(
Float64
(
h
),
SysFilter
(
beam_system
,
h
))
BeamSimulator
(;
h
::
Real
=
0.01
)
=
new
(
Float64
(
h
),
SysFilter
(
beam_system
,
h
))
end
@with_kw
struct
BallAndBeam
<:
PhysicalProcess
...
...
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