Commit 2bde548e authored by Fredrik Bagge Carlson's avatar Fredrik Bagge Carlson
Browse files

Update install path LabConnections

parent d3031645
Pipeline #528 failed with stage
in 58 seconds
# __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, LabConnections.Computer, Parameters
include("utilities.jl")
......
......@@ -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
......
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