Paul Riseborough
6c7703d485
EKF: Update tuning for synthetic sideslip fusion
...
Used value that worked well for replay of flight logs
2016-11-05 12:19:01 +01:00
Paul Riseborough
f76a2a5ff7
EKF: fix bug in sideslip fusion and reduce RAM usage
...
The bug meant the Y velocity (state index 5) covariance was not being updated correctly when sideslip was being used to constrain velocity drift (extended GPS loss).
The rework of the covariance update to reduce RAM follows the same pattern as adopted for other fusion processes
2016-11-05 12:19:01 +01:00
Paul Riseborough
951c8b77af
EKF: Improve wind state reset logic
...
Enables wind estimation without an airspeed sensor and enables synthetic sideslip to be used with an airspeed sensor for improved wind state estimation.
Wind states and covariances are reset differently depending on whether airspeed is available.
2016-11-05 12:19:01 +01:00
Paul Riseborough
2fedbc8a18
EKF: Refresh sideslip fusion auto-code and improve covariance update efficiency
2016-11-05 12:19:01 +01:00
Paul Riseborough
352b4ca177
EKF: Allow sideslip fusion with airspeed fusion
2016-11-05 12:19:01 +01:00
Paul Riseborough
fb6f4be453
EKF: don't allow sideslip fusion to affect non-airspeed states if not deae-reckoning
2016-11-05 12:19:01 +01:00
CarlOlsson
a9182259a5
fixed bug in beta fusion
2016-11-05 12:19:01 +01:00
CarlOlsson
0e3ae4b323
fixed issue with the covariance update in synthetic sideslip fusion
2016-11-05 12:19:01 +01:00
CarlOlsson
e1d9d503e3
updated logic of when to fuse beta. Now synthetic sideslip measurements are fused after 5 seconds of cruise flight with airspeed sensor activated
2016-11-05 12:19:01 +01:00
CarlOlsson
dec686afd7
updated parameters
2016-11-05 12:19:01 +01:00
CarlOlsson
5205a8198b
added function to control when to fuse beta
2016-11-05 12:19:01 +01:00
CarlOlsson
f5d0228cd5
include ecl.h
2016-11-05 12:19:01 +01:00
CarlOlsson
beb90f008d
adopted code for upstream changes
2016-11-05 12:19:01 +01:00
CarlOlsson
b7a4a1358f
added sidelip_fusion.cpp
2016-11-05 12:19:01 +01:00
CarlOlsson
12aeaafbd3
adopted estimator_interface.h
2016-11-05 12:19:01 +01:00
CarlOlsson
c8e3c24150
adopted ekf_helper.cpp
2016-11-05 12:19:01 +01:00
CarlOlsson
8f6c75bb0b
adopted ekf.h
2016-11-05 12:19:01 +01:00
CarlOlsson
15768f6f93
adopted ekf.cpp
2016-11-05 12:19:01 +01:00
CarlOlsson
738414d36e
adopted common.h
2016-11-05 12:19:01 +01:00
CarlOlsson
6c9cc5691c
adopted EKF/CMakeLists
2016-11-05 12:19:01 +01:00
CarlOlsson
daf44dcd67
adopted CMakeLists
2016-11-05 12:19:01 +01:00
Lorenz Meier
bae8adc1a8
Update README.md
...
Add GitHub links to maintenance team list.
2016-11-05 11:43:09 +01:00
Lorenz Meier
f44ab6f05d
Update README.md
...
Listing existing maintainers explicitly.
2016-11-05 11:34:38 +01:00
Michal Stasiak
2bfac7ff4f
Mission feasibility: Geofence check fix
...
Current implementation checks against geofence only if it is in polygon form.
When it's created via params, it accepts all the waypoints as the number of vertices = 0.
Thus, changed the function to the one that is used to check whether geofence is breached in flight.
2016-11-05 11:07:23 +01:00
Dennis Shtatnov
bf9a1c5a18
Removing alternative io timer rate for CF2
2016-11-05 11:06:43 +01:00
David Sidrane
2d451991af
PX4 System change to Remove #ifdefs from the IO timers
...
Update the comment, to explain how to achive a different perescale
value.
Added PX4_IO_TIMER_ALTERNATE_RATE one board agnostic ifdef
PX4_IO_TIMER_ALTERNATE_RATE that is non board specific.
N.B. I would like to eliminate PX4_IO_TIMER_ALTERNATE_RATE
as well, but I need crazyflie HW to validate that the startup
script can just set the rate on the PWM to 3921 fast enough to
not effect the motors.
2016-11-05 11:06:43 +01:00
David Sidrane
b2b9a0be9f
PX4 System change to allow way to override the PWM_.*_{MIN|MAX} values
...
Add PX4_PWM_ALTERNATE_RANGES in suport of a board agnostic way
to override the PWM_.*_{MIN|MAX} values
2016-11-05 11:06:43 +01:00
David Sidrane
d77e107e31
Crazyflie uses the board common interface to provide board name
...
Removed #ifdef in version.h
2016-11-05 11:06:43 +01:00
David Sidrane
ab43baa02d
Clean up Crazyflie
...
1) Remove uneeded spi and reset code
2) Use the Board commin for providing the BOARD_NAME
3) Add PX4_PWM_ALTERNATE_RANGES in suport of a board agnostic
way to override the PWM_.*_{MIN|MAX} values
4) Remove #ifdefs from the IO timers*. Drive the config deltas
from the crazyflie_timer_config.c and one board agnostic
ifdef PX4_IO_TIMER_ALTERNATE_RATE that is non board specific
*I would like to eliminate PX4_IO_TIMER_ALTERNATE_RATE
as well, but I need HW to validate that the startup
script can just set the rate on the PWM to 3921 fast
enough to not effect the motors.
2016-11-05 11:06:43 +01:00
David Sidrane
c4d91ef644
Removed CONFIG_STM32_I2CTIMEOTICKS defined in the PX4 I2C driver
...
CONFIG_STM32_I2CTIMEOTICKS is hard defined on PX4 master
and defconfig defined on upstream Nuttx (nuttx_v3) it will be fixed
there.
2016-11-05 11:06:43 +01:00
David Sidrane
fd797ae3b4
Using build system warnings.
...
Aligned Make.Defs to use the build system's defined warnigns.
2016-11-05 11:06:43 +01:00
Mark Whitehorn
9603794b9d
set verbose flag for Dcm.renormalize test
2016-11-05 11:05:25 +01:00
Mark Whitehorn
03beeb2e55
update matrix submodule
2016-11-05 11:05:25 +01:00
Mark Whitehorn
fc73ab5e40
add unit test for Dcm.renormalize()
2016-11-05 11:05:25 +01:00
Daniel Agar
a8369c6ac8
FW use loiter to achieve waypoint altitude
...
- fixes #5061
2016-11-05 10:30:36 +01:00
Paul Riseborough
283c328c23
Merge pull request #212 from PX4/pr-ekfCriticalBugFix
...
EKF: Fix bug causing repeated resets if GPS sensor disconnected
2016-11-05 09:43:24 +11:00
Paul Riseborough
8aee45dd96
EKF: Fix bug causing repeated resets if GPS sensor disconnected
2016-11-05 09:36:06 +11:00
Paul Riseborough
2bc50489fd
Merge pull request #210 from PX4/remove_KH
...
EKF: reduce KH to only the elements that are really needed, and merge the loops
2016-11-05 09:24:13 +11:00
Sander Smeets
39cc75b4a0
Rebase of vtol_land_weathervane patch
2016-11-04 20:29:45 +01:00
Beat Küng
4bcf2cdb52
uavcan: fix initialization of std::array
...
in C++11, double braces are needed for std::array aggregate initialization,
or assignment with =.
see: http://en.cppreference.com/w/cpp/container/array
2016-11-04 16:41:13 +01:00
Carlo Wood
09d36a63ef
Revert to using __builtin_isfinite for QuRT.
...
See discussion in https://github.com/PX4/Firmware/issues/5756
2016-11-04 16:40:45 +01:00
Beat Küng
ab4d7dfc59
mavlink: stop ulog streaming when mavlink thread exits
...
'mavlink stop-all' during a log streaming session previously led to a
resource leak, and log streaming could only be re-started by rebooting the
system.
2016-11-04 11:08:06 +01:00
Beat Küng
587c5161a3
mavlink_{shell,ulog_streaming}.py: show full error output when pymavlink import fails
2016-11-04 11:08:06 +01:00
Beat Küng
fa461d018d
mavlink_{shell,ulog_streaming}.py: send heartbeat
...
This is helpful, so that a connected partner can switch from broadcasting
to a 'connected' state.
2016-11-04 11:08:06 +01:00
Mark Whitehorn
25be7aa7cf
incorporate Bill Premerlani's fast rotation handling from MatrixPilot
2016-11-03 23:03:03 +01:00
Lorenz Meier
76082da674
Add IST8310 driver
2016-11-03 15:38:28 +01:00
Lucas De Marchi
c5100b6273
tap_esc: fix output order for quadrotor
2016-11-03 15:38:09 +01:00
mantelt
8b237d7cf3
navio_sysfs_pwm_out: Adressing comments of @bkueng
...
(https://github.com/PX4/Firmware/pull/5704#pullrequestreview-6977559 )
2016-11-03 12:37:41 +01:00
mantelt
10491884ca
navio_sysfs_pwm_out: command line argument for mixerfile
2016-11-03 09:38:38 +01:00
mantelt
32403ddb90
navio_sysfs_pwm_out: removing default mixer
2016-11-03 08:59:58 +01:00