Commit Graph

11494 Commits

Author SHA1 Message Date
Lorenz Meier 3f169d9b78 Fix instructions for airspeed calibration 2016-05-07 14:37:55 +02:00
Sander Smeets 1815b47fbf Add reserved type, fixes #4466 (#4476)
* Add reserved type, fixes #4466

* Additional reserved vtol types added to is_vtol
2016-05-07 10:59:49 +02:00
Daniel Agar 7b0078a20d bosch bmi160 driver (#4469) 2016-05-06 21:07:34 +02:00
Lorenz Meier 755176b247 Sim compile fix 2016-05-06 19:22:18 +02:00
Lorenz Meier ebaca071f6 Battery charge estimation: Factor in voltage drop for idle props 2016-05-06 18:14:34 +02:00
Lorenz Meier 48d7295be6 Default to a multicopter 2016-05-06 07:28:36 +02:00
Lorenz Meier 7dbef87ca0 FW pos control: Reduce excessive stack ssize 2016-05-05 20:11:00 +02:00
Lorenz Meier 5e099d8d16 sensors: Reduce perf counters 2016-05-05 20:09:09 +02:00
Lorenz Meier 901461f301 FW att ctrl: Reduce perf counters 2016-05-05 20:08:54 +02:00
Lorenz Meier 34c7dea08c EKF: Reduce perf counters 2016-05-05 20:08:43 +02:00
Lorenz Meier dd774a60e3 IO driver: Reduce perf counters 2016-05-05 20:08:11 +02:00
Lorenz Meier 2e23d01b60 Systemlib: harden perf counter handling for null ptrs 2016-05-05 20:07:48 +02:00
Lorenz Meier e250d12184 Board drivers: Shorten perf names 2016-05-05 20:06:42 +02:00
Lorenz Meier 1840d2287c Update ECL to reduce perf counter usage 2016-05-05 20:06:23 +02:00
Lorenz Meier ae75ba26b7 MAVLink: Remove excessive stack 2016-05-05 19:36:39 +02:00
Lorenz Meier 639a589233 Fix RTL abort detection on stick change 2016-05-05 16:55:04 +02:00
Lorenz Meier bbd2b763a3 Fix battery charge level filter 2016-05-05 16:13:58 +02:00
Julian Oes 6c61b67fd5 shmem: fix eagle build 2016-05-05 14:28:35 +02:00
Julian Oes bdaa1b58f6 uart_esc: fix eagle build 2016-05-05 14:28:20 +02:00
Lorenz Meier 2801a54544 Snapdragon param build fix 2016-05-05 14:15:25 +02:00
Lorenz Meier 34ba80ea9d Remove attributes warning for Snapdragon 2016-05-05 14:09:18 +02:00
Lorenz Meier 192510ee1c FMUv4 compile fix 2016-05-05 14:09:03 +02:00
Lorenz Meier 084dfb4026 Fix Snapdragon no-packed 2016-05-05 14:02:31 +02:00
Daniel Agar 7aa6e85563 enable Wshadow 2016-05-05 13:32:42 +02:00
Lorenz Meier e61f517bc6 Update ECL library to include all bugfixes 2016-05-05 13:18:03 +02:00
Lorenz Meier bdaa2ee20e Update DriverFramework to include recent improvements and fixes 2016-05-05 11:51:36 +02:00
jwilson c87a8bedb6 Adding config changes to allow PX4 to be built for the Excelsior board. 2016-05-05 08:34:31 +02:00
Lorenz Meier 45a5f2aaa4 MC vel control: Better defaults, better min and max gains 2016-05-04 22:49:36 +02:00
Julian Oes aafcae7e6f MPU9250: integrate using the FIFO sample interval
Instead of calculating time offsets between samples, it is easier just
to assume a constant sampling time. Then all samples can be integrated,
and published every forth time the FIFO buffer has been emptied.

The sampling in the sensor happens at 8kHz, the driver empties the
buffer at 1kHz, and publishes (and resets the integration) at 250 Hz.
2016-05-04 22:28:19 +02:00
Julian Oes f528c63030 integrator: add a put method for known intervals
This adds a second put method to the integrator class. This allows to
integrate with known intervals between samples, rather than based on
timestamps. This makes integrating the samples coming out of the MPU9250
FIFO buffer easier.
2016-05-04 22:28:19 +02:00
Beat Küng e24bef1f70 fix AttPosEKF::FuseOptFlow: move fuse block into 'if (fuseOptFlowData)' block
if fuseOptFlowData == false, then K_LOS was not initialized, but it was
accessed in the next fuse block to update states variable.
2016-05-03 17:34:42 +02:00
Beat Küng 27d821ac9f fix position_estimator_inav_main: put terrain_estimator on the stack
This fixes a memory leak
2016-05-03 17:34:42 +02:00
Beat Küng 44a0981c14 fix px4_task_spawn_cmd: unlock mutex if pthread_create fails 2016-05-03 17:34:42 +02:00
Beat Küng 99a682e7a7 fix px4_task_spawn_cmd: memory leak, if one of the pthread_* calls fails 2016-05-03 17:34:42 +02:00
Beat Küng c942266aa6 fix airspeedsim: add missing return 2016-05-03 17:34:41 +02:00
tumbili 57f73e59b7 warn immediately if ekf2 instance allocation has failed 2016-05-03 16:09:26 +02:00
tumbili 9f5e9594f5 implement ekf instance and block parameter instance as class members
in order to avoid memory management
2016-05-03 16:09:26 +02:00
Julian Oes a6e1df06d9 Merge pull request #4422 from PX4/fix_snappy_muorbinit
muorb: call `initialize()` before `get_instance()`
2016-05-03 15:51:21 +02:00
Michal Stasiak 9db80b75f4 Auto take-off corner case: Reset work item type when landed 2016-05-03 14:04:33 +02:00
Lorenz Meier b883b30404 Simulator: Drain the battery to 15%, reffill it once disarmed to allow for more testing 2016-05-03 13:45:15 +02:00
Lorenz Meier e1e15add01 Reposition: Do not yaw for small dispsplacements 2016-05-03 13:35:53 +02:00
Lorenz Meier a4ad826958 Loiter: Face travel direction when performing reposition 2016-05-03 13:16:19 +02:00
Lorenz Meier 6de02c460a Battery estimation: Widen thresholds and filter more 2016-05-03 12:35:35 +02:00
Lorenz Meier 4c61f52269 Code style fixes 2016-05-03 11:42:28 +02:00
Lorenz Meier c958bfeaa3 MAVLink app: Report OS and Firmware version 2016-05-03 11:39:54 +02:00
Lorenz Meier ff3e17df0d Systemlib: Add FW and OS versioning 2016-05-03 11:39:39 +02:00
Lorenz Meier cef1e79b00 Update DriverFramework version 2016-05-03 10:04:55 +02:00
Mark Charlebois 8cb8987bcd Use DriverFramework as a PX4 module (#4415)
* Use DriverFramework as a PX4 module

Targets wanting to use DriverFramework must add

   lib/DriverFramework/framework

to their config file.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Removed spurious code

No need to add if check before for loop

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Added DriverFramework to NuttX configs

Added lib/DriverFramework/firmware to nuttx configs

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Updated src/lib/DriverFramework

* Removed DF_TARGET and __DF_${OS} defines

These are now handled inside DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Updated DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Restored __DF_${OS}

The include files in DriverFramwork need to know the target OS.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-03 10:03:28 +02:00
Lorenz Meier c84b2ddeb0 Navigator: Clarify geofence params, remove terminate 2016-05-01 18:28:20 +02:00
Lorenz Meier 9b1e4c42de Multicopter: Clarify speed params 2016-05-01 18:28:01 +02:00