Peter Barker
84d49d5a88
hwdef: skyviper-v2450: remove EK3 external nav and body-frame-odometry
...
Neither of these are applicable to SkyViper
2023-01-17 10:50:37 +11:00
Peter Barker
d78ea08d24
AP_AHRS: move AP_AHRS_SIM::get_results into backend file
2023-01-17 10:49:56 +11:00
Iampete1
722ec745e9
AP_BattMoniter: don't allow equal low and critical FS thresholds
2023-01-17 10:36:09 +11:00
Andrew Tridgell
ffb6a9fb7f
AP_OpenDroneID: set EMERGENCY status on crash or chute deploy
...
RemoteID modules are required to set EMERGENCY status on uncontrolled
descent or crash. This fixes our implementation to do that, either via
existing vehicle crash checking code or via a parachute release
2023-01-17 10:31:26 +11:00
chobits
f467acbe92
AP_HAL_ChibiOS: no dma for unused kakuteh7 uart2
2023-01-17 10:24:42 +11:00
Henry Wurzburg
71099c881d
AP_Scripting: add error check to mission_load.lua
2023-01-17 10:24:08 +11:00
Henry Wurzburg
8865d79015
AP_Mission: add error check to mission_load.lua
2023-01-17 10:24:08 +11:00
Henry Wurzburg
c8617ccf01
AP_Scripting:Add mission to Script_Controller and improve
2023-01-17 10:24:08 +11:00
Henry Wurzburg
509d4b7fbf
SITL:make MAG1 param consistent names
2023-01-17 08:45:30 +11:00
Andrew Tridgell
12c24df476
AP_HAL_SITL: added old_size to heap_realloc
2023-01-16 09:19:16 +11:00
Andrew Tridgell
deb86be1da
AP_HAL_Linux: added old_size to heap_realloc
2023-01-16 09:19:16 +11:00
Andrew Tridgell
13cbccc016
AP_HAL: added old_size to heap_realloc
2023-01-16 09:19:16 +11:00
Andrew Tridgell
e255bbbd40
AP_HAL_ESP32: added old_size to heap_realloc
2023-01-16 09:19:16 +11:00
Andrew Tridgell
365de4b505
AP_HAL_ChibiOS: added old_size to heap_realloc
2023-01-16 09:19:16 +11:00
Andrew Tridgell
b45be75a98
AP_Scripting: use MultiHeap class
2023-01-16 09:19:16 +11:00
Andrew Tridgell
22a16f9672
AP_Common: added MultiHeap class
...
for scripting allocation with multiple heaps
2023-01-16 09:19:16 +11:00
Henry Wurzburg
e96a55c1b6
SITL:add SIM param metadata
2023-01-15 21:58:12 +11:00
Andrew Tridgell
a2b0bbffdb
HAL_SITL: implement SIM_UART_LOSS
2023-01-15 21:57:15 +11:00
Andrew Tridgell
d3ea7b0ca6
SITL: added SIM_UART_LOSS parameter
2023-01-15 21:57:15 +11:00
Andrew Tridgell
dfdecc52c4
GCS_MAVLink: fixed FTP terminate session error
...
this caused ftp downloads to intermittently fail. The cause is the FTP
client may ask for a session terminate and then immediately afterwards
a ftp open. The open would fail as the ftp session was considered
active
2023-01-15 21:57:15 +11:00
Andrew Tridgell
abb3cdd6b8
AP_TECS: added max throttle time for takeoff with no airspeed sensor
2023-01-15 12:17:27 +11:00
Andrew Tridgell
d15c5ce233
AP_Vehicle: added takeoff_throttle_max_t for fixed wing
2023-01-15 12:17:27 +11:00
Peter Barker
08f652fe2c
AP_HAL_ChibiOS: ignore array bounds check while checking 0x0 for writes
...
Fixes compiler error on g++ 12
../../libraries/AP_HAL_ChibiOS/Scheduler.cpp:568:20: error: array subscript 0 is outside array bounds of 'const uint8_t [0]' [-Werror=array-bounds]
568 | if (addr0[i] != 0) {
2023-01-12 23:30:15 +11:00
Peter Barker
c42754b691
AP_AHRS: create an AP_AHRS_SIM backend
2023-01-12 13:11:40 +11:00
Henry Wurzburg
c79672b96c
SITL: add SITL param metadata and fix a few
2023-01-12 09:19:27 +11:00
Peter Barker
9cb3bfbe05
AP_HAL_ChibiOS: disable batch sampler on SkyViper-v2450
...
saves ~1.8kB
2023-01-11 19:08:41 +11:00
Peter Barker
e5c3dd871c
AP_InertialSensor: create explicit define for AP_INERTIALSENSOR_BATCHSAMPLER_ENABLED
...
this allows the batch sampler to be removed for size reasons, or because you don't have logging enabled
2023-01-11 19:08:41 +11:00
Andy Piper
c620ba58df
AP_Motors: use _dt instead of loop rate for throttle slew calculation
2023-01-11 18:59:52 +11:00
Andy Piper
80fb33fb8b
AP_AHRS: add throttle slew to RATE
...
log PD scaling values
2023-01-11 18:59:52 +11:00
Andy Piper
53b7f96a5d
AC_AttitudeControl: boost PD on roll and pitch when slew limit is hit
...
boost angle P when slew limit is hit
move to a single parameter for thrust-gain boosting
add PD scaling support
2023-01-11 18:59:52 +11:00
Andy Piper
f3ecb4ee6c
AC_PID: support PD boosting
2023-01-11 18:59:52 +11:00
Andy Piper
ad94c5cab1
AP_Motors: calculate throttle slew rate
...
use derivative filter and apply filtering to slew detector
2023-01-11 18:59:52 +11:00
Andy Piper
9caf94b5e4
AP_HAL_ChibiOS: simple conversion tool for betaflight pin definitions
2023-01-11 18:57:33 +11:00
Andy Piper
094a52e433
AP_HAL_ChibiOS: FoxeerH743 hwdef
2023-01-11 18:57:33 +11:00
Iampete1
15daff879e
AP_Param: add shared Info defines
2023-01-11 18:41:34 +11:00
Iampete1
dd31742463
AP_Param: align param info structures to save flash
2023-01-11 18:41:34 +11:00
Iampete1
5c013552ed
AP_OSD: align param info structures to save flash
2023-01-11 18:41:34 +11:00
Iampete1
57e35f39b1
AP_NMEA_Output: align param info structures to save flash
2023-01-11 18:41:34 +11:00
Peter Barker
37b54a7c9c
AP_Param: correct compilation when debugging enabled
...
Correct passing through ov varargs from macro
2023-01-11 13:55:36 +11:00
MAD-CRAZY-MAN
63efa7e480
hwdef: update thepeach hwdef-bl.dat
2023-01-11 10:00:57 +11:00
Peter Barker
c71c93e2b0
AP_Vehicle: make check_var_info void
...
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Peter Barker
7f9714d722
AP_Param: make check_var_info void
...
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Iampete1
e2535d1197
AP_OSD: rework param defualting
2023-01-10 10:42:52 +11:00
Peter Barker
551dae8759
AP_AHRS: break out an AP_AHRS_config.h
2023-01-10 10:27:39 +11:00
Andrew Tridgell
10c5ecb46a
AP_Scripting: added example for generator throttle control
2023-01-10 10:19:51 +11:00
Henry Wurzburg
787cce4fc3
AP_Scripting: sport_aerobatics trick additions and fixes
2023-01-10 09:41:41 +11:00
Randy Mackay
0d18ee71fa
GCS_MAVlink: send_autopilot_state_for_gimbal_device sends ef z-axis rate target
2023-01-09 10:34:34 +09:00
Randy Mackay
78f1b18b64
AP_Vehicle: replace get_rate_bf_targets with get_rate_ef_targets
2023-01-09 10:34:34 +09:00
Randy Mackay
5981e8bbaa
AC_AttitudeControl: add get_rate_ef_targets accessor
2023-01-09 10:34:34 +09:00
Andrew Tridgell
3d5ef88c43
AC_AttitudeControl: fixed time wrap bug in is_active_xy()
...
this failed at 70 minutes
2023-01-08 16:02:42 +11:00
Andrew Tridgell
f39f4e35c2
GCS_MAVLink: optimise FTP for available bandwidth
...
when we don't have hardware flow control don't use more than 1/3 of
available bandwidth for ftp outgoing transfers. This makes parameter
download faster on radios without flow control
2023-01-08 15:11:32 +11:00
Andrew Tridgell
a14c5b2955
AP_HAL: check for null buffer in ObjectBuffer get_size()
2023-01-08 15:11:32 +11:00
Andrew Tridgell
41de8286ef
GCS_MAVLink: check for alloc failure of ObjectBuffer
2023-01-08 15:11:32 +11:00
Andrew Tridgell
db45682b3d
AP_Scripting: check for alloc failure of ObjectBuffer
2023-01-08 15:11:32 +11:00
Andrew Tridgell
03f4ab515d
AP_HAL_Linux: check for alloc failure of ObjectBuffer
2023-01-08 15:11:32 +11:00
Andrew Tridgell
6bff28d5d5
AP_CANManager: check for alloc failure of ObjectBuffer
2023-01-08 15:11:32 +11:00
Andrew Tridgell
e184e78e52
AC_Avoidance: check for alloc failure of ObjectBuffer
2023-01-08 15:11:32 +11:00
Andrew Tridgell
57ee3a4e02
GCS_MAVLink: send FTP replies directly from the FTP thread
...
this saves over 700 bytes of memory while also making ftp faster
2023-01-08 15:11:32 +11:00
Andrew Tridgell
7a741a0a2d
AP_GPS: fixed use of undulation for GPS2_RAW
...
GPS2_RAW needs to use undulation of 2nd receiver
2023-01-08 13:30:11 +11:00
Andrew Tridgell
17c25780c7
AP_GPS: support UNIHEADINGA message for Unicore NMEA
...
this allows for good yaw even without a RTK fix, which makes yaw with
dual-antenna Unicore GPS modules much more useful
2023-01-08 13:30:11 +11:00
murata
42a2a51dc7
AP_Landing: Change from division to multiplication
2023-01-06 11:31:09 -08:00
Andrew Tridgell
b80dca38ff
GCS_MAVLINK: added check_payload_size() method
...
this saves flash by moving common code to cpp
2023-01-06 22:50:42 +11:00
Peter Barker
54a4b7a98b
GCS_MAVLink: use chibios_hwdef.py to disable fence on AP_Periph
2023-01-06 12:39:06 +11:00
Peter Barker
28592269ff
AP_HAL_ChibiOS: use chibios_hwdef.py to disable fence on AP_Periph
2023-01-06 12:39:06 +11:00
Iampete1
3299976eae
AP_Airspeed: move setting of first backend defualts to constructor to avoid race
2023-01-05 08:27:45 +11:00
Andrew Tridgell
0b7353bb89
AP_Filesystem: detect inconsistent parameter count
...
on incorrect param count invalidate it so a 2nd param ftp will get the
right count
2023-01-04 21:50:24 +11:00
Andrew Tridgell
f0bc31cdc3
AP_Vehicle: invalidate param count at end of vehicle startup
2023-01-04 21:50:24 +11:00
Peter Barker
3854e4a99d
AP_AHRS: get_relative_position_D_home: don't use home until set
2023-01-04 18:11:01 +11:00
Peter Barker
341d66800a
hwdef: minimize features on VRBrain-v52 and VRCore-v10
...
these are failing to build on the firmware server
2023-01-04 18:06:18 +11:00
Peter Barker
fe4e4b0aff
AP_HAL: correct sitl-on-hw compilation for Helicopters
2023-01-04 18:04:28 +11:00
Peter Barker
95527894de
AP_InertialSensor: define AP_INERTIALSENSOR_ENABLED in a new AP_InertialSensor_config.h
2023-01-04 18:02:34 +11:00
Peter Barker
e8c5296087
AP_HAL: define AP_INERTIALSENSOR_ENABLED in a new AP_InertialSensor_config.h
2023-01-04 18:02:34 +11:00
Peter Barker
de54bcbc21
AP_HAL_ChibiOS: define AP_INERTIALSENSOR_ENABLED in a new AP_InertialSensor_config.h
2023-01-04 18:02:34 +11:00
Henry Wurzburg
8de4195ffc
AP_Scripting: add readme.md file and completion
2023-01-04 16:20:12 +11:00
Andrew Tridgell
ea89f04a56
AP_Scripting: script switching system
...
Co-authored-by:Henry Wurzburg (hwurzburg@yahoo.com )
2023-01-04 16:20:12 +11:00
Peter Barker
c728483a7e
AP_HAL_SITL: add option to create uart connection to file
2023-01-04 12:29:49 +11:00
Andy Piper
2c990f9e1c
AP_HAL_ChibiOS: MambaH743 v2 with dual ICM42688
2023-01-04 08:12:44 +11:00
murata
0fedd83208
AP_SerialManager: Add 2Mbps for simulator
2023-01-03 12:52:07 +11:00
Kirill Shilov
4e3081cdf8
AIRLink hwdef: added heater parameters
2023-01-03 12:08:57 +11:00
Peter Barker
389eb3ac50
AP_HAL_ChibiOS: minimize Mamba405-2022
2023-01-03 11:39:18 +11:00
Peter Barker
6524bf3729
AP_Logger: create and use AP_Logger_config.h
2023-01-03 11:24:14 +11:00
Henry Wurzburg
bd27a8c650
AP_Scripting: Update readmes for aerobatics
2023-01-03 11:22:52 +11:00
Peter Barker
798cc2633f
AP_SerialManager: implement parameter CopyFieldsFrom and use it
2023-01-03 11:08:43 +11:00
Peter Barker
7432123e42
AP_Button: implement parameter CopyFieldsFrom and use it
2023-01-03 11:08:43 +11:00
Peter Barker
80c79f1529
AP_Arming: only require AP_RALLY_ENABLED if MIS_ITEM_CHECK_RALLY
...
It's OK to not have AP_RALLY_ENABLED if the user isn't requiring that a rally point be avaiable. i.e. if the user is requesting that there be a landing point that doesn't infer rally must be compiled in!
2023-01-03 11:04:44 +11:00
Henry Wurzburg
65547f41c7
AP_Scripting: rename TRIK to TRIKR for sport_aerobatics
2023-01-03 11:03:36 +11:00
Andrew Tridgell
d6c258e9d0
AP_Declination: update magnetic field tables
...
now using igrf13
2023-01-03 11:01:32 +11:00
Peter Barker
84215ff662
AP_Terrain: only include GCS_MAVLink if terrain is enabled
2023-01-03 10:47:28 +11:00
Iampete1
f0c1673b62
AP_Scripting: bindings: logger: support more formats
2023-01-03 10:45:51 +11:00
Iampete1
3d9794a503
AP_ExternalAHRS: VectorNav: remove reset and wait as it causes baro calibration issues
2023-01-03 10:32:20 +11:00
Iampete1
621e01fbcc
SITL: VectorNav: update simulated VN-300 for new packet type
2023-01-03 10:32:20 +11:00
Iampete1
759f035636
AP_ExtneralAHRS: add option to use uncompensated IMU values on vector nav
2023-01-03 10:32:20 +11:00
Iampete1
9040eac91b
AP_ExtneralAHRS: VectorNav: get uncompensated IMU values
2023-01-03 10:32:20 +11:00
Iampete1
f441640aba
AP_ExternalAHRS: VectorNac: VN-300 remove unused data fields
2023-01-03 10:32:20 +11:00
Iampete1
2e465b4c18
AP_InertialSensor: External: report name in output banner
2023-01-03 10:32:20 +11:00
Iampete1
ec1814da34
AP_ExternalAHRS: add get_name function for reporting
2023-01-03 10:32:20 +11:00
Iampete1
33b09ff0cb
AP_ExternalAHRS: add enabled method
2023-01-03 10:32:20 +11:00
Iampete1
f933f148ed
AP_AHRS: always run external AHRS arming check if enabled
2023-01-03 10:32:20 +11:00
Iampete1
8710a651ce
AP_ExternalAHRS: VectorNAV: add support for VN-100
2023-01-03 10:32:20 +11:00
Peter Barker
959b3049c0
GCS_MAVLink: rename HAL_INS_ENABLED to AP_INERTIALSENSOR_ENABLED
2023-01-03 10:28:42 +11:00