Dario Lindo Andres
7f5243026d
Plane: Cleanup code to remove 1280 ifdefs
...
Due to the imposibility to fit actual code on Legacies 1280 chips, some
cleanup is needed.
2015-01-22 16:12:26 +11:00
Robert Lefebvre
395c868727
Plane: Change Compass logging to new DataFlash method that handles instances.
2015-01-21 14:37:54 +09:00
Robert Lefebvre
7efb4eef65
Plane: Change Compass logging to use DataFlash library method.
2015-01-21 14:37:38 +09:00
Robert Lefebvre
a2d73b42b9
Plane: Change Mode logging to use DataFlash library method.
2015-01-21 14:37:36 +09:00
Robert Lefebvre
ac513a84db
Plane: Change Attitude logging to use DataFlash library method.
2015-01-21 14:37:34 +09:00
Robert Lefebvre
233083c8e9
Plane: Change current logging to use DataFlash library method.
2015-01-21 14:37:31 +09:00
Robert Lefebvre
747232b197
Plane: Deprecate some Log Message enumerations which are moving to the DataFlash library.
2015-01-21 14:37:29 +09:00
Andrew Tridgell
674a7aa8d4
Plane: use set_skip_gyro_cal() in arming library
2015-01-20 19:47:59 +11:00
Andrew Tridgell
059c3769f3
Plane: cope with the changed semantics if airspeed.use()
2015-01-20 11:28:35 +11:00
Andrew Tridgell
5a01933b7b
Plane: use dataflash Log_Write_Airspeed()
2015-01-20 09:10:57 +11:00
Dario Lindo Andres
0ea7a7a0cc
Plane: Corrected LOGGING_ENABLED
...
When we configure LOGGING_ENABLED to DISABLED code does not
compile. Now it works!
2015-01-17 10:42:11 +13:00
Andrew Tridgell
b8bfa755a9
Plane: raise alpha version
2015-01-09 15:47:47 +11:00
Andrew Tridgell
ca431a47a6
Plane: use all_healthy() for SYS_STATUS health
2015-01-09 11:51:51 +11:00
Andrew Tridgell
035b1302ed
Plane: updates for new AP_Baro API
2015-01-09 11:50:54 +11:00
Andrew Tridgell
4cb464db83
Plane: reduce the frame size of setup_failsafe_mixing()
2015-01-09 11:38:15 +11:00
Grant Morphett
e122c0961e
Plane: Arming updated to use RC channel objects not RC channels directly
...
The code had g.rc_3.control_in which would bypass the channel mapping and meant
arming could only occur if the throttle was always mapped to channel 3.
Updated to use the channel mapping object.
2015-01-08 11:55:19 +11:00
Staroselskii Georgii
dc410a4b42
Plane: added AK8963 support
2015-01-07 08:41:13 +11:00
Andrew Tridgell
a2242305c7
Plane: use common send_opticalflow()
2015-01-03 15:53:35 +11:00
Andrew Tridgell
28f58df310
Plane: send HAGL in OPTICAL_FLOW
2015-01-03 15:44:50 +11:00
Andrew Tridgell
8f571f1225
Plane: make optflow available to AHRS
2015-01-03 14:16:34 +11:00
Andrew Tridgell
8708297341
Plane: update for new OptFlow API
2015-01-03 14:16:33 +11:00
Andrew Tridgell
1e3c23e5a3
Plane: on takeoff set prev_WP_loc to current_loc
2015-01-03 14:07:02 +11:00
Andrew Tridgell
80d1bd230e
Plane: report bad AHRS health if uncalibrated accels with EKF
...
fixes issue #1720
2015-01-03 14:06:46 +11:00
Andrew Tridgell
ae96a48efc
Plane: use location_path_proportion()
...
this should produce better glide slopes when the aircraft is off
course
2015-01-01 15:17:45 +11:00
Randy Mackay
6bec527aa3
Plane: BATT param's underscore moved to library
2014-12-31 15:22:56 +09:00
Randy Mackay
7d18744094
Plane: use battery.voltage2 method for logging
2014-12-31 15:22:55 +09:00
Randy Mackay
5cdb8a4c2a
Plane: use battery.has_current
2014-12-31 15:22:54 +09:00
Randy Mackay
9be53502df
Plane: remove logging dependecy on optflow
2014-12-31 15:22:41 +09:00
priseborough
195cdb6fd6
Plane: Don't log EKF optical flow data if not required
2014-12-31 13:16:11 +09:00
Randy Mackay
11def53ca7
Plane: pre_arm_gps_check flag always true
2014-12-26 12:32:38 +09:00
Andrew Tridgell
eb13395967
Plane: cleanup mavlink_system setup
2014-12-17 11:30:04 +11:00
Andrew Tridgell
976ae14f1f
Plane: improve landing aim point calculation
...
try to account for wind and current ground speed to dynamically update
glide slope in landing to flare at the right point
2014-12-15 21:51:08 +11:00
Andrew Tridgell
12f0c49915
Plane: remove fwd of unknown msg types
2014-12-11 12:32:52 +09:00
Andrew Tridgell
507117bd8f
Plane: removed use of mavlink_check_target()
2014-12-11 12:31:15 +09:00
Randy Mackay
f4fc910fea
Plane: send OPTICAL_FLOW msg to GCS
2014-12-08 14:58:32 +09:00
Randy Mackay
2b9bf69c9e
Plane: send optflow health in extended status
2014-12-08 14:58:29 +09:00
Andrew Tridgell
0599f1dcb1
Plane: changed version number to 3.2.1alpha1
2014-12-06 18:37:39 +11:00
priseborough
f23722ecee
Plane: Remove statement about flow driver rate in comment
2014-12-06 18:16:48 +11:00
priseborough
ca53d5fb62
Plane: Increase rate at which optical flow sensor is checked
...
The sensor driver runs asynchronously at 10Hz, so needs to be checked frequently for arrival of data.
2014-12-06 18:16:48 +11:00
priseborough
898ad7432b
Plane : Only build optical flow with PX4 board
...
Fixes SITL compile errors
2014-12-06 18:16:48 +11:00
priseborough
2500f7e9c2
Plane : Add data logging for optical flow use with EKF
2014-12-06 18:16:48 +11:00
priseborough
2db9247117
Plane : Add logging and EKF read for updated flow sensor interface
2014-12-06 18:16:47 +11:00
priseborough
f047e35167
Plane : Enable optical flow by default if sensor is fitted
2014-12-06 18:16:46 +11:00
priseborough
9707989b9f
Plane : Preliminary optical flow integration
2014-12-06 18:16:45 +11:00
Andrew Tridgell
7f383facac
Plane: re-enable CLI on non-APM1/APM2 boards
2014-12-03 20:14:26 +11:00
Andrew Tridgell
c05a0bc67f
Plane: prevent a change altitude command from causing a sudden descent
...
when a change altitude command comes in while a large glide slope
altitude change is present we could end up using the old glide slope
with the new altitude. This resets the altitude offset, causing a
direct altitude change
2014-12-03 18:31:23 +11:00
Andrew Tridgell
a0f69e06a7
Plane: prevent baro reset from OVERRIDE_CHAN
...
using OVERRIDE_CHAN would cause a baro reset as it would mean we are
temporarily disarmed, and the "reset baro and GPS when disarmed" check
would reset the baro
Now we only do the mixer update if disarmed
2014-11-29 19:55:25 +11:00
Andrew Tridgell
c299f721b1
Plane: fixed sense of landing sink rate calculation
...
thanks to BretC for reporting
2014-11-29 07:48:07 +11:00
Andrew Tridgell
d1fb137651
Plane: mark development version 3.2.1alpha
2014-11-29 06:59:47 +11:00
Andrew Tridgell
2f0bc1f202
Plane: setup pwm esc scaling
2014-11-26 11:14:44 +11:00