Commit Graph

2235 Commits

Author SHA1 Message Date
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
Lorenz Meier f2a6645cc9 FMUv2: Do not mess with GPIO5 during startup 2016-02-01 10:10:35 +01:00
David Sidrane 7edd07f8cb Rebased on master, removing the default_rate field and using default to 0 for rates 2016-02-01 10:10:35 +01:00
David Sidrane 0d13c41108 Ran Astyle 2016-02-01 10:10:35 +01:00
David Sidrane 8268161b18 Fmu interface to Capture 2016-02-01 10:10:35 +01:00
David Sidrane b3af469e80 IO Timer Changes for Capture 2016-02-01 10:10:35 +01:00
David Sidrane 0397537cf0 Adding input capture driver 2016-02-01 10:10:35 +01:00
David Sidrane f3c22d3334 Refactored pwm servo to use drv_io_timer 2016-02-01 10:10:35 +01:00
David Sidrane 2949578832 Renamed pwm_timers to more appropriate io timers for use in pwm in/out and capture 2016-02-01 10:10:34 +01:00
David Sidrane 019e197714 Change pin init state to 1 to uses late pwm init with not pulses 2016-02-01 10:10:34 +01:00
David Sidrane 5e47ffdaf9 Moved Switching IO to the point of ARMing 2016-02-01 10:10:34 +01:00
David Sidrane 1843eea917 Reverting 2e8accc6ff infavor of IO init changes 2016-02-01 10:10:34 +01:00
Lorenz Meier 260b77dd78 MPU9250: Make check return values more discriminative 2016-01-31 14:53:40 +01:00
Mark Whitehorn 7b7da618b8 format and disable some warnx output 2016-01-29 09:02:34 +01:00
Mark Whitehorn 81ae5cbd0d check for incoming D type telemetry packet (RX also connected to telemetry port) 2016-01-29 09:02:22 +01:00
Andrew Tridgell b8a60f2501 pwm: change default_value for all boards from 1000 to 0
the value '1000' is not really magic, and it was resulting in sending
a single 1ms pulse on all IO channels for a brief instant on
startup. With some servos this led to the control surfaces being at
extremes (and straining) on startup. It may also contribute to making
ESC calibration harder on multi-rotors

In the worst case it could cause a IC motor with reverse throttle to
go full throttle on startup

A logic analyser shows the problem very clearly. Changing the
default_value fields to 0 from 1000 fixes the issue and no pulses are
generated until an explicit value suitable for the airframe is
provided via one of the many methods PWM output values can be
generated

Conflicts:
	src/drivers/boards/px4fmu-v4/px4fmu_pwm_servo.c
	src/lib/ecl
2016-01-29 08:57:20 +01:00
Lorenz Meier 9d5728b96f FMU: Default to 900 us pulses 2016-01-25 12:08:26 +01:00
Lorenz Meier 2e8accc6ff FMU driver: Only init pins right before using the for PWM. Prevents accidental pulses 2016-01-25 12:08:08 +01:00
Lorenz Meier d32d533d11 FMUv4: Disable unused ADC channels 2016-01-25 12:07:38 +01:00
Lorenz Meier 9cccc0ec76 GPS: Do initial zero value publication to avoid corner cases 2016-01-25 09:30:45 +01:00
Artem Sabadyr a284b77c7b gps advertise fix 2016-01-24 15:03:41 +01:00
Mark Whitehorn d96a17adfb missed some name changes from sPort to frsky 2016-01-24 11:22:18 +01:00
Mark Whitehorn 527fe4b374 remove sPort_telemetry directory 2016-01-24 11:22:18 +01:00