18434 Commits

Author SHA1 Message Date
Beat Küng
fc2d2c6ce0 gps: update drivers submodule 2016-06-02 09:26:03 +02:00
Beat Küng
b226f7d13d gps: call fsync after injecting gps data
This is to minimize delay
2016-06-02 09:26:03 +02:00
Beat Küng
d35814ed99 nuttx px4fmu-v4 config: increase CONFIG_NFILE_DESCRIPTORS to 52
necessary for mavlink receiver. It had the following output:
 mavlink_rcv_if0: node_open as advertiser failed.
2016-06-02 09:26:03 +02:00
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
Lorenz Meier
bdf064fd8f Update SITL Gazebo plugin 2016-06-02 06:45:32 +02:00
Kabir Mohammed
69976caca9 param : fix shell handler instructions (#4716) 2016-06-02 06:37:19 +02:00
Mark Charlebois
ec620ecc14 Updated cmake_hexagon for SDK 2.0 support
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois
cc15785091 Updated cmake_hexagon
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois
bea416e117 Updated cmake_hexagon for support of required posix build headers
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois
30a3311fe6 Fixed qurt_eagle_travis build
Added missing stub function and added SDK 2 and 3 support.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois
02e3f28d87 Added back support for SDK 2.0 as well as 3.0
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +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
Lorenz Meier
201b5e36fa Update SITL Gazebo 2016-06-01 17:54:19 +02: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
Lorenz Meier
f79adacc9b FMUv4: Save 3KB of RAM 2016-06-01 17:12:52 +02:00
Lorenz Meier
ae5527fac7 FMUv2: Save 3KB of RAM 2016-06-01 17:12:34 +02:00
Lorenz Meier
eb7970bee2 MindPX: Save 3KB of RAM 2016-06-01 17:12:19 +02:00
Lorenz Meier
8f4ca16bae FMUv1: Fix board config 2016-06-01 17:12:02 +02:00
Julian Oes
144b0a179a df_hmc5883_wrapper: fix wrong variable name 2016-06-01 08:39:10 +02:00
Julian Oes
3e176fa91f df_mpu9250_wrapper: usage is info 2016-06-01 08:39:10 +02:00
Julian Oes
d5a7aaa09d df_hmc5883_wrapper: rotation on driver level 2016-06-01 08:39:10 +02:00
Julian Oes
969940e98a df_mpu9250_wrapper: add rotation to internal mag 2016-06-01 08:39:10 +02:00
Kabir Mohammed
a7ae7907f7 add rotation support to mpu9250 wrapper 2016-06-01 08:39:10 +02:00
David Sidrane
69d0a78c54 Update adc.cpp 2016-06-01 08:36:58 +02:00
David Sidrane
9833ef13fb Update adc.cpp 2016-06-01 08:36:58 +02:00
David Sidrane
08f0cc1b24 Print the DMA usage in top via instrumentation interface 2016-06-01 08:35:34 +02:00
David Sidrane
b54ec99d22 Move the DMA allocation to a common code and provide an instrumentation interface 2016-06-01 08:35:34 +02:00
Lorenz Meier
28080f04b0 Update Gazebo models 2016-06-01 08:12:35 +02:00
Julian Oes
99cf6758d2 DF driver wrappers: whitespace fixes 2016-05-31 16:43:13 +02:00
Julian Oes
4e54bed051 df_mpu9250_wrapper: bool comparison without ==
I prefer this way because I think it's more readable.
2016-05-31 16:43:13 +02:00
Julian Oes
b0b7832048 DF driver wrappers: advertise with actual data 2016-05-31 16:43:13 +02:00
Julian Oes
c170657dff DriverFramework: update submodule
This brings MPU9250 mag support with the correct scaling in place.
2016-05-31 16:43:13 +02:00
Julian Oes
d030444733 posix-configs: start HMC5883 before MPU9250 in DF
We need to start the external mag before we start the internal mag on
the MPU9250 because the ekf2 does not support voting for the sensor with
the highest priority (or failures) yet, so it will just subscribe to
whatever is at 0.
2016-05-31 16:43:13 +02:00
jywilson
c6e7307ee1 Update .gitmodules 2016-05-31 16:43:13 +02:00
jwilson
a7b31e9fca Pointing internal build to ATLFlight until PX4 pull request is accepted.
Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
2016-05-31 16:43:13 +02:00
jwilson
76095ebba5 Responding to PR feedback. All items resolved.
Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
2016-05-31 16:43:12 +02:00
jwilson
67ea3d6ec6 Fixing function which retrievs mag calibration values.
Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
2016-05-31 16:43:12 +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
Michael Schäuble
d9422e0296 Add Parrot Bebop as build target (#4698)
* Add parrot bebop build structure

* Add upload functionality to bebop build

* Add modules and commands to bebop build
2016-05-31 13:04:22 +02:00
Roman Bapst
292b35d06d updated matrix lib: (#4631)
- better documentation in header files
2016-05-30 23:31:06 +02:00