Lorenz Meier
f68e34ce40
Update DF to fix Snapdragon scheduling issues
2017-02-06 21:55:29 +01:00
Dennis Mannhart
57b7c4fc3d
mc_pos_control: code style fix
2017-02-06 19:10:42 +01:00
Dennis Mannhart
f0978fc9e9
mc_pos_control: set position setpoint during transition based on veloicyt and acceleration
2017-02-06 19:10:42 +01:00
Dennis Mannhart
c141d4ca3f
mc_pos_control: turn off thrust xy when in position hold and altitude hold and thrust z is low
2017-02-06 19:10:42 +01:00
David Sidrane
602279ad56
zubaxgnss-v1 bootloader uses mfguid for hw_version unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
29888659f2
s2740vc-v1 bootloader uses mfguid for hw_version unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
c52a8544c1
px4flow-v2 bootloader uses mfguid for hw_version unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
050b909b20
px4esc-v1 bootloader uses mfguid for hw_version unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
23ecb78552
px4cannode-v1 bootloader uses mfguid for hw_version unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
278d6bb717
esc35-v1 bootloader uses mfguid for hw_version unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
a8706ad001
uavcannode uses mfgid for hwver.unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
d22a41bb70
uavcanesc uses mfgid for hwver.unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
9672898a33
uavcan uses mfgid for hwver.unique_id
2017-02-04 22:27:04 +01:00
David Sidrane
8ba1ffafec
mavlink uses simpler common bord indentity api
2017-02-04 22:27:04 +01:00
David Sidrane
138f0378a7
logger uses simpler common bord indentity api
2017-02-04 22:27:04 +01:00
David Sidrane
473c211eb0
gyro_calibration uses simpler common bord indentity api
2017-02-04 22:27:04 +01:00
David Sidrane
7600aa51f7
Remove fmu id command as it is redundant to ver uid
...
This command was redudnat to "fmu uid|all" However it
printed the leading zeros.
2017-02-04 22:27:04 +01:00
David Sidrane
53df80881a
ver uses simpler common board indentity api and displays mfguid
2017-02-04 22:27:04 +01:00
David Sidrane
3668047e6c
board_serial uses simpler common bord indentity api
2017-02-04 22:27:04 +01:00
David Sidrane
bc8b117e85
common board idenity cleanup and add mfguid to api
...
Remove the notion of legacy from the api. The board level code
will perform the traslation to lecacy format on the STM32.
new targets will not need to do this as there is no case
where the serial number were used by mfg for tracking.
Extend board common api to get mfguid and mfguid formatted
This adds an api that return the MFGUID as an array of bytes
or a string.
The data is returned with the MSD at index 0 and the LSD at
index PX4_CPU_MFGUID_BYTE_LENGTH-1.
Removed all reodering defines from the api and hal
2017-02-04 22:27:04 +01:00
Simone Guscetti
b182a5eeca
Added the vehicle_status_flags publisher with the conversion in a bit field in commander
2017-02-04 21:13:59 +01:00
Simone Guscetti
2c2addad53
Add new message vehicle_status_flags for the commander status_flags
2017-02-04 21:13:59 +01:00
Lorenz Meier
6bd29b24f6
POSIX: Avoid missing prototype warning on some POSIX platforms
2017-02-04 21:06:21 +01:00
Lorenz Meier
82fa9a8d43
Update return type for power management call
2017-02-04 21:06:21 +01:00
Lorenz Meier
bf448fce71
Commander: Update call for new power management interface
2017-02-04 21:06:21 +01:00
Lorenz Meier
ce921345cf
POSIX: Stub power management support
2017-02-04 21:06:21 +01:00
Lorenz Meier
4f1842c9c4
TAP v1 config: Add support for external power management calls
2017-02-04 21:06:21 +01:00
Lorenz Meier
1ad03ed8ef
Common: Add support for power management (on / off) from the flight controller side
2017-02-04 21:06:21 +01:00
Lorenz Meier
565a43dee0
Aero FC v1: Remove unused power management file
2017-02-04 21:06:21 +01:00
Lorenz Meier
f7fa374656
Implement default board power control to allow software switch-off
2017-02-04 21:06:21 +01:00
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.
2017-02-04 21:06:21 +01:00
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.
2017-02-04 14:47:34 +01:00
Lorenz Meier
7fbc71f054
send event: Do use nullptr, not NULL
2017-02-04 14:46:51 +01:00
Beat Küng
ffacc6f64a
param SYS_STCK_EN: enable stack checking by default
2017-02-04 12:15:59 +01:00
Beat Küng
03dc991188
log_writer_file: adjust stack size
...
Stack size was below threshold of 300 by 8 bytes.
2017-02-04 12:15:59 +01:00
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.
2017-02-04 12:15:59 +01:00
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.
2017-02-04 12:15:59 +01:00
Lorenz Meier
0e64f8c288
Matrix update with CLANG compile fix
2017-02-04 11:21:38 +01:00
Lorenz Meier
1b01546d4b
Revert "Update matrix lib"
...
This reverts commit d75024b987cc047b32d08c48597cc13385993709.
2017-02-04 11:14:42 +01:00
Lorenz Meier
d75024b987
Update matrix lib
2017-02-04 10:42:47 +01:00
Lorenz Meier
bf26bec46c
Fix gyro init
2017-02-04 10:38:11 +01:00
Lorenz Meier
72156fe9c1
Temp cal: Fix matrix initialization
2017-02-04 08:54:15 +01:00
Lorenz Meier
51e156e1f4
Code style fix
2017-02-04 08:54:00 +01:00
Stephan Brown
54cc212d46
test_autodeclination: Add world endpoints to test.
2017-02-04 08:52:04 +01:00
Stephan Brown
0d219caae3
geo_mag_declination: Fix interpolation when inputs are outside of sampling min and max.
2017-02-04 08:52:04 +01:00
Stephan Brown
20e7bd082a
unittests: Remove geomag tests which are now covered in systemcmds tests.
2017-02-04 08:52:04 +01:00
Stephan Brown
614853b023
test_autodeclination: Update mag declination test value.
2017-02-04 08:52:04 +01:00
Stephan Brown
bb0d01d812
geo_mag_declination: Update declination values according to 2015 NOAA data.
2017-02-04 08:52:04 +01:00
Stephan Brown
fc34eef53a
unittests: Add unittests for geo_mag_declination.
2017-02-04 08:52:04 +01:00
Stephan Brown
ab9fa59dd2
geo_mag_declination: Fix table bounds checking.
2017-02-04 08:52:04 +01:00