Andy Piper
104dd7cd75
AP_HAL_ChibiOS: remove board subtype for OmnibusNanoV6
2020-03-14 10:20:46 +11:00
Andrew Tridgell
add7615ed9
AP_HAL: removed unnecessary subtypes
2020-03-14 08:35:32 +11:00
Andrew Tridgell
986ad0dc27
HAL_ChibiOS: removed unnecessary subtype defines
2020-03-14 08:35:32 +11:00
Andrew Tridgell
92e4d9dd04
Tools: update R9Pilot bootloader
2020-03-14 07:06:10 +11:00
Andrew Tridgell
c3f2117590
HAL_ChibiOS: fixed R9Pilot board ID
2020-03-14 07:05:22 +11:00
Andy Piper
718a6593e6
autotest: disable harmonic FFT test
2020-03-13 21:10:56 +11:00
Andy Piper
7c1757bab4
autotest: separate out harmonic matching test
...
be more forgiving about harmonic fit detection due to imperfect simulation
use the fft length to determine how accurate the frequency match should be
2020-03-13 21:10:56 +11:00
Callan Daniel
f1d6588954
add to locations.txt
...
Add Highway Airfield (South Africa) to locations.txt
2020-03-13 11:08:33 +11:00
Peter Barker
4c19eb4bab
AP_NavEKF3: use compass reference rather than repeatedly asking AHRS for it
2020-03-13 08:26:18 +11:00
Peter Barker
903d81c263
AP_NavEKF2: use compass reference rather than repeatedly asking AHRS for it
2020-03-13 08:26:18 +11:00
Peter Barker
8679e95fca
AP_Logger: add comments about message_writer being leaked
...
These are really "shouldn't happen", and only happen at startup, so
impact of the memory leak is quite limited.
Fixing this requires putting in a virtual destructor on the
MessageWriter class - this and the calls add up to several hundred bytes
of flash.
2020-03-12 15:10:42 +11:00
Peter Barker
bb0920d56a
Tools: build_parameters: remove unused function parameters
2020-03-12 08:40:29 +11:00
Andrew Tridgell
87b97f8bee
AP_Scripting: added a VTOL failsafe example script
...
if fwd motor is lost try to make best effort to get home
2020-03-12 08:36:40 +11:00
Andrew Tridgell
e815b97c66
AP_Scripting: regenerate bindings
2020-03-12 08:36:40 +11:00
Andrew Tridgell
564740f06b
AP_Scripting: added get_vibration and get_target_location bindings
2020-03-12 08:36:40 +11:00
Andrew Tridgell
393a8785f3
AP_AHRS: implement get_vibration method on AHRS
2020-03-12 08:36:40 +11:00
Andrew Tridgell
9f92aad711
Plane: implement get and set target location
2020-03-12 08:36:40 +11:00
Andrew Tridgell
d192544107
AP_Vehicle: added get_target_location() method
...
for scripting
2020-03-12 08:36:40 +11:00
Andrew Tridgell
be7e142888
AP_Scripting: regenerate bindings for RPM
2020-03-12 08:36:40 +11:00
Andrew Tridgell
609b535dda
AP_Scripting: added RPM interface
2020-03-12 08:36:40 +11:00
Andrew Tridgell
8aaefea2a4
Plane: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Andrew Tridgell
375c08f39c
Copter: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Andrew Tridgell
39fc324854
GCS_MAVLink: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Andrew Tridgell
4f54d9b75f
AP_WindVane: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Andrew Tridgell
ed37ebede8
AP_Logger: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Andrew Tridgell
a93aa27cc1
AP_ICEngine: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Andrew Tridgell
0f83da7e16
AP_Hott_Telem: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Andrew Tridgell
429c21b887
AC_Autorotation: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Andrew Tridgell
22ce90af34
AP_RPM: changed get_rpm() API to be scripting compatible
...
return a bool and use a reference for the value
2020-03-12 08:36:40 +11:00
Peter Barker
934d05f4ff
AP_Compass: correct incorrect and misleading comment
2020-03-11 22:24:36 +11:00
Peter Barker
621d029207
AP_Vehicle: add warning about get_scheduler_task implementations
...
We don't initialise these values we pass in. Considering how few times
we need to get this right, requiring it of the implementation would seem
to make sense and save a few bytes.
2020-03-11 22:23:56 +11:00
Andrew Tridgell
aaf828c9d4
GCS_MAVLink: consider NO_CHANGE as success for bootloader flash
...
this prevents GCS users from seeing "update failed"
2020-03-11 16:30:06 +11:00
Andrew Tridgell
d8b33bcac9
AP_InertialSensor: suppress expected errors from invensense IMUs
2020-03-11 16:30:06 +11:00
Andrew Tridgell
1540cf958b
HAL_ChibiOS: improve error messages for flashing bootloader
...
send progress as statustext messages
2020-03-11 16:30:06 +11:00
Andrew Tridgell
cf7c2b1475
HAL_ChibiOS: suppress SPI timeout error for expected delay
2020-03-11 16:30:06 +11:00
Andrew Tridgell
65cd223023
HAL_ChibiOS: implement in_expected_delay()
2020-03-11 16:30:06 +11:00
Andrew Tridgell
58b4b523fd
AP_HAL: added in_expected_delay()
...
allows for error message suppression when delays are expected
2020-03-11 16:30:06 +11:00
Randy Mackay
06b62107c7
AC_PosControl: move freeze_ff_z to be with other z-axis methods
...
Also minor comment fix to get_stopping_point_xy
2020-03-11 10:39:18 +09:00
Randy Mackay
90883624bc
Copter: fix use of wp-navmin-alt
2020-03-11 10:39:18 +09:00
Leonard Hall
25f1a4a4e1
AC_WPNav: add shift_wp_origin_to_current_pos_xy
...
also add shift_wp_origin_and_destination_to_stopping_point_xy
2020-03-11 10:39:18 +09:00
Leonard Hall
29332ac112
AC_PosControl: add relax_velocity_controller_xy
2020-03-11 10:39:18 +09:00
Andrew Tridgell
305fc09e2b
Tools: rebuild bootloaders with CS fix
2020-03-11 09:53:06 +11:00
Andrew Tridgell
e15bb744ff
Tools: improve build_bootloaders.py script
...
give list of failed builds
2020-03-11 09:53:06 +11:00
Andrew Tridgell
d35fff5186
HAL_ChibiOS: set CS pins high while in bootloader
...
this appears to be the root cause of the parameter resets on
CubeOrange. We need to ensure the CS pin is not floating or random
noise on the SPI bus for FRAM can cause the FRAM to become corrupt
2020-03-11 09:53:06 +11:00
Gone4Dirt
b0b7acde09
Mavlink: add MAV_CMD_DO_SET_RESUME_REPEAT_DIST
2020-03-11 09:48:40 +11:00
Gone4Dirt
537a259ab6
AP_Mission: added to rewind mission on resume with MAV_CMD_DO_SET_RESUME_REPEAT_DIST
2020-03-11 09:48:40 +11:00
Andrew Tridgell
0f7de04d79
Tools: added image_size to manifest
2020-03-11 09:43:06 +11:00
Peter Barker
ebfa910774
GCS_MAVLink: GCS_Dummy: add missing CR to console output of statustexts
...
send_text and friends don't expect the caller to add the CR; the GCS
will add one. Since we're jsut emitting to console, add one ourselves.
2020-03-10 19:07:08 +11:00
Andy Piper
94ff5d13c0
autotest: limit frequency matching to resolution of the FFT
2020-03-10 15:04:46 +11:00
Peter Barker
18ddfbdd6e
ArduSub: move AP_PARM_KEY_DUMP function up to AP_Vehicle base class
...
Common to all vehicles now, including Tracker
2020-03-10 11:00:14 +11:00