Nik Langrind
ba5efa5642
px4io: When running HITL, don't publish actuator_outputs. Fixes #13471 .
...
When running in HITL mode, pwm_out_sim publishes actuator_outputs.
px4io unconditionally publishes the uOrb actuator_outputs. When HITL
is configured, the px4io copy of the uOrb has all zeros.
The result is that there are two publications, one valid, and one
all-zeros. This causes the HIL_ACTUATOR_CONTROLS mavlink message
to be incorrect (all-zeros) and the SERVO_OUTPUTS_RAW mavlink
message to be inconsistent, as it takes the data from one or the
other uOrb randomly each cycle.
The fix is to let px4io know that HITL is in effect when it is
started, and modify px4io to suppress publication in this case.
This is a bigger more complicated fix than I would like, but I
think it is conceptually correct.
Signed-off-by: Nik Langrind <langrind@gmail.com >
2019-11-17 11:19:35 +01:00
Julian Oes
3ebf030a02
ROMFS: change shebang from #!zsh to #!/bin/sh
...
This was required for shellsheck.
2018-12-19 07:36:43 +00:00
Beat Küng
37338e442f
NuttX shell scripts: replace operator == with =
...
- NuttX supports both versions
- POSIX shell only supports '='
2018-09-27 23:39:20 +02:00
David Sidrane
7d3d497831
rc.io:Use tune_control
2018-08-30 19:11:17 +02:00
David Sidrane
dd69427cbf
rc.io:Add USE_IO == yes && IO_PRESENT == yes test
...
On a FMU without a px4io (FMUv4, NXPhlite etc), this code should
not be run.
2018-08-14 09:38:15 -04:00
Beat Küng
a6f93c30d9
Revert "Move px4io firmware update logic block to rc.io."
...
This reverts commit 0928112a80 .
2018-08-03 10:46:12 -04:00
mcsauder
0928112a80
Move px4io firmware update logic block to rc.io.
2018-08-02 12:19:23 +02:00
mcsauder
4f937a2ff6
Migrate px4io logic into rc.io.
2018-07-19 13:56:03 +02:00
David Sidrane
62a2351a72
ROMFS:Removed FMUv1 from rcS etal
2017-09-10 13:37:23 -04:00
Lorenz Meier
9e2eac41ff
ROMFS startup: Fix variable expansion for new NuttX scheme
2016-12-23 09:30:37 +01:00
Lorenz Meier
986145ac23
ROMFS: Free flash by being less verbose
2016-05-05 19:36:28 +02:00
Lorenz Meier
1a527ba9b4
ROMFS: Be less verbose on boot
2015-04-27 09:07:52 +02:00
Thomas Gubler
29eab8ebd4
change [init] to [i]
...
This change was introduced in pull #1461 . This fixes some missed
occurrences.
2014-12-14 11:28:25 +01:00
ufoncz
bd5a0cef1a
ver command ready including hwcmp which replaces hw_ver, removed hw_ver
...
updated all scripts to use new ver hwcmp command
q
2014-04-27 17:42:45 +02:00
Lorenz Meier
0982b081b8
ROMFS cleanup to eleminate excessive comments and resulting flash usage
2014-02-01 15:46:04 +01:00
Anton Babushkin
a8d362de13
Autostart: use MIXER instead of FRAME_GEOMETRY
2014-01-15 00:02:57 +01:00
Anton Babushkin
4cffd99db9
Major autostart rewrite
2014-01-08 20:55:12 +01:00
Anton Babushkin
255d91d8d4
hw_ver app added for hardware version checking
2014-01-07 21:56:35 +01:00
Jean Cyr
b80f0d46ae
Allow tone_alarm cmd to use tone names as well as number
...
- remove script dependency on hard coded tone numbers
- fix bug restarting repeating tone after stop
2013-08-31 01:03:32 -04:00
Anton Babushkin
557d3f22de
Startup scripts major cleanup
2013-08-25 19:27:11 +02:00