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

Update ballandbeam.jl

parent 97f22980
Pipeline #670 failed with stage
in 5 minutes and 43 seconds
......@@ -99,8 +99,8 @@ function control(p::AbstractBeamOrBallAndBeam, u::AbstractArray)
control(p::AbstractBeamOrBallAndBeam, u::Number) = send(p.control,u)
control(p::BeamSimulator, u) = p.s(u)
control(p::BallAndBeamSimulator, u) = error("Not yet implemented")
control(p::BeamSimulator, u::Number) = p.s(u)
control(p::BallAndBeamSimulator, u::Number) = error("Not yet implemented")
measure(p::Beam) = read(p.measure)
measure(p::BallAndBeam) = [read(p.measure1), read(p.measure2)]
Supports Markdown
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