Skip to content
Snippets Groups Projects
Commit 2bde548e authored by Fredrik Bagge Carlson's avatar Fredrik Bagge Carlson
Browse files

Update install path LabConnections

parent d3031645
No related branches found
No related tags found
No related merge requests found
Pipeline #
# __precompile__() # __precompile__()
installed_packages = Pkg.installed() installed_packages = Pkg.installed()
if "LabConnection" keys(installed_packages) if "LabConnections" keys(installed_packages)
Pkg.clone("https://gitlab.control.lth.se/labdev/LabConnection.jl") Pkg.clone("https://gitlab.control.lth.se/labdev/LabConnections.jl")
# Pkg.checkout("LabConnection","v0.0.1")
end end
module LabProcesses module LabProcesses
using ControlSystems, LabConnection.Computer, Parameters using ControlSystems, LabConnections.Computer, Parameters
include("utilities.jl") include("utilities.jl")
......
...@@ -38,8 +38,7 @@ const beam_system, nice_beam_controller = define_beam_system() ...@@ -38,8 +38,7 @@ const beam_system, nice_beam_controller = define_beam_system()
struct BeamSimulator <: SimulatedProcess struct BeamSimulator <: SimulatedProcess
h::Float64 h::Float64
s::SysFilter s::SysFilter
BeamSimulator() = new(0.01, SysFilter(beam_system, 0.01)) BeamSimulator(;h::Real = 0.01) = new(Float64(h), SysFilter(beam_system, h))
BeamSimulator(h::Real) = new(Float64(h), SysFilter(beam_system, h))
end end
@with_kw struct BallAndBeam <: PhysicalProcess @with_kw struct BallAndBeam <: PhysicalProcess
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment