Commit Graph

27803 Commits

Author SHA1 Message Date
Andrew Tridgell c1b9585926 AP_RangeFinder: average over 100Hz frames in USD1 CAN driver
this reduces noise
2021-10-26 15:31:12 +11:00
Andrew Tridgell c56bd323ee AP_CANManager: fixed CAN protocol docs to include USD1 2021-10-26 15:31:12 +11:00
Andy Piper 32482a29db AP_Common: define build directory for tests 2021-10-26 11:42:12 +11:00
Andy Piper ad55a570ee AP_Common: define build directory for tests 2021-10-26 11:42:12 +11:00
Andy Piper 97b57519bf AP_OSD: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 6a00819b2d AP_InertialSensor: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 31c74f9793 AP_Scripting: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 9408c5711d AP_Camera: remove build dependant compile 2021-10-26 11:42:12 +11:00
Andy Piper 70b02aeadf AP_BattMonitor: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 0d9b677586 AP_Rally: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 63cea29af3 AP_BLHeli: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 62825ee44f AP_Arming: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper f9c74f207b AP_CANManager: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper e1dd0fd70d AP_AHRS: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 592241f029 AP_Scheduler: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper a2bb0b01e8 AP_RangeFinder: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 71c0d9479a AP_GyroFFT: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 9bea417d5c SRV_Channel: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 50b90c2d2a StorageManager: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 7010a6bf7e AP_Vehicle: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
force compilation failure if build type is unknown
2021-10-26 11:42:12 +11:00
Andy Piper 78621668f8 AP_NavEKF2: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper bc0101e446 AP_NavEKF3: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper 008c61215c GCS_MAVLINK: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper f9b6934d7d AC_Avoidance: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Iampete1 f5805058c2 AP_Scripting: docs ignore duplicate-set-field warning 2021-10-26 11:05:22 +11:00
Iampete1 648a2b7140 AP_Scripting: docs: add manual bindings 2021-10-26 11:05:22 +11:00
Iampete1 da1fde06ad AP_Scripting: fix skip check userdata feild write 2021-10-26 11:05:22 +11:00
Iampete1 003561ab75 AP_Scripting: Docs: append _ud to userdata types to avoild name clash with new functions and declare local 2021-10-26 11:05:22 +11:00
Michel Pastor 876f478ae1 RCOutput: fix motor stopping with rev thrust and full throttle 2021-10-26 10:53:34 +11:00
Hwurzburg e7a157283f AP_HAL_ChibiOS: add param for second IMU primary in Swan-K1 hwdef 2021-10-26 10:38:28 +11:00
Hwurzburg 9c529c8950 RC_Channel: add RC option to plane for emergency remote landing that forces FS actions to FBWA 2021-10-26 10:34:28 +11:00
Iampete1 d7cc2cb296 AP_HAL_ChibiOS: hwdef.py: allow same GPIO pin in multiple alt configs 2021-10-26 10:05:20 +11:00
kniuk aabb6f7c59 AP_HAL_ChibiOS: add alt config GPIO to Matek F765-Wing
Based on new functionality introduced in #18753
2021-10-26 10:05:20 +11:00
Iampete1 ef9580fcf2 SITL: update tailsitter ground behavoir 2021-10-26 10:03:00 +11:00
IamPete1 950391df12 SITL: add copter tailsitter 2021-10-26 10:03:00 +11:00
Peter Barker 2dbe15911f AP_GPS: change empty constructors out for 'use AP_GPS_Backend::AP_GPS_Backend' 2021-10-23 15:05:28 +11:00
Peter Barker e158bab893 AP_Beacon: tidy constructors 2021-10-23 10:10:28 +11:00
Peter Barker cf9bbb570c AP_HAL_SITL: correct nullptr check on simulated mavlink rangefinder
Obvious copy/paste error
2021-10-22 21:46:01 +11:00
Sebastian Quilter 0276c165ed GCS_MAVLink: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter 0f7c3e3964 AP_RangeFinder: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter 1fb1eb793f AP_Proximity: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter c8434fe1ed AP_OSD: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Peter Barker 7da5d9861a SITL: remove use of fprintf in SIM_SPI 2021-10-21 13:04:33 +11:00
Peter Barker 8c60bfc1c3 SITL: correct format string in SIM_IntelligentEnergy24 2021-10-21 13:01:49 +11:00
Peter Barker 06c3290e15 SITL: correct buffer over-read in GPS lag simulation 2021-10-21 12:09:21 +11:00
Peter Barker 6c16da21c5 SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
Peter Barker 1ab8a3e3aa AP_HAL_SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
Peter Barker 99e80549b1 SITL: move sitl_gps.cpp to SIM_GPS.cpp 2021-10-21 12:09:21 +11:00
Peter Barker e88cd8498b AP_GPS: add note about GPS_LEAPSECONDS_MILLIS being copied 2021-10-21 12:09:21 +11:00
Peter Barker d7ef63deaf GCS_MAVLink: use USB VID and PID in AUTOPILOT_VERSION mavlink msg 2021-10-20 22:47:03 +11:00
Stephen Dade 1356beb14d AP_HAL_SITL: Add instance to ADSB simulation 2021-10-20 20:21:33 +11:00
Stephen Dade 016edd28fc SITL: Add instance to ADSB simulation 2021-10-20 20:21:33 +11:00
Randy Mackay 85dbb70df5 AP_RangeFinder_NMEA: add hondex custom message support 2021-10-20 19:46:21 +11:00
Peter Barker 2bffaef9ca AP_Arming: log whether disarm was forced 2021-10-20 19:45:58 +11:00
Peter Barker 8ffbddd6ec SITL: correct compilation when MAX_CONNECTED_MAGS is reduced
For example, when building AP_Periph with reduced mag count
2021-10-20 19:43:47 +11:00
Peter Barker 2d192e1fd3 SITL: remove written-only AP::sitl().update_rate_hz 2021-10-20 19:07:17 +11:00
Peter Barker 21030c4e83 AP_HAL_SITL: remove written-only AP::sitl().update_rate_hz 2021-10-20 19:07:17 +11:00
Andrew Tridgell 822e657a70 HAL_ChibiOS: increase PROCESS_STACK on several boards
use min of 0xA00 for AP_Periph. A larger stack is needed for parameter
fetching
2021-10-20 19:06:35 +11:00
Iampete1 84db897b7f AC_Avoidance: Dijkstra: convert Vector3f to curly brace init 2021-10-20 03:45:40 -04:00
Iampete1 8937802f77 AC_Avoidance: Dijkstra: don't consider points in corners 2021-10-20 03:45:40 -04:00
Iampete1 ae9300134a AC_Avoidance: add option to log vis graph 2021-10-20 03:45:40 -04:00
Iampete1 05e01fb603 AP_Scripting: docs: update GCS 2021-10-20 18:35:09 +11:00
Iampete1 05219ca5c4 GCS_Common: return true result for scripting set_message_interval 2021-10-20 18:35:09 +11:00
Iampete1 1af244e5bc AP_Scripting: maunaly update GPIO docs as example 2021-10-20 18:35:09 +11:00
Iampete1 6dd9ffc334 AP_Scripting: auto generate docs 2021-10-20 18:35:09 +11:00
Iampete1 a70134ba38 AP_Scripting: generator: ouput Emmylua docs 2021-10-20 18:35:09 +11:00
Iampete1 a5a3b413df AP_Scripting: wscript: support docs option 2021-10-20 18:35:09 +11:00
Iampete1 b595beab10 AP_Motors: set ouput scaled with float 2021-10-20 18:29:58 +11:00
Iampete1 a590a675d6 AP_RollController: return floats 2021-10-20 18:29:58 +11:00
Iampete1 da4fd7a914 AP_PitchController: return floats 2021-10-20 18:29:58 +11:00
Iampete1 6e4ae3898d AP_Winch: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Iampete1 76ccbeb0fa AP_SpdHgtControl: use float for get_throttle_demand 2021-10-20 18:29:58 +11:00
Iampete1 d69d493ea6 AP_TECS: use float for get_throttle_demand 2021-10-20 18:29:58 +11:00
Iampete1 fbb9ef422c AP_Scripting: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Iampete1 89c0a8ea04 AP_Airspeed: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Iampete1 14b9e99020 RC_Channel: use float for stick mixing 2021-10-20 18:29:58 +11:00
Iampete1 b84633630a SRV_Channel: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Andy Piper 73b0a212f7 AP_Arming: FFT prearm should not be dependent on INS prearm 2021-10-20 18:16:05 +11:00
Peter Barker cf9f060db8 AP_InertialNav: handle renaming of AP_InertialNav_NavEKF to AP_InertialNav 2021-10-20 18:09:36 +11:00
Peter Barker 300628a570 AP_InertialNav: rename files for delayering 2021-10-20 18:09:36 +11:00
Peter Barker b8d9f79969 AP_InertialNav: remove old AP_InertialNav.h for delayering 2021-10-20 18:09:36 +11:00
Shiv Tyagi 229e2757d4 RC_Channel : Formatting fix for blimp parameter documentation 2021-10-20 14:22:48 +11:00
Randy Mackay a09013c656 AP_Torqeedo: correct display system state motor power field type
No need to store as float
2021-10-19 01:30:51 -04:00
Randy Mackay 90f7e15bcb AP_Torqeedo: fixups from peer review 2021-10-19 01:30:51 -04:00
Randy Mackay 1bdfe8ad55 AP_BattMonitor: fixups from peer review 2021-10-19 01:30:51 -04:00
Randy Mackay 47dd2d7aea RC_Channel: torqeedo clear error aux function 2021-10-19 01:30:51 -04:00
Randy Mackay d3c8a5e85f AP_BattMonitor: add torqeedo battery monitor 2021-10-19 01:30:51 -04:00
Randy Mackay 866ea184c8 AP_Torqeedo: major refactor and enhancement
SLEW_TIME specifies the rate of change in output to the motor
DIR_DELAY specifies the length of the pause at zero during forward-reverse transitions
POWER param allows configurable power output
Consume Display system state and setup messages
Consume Motor messages to retrieve volt and current
TRQD logs on each motor speed update
AP_Torqeedo: request and consume motor status messages
ESC_Telemetry support
Battery info accessor
Add real-time error reporting of failures to user
Support user manually clearing motor errors via RC
Improve message reply handling
Tiller message consumption improved
Messages with unexpected lengths increment error count
Enums added
Comments improved
Remove unused include
Disable for AP_Periph and minimise features
2021-10-19 01:30:51 -04:00
Randy Mackay e61624d43b AP_Torqeedo: motor connector method output slowed to 10hz 2021-10-19 01:30:51 -04:00
Peter Barker 29088e25f9 AP_Vehicle: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Iampete1 8459439798 AP_HAL_ChibiOS: CubeYellow: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1 8e381b6017 AP_HAL_ChibiOS: CubeSolo: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1 a004de65b3 AP_HAL_ChibiOS: CubePurple: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1 e3289d2aec AP_HAL_ChibiOS: CubeBlack: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1 5d5a21a4ec AP_Hal_ChibiOS: CubeOrange: set default min IMU temp margin 2021-10-19 11:16:45 +11:00
Iampete1 3f98927885 AP_BoardConfig: add min arming temp margin param and getter 2021-10-19 11:16:45 +11:00
Iampete1 55a6b731a8 AP_Arming: add min heater temp check 2021-10-19 11:16:45 +11:00
QioTek fd2195d6fe HAL_ChibiOS: added QioTekZealotH743 support 2021-10-19 08:17:43 +11:00
Peter Barker a39fe77681 SITL: add simulated MCP9600 2021-10-19 08:15:00 +11:00
Peter Barker 0acccaf4b7 AP_ExternalAHRS: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00