Commit Graph

2283 Commits

Author SHA1 Message Date
Mark Whitehorn 607053cfbc decrease stack allocation to 1100 2016-03-01 09:02:14 +01:00
Mark Whitehorn 52465d07b9 run astyle 2016-03-01 09:02:14 +01:00
Mark Whitehorn 8186139dad reduce D-type stack usage and static allocations 2016-03-01 09:02:14 +01:00
Mark Whitehorn 6d2927cd7a allocate structs on the heap; exit daemon if no FrSky receiver detected 2016-03-01 09:02:14 +01:00
Mark Whitehorn 95d328f57c remove commented code and change to sensor_baro topic to filter altitude 2016-03-01 09:02:14 +01:00
Mark Whitehorn 6d509835eb clean up uORB code 2016-03-01 09:02:14 +01:00
Mark Whitehorn 0960e1a820 make structs static and decrease stack size, run astyle 2016-03-01 09:02:14 +01:00
Mark Whitehorn 6fa6e72250 add sPort GPS telemetry 2016-03-01 09:02:14 +01:00
Mark Whitehorn fcfe64ee5a enable disarmed PWM and rework safety switch disable logic 2016-02-29 12:29:30 -07:00
Mark Whitehorn 29b0520263 enable PWM with safety switch off 2016-02-29 12:29:30 -07:00
Lorenz Meier ba79b32b30 Fix FMU output on non-Pixracer boards 2016-02-28 12:11:47 +01:00
Andreas Bircher 261ddb8e21 online command support to enable/disable distance based triggering 2016-02-27 11:41:57 +01:00
Andreas Bircher 2cce938980 implementing @LorenzMeier comments 2016-02-27 11:41:57 +01:00
Andreas Bircher 8959954d37 adding third camera triggering mode to trigger based on covered horizontal distance. bench-tested. 2016-02-27 11:41:57 +01:00
Mark Whitehorn 04a9eada1e disable safety switch if CBRK_IO_SAFETY is on 2016-02-27 11:25:56 +01:00
Mark Whitehorn beb9707933 fix fmuv1 compile error 2016-02-27 11:25:56 +01:00
Mark Whitehorn 426903c617 run astyle 2016-02-27 11:25:56 +01:00
Mark Whitehorn b6231c718b reduce safety switch sampling to ~10Hz and clean up 2016-02-27 11:25:56 +01:00
Mark Whitehorn ef2a7bda53 add fmuv4 safety switch handling 2016-02-27 11:25:56 +01:00
Mark Whitehorn 5a7d31f7a9 fix typo in comment 2016-02-27 11:25:56 +01:00
Lorenz Meier a2c4c094e6 HoTT stack size adjustments 2016-02-25 22:20:42 +01:00
Lorenz Meier 755569ac12 HDOP / VDOP correctly reporting 2016-02-25 13:45:34 +01:00
Lorenz Meier fdff16c3cb Always enable nav sol 2016-02-25 13:45:34 +01:00
Lorenz Meier 8fcf24f23f GPS driver UBX: Support hdop and vdop 2016-02-25 13:45:34 +01:00
Lorenz Meier 6f484c04bd Ashtech GPS driver: Fix code style 2016-02-25 13:45:34 +01:00
Lorenz Meier 56c95dc9c8 GPS driver: Populate HDOP / VDOP fields 2016-02-25 13:45:34 +01:00
Lorenz Meier 9172bf7271 MPU6K: Report start scan not as failure, but as not found if sensor is not around 2016-02-23 13:09:06 +01:00
Lorenz Meier 738d3cb123 IO driver: Fixx lockdown flag handling 2016-02-23 13:09:06 +01:00
Lorenz Meier 3854eae3ec FMU: Send disarmed pulse if in lockdown 2016-02-23 13:09:06 +01:00
jwilson 9a97140ad8 Removing test code. 2016-02-19 16:59:49 +01:00
jwilson 8625641638 Removing test code. 2016-02-19 16:59:49 +01:00
jwilson b31472af0c Cherry-picked i22438c8
Original description:
Modified the sensor module to prevent the selection of an invalid
secondary/tertiary gyro if the primary gyro times out
2016-02-19 16:59:49 +01:00
jwilson aec31c5904 Defining Eagle Board specific device paths, still in progress. 2016-02-19 16:59:49 +01:00
Julian Oes fbac24ad28 vdev_posix: switch back to CLOCK_REALTIME
Otherwise SITL doesn't work anymore, at least on Linux
2016-02-19 16:59:48 +01:00
Julian Oes 1cd49a6dd5 vfile.cpp: added file that got removed in merge 2016-02-19 16:59:47 +01:00
Julian Oes 7a42b259b2 device.h: add file which got lost in merge 2016-02-19 16:59:47 +01:00
Julian Oes 1524ff7f80 HMC5883: added wrapper for DriverFramework 2016-02-19 16:59:47 +01:00
Julian Oes b2ad3f5fbd POSIX: get px4_poll right
Like this the timeouts are going through instead of hanging everything.
2016-02-19 16:59:47 +01:00
Mark Charlebois 014f15d8b0 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
ksschwabe 4b6d0ef0a6 batt_smbus: Adds check for if the battery detected is a 3DR solo battery
Also, if the battery is a 3DR Solo battery, it checks for the button
press on the battery which sets the is_powering_off flag.

The check for whether the battery is a 3DR Solo battery is based on
whether the Manufacturer Name, Device Name and Device Chemistry all
match the that of the standard 3DR Solo battery.
2016-02-18 21:47:09 +01:00
ksschwabe 27a645353b batt_smbus: Adds functions for reading out the SBS Info
Functions added for reading out the following info:
 - Manufacturer Name
 - Device Name
 - Serial Number
 - Device Chemistry
2016-02-18 21:47:09 +01:00
ksschwabe e3f2467b91 batt_smbus: Commentted out button press detection
The button press detection relies on reading the MANUFACTURER_DATA
register. The implementation of what information is returned when reading
this register differs from manufacturer to manufacturer.

This has been commented out until an elegant solution can be found to detect
the battery shutdown on different batteries manufactured by different
manufacturers.
2016-02-18 21:47:09 +01:00
Angus Peart 6ac26c680d batt_smbus: read button status from the smart battery
This is a cherry-pick of commit 8bd17a4b0cd9c1432cb57a9a80a215692f532370
in 3drobotics/PX4Firmware-solo

Conflicts:
	src/drivers/batt_smbus/batt_smbus.cpp
	src/drivers/drv_irlock.h
	src/lib/ecl
2016-02-18 21:47:09 +01:00
ksschwabe 7fc0b0925c batt_smbus: Adds ManufacturerAccess, write_reg, and write_block functions
Also fixes the the PEC calculation for writing. See
http://cache.freescale.com/files/32bit/doc/app_note/AN4471.pdf and
http://www.ti.com/lit/an/sloa132/sloa132.pdf for more details for more
details on SMBus reading and writing including with and without PECs.
2016-02-18 21:47:09 +01:00
Lorenz Meier 8007a84ab3 FMU: Ensure an all-low output set on boot with direct start of the PWM sequence 2016-02-18 19:01:44 +01:00
Lorenz Meier 9c08872b61 IO: Initialize PWM pins to low state 2016-02-18 19:01:44 +01:00
Lorenz Meier 19151e93e1 FMUv4: Initialize PWM pins to low state 2016-02-18 19:01:44 +01:00
Lorenz Meier ed134da8e0 FMUv2: Initialize PWM pins to low state 2016-02-18 19:01:44 +01:00
stmoon fb131f43c3 fix the bug ( error: array subscript is above array bounds [-Werror=array-bounds] ) 2016-02-17 08:47:03 +01:00
Mark Whitehorn 12437f1fc6 increase stack size for frsky telemetry daemon 2016-02-16 10:39:30 -07:00