Lorenz Meier
071f9c648b
HMC5883: Do not spam the console on error and make everything worse.
2014-04-20 21:42:10 +02:00
Pavel Kirienko
9597dc4ddb
crdr_chibios followup
2014-04-20 23:40:53 +04:00
Pavel Kirienko
f155702008
Data type registrator went the same way - using plain statics instead of in-place allocation at first call. For code size critical applications, GCC flag -fno-threadsafe-statics should be used
2014-04-20 23:40:32 +04:00
Pavel Kirienko
7a02960401
Good old GDTR singleton re-implemented via static local again, because previous implementation could cause undefined behavior as GDTR could be initialized after static type registrators that use it
2014-04-20 23:14:02 +04:00
Lorenz Meier
9cc284742e
Merge branch 'usb_buf_hotfix' into ekf_params
2014-04-20 21:04:35 +02:00
Lorenz Meier
906abbcbb6
mavlink: Only write to TX buf if space is available. This is working around a NuttX issue where overflowing the TX buf leads to being unable to send any further data
2014-04-20 21:04:05 +02:00
Anton Babushkin
8634780e80
Merge branch 'master' into mpc_rc
2014-04-20 20:10:39 +02:00
Pavel Kirienko
afc56cf87b
GDTR list integrity check (debug builds only)
2014-04-20 21:36:01 +04:00
Pavel Kirienko
5cd0aff0d3
GDTR list integrity check (debug builds only)
2014-04-20 21:33:51 +04:00
Pavel Kirienko
b7b53630d1
Linux driver: verbose exception with error code
2014-04-20 20:45:26 +04:00
Lorenz Meier
200bd8e3dd
Merge branch 'ekf_params' of github.com:PX4/Firmware into ekf_params
2014-04-20 03:43:37 +02:00
Lorenz Meier
b37d0f8f2e
Safety checks, prepared to use GPS variance
2014-04-20 03:41:34 +02:00
Lorenz Meier
9c5dbeef3a
Proper zero init of the filter
2014-04-20 03:39:43 +02:00
Lorenz Meier
7cad27a024
Changed home position set to depend on the commander home position switch
2014-04-20 03:06:13 +02:00
Lorenz Meier
46a796fb86
Added home position switch on GPS position - gives a more reliable home position setup
2014-04-20 03:04:56 +02:00
Lorenz Meier
fd34a8432e
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
2014-04-20 02:05:57 +02:00
Lorenz Meier
f8232fa269
fw_config_fixes
2014-04-20 02:05:20 +02:00
Lorenz Meier
8305058ca3
Merge pull request #827 from PX4/mavlink_range_finder
...
Mavlink range finder
2014-04-20 02:04:33 +02:00
Lorenz Meier
2ea32b315f
Merged master
2014-04-20 02:04:05 +02:00
Lorenz Meier
479fddff88
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
2014-04-20 01:45:00 +02:00
Lorenz Meier
ce56d75bc6
Updated filter to most recent version with accel scale estimation, exposed crucial parameters for cross-vehicle support
2014-04-20 01:37:31 +02:00
Anton Babushkin
7372693fb9
attitude_estimator_ekf: added missing include
2014-04-19 22:56:58 +02:00
Anton Babushkin
3b9bfcc7a2
attitude_estimator_ekf: use degrees for ATT_MAG_DECL parameter to be consistent with documentation
2014-04-19 22:46:06 +02:00
Lorenz Meier
dca1e7fc61
Decomission unmaintained position estimator
2014-04-19 22:40:37 +02:00
TickTock-
86a0862af6
Added rc_map_failsafe to enable use of channels other than throttle for failsafe.
2014-04-19 13:07:09 -07:00
Pavel Kirienko
0fd24fd6b0
Braces in complex boolean condition to suppress false positive from the static analyzer
2014-04-19 22:55:57 +04:00
Pavel Kirienko
5fcfd7726b
Removed unused constant ErrOk
2014-04-19 22:29:40 +04:00
Pavel Kirienko
0440aa844d
DSDL signature in generated types is upper case
2014-04-19 22:15:26 +04:00
Pavel Kirienko
e3aa0d91c8
Minor style fixes in Linux tests
2014-04-19 19:27:17 +04:00
Pavel Kirienko
f8883e0bb2
Fixed memory leak in CanIOManager test
2014-04-19 19:13:52 +04:00
Pavel Kirienko
ddcedfd9d0
Fixed sizeof(ptr) in test (detected by clang static analyzer)
2014-04-19 19:05:34 +04:00
Pavel Kirienko
c1be9f1fef
Explicit virtual keyword
2014-04-19 18:51:36 +04:00
Lorenz Meier
7b61c927f0
Renamed FW filter to EKF to express its generic properties, switched multicopters over to this filter for first tests.
2014-04-19 16:13:13 +02:00
Lorenz Meier
edd16afead
Add filter parameters and multicopter defaults to parametrize Pauls estimator correctly when running for multicopters. Estimator itself not updated yet, will be next step.
2014-04-19 15:49:29 +02:00
Pavel Kirienko
f31d46ea6c
Explicit void cast for unused return values
2014-04-19 17:45:03 +04:00
Pavel Kirienko
b2c021397d
Linked list test fix
2014-04-19 17:18:51 +04:00
Lorenz Meier
0b85c41cd1
Merge pull request #820 from PX4/filter_nan_guard
...
pauls estimator: Added NaN guard before publishing
2014-04-19 15:14:13 +02:00
Pavel Kirienko
4e39fc61d9
LinkedListRoot<>::remove() does not return anything, as it was not used anyway
2014-04-19 17:13:44 +04:00
Lorenz Meier
2e38423426
Merge pull request #835 from TickTock-/blinkm_fix
...
Blinkm fix
2014-04-19 15:07:56 +02:00
Lorenz Meier
d79b82b946
Merge pull request #829 from PX4/uploader_hotfix
...
Hotfix to PX4IO uploader. There are no known mishaps due to it, but very...
2014-04-19 15:06:51 +02:00
Pavel Kirienko
3eec1e18c3
Include order fix
2014-04-19 17:03:16 +04:00
Pavel Kirienko
4112c949fc
strcmp() --> strncmp()
2014-04-19 16:50:43 +04:00
Pavel Kirienko
acff3d274c
Null pointer checks
2014-04-19 16:47:14 +04:00
Pavel Kirienko
efb2251ef8
strcmp() --> strncmp()
2014-04-19 16:42:39 +04:00
Pavel Kirienko
799846de02
Scope hiding fixes
2014-04-19 16:32:42 +04:00
Pavel Kirienko
c4c77ea321
Fixed typedef reuse
2014-04-19 15:52:17 +04:00
Pavel Kirienko
2eb15268f7
Stupid condition swap to eliminate a false positive from static analyzer
2014-04-19 15:30:30 +04:00
Pavel Kirienko
6aa9bd0c41
Removed enum constants from generated types
2014-04-19 15:26:39 +04:00
Pavel Kirienko
dfe3b4511e
Most enums were replaced with constants, according to MISRA
2014-04-19 15:16:10 +04:00
eneadev
e2989bc091
Update drv_hrt.c
...
TIM3 was not working properly with a custom application and I got it work changing TIM3 HRT_TIMER_POWER_BIT from RCC_APB2ENR_TIM3EN to RCC_APB1ENR_TIM3EN because on datasheet TIM3 is on APB1, I think that you should check also the others
2014-04-19 13:08:29 +02:00