Commit Graph

39949 Commits

Author SHA1 Message Date
Michael du Breuil
610dff61d8 AP_Scripting: Fix nullable arguments numbering, add location bearing 2019-10-25 08:48:22 +08:00
Michael du Breuil
a99f67fd5b AP_Common: Add a radian method for getting location bearings 2019-10-25 08:48:22 +08:00
Michael du Breuil
82a7116142 AP_Scripting: Allow scripts to set the mode 2019-10-25 08:48:22 +08:00
Michael du Breuil
3f94f0d517 Sub: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil
ee96ec7f0d Plane: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil
b42b1c08c4 Copter: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil
6d7b196212 Tracker: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil
a1acc75e11 Rover: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil
c369139be0 AP_Logger: Support new ModeReason 2019-10-25 08:48:22 +08:00
Michael du Breuil
cb1b236439 GCS_MAVLink: Use the vehicle singleton to directly set the flight mode 2019-10-25 08:48:22 +08:00
Michael du Breuil
a44a7f541b AP_Vehicle: Support set_mode 2019-10-25 08:48:22 +08:00
Peter Barker
0f4337b7b1 AP_HAL_Linux: release mutex lock before calling write(c)
It instantly tries to take it, but we're still holding it, leading to
instant failure.

This mirrors the same code in AP_HAL_ChibiOS.
2019-10-25 11:38:16 +11:00
Andrew Tridgell
6f6a8d5d14 Tools: auto-build AP_Periph binaries 2019-10-25 09:35:27 +11:00
Andrew Tridgell
2818151a39 AP_RangeFinder: disable some incompatible drivers for AP_Periph 2019-10-25 09:35:27 +11:00
Andrew Tridgell
c08d37bd8f Tools: fixed build with --out directory for build_binaries 2019-10-25 09:35:27 +11:00
Andrew Tridgell
1bf037297d HAL_ChibiOS: set correct APJ_BOARD_ID for ZubaxGNSS 2019-10-25 09:35:27 +11:00
Andrew Tridgell
eeaf6c0f30 Tools: updated CAN bootloaders 2019-10-25 09:35:27 +11:00
Andrew Tridgell
46cb585af2 AP_Periph: use APJ_BOARD_ID in hw major/minor 2019-10-25 09:35:27 +11:00
Andrew Tridgell
34e0ac51f5 AP_Bootloader: use APJ_BOARD_ID in hw major/minor 2019-10-25 09:35:27 +11:00
Andrew Tridgell
83eeca2586 AP_Scripting: fixes for modified AP_ROMFS API
need to use AP_ROMFS::free()
2019-10-24 22:03:43 +11:00
Andrew Tridgell
c4d78a7d8c AP_OSD: fixes for modified AP_ROMFS API
need to use AP_ROMFS::free()
2019-10-24 22:03:43 +11:00
Andrew Tridgell
ef1aaa6db0 AP_IOMCU: fixes for modified AP_ROMFS API
need to use AP_ROMFS::free()
2019-10-24 22:03:43 +11:00
Andrew Tridgell
1a1d7e0525 AP_ROMFS: support uncompressed romfs data 2019-10-24 22:03:43 +11:00
Andrew Tridgell
49e669aa1f HAL_ChibiOS: support uncompressed bootloader on f103-periph
this allows update with very low memory
2019-10-24 22:03:43 +11:00
Andrew Tridgell
cffb434de8 HAL_ChibiOS: tweak stack on f103-periph 2019-10-24 22:03:43 +11:00
Andrew Tridgell
c219d357f0 waf: allow for uncompressed ROMFS
this saves memory flashing bootloader on low memory boards
2019-10-24 22:03:43 +11:00
Andrew Tridgell
a3b61a1b02 HAL_ChibiOS: enable ROMFS for ZubaxGNSS and f103-periph
this allows for bootloader update
2019-10-24 22:03:43 +11:00
Andrew Tridgell
513e483821 AP_Compass: disable HIL for AP_Periph
this saves several k of flash
2019-10-24 22:03:43 +11:00
Andrew Tridgell
0c00bb935a AP_Periph: support updating bootloader with FLASH_BOOTLOADER option 2019-10-24 22:03:43 +11:00
Andrew Tridgell
c6a372bfdd AP_Periph: fixed handling of 16 char param names 2019-10-24 22:03:43 +11:00
Andrew Tridgell
ad3b1eaaf0 AP_Periph: enable AP_ROMFS build 2019-10-24 22:03:43 +11:00
Andrew Tridgell
a224342b18 HAL_ChibiOS: enable ROMFS for CUAV_GPS 2019-10-24 22:03:43 +11:00
Randy Mackay
15643f9245 Rover: release notes for 4.0.0-rc2 2019-10-24 13:01:15 +09:00
Andrew Tridgell
14cdac9202 AP_GPS: fixed GPS to UART mapping
this allows for first GPS as UAVCAN and 2nd as UART. That is not
possible currently unless you waste a uart
2019-10-24 14:37:30 +11:00
Peter Barker
f6b6aa68ed AP_Scripting: add a hello world example 2019-10-24 13:50:51 +11:00
Peter Barker
099379713c AP_Scripting: add simple example of a loop 2019-10-24 13:50:51 +11:00
Peter Barker
7842d07b12 autotest: add test for scripting 2019-10-24 13:50:51 +11:00
Peter Barker
f431c0b256 Replay: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Peter Barker
3cd66dbdd9 Sub: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Peter Barker
1d99fbebc9 Plane: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Peter Barker
9c57862ec6 Copter: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Peter Barker
52ec1dba5e Tracker: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Peter Barker
3fff2eaf6d Rover: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Peter Barker
c30873097a AP_Logger: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Vlad-Andrei Dorobantu
d7132928d1 Copter: corrected undefined data member causing linking error 2019-10-24 10:00:35 +11:00
Randy Mackay
01c36fa6aa AP_Compass: LEARN param default to 0 for all vehicles 2019-10-23 17:15:57 +11:00
Peter Hall
8d058d58be Tools: autotest: update sailboat default params 2019-10-23 08:28:39 +08:00
Peter Hall
43449a4adb AR_WPNav: remove unneeded overshoot methods 2019-10-23 08:28:39 +08:00
Peter Hall
75956755bb Rover: add dedicated sailboat crosstrack and loiter params 2019-10-23 08:28:39 +08:00
Andrew Tridgell
f69be70772 HAL_ChibiOS: save some memory in f103-periph build 2019-10-22 17:51:24 +11:00