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
c2e21364
Commit
c2e21364
authored
May 20, 2015
by
Jeroen Vreeken
Browse files
Fix detection of host system for native builds.
Simplify vesp.ctrl to get succesfull 'make test'
parent
21d1d47e
Changes
2
Show whitespace changes
Inline
Side-by-side
configure.ac
View file @
c2e21364
...
...
@@ -2,9 +2,9 @@ AC_INIT(dt_ctrl, git)
AC_SUBST(HOSTSYS,["$ac_cv_env_host_alias_value"])
AC_SUBST(BUILDSYS,["$ac_cv_env_build_alias_value"])
AS_IF([test "$
ac_cv_env_host_alias_value
" == ""],[HOSTSYS=`uname -m`],[])
AS_IF([test "$
HOSTSYS
" == ""],[HOSTSYS
_TMP
=`uname -m`],[
HOSTSYS_TMP="$HOSTSYS"
])
AS_IF([echo "$HOSTSYS" | grep "arm"],[HAVE_ARM=1],[HAVE_ARM=0])
AS_IF([echo "$HOSTSYS
_TMP
" | grep "arm"],[HAVE_ARM=1],[HAVE_ARM=0])
#######################################################################
#
...
...
controller/vesp/vesp.ctrl
View file @
c2e21364
...
...
@@ -5,23 +5,23 @@ trigger {
blocks (100.0, 0.0) {
{ "vesp_sim", "vespsim" }
{ "vesp_sensor_co", "co_sensor", "vespsim", 42 }
#
{ "vesp_sensor_co", "co_sensor", "vespsim", 42 }
{ "test_output_bool", "operational" }
{ "test_output_float", "co_sensor_ppm" }
#
{ "test_output_float", "co_sensor_ppm" }
}
links {
{ "vespsim", "operational", "operational", "value", true }
{ "co_sensor", "ppm", "co_sensor_ppm", "value", true }
#
{ "co_sensor", "ppm", "co_sensor_ppm", "value", true }
}
params {
{ "operational", "value", 4, (int) { true, true, true, true } }
{ "co_sensor_ppm", "value", 4,
(float){ 0.0, 0.0, 0.0, 0.0 },
(float){ 0.0, 0.0, 0.0, 0.0 }
}
#
{ "co_sensor_ppm", "value", 4,
#
(float){ 0.0, 0.0, 0.0, 0.0 },
#
(float){ 0.0, 0.0, 0.0, 0.0 }
#
}
}
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