Commit Graph

21877 Commits

Author SHA1 Message Date
Andrew Tridgell
a7b83b1e26 HAL_ChibiOS: allow for unbuffered writes without DMA 2020-01-16 20:36:54 +11:00
Andrew Tridgell
b8f9f171e0 AP_Common: added IGNORE_RETURN() macro 2020-01-16 20:36:54 +11:00
Andrew Tridgell
f0d1d3fa90 AP_GPS: added get_semaphore() 2020-01-16 20:36:54 +11:00
Andrew Tridgell
dc3e345a05 AP_RTC: added get_semaphore() 2020-01-16 20:36:54 +11:00
Andrew Tridgell
6790df67a1 AP_SerialManager: added Hott telemetry 2020-01-16 20:36:54 +11:00
Andrew Tridgell
f6c9c6fd8c AP_Vehicle: setup for Hott telem 2020-01-16 20:36:54 +11:00
Andrew Tridgell
28dcca4e1e HAL_SITL: added betaflight-x-rev frame type 2020-01-16 19:13:13 +11:00
Andrew Tridgell
dc80df23e9 SITL: added betaflight-rev-x frame 2020-01-16 19:13:13 +11:00
Andrew Tridgell
134d8b941b AP_Motors: added betaflight-x-reversed frame type 2020-01-16 19:13:13 +11:00
Randy Mackay
6aff18d22d AP_Logger: remove non-error init messages 2020-01-16 16:47:28 +11:00
Patrick José Pereira
6518d6dc4d AP_HAL_LINUX: Add support for Raspberry Pi 4
The Raspberry Pi 4 uses a new BCM cpu, the BCM2711 with
a peripheral base address of 0xFE000000

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:03:34 +11:00
Patrick José Pereira
d36157f314 AP_Baro: Add BME280 ID in BMP280
BME280 has the same memory layout than BMP280,
but with more features.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Patrick José Pereira
6230524636 AP_HAL_Linux: Add navigator board
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Patrick José Pereira
d806081d40 AP_Notify: Add navigator board
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Patrick José Pereira
dc44a17c46 AP_HAL: Add navigator board
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Andrew Tridgell
2ebfdefc11 AP_Logger: regain some logging IDs
this gains a lot of logging ID slots by moving elements before LOG_FORMAT_MSG
2020-01-15 21:30:38 +11:00
Peter Barker
f504009287 AP_HAL_SITL: disable SITL stack checking due to memory corruption
There appears to be issues with pthread_attr_setstack.
2020-01-15 19:41:58 +11:00
Peter Hall
a1fb44b782 AP_Scripting: regenerate bindings 2020-01-14 22:34:37 -07:00
Peter Hall
d6689372e3 AP_Scripting: add to AHRS ands vehicle and add baro bindings 2020-01-14 22:34:37 -07:00
Peter Hall
850eee2f84 AP_Soaring: move to airspeed_estimate with pointer 2020-01-14 22:34:37 -07:00
Peter Hall
d16de83e3f AP_Landing: move to airspeed_estimate with pointer 2020-01-14 22:34:37 -07:00
Peter Hall
84fe5f4e78 APM_Control: move to airspeed_estimate with pointer 2020-01-14 22:34:37 -07:00
Peter Hall
0afa144f80 AP_TECS: move to airspeed_estimate with pointer 2020-01-14 22:34:37 -07:00
Peter Hall
e2c4d453e1 AP_OSD: move to airspeed_estimate with pointer 2020-01-14 22:34:37 -07:00
Peter Hall
f6897632f8 AP_AHRS: move to airspeed_estimate with pointer 2020-01-14 22:34:37 -07:00
Peter Hall
dd75609599 AP_NavEKF3: get_time_flying in vehicle 2020-01-14 22:34:37 -07:00
Peter Hall
2970334c0d AP_NavEKF2: get_time_flying in vehicle 2020-01-14 22:34:37 -07:00
Peter Hall
c870df0351 AP_Compass: get_time_flying in vehicle 2020-01-14 22:34:37 -07:00
Peter Hall
7a620ca95c AP_Vehicle: add flying time and bool 2020-01-14 22:34:37 -07:00
Peter Hall
775e4c90da AP_AHRS: remove flying time and bool 2020-01-14 22:34:37 -07:00
Michael du Breuil
1f20cc10f8 AP_Param: Fix failing to invalidate the cached parameter count
This would cause a GCS to download fewer then the requested number of
parameters
2020-01-15 14:02:59 +11:00
Peter Barker
f6bb94ff33 AP_HAL: add missing break statement in dsm code 2020-01-15 13:55:42 +11:00
Peter Barker
95054418f6 AP_ADSB: add missing break statement 2020-01-15 13:55:42 +11:00
Peter Barker
4d6f6c09fb AP_RCProtocol: add missing break statement 2020-01-15 13:55:42 +11:00
Peter Barker
4e40c39128 AP_Baro: add missing break statement 2020-01-15 13:55:42 +11:00
Peter Barker
41d34e9f88 AP_Airspeed: add missing break statement 2020-01-15 13:55:42 +11:00
Michael du Breuil
d92c4dc892 AP_Rangefinder: Fix bad subgroup pointer for drivers 2020-01-15 12:13:44 +11:00
Andrew Tridgell
4f3725c16c SRV_Channel: change function to AP_Int16
this also removes the old parameter conversion code used for when we
first added the SERVO parameters. This was needed for conversion from
Copter 3.4 and Plane 3.7
2020-01-14 14:23:11 +11:00
Andrew Tridgell
7ef86c9bb1 AP_Param: added convert_parameter_width()
this allows for easy conversion of the width of a parameter without
changing indexes
2020-01-14 14:23:11 +11:00
Michael du Breuil
2291702473 AP_Scripting: Raise SITL default heap size 2020-01-13 20:06:31 -07:00
Michael du Breuil
51f79c1b10 AP_Scripting: Add support for UART drivers
Also improves the handling of uint32_t arguments
2020-01-13 20:06:31 -07:00
Michael du Breuil
f0a50c51f6 AP_SerialManager: Add scripting ports 2020-01-13 20:06:31 -07:00
Peter Barker
9997cbf203 AP_AHRS: make ekf_type return from enum class
Eliminate default cases and rely on compiler to enforce all cases
handled in switch statement.  This will be important when we make EKF2
optional.
2020-01-14 11:58:11 +11:00
Peter Barker
968d8cf7d9 AP_AHRS_NavEKF: canonicalise use of get_active_NavEKF result
Some places had a default case, many didn't.
2020-01-14 11:58:11 +11:00
Peter Barker
62c0078d5f AP_Arming: move logging of armed/disarm events into AP_Arming base class 2020-01-14 11:39:36 +11:00
Peter Barker
6b94710e4e AP_Logger: include method and forced in armed log message 2020-01-14 11:39:36 +11:00
Peter Barker
3b8a2fb262 AP_Arming: log arming 2020-01-14 11:39:36 +11:00
Tatsuya Yamaguchi
2c9e56c4b2 AP_Scripting: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Tatsuya Yamaguchi
1309101a4b AP_Vehicle: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Peter Barker
a9f62f196e GCS_MAVLink: consolidate places we snprintf statustexts 2020-01-14 10:38:43 +11:00