Beat Küng
a2c80e3d55
px4_config.h: remove system_config.h include, board_config.h already includes it
8 years ago
Beat Küng
c98212ecd6
shutdown: ifdef for NuttX builds without work queue support
...
For example on px4cannode-v1_default.
8 years ago
Beat Küng
ec5f5bb808
board_config.h: add #pragma once
8 years ago
Beat Küng
e129969ea2
tap_pwr: fix definition of board_shutdown()
8 years ago
Beat Küng
73cb423db6
commander: add power button notification callback
8 years ago
Beat Küng
7cb71af949
reboot.c: switch to px4_shutdown_request()
8 years ago
Beat Küng
1d1eedb086
logger: register shutdown hook for graceful shutdown
...
This will avoid file system corruptions in cases where px4_shutdown_request
is used. However it will not help obviously when the battery is pulled
directly.
8 years ago
Beat Küng
0165633bf3
board_config: remove px4_board_pwr, use px4_shutdown_request instead
...
px4_board_pwr has become obsolete with the addition of board_shutdown
8 years ago
Beat Küng
25dfa9cda6
posix board_config.h: add include board_common.h
...
To get the new API definitions
8 years ago
Beat Küng
694bf48422
system: add generic shutdown API
8 years ago
David Sidrane
211837c73b
tap:Use board power button notification API
...
This adds the board power button notification registration
and shutdown API points.
8 years ago
David Sidrane
109db75881
Added board power button notification API
...
Defined types and interface to support a notification call back
on power button events.
8 years ago
jwilson
57fa031e2b
Fixes problem preventing params on snapdragon platforms from being saved to flash memory.
8 years ago
jwilson
0aaf595317
Modified sanity test to identify success from the output of the PX4 flight stack, instead of QuRT.
8 years ago
Beat Küng
7442affaf6
px4fmu-v2_default.cmake: enable vmount
8 years ago
Beat Küng
36b2643402
rcS: make sure if 'vmount start' fails, boot is not aborted
8 years ago
Lucas De Marchi
88e19a0916
nuttx build: fix dangling continuation line ( #7079 )
8 years ago
Nate Weibley
6a99281501
Incorporate @bkueng's feedback, inhibit bogus output on first pass
8 years ago
Nate Weibley
56f4f2b41f
Fix top output, indentation for #7020
...
Previously load stats were stored outside of the printloop, but
with the refactoring to save memory state was reset and used in
the first loop before the actual load calculations were valid.
Fixed by moving the summary info to the bottom of the top printout
after everything is computed. Also restructured the callback to
not depend on a line counter and fixed astyle glitches.
8 years ago
Julian Oes
349a468f81
vmount: add to startup script, disable by default
...
vmount is now added to the startup script, however, it will only start
if the param MNT_MODE_IN is set to anything but -1.
8 years ago
Beat Küng
ed577f705d
vmount: set output to Neutral for VEHICLE_ROI_NONE
8 years ago
Beat Küng
c20ff1737c
vmount: poll only on active input
...
To reduce latency of the output update when mode is set to auto.
8 years ago
Beat Küng
9ed21afd59
vmount: simplify initialization
8 years ago
Beat Küng
021b808f6c
vmount: fix null-pointer access by iterating only over the used objects
8 years ago
Julian Oes
7c0c97ce03
vmount: added commented output printf
8 years ago
Julian Oes
f4b1623550
vmount: wrong pointer was passed to update
8 years ago
Julian Oes
87d5b41b84
vmount: fixed wrong index
8 years ago
Julian Oes
ec36bdcd10
vmount: always initialize
...
MNT_MODE_IN 0 now means to automatically check all inputs.
8 years ago
Julian Oes
e3d1b7fab4
vmount: _first_time flag wasn't ever reset
8 years ago
Julian Oes
07de797e8d
vmount: correctly set control_data output arg
...
The control_data pointer wasn't correctly set for the cases where there
actually was a change/command.
8 years ago
Julian Oes
e1246063e9
vmount: another try to get abs and types right
8 years ago
Julian Oes
702922e677
vmount: _get_aux_value needs to be re-used
8 years ago
Julian Oes
c33e46167c
vmount: type-promotion fix clang-tidy
8 years ago
Julian Oes
a9523155cf
vmount: small formatting change
8 years ago
Julian Oes
caf69b290a
vmount: refactor to auto-select between all inputs
...
It is not convenient having to change a parameter to change a gimbal
from RC input to mavlink input mode or back. This refactor changes the
behaviour to use whatever is available, RC or mavlink commands.
Once a mavlink command is followed, control can be taken back using RC,
however, this requires a clear stick change.
8 years ago
Daniel Agar
809fec8c05
navigator treat TAKEOFF like POSITION if already flying
8 years ago
crashmatt
304aeddf03
TinyBson - Compatibility with cpp compiler
...
Changed "private" keyword used for argument to "priv"
8 years ago
Daniel Agar
7b8f3b03a8
cmake patch depend on previous patch target ( #7075 )
8 years ago
David Sidrane
4a36a806de
px4fmu-v4 enable CONFIG_DEBUG_ALERT
8 years ago
David Sidrane
566d73ec22
Nuttx Build option had repeated ARCHWARNINGS
...
The Make.defs compisition is
ARCHWARNINGS = $(PX4_ARCHWARNINGS)
ARCHCWARNINGS = $(PX4_ARCHWARNINGS) $(PX4_ARCHCWARNINGS)
ARCHWARNINGSXX = $(ARCHWARNINGS) $(PX4_ARCHWARNINGSXX)
so the pieces from nuttx-configs/PX4_Warnings.mk should not be combined.
8 years ago
David Sidrane
0ba99df55e
Use as strict or stricter warnings than NuttX has
...
Reinstate unused checks.
8 years ago
David Sidrane
1e2cef1d72
Fix Unused warning
8 years ago
David Sidrane
2b994b8778
Fix Unused warning
8 years ago
Beat Küng
06997915c2
px4airframes: update image path for markdown after dev-guide update
8 years ago
Beat Küng
42d2f8a798
px4airframes markdown output: merge output columns with maintainer
8 years ago
Beat Küng
89c24cd697
13001_caipirinha_vtol config: fix motor assignment documentation
8 years ago
Beat Küng
2d9a82198a
airframes markdown output: merge Outputs where possible for each group
8 years ago
Beat Küng
1df9742219
airframes: add @output meta-data
8 years ago
Beat Küng
ce2502a74c
rc.interface: fix indentation
8 years ago
Beat Küng
a73c0d469b
airframe configs Quadrotor x: fix @output tags
...
extend where needed, only keep the full list for 4001 (and 4002 which differs)
8 years ago