Julian Oes
063caba36b
Merge branch 'master' into navigator_rewrite
...
Conflicts:
src/drivers/gps/gps.cpp
src/drivers/gps/mtk.cpp
src/modules/commander/commander.cpp
src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp
src/modules/navigator/mission.cpp
src/modules/navigator/mission.h
src/modules/navigator/navigator_main.cpp
src/modules/navigator/navigator_state.h
src/modules/position_estimator_inav/position_estimator_inav_main.c
2014-05-26 20:19:11 +02:00
Lorenz Meier
542cc7d7fb
fmu: Rely on pwm_limit() call for band limits, do constrain instead of altering the direction / value
2014-05-23 20:23:05 +02:00
Lorenz Meier
69421be983
px4io: Check for bad param value
2014-05-23 19:45:29 +02:00
Lorenz Meier
b30e872453
Merge branch 'master' of github.com:PX4/Firmware into master2
2014-05-23 19:42:29 +02:00
Lorenz Meier
c4d79b84b4
bugfixes in UBX driver, emit new SNR, Jamming and noise count indices
2014-05-23 15:08:33 +02:00
Lorenz Meier
951bd70ffc
ubx driver: Fix / shorten printfs
2014-05-23 13:57:25 +02:00
Lorenz Meier
e7212df5e8
Merge branch 'master' of github.com:PX4/Firmware
2014-05-21 14:21:09 +02:00
Lorenz Meier
aa312f96f8
drivers: Fix compile warnings and non-standard performance counter names
2014-05-21 14:20:48 +02:00
Thomas Gubler
981d616268
ardrone interface: reduce stack size
...
Conflicts:
src/drivers/ardrone_interface/ardrone_interface.c
2014-05-21 12:30:05 +02:00
Thomas Gubler
66f57f577b
ardrone interface: reduce stack size of start handler
2014-05-21 12:24:07 +02:00
Lorenz Meier
47562990a1
Merge branch 'master' of github.com:PX4/Firmware into master2
2014-05-20 23:20:17 +02:00
John Hiesey
4a666d094d
frsky_telemetry: fix gps data format
...
Eliminate inadvertent rounding and generate degrees/minutes
instead of degrees/minutes/seconds output per frsky docs
2014-05-20 01:31:14 -07:00
Andrew Tridgell
c945693054
ets airspeed: Support raw field
2014-05-20 07:32:31 +02:00
Lorenz Meier
f0630547aa
MTK: Bail out correctly
2014-05-19 21:07:19 +02:00
Lorenz Meier
ce62f07379
Fix EPH / EPV conversion for MediaTek units
2014-05-19 21:06:32 +02:00
Lorenz Meier
a72015c260
Merge pull request #965 from PX4/stack_fixes
...
Stack fixes
2014-05-16 03:14:42 -07:00
Lorenz Meier
8630d82ea2
gps driver: Use correct spawn command, use a smaller start tool size
2014-05-16 10:46:10 +02:00
Lorenz Meier
f66cd1a814
frsky telem: reduce stack, fix missing header
2014-05-16 10:44:44 +02:00
Lorenz Meier
4fe0027e7a
px4io driver: Only try to upload if we have a non-zero failsafe throttle value
2014-05-16 09:51:23 +02:00
Lorenz Meier
f892a7278a
Merge pull request #956 from PX4/task_spawn_cmd_io
...
px4io driver: Use modern-days syntax to start task
2014-05-15 22:17:03 -07:00
Lorenz Meier
ba51ab2545
Merge branch 'ekf_params' of github.com:PX4/Firmware
2014-05-15 13:14:25 +02:00
Lorenz Meier
97e6090700
Merge pull request #937 from gumstix/aerocore
...
Aerocore
2014-05-15 01:31:24 -07:00
Lorenz Meier
899998e58f
px4io driver: Use modern-days syntax to start task
2014-05-15 10:28:48 +02:00
Lorenz Meier
19d798addc
px4io driver: init stack only twice as big as really needed and not four times as big
2014-05-14 21:52:25 +02:00
Lorenz Meier
b216cc3cac
px4fmu: Give the FMU driver only the stack for init it needs
2014-05-14 21:31:29 +02:00
Ash Charles
cbc559b6d6
[l3gd20] Make gyro orientation board-overridable
...
As discussed [1], provide a default SENSOR_BOARD_ROTATION
(270 degrees as this seems most common) and let boards override it
as necessary.
[1] 7d0850a710 (commitcomment-6315550)
Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-14 09:19:30 -07:00
Lorenz Meier
332e08b44a
px4io driver: Deallocate perf counters in destructor properly
2014-05-14 14:00:31 +02:00
Lorenz Meier
c2f825647e
px4io driver: Small fix
2014-05-14 13:06:20 +02:00
Lorenz Meier
a62ac72b2e
px4io: Hotfix for IO driver, do not rely on the reported channel count to limit array lengths
2014-05-14 12:48:54 +02:00
Lorenz Meier
8deb1c9160
Read out the RC status at the same transfer as the channels to ensure we got synchronized data
2014-05-14 08:00:41 +02:00
Ash Charles
2d29c5bd72
[aerocore] Remove commented code for GPIO2
...
GPIO2 is currently used for the tone alarm, not an arbitrary GPIO.
Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 14:06:59 -07:00
Ash Charles
7d0850a710
[l3gd20] Style fixes for l3g4200d integration
...
As requested here [1], this fixes some of the style errors
introduced with the addition of l3g4200d support to the l3gd20
driver. Gyro orientation is set conditionally for the aerocore
board.
[1] https://github.com/PX4/Firmware/pull/937
Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 14:00:44 -07:00
Ash Charles
9db966e058
[gps] Conditionally set default GPS port
...
AeroCore uses ttyS0 not ttyS3 as the serial port connected to the GPS.
Now, a board can set GPS_DEFAULT_UART_PORT to override the default setting
in a board-specific fashion.
Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 13:47:40 -07:00
Ash Charles
3b72e31e83
[l3gd20] Add support for L3G4200D chip
...
The L3G4200D chip is very similar to the L3GD20[H] parts and can use
the same driver with minor adjustments. There are four differences:
* WHO_AM_I register is 0xD3 (not 0xD4 or 0xD7):
- added an extra case to the driver probe
* Sampling rates are marginally different:
- setting sampling rate now depends on the detected chip
* I2C address range is different:
- no changes as the driver doesn't support i2c access
* the L3G4200D has a self-test function:
- no changes---chose not to implement feature in driver
Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 10:01:17 -07:00
Ash Charles
e5508a1aa0
Add Gumstix AeroCore device
...
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.
[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/
Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 09:41:41 -07:00
Lorenz Meier
f10395e05a
HoTT driver: Add timestamp, rename function-level variable from _esc to esc to match conventions
2014-05-13 08:38:07 +02:00
Lorenz Meier
37970c5828
hrt driver: Make a debug data array compiling condiditional on PPM debug, we are never accessing it in normal operation
2014-05-13 08:06:33 +02:00
Lorenz Meier
be6b9a1b36
hmc5883: Change static topic publication to the class member it should be, initialize collect phase (linter find)
2014-05-13 08:05:36 +02:00
Lorenz Meier
227d52b02c
blinkm: Remove the barrage of static variables in mainloop, eating up RAM for everybody
2014-05-13 08:04:53 +02:00
Lorenz Meier
e09c0dd8b9
Reduce RAM footprint of HoTT driver, fix publication to contain ESC data
2014-05-12 22:57:07 +02:00
Lorenz Meier
29ffb3bad3
mkblctrl: Moved motor data struct into class
2014-05-12 22:11:28 +02:00
Lorenz Meier
dc19f16dee
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
2014-05-11 13:53:58 +02:00
Anton Babushkin
88b18bbad1
ALTCTRL/POSCTRL renamed to ALTCTL/POSCTL
2014-05-11 13:35:05 +02:00
Lorenz Meier
3e3a64f0ed
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
2014-05-09 21:36:43 +02:00
Lorenz Meier
df7d595999
Remove noreturn attribute from all drivers that actually can return
2014-05-09 09:19:44 +02:00
Lorenz Meier
e18bdfdf65
Merge pull request #858 from TickTock-/rc_merged
...
Rc merged
2014-05-08 23:21:22 -07:00
Lorenz Meier
fc54cc2d1f
Merge pull request #839 from eneadev/patch-1
...
Update drv_hrt.c
2014-05-08 21:45:05 -07:00
Lorenz Meier
45be38c333
Removing an unwanted usleep on poll errors
2014-05-08 14:24:10 +02:00
Julian Oes
26f5e550c4
Merge remote-tracking branch 'px4/ekf_params' into navigator_cleanup_ekf_params
...
Conflicts:
src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp
2014-05-07 21:11:21 +02:00
Lorenz Meier
6a6feaf96c
Merged master
2014-05-07 14:14:31 +02:00