Commit Graph

17132 Commits

Author SHA1 Message Date
Peter Barker fc378eeae1 DataFlash: move log-transfer state variables into enumerated variable 2018-07-02 10:46:52 +10:00
Peter Barker 4c2925d693 AP_Compass: remove pointless initialisations
If you are allocating one of these on the stack you're doing something
wrong.
2018-07-02 10:44:34 +10:00
Andrew Tridgell 0af83f9364 AP_OSD: use correct SFML header file 2018-07-02 10:43:48 +10:00
Andrew Tridgell d3bc281a10 HAL_ChibiOS: use generic ROMFS embedding system 2018-07-02 10:43:48 +10:00
Andrew Tridgell 8ba137bd9a waf: moved ROMFS embed script into waf folder 2018-07-02 10:43:48 +10:00
Peter Barker 20d22f3629 AP_Math: quaternion requires isnan, so include math.h to get it 2018-07-02 09:31:11 +10:00
Peter Barker 493f958eb2 DataFlash: remove unused ReadBlock method 2018-07-02 09:00:51 +10:00
Andrew Tridgell 35192a6162 AP_OSD: added SITL OSD backend 2018-07-01 21:21:28 +10:00
Alexander Malishev 0169a9287d AP_OSD: fixed issues with horizont and home
Fixed roll direction.
Fixed home direction at small distances
2018-07-01 20:26:53 +10:00
Alexander Malishev daf13cb9f4 AP_OSD: add home item 2018-07-01 20:26:53 +10:00
Alexander Malishev d2e2a5b2ea AP_OSD: fixes in screen swithing methods
Do not switch to the next screen just after initialization.
Reduced auto switch interval to 1s.
Allow switch sreen in autoswitch mode just after transition.
2018-07-01 20:26:53 +10:00
Alexander Malishev c0db1a3625 AP_OSD: fix warnings 2018-07-01 20:26:53 +10:00
Alexander Malishev 9b687e0e50 AP_OSD: use autoscroll in text messages, add artificial horizon 2018-07-01 20:26:53 +10:00
Alexander Malishev 1949166dde AP_OSD: add two new methods to switch osd screen 2018-07-01 20:26:53 +10:00
Alexander Malishev d0571f55ed AP_OSD: use autoincrement mode to reduce spi traffic 2018-07-01 20:26:53 +10:00
Peter Barker be19ae41d4 AP_HAL_SITL: increase debug for SIM connections 2018-06-30 10:11:10 +10:00
Peter Barker c5d13847b2 AP_HAL_SITL: set cloexec on sitl-gps file descriptors 2018-06-29 21:53:14 +10:00
Peter Barker 6d6366df48 SITL: Sim_Vicon: set CLOEXEC on vicon file decsriptor 2018-06-29 21:53:14 +10:00
Andrew Tridgell e5435e02ad HAL_ChibiOS: report system ID in mavlink and logs 2018-06-29 20:27:36 +10:00
Andrew Tridgell eb2c9dfe74 AP_HAL: define CHIBIOS_SHORT_BOARD_NAME if not defined 2018-06-29 20:27:36 +10:00
Peter Barker e577a5564f AP_HAL_SITL: correct segfault when uartg configured 2018-06-29 18:47:30 +10:00
Peter Barker ed724bc2be AP_HAL_SITL: strip -w parameter on SITL reboot 2018-06-29 10:54:27 +10:00
Andrew Tridgell b4d527a9f8 HAL_PX4: support flashing bootloader with MAVLink command 2018-06-29 09:00:40 +10:00
Michael du Breuil 4299eb9ba8 AP_Terrain: Reduce memory consumption, simplify enable checking 2018-06-29 09:00:01 +10:00
Andrew Tridgell ca3beb88b7 HAL_ChibiOS: allow for telem1 and telem2 for bootloader on fmuv3 2018-06-29 08:17:38 +10:00
Andrew Tridgell 6cf205bdbe HAL_ChibiOS: make sure we populate up to uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell dd059b89f3 HAL_ChibiOS: added uartG for fmuv4 and fmuv5 2018-06-29 08:17:38 +10:00
Andrew Tridgell 759121f0d0 AP_SerialManager: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell 9e7d93ff48 HAL_VRBrain: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell 5862138a4b HAL_SITL: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell 3fe04e941f HAL_PX4: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell 9ae6734469 HAL_Linux: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell e120f8be24 HAL_F4Light: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell 4ff57bd512 HAL_Empty: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell 0a5d287326 HAL_ChibiOS: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell d1fcf2bab6 AP_HAL: added uartG
one more uart ...
2018-06-29 08:17:38 +10: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
Ebin 97a260a980 APM_Control: get_throttle_out_from_pitch() accepts dt as argument 2018-06-28 21:55:20 +09:00
Ebin 10914d88b7 SITL: all unchanged variables declared const in BalanceBot::update() 2018-06-28 21:55:20 +09:00
Ebin 657ff06380 APM_Control: added balancing function for BalanceBot 2018-06-28 21:55:20 +09:00
Ebin a40de48809 AP_HAL_SITL: added BalanceBot to SITL_cmdline 2018-06-28 21:55:20 +09:00
Ebin 3a171c56b5 SITL: Added BalanceBot 2018-06-28 21:55:20 +09:00
Peter Barker 5d1d435451 AP_Arming: add type-correctness for is-armed check
Also, correct the constant we're testing against
2018-06-28 12:48:31 +10:00
Peter Barker 72d7181e0d AP_Arming: remove pointless initialisations
These are part of a static object
2018-06-28 12:48:31 +10:00
Peter Barker e3dc408295 AP_Arming: move copter-specific code into Copter subclass 2018-06-28 12:48:31 +10:00
Andrew Tridgell 963675689c HAL_ChibiOS: fixed substitution of %BOARD%-BL 2018-06-28 11:35:13 +10:00
Andrew Tridgell 54dc67e2a9 HAL_ChibiOS: default bootloader product string to XX-BL 2018-06-28 11:35:13 +10:00
Andrew Tridgell 946d0208e5 HAL_ChibiOS: fixed stm32f7 cache bug in erase flash page 2018-06-28 11:35:13 +10:00
Andrew Tridgell d183efa720 HAL_ChibiOS: fixed USB string of fmuv5 bootloader 2018-06-28 11:35:13 +10:00