Commit Graph

964 Commits

Author SHA1 Message Date
Julian Oes 5e4e896dad tone_alrmsim: add missing string for home set tone 2016-06-07 22:10:56 +02:00
Julian Oes 69bb602291 gyrosim: be less verbose 2016-06-07 22:10:56 +02:00
Julian Oes de4ae58019 px4_log: get the printf of fmt/args right 2016-06-07 22:10:56 +02:00
Julian Oes a6fd718530 px4_log: use proper ROS printfs 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 953984dd48 QURT px4_layer: getpid can shut up 2016-06-07 22:10:56 +02:00
Julian Oes a2865cd5c1 QURT px4_layer: removed debug printfs 2016-06-07 22:10:56 +02:00
Julian Oes 8e47f612fd QURT main: more precise printfs 2016-06-07 22:10:56 +02:00
Julian Oes 7a29cf0f13 QURT main: less debug printfs 2016-06-07 22:10:56 +02:00
Julian Oes 4cb073a48b POSIX main: get the newlines right 2016-06-07 22:10:56 +02:00
Julian Oes a381c6cea5 df_mpu9250_wrapper: removed a debug printf 2016-06-07 22:10:56 +02:00
Julian Oes 9079b54001 POSIX: be less verbose on startup 2016-06-07 22:10:56 +02:00
Julian Oes 9c9f22fd40 main: don't add a newline after every line 2016-06-07 22:10:56 +02:00
Julian Oes 354b31e1b1 DF driver wrappers: astyle 2016-06-07 14:04:11 +02:00
Julian Oes 44207a3a5c df_trone_wrapper: don't advertise garbage 2016-06-07 14:04:11 +02:00
Julian Oes 40d6a4e5fc df_isl29501_wrapper: don't advertise garbage 2016-06-07 14:04:11 +02:00
Julian Oes 7c57696752 df_bmp280_wrapper: don't advertise garbage 2016-06-07 14:04:11 +02:00
BharathR f06e6f0ce1 Fixed actuator controls struct in Snapdragon legacy uart_esc driver wrapper (#4724) 2016-06-03 10:22:09 +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
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
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
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
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 55c7ffbe62 Fix more Qualcomm param length issues 2016-05-28 14:36:51 +02:00
Lorenz Meier c19ac3425f MPU9x driver: Fix param names 2016-05-28 14:24:19 +02:00
Mark Charlebois 86e470b1c2 Fixed syle issues
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-28 14:06:14 +02:00
Mark Charlebois af1e20a1d0 Added fc_addon uart_esc support
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-28 14:06:14 +02:00
Mark Charlebois 6f8f8279b7 Added support for fc_addon drivers
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-28 14:05:45 +02: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
Daniel Agar 2487dbfc92 remove Wpacked and cleanup unused warning flags 2016-05-19 21:49:34 +02:00
Lorenz Meier c67907ffb2 BMP280 wrapper: Clean up floating point operations 2016-05-19 15:44:37 +02:00
Kabir Mohammed 529460d573 Fix RPi2 build system 2016-05-19 15:41:50 +02:00
Julian Oes d3a9930b50 logger: get paths working on Snapdragon 2016-05-14 11:27:07 +02:00
Daniel Agar 69c1ce1714 WIP logger serialization 2016-05-14 11:27:07 +02:00
Daniel Agar eb29b33620 use gcc attributes to align and pack 2016-05-14 11:27:07 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Julian Oes 3a8d242576 dataman: get path for Snapdragon right 2016-05-14 11:21:44 +02:00
Julian Oes e064cb645e gpssim: fix command line argument handling
The gpssim interface was pretty broken, from random usage complaints to
segfaults.
2016-05-13 22:07:46 +02:00
Lorenz Meier f204a145c7 POSIX: Improve console management 2016-05-13 10:35:19 +02:00