Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
dt_ctrl
Commits
0e9189bc
Commit
0e9189bc
authored
Aug 12, 2018
by
Jeroen Vreeken
Browse files
Fix non atsam build.
Add deadzone test
parent
30c6d3bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
controller/block/block_deadzone.test.ctrl
0 → 100644
View file @
0e9189bc
trigger {
{ "immediate" }
}
blocks (100.0, 0.0) {
{ "deadzone", "deadzone" }
{ "test_input_float", "test_input" }
{ "test_output_float", "test_output" }
}
links {
{ "test_input", "value", "deadzone", "in", true }
{ "deadzone", "out", "test_output", "value", true }
}
params {
{ "deadzone", "deadzone", (float) 0.1 }
{ "deadzone", "intercept", (float) 10.0 }
{ "test_input", "value", 4, (float) { 0.0, 0.09, -0.09, 10.0 } }
{ "test_output", "value", 4,
(float) { 0.0, 0.0, 0.0, 10.0 },
(float) { 0.0, 0.0, 0.0, 0.0 }
}
}
set trace_server false
controller/block/build.mk
View file @
0e9189bc
...
...
@@ -112,6 +112,7 @@ CTRL_TESTS += \
$(DIR)
/block_command_bool.test.output
\
$(DIR)
/block_command_float.test.output
\
$(DIR)
/block_command_uint32.test.output
\
$(DIR)
/block_deadzone.test.output
\
$(DIR)
/block_ex.test.output
\
$(DIR)
/block_gain.test.output
\
$(DIR)
/block_gain_ratio_abs.test.output
\
...
...
controller/trigger/build.mk
View file @
0e9189bc
...
...
@@ -2,8 +2,12 @@
TRIGGER_TARGETS
:=
$(LIBDIR)
/libtrigger.la
TRIGGERS
:=
\
immediate
\
immediate
ifdef
BUILD_SYSTICK
TRIGGERS
+=
\
systick
endif
ifdef
BUILD_PTHREAD
TRIGGERS
+=
\
...
...
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