11356 Commits

Author SHA1 Message Date
Paul Riseborough
2b370417e8 drivers: Correct IMU coning correction implementation
Previous did not match the matlab simulation in: https://github.com/priseborough/InertialNav/blob/master/models/imu_error_modelling.m
2016-05-28 11:47:23 +02:00
Julian Oes
9d489b9b0f Snapdragon: rename uart_esc to pwm_out_rc_in
The name uart_esc was initially taken by Qualcomm's UART ESC driver but
then got changed into the current mavlink ESC/RC helper. Since the
uart_esc is still around, we should prevent the names clashing.
2016-05-28 11:42:12 +02:00
Julian Oes
6dfb80ddd1 snapdragon_rc_pwm: fix comments 2016-05-28 11:42:12 +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
6fa446b465 Format fix 2016-05-28 00:10:02 +02:00
Lorenz Meier
7be5ae9b93 Version: Report in common MAVLink format 2016-05-27 23:12:51 +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
Beat Küng
26feb018d9 getprogname on posix: fix locking (mutex was not unlocked in some cases) 2016-05-27 19:33:55 +02:00
Julian Oes
45bb1786b6 Fix SITL CPU (#4657)
* accelsim: add debug output like in gyrosim

* DriverFramework: update submodule

This brings lower CPU usage because of scheduling in us instead of ms.
2016-05-27 18:52:38 +02: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
Pavel Kirienko
c08eec0a23 Fixed stack overflow in UAVCAN process (#4643)
* Increased uavcan stack size; the old value of 1800 was insufficient

* Removed a misleading warning message from uavcan servers initialization
2016-05-26 20:00:10 +02:00
Julian Oes
a25bbdd12d DriverFramework: update submodule (#4648)
This fixes a bug where the accelsim and gyrosim were conflicting with
work handles which lead to a state where no gyro data was published.
2016-05-26 19:57:20 +02:00
Lorenz Meier
e8aae9c7ab Update DriverFramework reference to point to DF master 2016-05-26 14:05:50 +02:00
Julian Oes
af06737e7e sdlog2: fix Segfault on Eagle (#4638)
Since orb_exist doesn't work on the Snapdragon Linux side, we need to do
an additional orb_check after the orb_subscribe_multi, otherwise we copy
garbage.

The segfault was triggered by a count/length information about ESC
packets which lead to access outside the struct in the garbage case.
2016-05-25 21:50:23 +02:00
Lorenz Meier
d9718d0d98 Fix commander argc handling 2016-05-25 20:56:25 +02:00
bharathr
250aab66ed Fixed the parsing of commander arguments for non-QURT builds 2016-05-23 17:58:59 +02:00
bharathr
723b501186 Restricted the previous commit to __PX4_QURT only 2016-05-23 17:58:59 +02:00
jwilson
64c3b330ee Partial fix for Snapdragon HITL mode 2016-05-23 17:58:59 +02:00
Mark Charlebois
ea138cfd38 Updated DriverFramework with NuttX fixes
See required DriverFramework change:

   https://github.com/PX4/DriverFramework/pull/83

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-23 17:53:49 +02:00
Mark Charlebois
8845070d89 Revered changes by Daniel Agar that broke posix eagle build
The following cflags must be set for the eagle builds that compile the
generated IDL stubs:

	-Wno-missing-prototypes -Wno-missing-declarations

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-23 17:53:49 +02:00
Mark Charlebois
7c6d24d6b0 Updated DriverFramework with critical qurt fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-23 17:53:49 +02:00
Lorenz Meier
2c6a8c0ce6 MS5611: Drop readout rate to 25 Hz to alleviate self-heating. 2016-05-22 15:21:56 +02:00
Lorenz Meier
c4da55e40f MAVLink app: Reduce excessive allocation 2016-05-22 15:03:22 +02:00
Beat Küng
7f3a95508e logger: move SDLOG_UTC_OFFSET param definition into logger module
It's still used in sdlog2, but once we'll depricate/remove sdlog2, we will
not remove this parameter as well.
2016-05-22 13:31:35 +02:00
Beat Küng
cd7c955067 logger: -t param: fall back to px4_clock_gettime if there's no gps fix 2016-05-22 13:31:35 +02:00
Beat Küng
a9930c2173 logger: avoid logging the padding if it's at the end of a message format 2016-05-22 13:31:35 +02:00
Beat Küng
bd96afa00b logger: use int32_t for utc_offset instead of uint32_t 2016-05-22 13:31:35 +02:00
Beat Küng
623fe7ca2c logger + uorb msg template: rm msg name from o_fields to save space
Instead we use o_name to get the topic name. Now the topic names are not
upper case anymore in the log format. This makes it more consistent, eg.
if used as a nested topic
2016-05-22 13:31:35 +02:00
Beat Küng
4f8d16cc4d logger: log dropout events 2016-05-22 13:31:35 +02:00
Beat Küng
c13247e14f logger: log all known formats, add ADD_LOGGED_MSG message
this is needed for nested topics.
2016-05-22 13:31:35 +02:00
Beat Küng
2d037d1a1c logger: add an MSG_HEADER_LEN to clarify meaning 2016-05-22 13:31:35 +02:00
Beat Küng
df803fc4b9 logger: remove redundant format_len from message_format_s 2016-05-22 13:31:35 +02:00
Beat Küng
971e97745f logger: reorder message header fields (for alignment) 2016-05-22 13:31:35 +02:00
Beat Küng
0ddd7a408c logger: write "sys_name" and "time_ref_utc" info to log file 2016-05-22 13:31:35 +02:00
Beat Küng
908f7eb47f logger: remove some comments, logging output 2016-05-22 13:31:35 +02:00
Beat Küng
1719d9a957 logger: add a file magic 2016-05-22 13:31:35 +02:00
Andrew Tridgell
3f6f030fc4 px4iofirmware: allow override when RAW_PWM is active
if override is enabled then it should apply even if RAW_PWM is being
supplied by the FMU
2016-05-22 13:20:44 +02:00
Andrew Tridgell
f38b1bf160 px4fmu: allow for GPIO_SET_OUTPUT with initial value
this is needed to prevent inadvertent camera trigger when setting up a
port
2016-05-22 13:09:55 +02:00
Andrew Tridgell
9c1a02d673 gpio: added SET_OUTPUT ioctls 2016-05-22 13:09:55 +02:00
Andrew Tridgell
76c2c9a46d drivers: added filter control ioctls 2016-05-22 13:09:04 +02:00
Andrew Tridgell
8bc550b619 oreoled: align with ArduPilot version 2016-05-22 12:45:55 +02:00
Lorenz Meier
034bbdf988 Fix battery topic handling in SMBus battery 2016-05-22 12:44:07 +02:00
Beat Küng
a94654e8d4 gps dump communication to file: include received RTCM messages 2016-05-22 12:19:47 +02:00
Beat Küng
6b8ab4611b gps: workaround for missing stat() on QuRT 2016-05-22 12:19:47 +02:00
Beat Küng
aef78b8aeb gps: add GPS_DUMP_COMM param: if 1, dump all gps communication to a file 2016-05-22 12:19:47 +02:00