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
Andreas Antener
8dbbe1b1f3
fixed code style in px4io.cpp
2016-02-15 15:55:14 +01:00
Lorenz Meier
be6278a1ba
IO: Avoid param writes which do not change a value
2016-02-15 12:44:07 +01:00
Lorenz Meier
6d32b8f41d
Fixed camera trigger code style
2016-02-11 14:09:13 +01:00
Lorenz Meier
6ee8e148a2
Camera trigger: ensure it executes with minimal latency
2016-02-11 14:09:13 +01:00
Lorenz Meier
41883a08d8
camera_trigger: Add one-shot operation
2016-02-11 14:09:13 +01:00
ChristophTobler
f2af55d92f
changed min/max distance for ll40ls (lidar)
2016-02-10 09:24:39 +01:00
Mark Whitehorn
42e8fe159f
run astyle
2016-02-10 09:23:30 +01:00
Mark Whitehorn
cca2807ff0
apply 1st order lowpass filter to baro alt
2016-02-10 09:23:30 +01:00
Mark Whitehorn
b25a9a45b5
initial add of Vario sensor. 1st difference of baro_alt... need to add a
...
LPF in front of the difference
2016-02-10 09:23:30 +01:00
Mark Whitehorn
403810c688
disable console print of incoming telemetry data
2016-02-10 09:21:52 +01:00
Mark Whitehorn
e25b26e2a8
fix format
2016-02-10 09:21:52 +01:00
Mark Whitehorn
de39b63402
fix bug in rssi assignment
2016-02-10 09:21:52 +01:00
Mark Whitehorn
8116f15d95
enable print of incoming telemetry
2016-02-10 09:21:52 +01:00
Mark Whitehorn
47337eb4a5
add parsing of host frames for D type telemetry
2016-02-10 09:21:52 +01:00
Lorenz Meier
4123da4963
SF10a: Run driver at the default max rate
2016-02-05 18:24:24 +01:00
ecmnet
9eb46fa7a0
Conversion rate comment added
2016-02-05 18:23:39 +01:00
ecmnet
497982aa4a
Overclocking comment added
2016-02-05 18:23:32 +01:00
ecmnet
f725ded9d4
Fixing code styles
2016-02-05 18:23:22 +01:00
ecmnet
edfbb90656
Initial commit SF10x driver
2016-02-05 18:23:13 +01:00
Lorenz Meier
15e7b19991
uORB: Block on simulation delay for orb_check() calls as well
2016-02-05 16:36:43 +01:00
Lorenz Meier
443a58cafe
px4_poll() on POSIX: Block execution in simulation if required
2016-02-05 00:53:58 +01:00
Lorenz Meier
61fac4a127
HRT: Support delay API
2016-02-05 00:53:08 +01:00
David Sidrane
0bde2b6fa3
Fixed Channel mapping
2016-02-04 08:56:07 +01:00
David Sidrane
7541aecd18
Fixed Isr restore (moved out of loop)
2016-02-04 08:56:07 +01:00
Lorenz Meier
3d282e4ee8
Flag locations in PWM input driver needing refactoring
2016-02-01 10:10:36 +01:00
Lorenz Meier
61bb8ac603
FMUv4: Do not mess with GPIO5 during startup
2016-02-01 10:10:36 +01:00