Skip to content
GitLab
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
e9990584
Commit
e9990584
authored
Aug 26, 2019
by
Julian Salt
Browse files
Update furuta.jl
parent
1a0f23a4
Pipeline
#744
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/interface_implementations/furuta.jl
View file @
e9990584
...
...
@@ -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."
)
control
(
p
,
u
[
1
])
a
::
Float64
=
-
1.4
*
u
[
1
]
control
(
p
,
a
)
end
control
(
p
::
AbstractFuruta
,
u
::
Number
)
=
send
(
p
.
control
,
u
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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