Andrew Tridgell
59b2d7890d
Plane: removed ADC.h include
2018-08-02 12:38:54 +09:00
Lucas De Marchi
1a45aa12f5
AP_Param: warn on last pass only about unknown parameters
...
Do not warn about unknown parameters on the first pass, i.e. when
AP_Param:load_all() is called. This is because we may still not know
about dynamically loaded parameters. When we call the second (last)
time, we expect to already know all possible parameters, so print a
warning to both console and the debug terminal.
2018-06-28 10:18:19 -07:00
Lucas De Marchi
7f0d5ddf21
AP_Param: stop panic()'ing on unknown parameters
...
Our track record on keeping parameters up to date with master is not
great and panic()'ing when loading them apparently is not helping
because every and each vehicle has a different file.
On aerofc load_defaults_file() is used in the same way as
load_embedded_param_defaults() is in which the panic() behavior has been
previously removed.
This finishes the removal of the panic param and add warnings to the
debug console when reading the parameters (rather than when counting
them).
2018-06-28 10:18:19 -07:00
Andrew Tridgell
bc503cc600
Plane: moved OSD to top level params
...
this is to give lots of depth for OSD params (which will be very
complex)
2018-06-27 14:55:00 +10:00
Alexander Malishev
75bf6984f5
Plane: added OSD support
2018-06-27 14:55:00 +10:00
Michael du Breuil
1c276e6af7
Plane: Remove unneeded wrapper functions
...
Also removes unneeded battery failsafe flag clearing
2018-06-27 11:39:35 +10:00
Peter Barker
23919daf11
Plane: use arming check_failed function
2018-06-23 15:33:19 +10:00
Andrew Tridgell
d454bc555e
Plane: added ESC_TELEMETRY to mavlink streams
2018-06-21 10:48:02 +10:00
Peter Barker
f984e5e31d
Plane: use magic force arm/disarm definitions
2018-06-20 11:43:38 +10:00
Peter Barker
f5e241af01
Plane: option to force arm, bypassing checks
2018-06-20 11:43:38 +10:00
Peter Barker
2b7f9247e8
Plane: use AP_FWVersion singleton
2018-06-18 19:10:37 +01:00
Peter Barker
9824832523
Plane: use AP_RTC
...
Plane: AP_GPS now sets the system time directly
2018-06-15 08:01:22 +10:00
Michael du Breuil
12da35220c
Plane: Simplify radio trimming, improve MAVLink report
2018-06-11 16:29:36 -07:00
Michael du Breuil
fae8d1e489
Plane: Log navigation target location
...
Closes #4358
2018-06-12 09:08:58 +10:00
Peter Barker
2cdcca2841
Plane: move handling of MAV_CMD_DO_GRIPPER up
2018-06-11 19:07:39 +01:00
Andrew Tridgell
d8a7618e15
Plane: update use of AC_Loiter controller for quadplane
...
this changes the way the loiter controller is initialised for QLOITER,
after discussions with Leonard.
The way we were doing it could cause a sudden acceleration demand when
switching into QLOITER.
This also changes the default loiter parameters to reduce the maximum
acceleration that will be applied in QLOITER. Many thanks to Leonard for
the advice
2018-06-11 08:40:58 +09:00
Michael du Breuil
47c0048499
Plane: Remove manual polling of flap input channel
2018-06-05 09:51:09 +10:00
Michael du Breuil
a98a8d0789
Plane: Update to support new RC_Overrides conventions
2018-06-05 09:51:09 +10:00
Michael du Breuil
749861f8ad
Plane: Only send healthy airspeed reports
2018-06-05 09:27:19 +10:00
Michael du Breuil
44f2a652f3
Plane: Remove software type param
2018-06-05 09:14:12 +10:00
Peter Barker
9437e893e5
Plane: move try_send_message handling of EKF_STATUS_REPORT up
2018-06-01 16:12:45 +01:00
Peter Barker
ac729f4614
Plane: lock home when it is set from the GCS
2018-05-29 14:38:45 +10:00
Peter Barker
18c4823427
Plane: return MAV_RESULT_ACCEPTED for setting home to current location
2018-05-29 14:38:45 +10:00
Peter Barker
bc9df01d21
Plane: remove sending of statustext for home location
2018-05-29 14:38:45 +10:00
Peter Barker
22306c370b
Plane: factor out a Plane::set_home
2018-05-29 14:38:45 +10:00
Peter Barker
ad600fff68
Plane: split home-set and home-locked state
2018-05-29 14:38:45 +10:00
Peter Barker
5a087ee7e2
Plane: create persist_streamrates() callback to indicate persistence
2018-05-29 13:08:29 +10:00
Peter Barker
8b4ffb11f5
Plane: move sending of vfr_hud up
2018-05-29 13:00:40 +10:00
Tom Pittenger
4dca1c48f2
Plane: update vehicle max_speed to ADSB library
2018-05-23 14:02:45 -07:00
Peter Barker
ef77bea4eb
Plane: move sending of simstate up
2018-05-23 18:36:50 +10:00
Peter Barker
2a68eca273
Plane: add type-correctness for stream messages
2018-05-22 11:21:25 +10:00
Peter Barker
2112d76b75
Plane: move try_send_message of servo-output-raw up
2018-05-21 19:08:08 +01:00
Andrew Tridgell
ce73918873
Plane: fixed throttle_percentage for twin engine planes
...
there is no servo output for function 70 - use the scaled value
2018-05-21 14:39:56 +10:00
Andrew Tridgell
805b159fd4
Plane: update release notes for 3.9.0
2018-05-21 14:38:35 +10:00
Peter Barker
cdf4128900
Plane: move sending of POSITION_TARGET_GLOBAL_INT up
2018-05-18 20:26:37 +10:00
Peter Barker
57cc0cac97
Plane: GCS_MAVLink base class now uses same ekf call to get alt
2018-05-17 15:48:06 +01:00
Peter Barker
5aefb90e61
Plane: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK
2018-05-17 15:48:06 +01:00
Peter Barker
1545b9b161
Plane: remove arguments to send_home and send_ekf_origin
2018-05-17 20:42:36 +10:00
Peter Barker
6f8339028e
Plane: move send_attitude into GCS_MAVLINK_Plane
2018-05-17 18:28:43 +10:00
Peter Barker
1f9d1ee5a2
Plane: move try_send_message sending of scaled_pressure up
2018-05-17 15:37:14 +10:00
Peter Barker
0e3ad3f023
Plane: move try_send_message sending of sensor offsets up
2018-05-17 15:37:14 +10:00
Peter Barker
e6411c6804
Plane: move try_send_message of RAW_IMU up to GCS_MAVLINK
2018-05-17 15:37:14 +10:00
Peter Barker
7afd056e98
Plane: handle setting of ekf origin in GCS_MAVLink
2018-05-17 10:13:42 +10:00
Peter Barker
052b76d017
Plane: move Log_Write_Home_And_Origin into AP_AHRS
2018-05-17 10:13:42 +10:00
Michael du Breuil
fcf6c69a5b
Plane: AP_Proximity is now a common library
2018-05-16 23:21:41 +01:00
Michael du Breuil
499df8e0b3
Plane: Move MAVLink rangefinder up to parent
2018-05-16 23:21:41 +01:00
Michael du Breuil
8afc96097b
Plane: Send all distance sensors
2018-05-16 23:21:41 +01:00
Michael du Breuil
b479f3760a
Plane: Remove some unneeded logging indirection
...
Saves 32 bytes on make px4-v2
2018-05-16 20:34:00 +10:00
Peter Barker
eb026e0a5f
Plane: correct compilation when logging is disabled
2018-05-10 17:55:13 +09:00
Peter Barker
8da8c616f6
Plane: move sending of battery data up
2018-05-09 11:40:31 -07:00