Commit e9990584 authored by Julian Salt's avatar Julian Salt
Browse files

Update furuta.jl

parent 1a0f23a4
Pipeline #744 canceled with stage
......@@ -78,7 +78,8 @@ bias(p::AbstractFuruta) = p.bias
function control(p::AbstractFuruta, u::AbstractArray)
length(u) == 1 || error("Process $(typeof(p)) only accepts one control signal, tried to send u=$u.")
a::Float64 = -1.4*u[1]
control(p::AbstractFuruta, u::Number) = send(p.control,u)
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