Andrew Tridgell
0c01ae1223
AP_IOMCU: started on MCU IO library
2018-01-15 11:46:02 +11:00
Andrew Tridgell
f37d1e3363
AP_RAMTRON: added RAMTRON fram device driver
...
for parameter storage on most stm32 boards
2018-01-15 11:46:02 +11:00
Andrew Tridgell
39362a81ae
AP_InertialSensor: support ChibiOS
2018-01-15 11:46:02 +11:00
Andrew Tridgell
391affc02d
AP_HAL: support ChibiOS
2018-01-15 11:46:02 +11:00
Andrew Tridgell
5d9fa7f85b
AP_Compass: support ChibiOS
2018-01-15 11:46:02 +11:00
Andrew Tridgell
c8c563f90d
AP_Baro: support ChibiOS
2018-01-15 11:46:02 +11:00
Andrew Tridgell
f8bea3af14
AP_BattMonitor: support ChibiOS
2018-01-15 11:46:02 +11:00
Andrew Tridgell
accac344f2
AP_BoardConfig: support ChibiOS as well as NuttX
...
allow for board detection with ChibiOS
2018-01-15 11:46:02 +11:00
Andrew Tridgell
8b6bab7b17
HAL_Chibios: added ChibiOS HAL
...
this is based on initial work by Sid, reset here for easier merging
2018-01-15 11:46:02 +11:00
Michael du Breuil
8ef7e61066
AP_HAL_SITL: Spam u-blox NAV-SVINFO at 0.1Hz
...
This resolves EKF3 being hung on launch
2018-01-13 10:13:00 +09:00
Leonard Hall
eb6ab53f6c
AP_Motors: fix optimum thrust calcs
2018-01-13 10:06:11 +09:00
Randy Mackay
4d0c24f4eb
AC_WPNav: RFND_USE param desription update
2018-01-12 16:50:00 +09:00
Leonard Hall
cddd815a75
AC_AttitudeControl: comment thrust_heading_rotation_angles
...
non-functional change
2018-01-12 15:20:47 +09:00
Randy Mackay
86cbc445bd
AP_Compass: ICM20948 default rotation to Pitch180Yaw90
2018-01-12 08:16:41 +09:00
Randy Mackay
5e90cdbf59
AR_AttitudeControl: parameter desc range increase
...
new steering controller can use higher FF and zero P
2018-01-12 08:15:34 +09:00
Leonard Hall
3e0c24adf9
AC_PosControl: remove out-of-date comments
2018-01-11 21:18:34 +09:00
Peter Barker
18d7d3f038
DataFlash: add missing FALLTHROUGH declarations
2018-01-11 13:23:06 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
596119bca3
GCS_MAVLink: do not use hardcoded array sizes
2018-01-11 09:52:13 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
24ad9e9dff
GCS_MAVLink: Adapt to upstream mavlink changes in autopilot_version message
2018-01-11 09:52:13 +11:00
Tom Pittenger
36f06d3576
AP_InertialSensor: remove AP_InertialSensor_UserInteract
...
leftover dead code from when CLI was removed
2018-01-11 08:11:07 +11:00
Peter Barker
8d7c710e9b
GCS_MAVLink: panic in SITL if unknown message sent
2018-01-10 19:11:15 +00:00
Michael du Breuil
5fedc65efb
AP_Airspeed: Allow specifying the MS5525 address
2018-01-10 17:49:35 +00:00
Andrew Tridgell
e5813effff
RC_Channel: improved efficiency of min_max_configured
...
this is quite a costly function due to scan in AP_Param. It takes
about 4 to 5 milliseconds when done as part of AP_Arming
2018-01-10 16:42:51 +09:00
Peter Barker
404e395880
DataFlash: avoid declarations of SITL-only functions
2018-01-09 23:21:58 +00:00
Peter Barker
fd0aa3c659
DataFlash: add validation for Log_Write parameters
2018-01-09 23:21:58 +00:00
Peter Barker
5070628230
DataFlash: factor out validate_structure
2018-01-09 23:21:58 +00:00
mirkix
8d7000db2c
AP_HAL_Linux: fix typo
2018-01-09 12:54:03 -08:00
Michael du Breuil
9e37e9ee82
AP_GPS: Remove unused blending function.
...
Thanks to ender-chen for noticing, closes #7510
2018-01-09 12:52:32 -08:00
Peter Barker
c8e0ae6890
AC_Fence: adjust fence sys_status failed based on position and parameters
2018-01-09 17:15:19 +00:00
Peter Barker
e30a6bbce3
AC_Fence: rename sys_status methods from geofence_ to sys_status_
2018-01-09 17:15:19 +00:00
Peter Barker
a5aafab7ff
AC_Fence: use pre-arm checks for sanity checks
...
Magically resetting people's parameters not a great look.
2018-01-09 17:15:19 +00:00
Peter Barker
155407956c
AC_Fence: add a pre-arm check for polygon fence validity
...
Also change SYS_STATUS bit to be unhealthy if boundary invalid
2018-01-09 17:15:19 +00:00
Peter Barker
aba525e4c5
GCS_Console: remove GCS_Console
2018-01-09 13:46:22 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
f6ab044161
GCS_MAVLink: add microseconds since boot to the home and origin Mavlink messages
2018-01-09 13:01:05 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
479d4be3fd
AP_GPS: Add horizontal, vertical and speed accuracy to the GPS_RAW_INT message
2018-01-09 13:01:05 +11:00
Hiroshi Takey (hiro2233)
aa6f66f29b
AP_Motors: Updated Motor example.
2018-01-09 08:12:01 +09:00
Randy Mackay
1bb18bc941
AR_AttitudeControl: get_throttle_out_speed uses timeout definition
2018-01-05 13:33:21 +09:00
Randy Mackay
4ac5ef3a13
AR_AttitudeControl: allow filter to be zero
...
Also increase default filter to 50hz
2018-01-05 13:33:21 +09:00
Randy Mackay
16d3e5c00d
AR_AttitudeControl: add feed foward for speed and steering rate control
2018-01-05 13:33:21 +09:00
Randy Mackay
40bb2b0ad9
AR_AttitudeControl: set throttle speed pid dt
2018-01-05 13:33:21 +09:00
Randy Mackay
9930550cfc
AR_AttitudeControl: lengthen timeout to 200ms
...
This is required because occasionally the turn rate controller can be disabled for just over 100ms as new navigation commands are loaded
2018-01-05 13:33:21 +09:00
Randy Mackay
a2b1807ca0
AR_AttitudeControl: fix turn-rate controller timeout
2018-01-05 13:33:21 +09:00
Randy Mackay
4e8155f4e5
AC_PID: allow non-zero ff gain default
2018-01-05 13:33:21 +09:00
Randy Mackay
1531801c83
AP_WheelEncoder: minor comment fix
2018-01-04 14:08:17 +09:00
Matt
b5bdaa18ac
AP_AVOIDANCE: Minimum altitude for avoidance action
2017-12-30 13:50:42 -08:00
dheideman
521bece9e7
AP_JSButton: Add servo toggle button function
2017-12-28 14:14:47 -05:00
dheideman
307638e8af
AP_JSButton: Add momentary servo button function
2017-12-28 14:14:47 -05:00
dheideman
dd239183c1
AP_JSButton: Add momentary relay button function
2017-12-28 14:14:47 -05:00
Peter Barker
588b0c17c8
AC_Fence: remove AC_FENCE_TYPE_NONE define
...
0 is the appropriate value for a bitmask which is empty
2017-12-28 15:38:37 +00:00
Peter Barker
aa482bae40
AC_Fence: remove argument to check()
...
Also, rename check_fence() to check()
2017-12-28 15:38:37 +00:00
Andrew Tridgell
55f73f4163
AP_Airspeed: fixed timing errors in MS5525 driver
...
this fixes issue #7188 , where we could read from the MS5525 sensor too
soon after requesting data and the result coming back would be garbage
2017-12-27 11:05:54 -08:00
mirkix
4b1ec08eaf
AP_BattMonitor: add new board PocketPilot
2017-12-27 16:01:55 +00:00
mirkix
0926802013
AP_Notify: add new board PocketPilot
2017-12-27 16:01:55 +00:00
mirkix
9b6a826b49
AP_HAL_linux: add new board PocketPilot
2017-12-27 16:01:55 +00:00
mirkix
0e7ade6f0c
AP_HAL: add new board PocketPilot
2017-12-27 16:01:55 +00:00
Pierre Kancir
8c8767e964
AP_InertialSensor: reduce QURT include scope
2017-12-27 15:13:30 +00:00
Pierre Kancir
14b5c8a6c4
AP_Baro: don't include vehicle specific baro by default
2017-12-27 15:13:30 +00:00
Peter Barker
a35e86c2fd
AP_SmartRTL: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
Peter Barker
7646e09349
AP_OpticalFlow: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
Peter Barker
e584a90c81
AP_Module: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
Peter Barker
89d3289400
AP_Mission: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
Peter Barker
5dc714bf5f
AP_NavEKF3: use GPS singleton
2017-12-27 00:58:02 +00:00
Peter Barker
9c8466dc03
AP_NavEKF2: use GPS singleton
2017-12-27 00:58:02 +00:00
Peter Barker
aea460df2c
AP_FrSky: use GPS singleton
2017-12-27 00:58:02 +00:00
Peter Barker
e15442355a
AP_AHRS: use GPS singleton
2017-12-27 00:58:02 +00:00
Peter Barker
ca4f25a78e
AP_Terrain: use GPS singleton
2017-12-27 00:58:02 +00:00
Peter Barker
fb3cba3867
AP_Mount: use GPS singleton
2017-12-27 00:58:02 +00:00
Peter Barker
a4584431a2
AP_Landing: use GPS singleton
2017-12-27 00:58:02 +00:00
Peter Barker
d1d5a484ce
AP_ADSB: use GPS singleton
2017-12-27 00:58:02 +00:00
Peter Barker
e0c586876b
APM_Control: use GPS singleton
2017-12-27 00:58:02 +00:00
Hiroshi Takey (hiro2233)
fb5b6f2169
AP_Airspeed: Updated Airspeed example.
2017-12-26 14:57:58 +00:00
Peter Barker
dea15892dc
AP_Volz_Protocol: use AP::serialmanager()
2017-12-21 04:35:11 +00:00
Peter Barker
b3f5e807a6
AP_SerialManager: add AP::serialmanager()
2017-12-21 04:35:11 +00:00
Pierre Kancir
6728598099
AP_Rangefinder: don't include Bebop rangefinder by default
2017-12-21 04:13:09 +00:00
Pierre Kancir
be96a27fa8
AP_NavEKF3: only report terrain estimator innovations with valid rng value
2017-12-18 22:51:46 +00:00
Pierre Kancir
171e80d8dc
AP_NavEKF2: only report terrain estimator innovations with valid rng value
2017-12-18 22:51:46 +00:00
khancyr
2732226664
AP_AHRS: use direct assignation and correct some style
2017-12-18 22:43:59 +00:00
khancyr
dae636b39e
AP_AHRS: correct some constcorrectness
2017-12-18 22:43:59 +00:00
khancyr
d89d496c8f
AP_AHRS: make getter const
2017-12-18 22:43:59 +00:00
mirkix
eecd8fcfa6
AP_HAL_Linux: Add VOLTAGE_SCALING for BeagleBone Blue
2017-12-19 09:17:06 +11:00
Andrew Tridgell
4ac49483c8
AP_Param: added support for embedded parameters
...
use a block of flash to hold embedded parameters that can be changed
using apj_tool.py
2017-12-18 11:14:59 +11:00
Peter Barker
738377c089
AP_Arming: remove airspeed arming check bits from non-plane vehicles
2017-12-16 11:08:35 +11:00
Peter Barker
0f94fde434
AC_Fence: get home distance directly from ahrs
2017-12-15 01:42:49 +00:00
Peter Barker
20e295c23a
AC_Fence: check supplied location within fence rather than current loc
2017-12-15 01:24:13 +00:00
Peter Barker
dff27ec506
AC_WPNav: correct call for getting location vector
...
Function has been renamed and only takes a Vector2f
2017-12-15 01:24:13 +00:00
Peter Barker
302e5c6871
AP_Common: have get_vector_xy_from_origin_NE take a Vector2f rather than 3f
...
Also, rename it from get_vector_xy_from_origin_NED
2017-12-15 01:24:13 +00:00
mirkix
26f3a62db7
AP_HAL_Linux: remove BBBmini from RCInput_PRU.cpp
2017-12-14 12:40:37 -08:00
Mark Whitehorn
f57eab3482
AP_SerialManager: add Volz and Sbus protocols to param metadata
2017-12-14 19:27:02 +00:00
ChristopherOlson
569f55f5c6
AC_AttitudeControl:TradHeli - fix for alt_hold angle limiter active at hover collective in Traditional Helicopters
...
add definition for max collective/throttle for helicopters that compensates for negative collective pitch range
and sets proper collective overhead before alt_hold angle limiter becomes effective
2017-12-14 20:46:13 +09:00
Andrew Tridgell
1c503ee459
SRV_Channel: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
fd14dedcff
DataFlash: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
15026c6898
AP_Volz_Protocol: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
d175fb2f18
AP_Terrain: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
b6ecce8329
AP_TECS: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
003851a5c1
AP_SmartRTL: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
1cdbb09466
AP_ServoRelayEvents: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
dd489a0797
AP_SerialManager: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
580af4a69a
AP_Scheduler: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
dec3a27d91
AP_SBusOut: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Andrew Tridgell
076f7bc0cf
AP_RSSI: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00