Commit Graph

1880 Commits

Author SHA1 Message Date
Lorenz Meier b18b1c8b09 FrSky telemetry: Update to new sensors combined topic 2015-08-30 11:37:26 +02:00
Lorenz Meier 9be3331d9b Merge branch 'master' into attitude_estimator_q_voting 2015-08-29 17:56:52 +02:00
David Sidrane c5489b0598 Merge pull request #2759 from ksschwabe/master
Bug fix: Incorrect APBs used in HRT driver, tone alarm and, pwm_input driver.
2015-08-28 13:15:09 -10:00
Karl Schwabe 8e16fdeebf pwm_input bug fix: Incorrect APBs on timers 5, 9, 10, 11 and 12 2015-08-29 00:29:52 +02:00
Karl Schwabe 85bf7c31ab HRT driver fix : Incorrect APBs for timers 5, 10 and 11. 2015-08-29 00:07:20 +02:00
Lorenz Meier 361f858c14 Merged master 2015-08-28 23:05:58 +02:00
Randy Mackay aa1d7d7869 IRLock: fix compile error 2015-08-28 21:55:57 +02:00
ksschwabe fb2082e6ae Introduce new variable for TONE_ALARM_CLOCK_POWER_REG to account for timers being on different APBs 2015-08-26 11:03:32 +02:00
Mark Charlebois 3a47434749 Fixes for qurt HIL build
Workaround required Eigen downgrade to 3.2. Hexagon toolchain does
not support C++11 features of newest version of Eigen.

Running make qurt_fixup will downgrade and patch Eigen for qurt.
Running make restore will revert the patch and do a git submodule update
to restore the expected Eigen version.

Added a "restore" target to undo qurt_fixup

Before doing a qurt build run:

    make qurt_fixup

That will downgrade Eigen to 3.2 and apply the require patch.
To build another target after downgrading:

    make restore

Them make the desired target (other than qurt).

Fixed type used in orb_priority to be consistent with the code
(int* was used in declaration but int32_t* used in code)

Removed unused class member variable in sensors.cpp

Added cmake fix for unit tests. The location of px4_log.c changed.

Fixed the qurt drv_hrt.c implementation to use us instead of ms for time resolution

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with
duplicate files. It was moved out of common because it is not used by qurt.

Changed PX4_DEBUG to PX4_WARN when checking for the error condition for store_poll_waiter in vdev.cpp

Updated the px4_log.h file to make calls to the qurt_log functions.
The qurt_log function is defined in the platforms/qurt layer.

Added an option to control starting the commander module in HIL mode.

Moved the flight specific drivers to the configuration file instead of adding them
to the common tool chain file because HIL mode does not need them.

Added the uorb Subscriber and Publisher classes

Call PX4_ISFINITE macro instead of isfinite().

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with duplicate files.
It was moved out of common because it is not used by qurt.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-25 21:59:01 -07:00
ksschwabe 5b659407a6 Bug fix: Incorrect APBs used in HRT driver and tone alarm driver. 2015-08-25 17:24:11 +02:00
Lorenz Meier 9965ad2ccf Merge pull request #2732 from PX4/uorb_topics3
uORB topics: Moved all to auto-generated
2015-08-23 16:34:36 +02:00
Lorenz Meier 3b7685a8fe PWM Sim: Fix merge fail 2015-08-23 11:34:38 +02:00
Lorenz Meier 53d4c5473f Merge beta in master 2015-08-23 11:21:38 +02:00
Lorenz Meier b235420f17 HIL: Limit stack size of HIL app 2015-08-23 11:06:04 +02:00
Lorenz Meier 6bb941218c Limit stack size of HIL app launcher 2015-08-23 11:05:09 +02:00
Lorenz Meier 135543f03f Airspeed MEAS: fix code style 2015-08-23 10:49:09 +02:00
Lorenz Meier bac89be4b9 Airspeed ETS: fix code style 2015-08-23 10:48:58 +02:00
Lorenz Meier dcf7b81f83 Airspeed: fix code style 2015-08-23 10:48:48 +02:00
Lorenz Meier c41f32c17c Merge beta 2015-08-22 20:49:54 +02:00
Lorenz Meier be63859893 FMU driver: Remove excessive task space 2015-08-22 20:44:29 +02:00
Mark Whitehorn 9526f7c677 fix rc_input_s ref 2015-08-21 14:53:41 +02:00
Lorenz Meier e784cac786 Fix upper / lowercase typo in uORB topic names in driver headers 2015-08-20 11:33:25 +02:00
Lorenz Meier b23d41e90f IO driver: Update to uORB changes 2015-08-20 10:48:45 +02:00
Lorenz Meier 48b5a1a3fd FMU driver: Update to uORB changes 2015-08-20 10:48:33 +02:00
Lorenz Meier b71910e104 Range finder driver: Remove spurious orb_declare 2015-08-20 10:47:57 +02:00
Lorenz Meier f8354bcd26 Flow: Remove spurious orb_declare 2015-08-20 10:47:41 +02:00
Lorenz Meier b9face9766 PWM in / RC in driver: Move to generated uORB topic 2015-08-20 10:47:24 +02:00
Lorenz Meier b0a9679fca PWM out driver: Move to generated uORB topic 2015-08-20 10:46:59 +02:00
Lorenz Meier 36a787bd91 Mag: move to generated uORB topics 2015-08-20 10:19:19 +02:00
Lorenz Meier 1d1431e532 gyro: Move to generated uORB topics 2015-08-20 10:18:57 +02:00
Lorenz Meier 7e24240ec3 Baro: Move to generated uORB topics 2015-08-20 10:18:35 +02:00
Lorenz Meier 33a1e3127a Accel: Move to generated uORB topics 2015-08-20 10:18:10 +02:00
Lorenz Meier 0693e186d9 LSM303D: Add option for 16g range 2015-08-19 10:28:02 +02:00
Lorenz Meier e5834460e2 MPU6K: Add commandline option to set range, fix test command by resetting guard logic properly 2015-08-19 10:28:02 +02:00
Lorenz Meier 99146ea6c3 Integrator: Improve to 3D case, add coning correction 2015-08-19 10:21:11 +02:00
Lorenz Meier 0275d770ae sensor drivers: Add integrator stub for delta angles 2015-08-19 10:21:10 +02:00
Lorenz Meier c66517bcd6 LSM303D driver: Add delta angle support 2015-08-19 10:18:53 +02:00
Lorenz Meier 808d8520b5 L3GD20 driver: Add delta angle support 2015-08-19 10:18:53 +02:00
Lorenz Meier c34a505576 MPU6K driver: Add delta angles / velocities including coning correction 2015-08-19 10:16:35 +02:00
Lorenz Meier 62f37204be Accel and gyro drivers: Add integrals 2015-08-19 10:16:35 +02:00
Lorenz Meier 857fced227 Integrator: Improve to 3D case, add coning correction 2015-08-19 10:15:48 +02:00
Lorenz Meier 62a4f91ed8 sensor drivers: Add integrator stub for delta angles 2015-08-19 10:15:48 +02:00
Simon Wilks 384047787a Fix travis/clang report of overloaded virtual functions. 2015-08-18 23:01:52 +02:00
Simon Wilks 4eef65f313 Enable ms5611 driver and fix build errors. 2015-08-18 23:01:52 +02:00
Andrew Tridgell 41b3452e22 ll40ls: added support for 'blue label' lidars
the key is splitting up read_reg() into two transfers
2015-08-17 09:18:38 +02:00
Andrew Tridgell f77620c3f4 mpu6000: check WHOAMI register
this prevents a mpu9250 being seen as a mpu6000
2015-08-17 09:17:07 +02:00
Andrew Tridgell 0e6cdecfad drv_sensor: added MPU9250 sensor defines 2015-08-17 09:16:58 +02:00
Andrew Tridgell 39e0a487bb mpu9250: first cut at a MPU9250 driver 2015-08-17 09:16:47 +02:00
Lorenz Meier e577ad582b FMU driver: Fix comment 2015-08-13 11:39:16 +02:00
Lorenz Meier 588146e536 PWM input driver: Add missing GPIO config for pin reset 2015-08-13 11:38:46 +02:00