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
Andrew Tridgell
2b7b499c63
HAL_ChibiOS: added support for RTC sig for fast boot
2018-06-28 11:35:13 +10:00
Andrew Tridgell
a3e44b3249
GCS_MAVLink: fix from review comment
...
thanks Pierre
2018-06-28 11:35:13 +10:00
Andrew Tridgell
f7f9d2b0e7
HAL_ChibiOS: added fmuv4 bootloader hwdef-bl.dat
2018-06-28 11:35:13 +10:00
Andrew Tridgell
3a5b3b4b1b
HAL_ChibiOS: fixed adding bootloader to ROMFS
2018-06-28 11:35:13 +10:00
Peter Barker
e332bece0f
AP_HAL_ChibiOS: embed any bootloader found for a board
2018-06-28 11:35:13 +10:00
Peter Barker
4a8614fbbd
GCS_MAVLink: handle MAV_CMD_FLASH_BOOTLOADER
2018-06-28 11:35:13 +10:00
Peter Barker
a81b3c8a7c
AP_HAL_ChibiOS: specify bootloader for sparky2
2018-06-28 11:35:13 +10:00
Peter Barker
f07b6f3d78
AP_HAL_ChibiOS: add support for flashing bootloader
2018-06-28 11:35:13 +10:00
Peter Barker
b9b0ef0c77
AP_HAL: add flash_bootloader to AP_HAL API
2018-06-28 11:35:13 +10:00
ChristopherOlson
1709c258bf
AP_Motors:TradHeli - fix metadata for H_COL_CTRL_DIR
2018-06-28 09:02:48 +09:00
Pierre Kancir
0ee6e41f6e
AP_IRLock: Replace find_object with SITL singleton
2018-06-27 14:59:33 -07:00
Patrick José Pereira
b66b4775bc
SITL: Replace find_object with SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-27 14:59:33 -07:00
Patrick José Pereira
32fa7e2c2a
AP_RangeFilter: Fix equality comparison with extraneous parentheses
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-27 14:59:33 -07:00
Michael du Breuil
2577e5ff25
AP_HAL: Don't always define GPIO pins, they may be connected to real
...
hardware
2018-06-27 15:25:44 +10:00
Michael du Breuil
72439a053b
AP_Notify: Handle LED pins being undefined, select appropriate drivers
2018-06-27 15:25:44 +10:00
Michael du Breuil
c5669a614e
AP_Notify: Remove unneeded init guards
2018-06-27 15:25:44 +10:00
Michael du Breuil
565a84efcb
AP_Notify: Remove unreachable ChibiOS defines, enable BoardLed
2018-06-27 15:25:44 +10:00
Michael du Breuil
abda44e886
AP_Notify: Move driver deletion to backend creation macro
...
Creates a dense array of drivers we want to update, reduces runtime
overhead, allows us to try detecting more backends then are present
2018-06-27 15:25:44 +10:00
Michael du Breuil
8e8e9a5a58
AP_Notify: Delete drivers that are not present
2018-06-27 15:25:44 +10:00
Michael du Breuil
d0cd37fabb
AP_Notify: Reduce flash consumption, remove unneeded middleware classes
2018-06-27 15:25:44 +10:00
Andrew Tridgell
10533fb249
HAL_ChibiOS: enable OSD font on OMNIBUSF7V2
2018-06-27 14:55:00 +10:00
Andrew Tridgell
ea3467348e
AP_OSD: fixed typo
2018-06-27 14:55:00 +10:00
Andrew Tridgell
a86c4d27e1
AP_OSD: fixed CI build error
2018-06-27 14:55:00 +10:00
vierfuffzig
aeaf695d83
AP_OSD: add ground speed item
2018-06-27 14:55:00 +10:00
Alexander Malishev
fcd351b5c0
AP_OSD: fixed gps stat and messages items, reformat
2018-06-27 14:55:00 +10:00
Alexander Malishev
af96673004
AP_OSD: added screen switch by rc channel
2018-06-27 14:55:00 +10:00
Alexander Malishev
e487f37fd7
HAL_ChibiOS: added font check on startup
...
Based on Andrew Tridgell suggestion
2018-06-27 14:55:00 +10:00
Alexander Malishev
79b289f97e
HAL_ChibiOS: reverted change in omnibus hwdef.dat
2018-06-27 14:55:00 +10:00
Andrew Tridgell
43d0a61da0
AP_OSD: fixed build
2018-06-27 14:55:00 +10:00
Andrew Tridgell
76fd0962e7
AP_OSD: fixes from review comments
2018-06-27 14:55:00 +10:00
Andrew Tridgell
06fdc50169
AP_OSD: switched to 2-d arrays
...
makes it a bit easier to read
2018-06-27 14:55:00 +10:00
Andrew Tridgell
2fb63828bb
AP_OSD: use fixed array sizes
...
the allocation didn't win anything as the backend is already allocated
2018-06-27 14:55:00 +10:00
Andrew Tridgell
2c29d1c297
AP_OSD: tidy ups
2018-06-27 14:55:00 +10:00
Andrew Tridgell
5dc3515c83
AP_OSD: fixed X range
2018-06-27 14:55:00 +10:00
Andrew Tridgell
8f8107d13f
AP_OSD: moved to new parameter system
2018-06-27 14:55:00 +10:00
Andrew Tridgell
8e8508a9f3
HAL_ChibiOS: enable OSD for MatekF405
2018-06-27 14:55:00 +10:00
Andrew Tridgell
cf19e7a3ae
HAL_ChibiOS: enabled OSD on KakuteF4
2018-06-27 14:55:00 +10:00
Alexander Malishev
c1d82a43c5
AP_OSD: initial version
2018-06-27 14:55:00 +10:00
Alexander Malishev
568e5a24b4
AP_Notify: initial OSD support
2018-06-27 14:55:00 +10:00
Alexander Malishev
8ce7ef1342
HAL_ChibiOS: added OSD support for MatekF405 and Omnibuspro
2018-06-27 14:55:00 +10:00
Andrew Tridgell
35f835a021
HAL_ChibiOS: improved OMNIBUSF7V2 support
2018-06-27 13:01:30 +10:00
Andrew Tridgell
7cce23671a
HAL_CbibiOS: removed unnecessary BOARD_SUBTYPE define
...
just causes build warnings
2018-06-27 11:37:45 +10:00
Andrew Tridgell
5bf078cc86
HAL_ChibiOS: fixed build with -Werror-sign-compare
2018-06-27 11:37:45 +10:00
Alexander Malishev
14db344c12
AP_RCProtocol: improve s-bus parsing
...
This relax s-bus timing requirement to allow not so perfect signals.
Fixes s-bus on s-bus pin in matekf405-wing
Also fixed comment a bit
2018-06-27 09:10:11 +10:00
Lucas De Marchi
49d08ba72a
Global: remove minlure
...
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.
It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Lucas De Marchi
d31e85e738
AP_HAL_Linux: fix copy and paste error on gpio table
2018-06-26 07:32:08 -07:00
Peter Barker
9eb53e333b
AP_Compass: tidy consistency calculations
...
AP_Compass: normalize vectors in-place to save a few bytes (thanks MdB)
2018-06-26 18:37:55 +10:00
Michael du Breuil
a92c4aa9fd
AP_HAL: Update comment on UARTDriver::begin to reflect automatic
...
clearing
2018-06-26 02:18:18 +01:00
Michael du Breuil
3af6b78d67
AP_HAL_VRBrain: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
8680f1ab52
AP_HAL_SITL: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
512939a839
AP_HAL_PX4: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
7043738f3b
AP_HAL_Linux: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
153ee6ca8e
AP_HAL_ChibiOS: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
037e53ba8a
AP_HAL_ChibiOS: Reduce flash space of UARTDriver
...
Saves 32 bytes
2018-06-26 02:18:18 +01:00
Peter Barker
e7e0ee0b50
AP_Proximity: add methods covering sensor health, enable and present
2018-06-26 10:25:28 +10:00
Pierre Kancir
bffe3f6c21
AC_WPNav: add getter for crosstrack_error
2018-06-26 08:42:14 +09:00
Michael du Breuil
d977ca091a
AP_Arming: Correct an edge case that would not run compass checks
2018-06-26 09:26:29 +10:00
Patrick José Pereira
cd5c59773b
AP_HAL_SITL: Use SITL, baro, INS and compass singletons
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
a4d8ed4b75
AP_HAL_SITL: Use reinterpret_cast with AP_Param::find_object
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
ae378f0fb3
SITL: Use reinterpret_cast with AP_Param::find_object
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
f68b07df1f
SITL: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
00cb588257
AP_RPM: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
50613c3800
AP_Proximity: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
653784479e
AP_OpticalFlow: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
0c06bf89e5
AP_InertialSensor: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
e456655932
AP_Compass: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
37fbd6aaa1
AP_Beacon: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
4ae6bd2c7e
AP_Baro: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00