Commit Graph

7689 Commits

Author SHA1 Message Date
Beat Küng 25cff52019 RTCM: use MAVLINK_MSG_ID_GPS_RTCM_DATA mavlink message (supports fragmentation) 2016-06-02 09:26:03 +02:00
Beat Küng 0e3d660ccd logger refactor: add ulog_ prefix to struct names and header length 2016-06-02 07:32:49 +02:00
Beat Küng 078e79f294 mavlink_log.c: fix coding style 2016-06-02 07:32:49 +02:00
Beat Küng 034772056a logger: prepare for replay: add replayed file to the log, use _replayed as file name suffix 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
Beat Küng 659ac8faf2 refactor logger: use static fields & move them to source file
avoids multiple declarations of...
2016-06-02 07:32:49 +02:00
Beat Küng 43d734ef43 orb: consistently use unsigned int for queue_size 2016-06-02 07:24:44 +02:00
Beat Küng 392c32d316 uORBTest_UnitTest.cpp: fix style 2016-06-02 07:24:44 +02:00
Beat Küng 79b3766544 orb: add unit tests for queuing, including tests with poll & notify interface
Both succeed under Posix & NuttX (Pixracer)
2016-06-02 07:24:44 +02:00
Beat Küng 5b1273e334 orb: add optional queuing of messages
This adds two uORB API calls:
- orb_advertise_queue
- orb_advertise_multi_queue

Both add a queue_size parameter to define a maximum number of buffered
item. The existing orb calls use all a queue size of one and thus their
behavior is unchanged. If a writer publishes too fast, the oldest elements
from the queue are silently dropped.
The returned timestamp is always the one from the latest message in the
queue.

Queue size can be set via ioctl during advertisement phase. After that it
cannot be changed anymore.
2016-06-02 07:24:44 +02:00
Mark Charlebois 6ac0eabb5a Changes required to support Hexagon SDK 3.0
The inc and lib directories were renamed to incs and libs.

This requires an updated cmake_hexagon and come changes to qurt paths in
PX4.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
David Sidrane a7946aa771 Fixed Spelling (#4713) 2016-06-01 06:35:42 -10:00
Julian Oes 64109daff8 land_detector: fix timestamp type (#4710)
The overflow of the uint32_t lead to the land_detector start getting
aborted.
2016-06-01 17:15:27 +02:00
David Sidrane 08f0cc1b24 Print the DMA usage in top via instrumentation interface 2016-06-01 08:35:34 +02:00
jwilson c6250657eb Added mag support to the DriverFramework mpu9250 driver. Shortened parameter names for legacy drivers. Added temporary ifdef's in the calibration code for Snapdragon Flight builds.
Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
2016-05-31 16:43:12 +02:00
Beat Küng 8c9b272545 mavlink udp: avoid spamming the console when disconnecting the Network or bcast addr not found (#4611) 2016-05-30 21:53:37 +02:00
Kabir Mohammed 977eb2de17 Fix missing dprintf on QURT 2016-05-30 15:23:13 +01:00
Lorenz Meier 9dd050b393 VTOL: Be more efficient 2016-05-29 16:27:50 +02:00
Lorenz Meier 0354ada5d3 Sensors: be more efficient 2016-05-29 16:27:39 +02:00
Lorenz Meier ba9e9397aa Navigator: Be more efficient 2016-05-29 16:27:27 +02:00
Lorenz Meier 1e9fae8301 MC pos control: Be more efficient 2016-05-29 16:27:14 +02:00
Lorenz Meier 8032787faa MC att control: Be more efficient 2016-05-29 16:27:01 +02:00
Lorenz Meier 4d4f8d25c2 Logger: Be more efficient 2016-05-29 16:26:47 +02:00
Lorenz Meier c838469db9 Load man: Be more efficient 2016-05-29 16:26:37 +02:00
Lorenz Meier 4da0ddb8cb EKF1: Safe ROM space 2016-05-29 16:26:23 +02:00
Lorenz Meier aebe4db52a Q estimator: Optimize for size 2016-05-29 16:15:01 +02:00
Lorenz Meier 1b2043b929 MAVLink app: Allocate buffers only as they are needed 2016-05-29 16:14:33 +02:00
Lorenz Meier fe69be05ca INAV: Move to -Os 2016-05-29 15:54:04 +02:00
Pavel Kirienko ef343dc452 STM32 CAN driver moved from .data to heap; partially resolves #4677 (#4681) 2016-05-29 13:54:45 +02: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
Paul Riseborough 9e0ab5d266 ekf2: update height source parameter documentation 2016-05-28 14:54:14 +02:00
Paul Riseborough 2ce8056b8f mavlink: publish values for vision system errors
Sets zero values as a placeholder until mavlink can be updated.
2016-05-28 14:54:14 +02:00
Paul Riseborough ac50510c78 ekf2: Use parameter defined values for EV noise if vision system estimates not available 2016-05-28 14:54:14 +02:00
Paul Riseborough 26d81418fa ekf2: Add external vision to replay 2016-05-28 14:54:14 +02:00
Paul Riseborough 37b4955f07 ekf2: Add use and logging of external vision data 2016-05-28 14:54:14 +02:00
Paul Riseborough 57c1138d28 ekf2: add parameters for control of external vision fusion 2016-05-28 14:54:14 +02:00
Paul Riseborough 2e127a4737 sdlog2: Add external vision data to ekf2 replay
Put struct definitions in enum order
Fix duplicate enum value
Add ekf2 replay message for external vision data
2016-05-28 14:54:14 +02:00
Lorenz Meier 8bccd69e6c LPE: Params are not actually C files 2016-05-28 14:51:12 +02:00
Lorenz Meier 0d26bccbbc Controllib: Params are not actual C files 2016-05-28 14:51:12 +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
Lorenz Meier 7a0d43586f MAVLink app: Only start transmitting when boot is complete (#4666) 2016-05-28 09:57:07 +02:00
Lorenz Meier 0dc36d149e Sensors: Reinstate main stack 2016-05-27 23:12:07 +02:00
Lorenz Meier 24622131c9 Sensors: Reinstate boot stack 2016-05-27 23:11:51 +02:00
Jimmy Johnson 38acd15ec6 more clean up 2016-05-27 12:55:34 -07:00
Jimmy Johnson f397d40f09 follow target updates 2016-05-27 12:55:34 -07:00
Julian Oes 224fbbc26b land_detector: fix uninitialized value (#4659) 2016-05-27 17:18:51 +02:00
Paul Riseborough d4262bce2a EKF2 output predictor update (#4606)
* ekf2: Update tuning parameter documentation

* ecl: update submodule reference

Enables selection of a new output predictor method
2016-05-27 08:36:37 +02:00