Commit Graph

18308 Commits

Author SHA1 Message Date
Lorenz Meier 0ad0602560 Added missing timestamp to topic listener 2016-05-25 22:21:19 +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 e6bfe4348c Reduce logging buffers to free some RAM 2016-05-22 15:17:44 +02:00
Lorenz Meier c4da55e40f MAVLink app: Reduce excessive allocation 2016-05-22 15:03:22 +02:00
Lorenz Meier 655b605431 Do not force safety disable for all FMUv4 units 2016-05-22 14:55:20 +02:00
Lorenz Meier 1d3669714b EKF2 config: Do not build other estimators 2016-05-22 14:28:07 +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
Beat Küng 5cf8081a98 uorb template: add timestamp to the format string
We explicitly include the timestamp. This makes it possible to change it's
type later on.
This breaks the current ULog logging format.
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
Beat Küng 47ed8c1a3c gps: fix thread initialization under posix
under NuttX the argc in task_main_trampoline contains two arguments,
but on linux only one.
2016-05-22 12:19:47 +02:00
Beat Küng 9d0c5469a0 gps: remove unneeded comment 2016-05-22 12:19:47 +02:00
Beat Küng f600b7fb37 fix gps regression: publish satellite info 2016-05-22 12:19:47 +02:00
Beat Küng c6f25591f7 dual gps: some cleanup, correctly use args argument of px4_task_spawn_cmd 2016-05-22 12:19:47 +02:00
Sebastian Verling e7ed07cf3c formatting 2016-05-22 12:19:47 +02:00
Sebastian Verling 62a152227a removed debugging line 2016-05-22 12:19:47 +02:00
Sebastian Verling 49e1c99dee make sure gps1 always publishes to gps1 topic 2016-05-22 12:19:47 +02:00
Sebastian Verling 7c5d10d57c removed unnecessary pointer and comment 2016-05-22 12:19:47 +02:00
Sebastian Verling 07d1d78a43 driver starting correctly 2016-05-22 12:19:47 +02:00
Sebastian Verling 34150ba688 unadvertising gps_pub 2016-05-22 12:19:47 +02:00
Sebastian Verling 3a72e9b494 formatting 2016-05-22 12:19:47 +02:00
Sebastian Verling c1cdef7e63 fixed multi subscribing and publishing
removed debugging message

changed to orb_publish_auto
2016-05-22 12:19:47 +02:00
Andreas Bircher 556851a511 applying dual gps patch
resolve transfer errors

reformatting

implementing multi-topics
2016-05-22 12:19:47 +02:00