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