Commit Graph

477 Commits

Author SHA1 Message Date
jwilson a73ac821ab Fixes shared memory locking bug and eliminates the need for an AppsProm driver to reserve a shared memory region. 2016-06-22 08:57:06 +02:00
Julian Oes ea10c8c8a3 circuit_breaker: change default for GPS failure
We should definitely take action when GPS fails, this circuit breaker
shouldn't be engaged anymore.
2016-06-21 10:21:34 +02:00
David Sidrane 538d9ada25 Needed to avoid name collsion in upcomming Nuttx logger changes (#4830) 2016-06-15 21:51:53 +02:00
Beat Küng fcab80bfee getprogname: rename to px4_get_taskname 2016-06-09 15:22:29 +02:00
Beat Küng 9f5adb2356 getprogname: re-enable on NuttX & move to px4_tasks.h 2016-06-09 15:22:29 +02:00
Julian Oes 3b5feafef4 err: add missing include for exit 2016-06-07 22:10:56 +02:00
Julian Oes 04083cff3d err: we need to use exit on NuttX
px4_task_exit doesn't seem to be available for NuttX, so it had no
effect and broke the init because the return values of the tasks were
wrong.
2016-06-07 22:10:56 +02:00
Julian Oes c916ee7357 err: astyle prefers it different 2016-06-07 22:10:56 +02:00
Julian Oes f68a6eb42c err/px4_log: switch everything to static function
Instead of having separate log functions for NuttX and POSIX, this now
switches everything to px4_log.h and PX4_INFO/WARN/ERR/DEBUG.

Also, the call mostly used is now a static inline function instead of a
macro which lead to a big increase in flash size for STM32.
2016-06-07 22:10:56 +02:00
Julian Oes 11cc17b63a param_shmem: be less verbose 2016-06-07 22:10:56 +02:00
Julian Oes 93ada40bf9 param_shmem: removed a printf 2016-06-07 22:10:56 +02:00
Beat Küng 078e79f294 mavlink_log.c: fix coding style 2016-06-02 07:32:49 +02:00
Beat Küng 069dd01cb0 logger: subscribe to mavlink_log messages and write them to the log 2016-06-02 07:32:49 +02:00
David Sidrane a7946aa771 Fixed Spelling (#4713) 2016-06-01 06:35:42 -10:00
David Sidrane 08f0cc1b24 Print the DMA usage in top via instrumentation interface 2016-06-01 08:35:34 +02:00
Kabir Mohammed 977eb2de17 Fix missing dprintf on QURT 2016-05-30 15:23:13 +01:00
Lorenz Meier 7398164fcc Updated PX4 use / API of low level GPIO and other hardware-centric system facilities 2016-05-28 14:56:17 +02:00
Lorenz Meier a80223bc81 systemlib: Added cases for TOP for Linux and QuRT 2016-05-28 14:51:12 +02:00
Lorenz Meier 8f37e02c59 Darwin: Print the relative CPU load produced by each thread 2016-05-28 14:51:12 +02:00
Lorenz Meier 120ff6ea15 CPU load header cleanup 2016-05-28 12:07:28 +02:00
Lorenz Meier 8b510270a9 CPU load: add missing header 2016-05-28 10:34:15 +02:00
Mark Whitehorn c626f5b001 shorten pwm init and ramp times 2016-05-19 22:14:29 +02:00
Daniel Agar 2487dbfc92 remove Wpacked and cleanup unused warning flags 2016-05-19 21:49:34 +02:00
Lorenz Meier f3ee22b22c Battery lib: Set valid flag 2016-05-15 15:38:20 +02:00
Daniel Agar 9c32792017 param_test link libmsg_gen 2016-05-14 11:27:07 +02:00
Daniel Agar 4e0129275d new logger 2016-05-14 11:27:07 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Daniel Agar 0ee801df20 system_params.c param metadata 2016-05-13 21:15:38 -04:00
Daniel Agar d85e7732b4 fix param_test 2016-05-13 13:01:42 +02:00
Daniel Agar 8e130c878c system_params.c param metadata 2016-05-11 12:30:06 -04:00
Daniel Agar 845b4c032c battery_params.c param metadata 2016-05-11 12:30:04 -04:00
sander 29dd1ad47a Code style 2016-05-10 21:34:11 +02:00
sander 9a09c5af5c Add low pass filtered current draw 2016-05-10 21:34:11 +02:00
Lorenz Meier c5a6442ce6 Perf print: Fix division by zero 2016-05-09 09:03:30 +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 2e23d01b60 Systemlib: harden perf counter handling for null ptrs 2016-05-05 20:07:48 +02:00
Lorenz Meier bbd2b763a3 Fix battery charge level filter 2016-05-05 16:13:58 +02:00
Lorenz Meier 2801a54544 Snapdragon param build fix 2016-05-05 14:15:25 +02:00
Lorenz Meier 192510ee1c FMUv4 compile fix 2016-05-05 14:09:03 +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 ff3e17df0d Systemlib: Add FW and OS versioning 2016-05-03 11:39:39 +02:00
Lorenz Meier 05885e4e5f Add support to enable FrSky telemetry on TELEM2 2016-04-30 12:00:56 +02:00
Lorenz Meier bf0ea86bd9 Fix battery params to better defaults 2016-04-29 20:34:32 +02:00
Lorenz Meier 18b72241ce System params: Update choices for ESP8266 2016-04-29 14:58:41 +02:00
Lorenz Meier 567364317a Fix formatting in battery 2016-04-29 11:16:41 +02:00
Lorenz Meier 1b133931a6 Battery charge estimation: Refactor the filtering strategy and move it to the backend, doing integration before and filtering the resulting charge estimate 2016-04-29 11:05:44 +02:00
Lorenz Meier 3345a586d2 Battery: Initialize lowpass value properly 2016-04-28 13:24:53 +02:00
Lorenz Meier a676af3d42 Battery: Deal with symmetric throttle 2016-04-28 13:05:44 +02:00
Julian Oes e3c9135ac2 param_shmem: fix bug where params didn't stick
There was the case where a param was changed on the Linux side but the
change did not get saved on the DSP side because the param was not in
the local list of changed params on the DSP side. On save, the param
index is now refreshed, and param_get is called on all params that have
changed. This is a hacky workaround but resolves the problem for now.
2016-04-26 10:21:01 +02:00