Lorenz Meier
bf448fce71
Commander: Update call for new power management interface
8 years ago
Lorenz Meier
ce921345cf
POSIX: Stub power management support
8 years ago
Lorenz Meier
4f1842c9c4
TAP v1 config: Add support for external power management calls
8 years ago
Lorenz Meier
1ad03ed8ef
Common: Add support for power management (on / off) from the flight controller side
8 years ago
Lorenz Meier
565a43dee0
Aero FC v1: Remove unused power management file
8 years ago
Lorenz Meier
f7fa374656
Implement default board power control to allow software switch-off
8 years ago
Lorenz Meier
a92931fe84
Commander: Switch system off if in undervoltage condition and disarmed.
...
This is necessary to not have systems deep-discharge the battery while sitting idle. While at it we also deny arming in low battery conditions to ensure people who just landed with a low battery do not take off again and fail to get a successful RTL.
8 years ago
Lorenz Meier
6f84e79d70
Navigator: Fix takeoff handling if already in air
...
If the vehicle was already in air on takeoff and the waypoint gets converted to a regular waypoint the wait / delay time does not get reset to zero. This change ensures the next mission item is approached immediately.
8 years ago
Lorenz Meier
7fbc71f054
send event: Do use nullptr, not NULL
8 years ago
Beat Küng
ffacc6f64a
param SYS_STCK_EN: enable stack checking by default
8 years ago
Beat Küng
03dc991188
log_writer_file: adjust stack size
...
Stack size was below threshold of 300 by 8 bytes.
8 years ago
Beat Küng
5c2fa034da
load_mon: rename low_stack -> task_stack_info & always publish it
...
- use uorb queue to not drop any info, only do 2 tasks per cycle
- also print a warning on low stack (which will be added to ulog)
this allows to gather statistics of each task's stack usage over time.
8 years ago
Beat Küng
c02f1946eb
load_mon: fix stack check: use up_check_tcbstack_remain()
...
The previous method did not work anymore since the NuttX upgrade.
8 years ago
Lorenz Meier
0e64f8c288
Matrix update with CLANG compile fix
8 years ago
Lorenz Meier
1b01546d4b
Revert "Update matrix lib"
...
This reverts commit d75024b987
.
8 years ago
Lorenz Meier
d75024b987
Update matrix lib
8 years ago
Lorenz Meier
bf26bec46c
Fix gyro init
8 years ago
Lorenz Meier
72156fe9c1
Temp cal: Fix matrix initialization
8 years ago
Lorenz Meier
51e156e1f4
Code style fix
8 years ago
Stephan Brown
54cc212d46
test_autodeclination: Add world endpoints to test.
8 years ago
Stephan Brown
0d219caae3
geo_mag_declination: Fix interpolation when inputs are outside of sampling min and max.
8 years ago
Stephan Brown
20e7bd082a
unittests: Remove geomag tests which are now covered in systemcmds tests.
8 years ago
Stephan Brown
614853b023
test_autodeclination: Update mag declination test value.
8 years ago
Stephan Brown
bb0d01d812
geo_mag_declination: Update declination values according to 2015 NOAA data.
8 years ago
Stephan Brown
fc34eef53a
unittests: Add unittests for geo_mag_declination.
8 years ago
Stephan Brown
ab9fa59dd2
geo_mag_declination: Fix table bounds checking.
8 years ago
Daniel Agar
384e3bb693
meas_airspeed status aspd_com_err
8 years ago
Beat Küng
d3f71454cc
posix_sitl_default.cmake: add modules/events
...
It's not used yet, just to make sure it compiles fine.
8 years ago
Beat Küng
0d000173b5
l3gd20 selftest: don't check for 0 offset
...
If temperature compensation is enabled, the offset will be 0
8 years ago
Beat Küng
32ed939ea4
param_shmem: readd dropped static to function definition
8 years ago
Beat Küng
ea4d3d970b
temperature_calibration: make sure to save the params after the process
8 years ago
Beat Küng
6583f73cfa
temperature_calibration: reduce code duplication by adding a TemperatureCalibrationCommon class
8 years ago
Beat Küng
38b4984c36
temperature_calibration: make sure to call orb_unsubscribe() when objects are destroyed
8 years ago
Beat Küng
980c3bc6a7
temperature_calibration: notify system about param changes
8 years ago
Beat Küng
b89b76fbe6
gyro_calibration: use param_notify_changes
8 years ago
Beat Küng
3eecd16309
accelerometer_calibration: use param_notify_changes
8 years ago
Beat Küng
a802caca87
param: add param_notify_changes() method
...
Can be used for example after several calls to
param_set_no_notification() to avoid unnecessary system notifications,
as it is an expensive change.
8 years ago
Beat Küng
4b8e6cf9cd
temperature_calibration: make sure to always do an orb_copy() even when already finished
...
... since we do poll() on the gyro fd.
8 years ago
Beat Küng
d2dd61dfbd
temperature_calibration: make sure to report an error only once
8 years ago
Simone Guscetti
fe53e3a0d5
commander: add status_changed when battery is low
8 years ago
Beat Küng
c4a8aa9c68
temperature_calibration: refactor to separate code & reduce code duplication
8 years ago
Beat Küng
b6f3cf9425
events: refactor temperature_calibration command to take options and use a single vehicle_command
...
This makes it easier to start calibration for all sensors at once.
8 years ago
Beat Küng
603cd1e6dc
refator events: move temperature calibration implementation into subdirectory
8 years ago
Paul Riseborough
b36e65fd6d
events: Improve consistency of console messages
8 years ago
Paul Riseborough
9e219fba0c
events: make required temp rise for calibration adjustable
8 years ago
Paul Riseborough
4ff5e7c5ab
systemlib
8 years ago
Paul Riseborough
8001db257c
ROMFS: enable auto start of thermal calibration
8 years ago
Paul Riseborough
8aa91512e9
systemlib: Add parameters to control thermal calibration startup behaviour
8 years ago
Paul Riseborough
f86347f1e2
Tools: Enable offline calibrator to handle less than 3 inertial sensors
8 years ago
Paul Riseborough
4d163eebb9
events: Add accelerometer and baro thermal calibration
8 years ago