Commit Graph

34140 Commits

Author SHA1 Message Date
Randy Mackay 4a5b56c929 Rover: windvane update called from scheduler at 20hz 2018-09-28 10:40:12 +09:00
Randy Mackay 31e2d5d2ad AP_WindVane: updates after peer review
rename get_instance to get_singleton
update expected to be called at 20hz
filters moved into AP_WindVane scope and dt fixed
apparent wind direction stored locally in earth-frame and read_ functions renamed to reflect this
panic only called for SITL
analog pin init changed and assume voltage is radiometric
some renames of "bearing" to "distance"
some redundant constraints removed
2018-09-28 10:40:12 +09:00
Randy Mackay 7163839117 AP_MotorsUGV: remove arg from output_mainsail
no need to pass in argument which is always a local variable
2018-09-28 10:40:12 +09:00
Randy Mackay 23fd3b8f0e Tools: update SITL sailboat default params
set SERVO4_FUNCTION is mainsail
enable windvane
2018-09-28 10:40:12 +09:00
IamPete1 4366bae96d Rover: add sailboat support 2018-09-28 10:40:12 +09:00
IamPete1 100c494127 Rover: add loiter radius parameter 2018-09-28 10:40:12 +09:00
IamPete1 e3d5db8db5 Rover: add AP_WindVane to build 2018-09-28 10:40:12 +09:00
IamPete1 e443b864c6 AR_AttitudeControl: add sail heel PID 2018-09-28 10:40:12 +09:00
Randy Mackay a59b83af9a AP_MotorsUGV: add mainsail to servo test 2018-09-28 10:40:12 +09:00
IamPete1 fa0fc5eade AP_MotorsUGV: add mailsail support for sailboats 2018-09-28 10:40:12 +09:00
Randy Mackay ce397161bf AP_WindVane: add SITL driver 2018-09-28 10:40:12 +09:00
IamPete1 b54e3df57c AP_WindVane: library to read wind direction from sensor 2018-09-28 10:40:12 +09:00
IamPete1 7a8e7449fa SRV_Channel: add mailsail to servo function enum 2018-09-28 10:40:12 +09:00
Michael du Breuil b945970914 Plane: Fix FLIGHT_OPTIONS bitmask doc 2018-09-27 17:20:49 +01:00
Randy Mackay b7c88da67c SITL: sailboat fixes from peer review 2018-09-26 12:00:13 +09:00
Randy Mackay ada073fbdc AP_HAL_SITL: add sailboat to SITL_cmdline.cpp 2018-09-26 12:00:13 +09:00
Randy Mackay 851de12838 Tools: add sailboat to pysim and add default parameters 2018-09-26 12:00:13 +09:00
Randy Mackay 804305aa2b SITL: add simple sailboat simulator 2018-09-26 12:00:13 +09:00
bnsgeyer 833bc4e77d AP_Motors: Tradheli - fixes slew speed of swashplate during collective servo test 2018-09-24 19:55:11 +01:00
Francisco Ferreira 434afa268e
waf: change ChibiOS ld script path back to relative
Fixes #9461
2018-09-21 09:29:32 +01:00
Randy Mackay 4fa0cc4bd3 Copter: pass update rate to precland init 2018-09-21 16:38:35 +09:00
Randy Mackay d271dda8c5 AC_PrecLand: init accepts update rate 2018-09-21 16:38:35 +09:00
Randy Mackay 7fbdaa3c65 AC_PrecLand: LAG to float and use main loop rate
also includes other changes from peer review:

- check_inertia_buffer renamed to init_inertial_buffer and nullptr checks removed to make it more clear this should only be called once
- init_inertial_buffer made private
- add check that inertial_buffer_size is never less than 1
- fixup comments
2018-09-21 16:38:35 +09:00
Randy Mackay eef839703f Copter: remove unnecessary copter prefix from precland update 2018-09-21 16:38:35 +09:00
Randy Mackay 40d4bcb84a AC_PrecLand: rename BUFFER to LAG and add alloc failure check
avoids issue where LAG parameter is set too large which would lead to trying to access unallocated memory
inertial buffer is only allocated at startup to avoid memory leak
2018-09-21 16:38:35 +09:00
fnoop 02da34a246 AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, #6297
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297

AC_PrecLand: Fixup int type, #8892

AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297

Update screwed up submodules from rebase
2018-09-21 16:38:35 +09:00
Michael du Breuil c02863e001 AP_AHRS: Internalize EKF getLLH altitude management 2018-09-21 00:18:49 +01:00
Michael du Breuil 1991f223ac AP_NavEKF3: Fix roundoff, and missing offset handling of getLLH 2018-09-21 00:18:49 +01:00
Michael du Breuil 66e9286cf6 AP_NavEKF2: Fix roundoff, and missing offset handling of getLLH 2018-09-21 00:18:49 +01:00
Michael du Breuil 7e1ed948f5 Copter: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Michael du Breuil 27fad4489e Sub: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Michael du Breuil b2ef6b901e Plane: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Michael du Breuil 65641c3cb7 AC_Circle: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Michael du Breuil d3bee76f0b AC_WPNav: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Michael du Breuil 1d13aff711 AC_AttitudeControl: Rename several set_speed and set_accel functions 2018-09-20 15:15:45 -07:00
Michael du Breuil b6efc8a20b Plane: reduce some copy pasted code 2018-09-20 13:47:21 -07:00
Lucas De Marchi 0990fc4400 AP_HAL_Linux: send warning to stderr 2018-09-19 23:21:13 -07:00
Peter Barker 5ae3c60e8b AP_Notify: fix nullptr in ToshibaLED example 2018-09-19 22:40:20 -07:00
Peter Barker 71c9c91c2d AP_Motors: fix example 2018-09-19 22:40:20 -07:00
Peter Barker 2ed8118cda AP_FlashStorage: adjust example so it does not exit 2018-09-19 22:40:20 -07:00
Peter Barker 4023f847c8 Tools: add ability for autotest to run examples 2018-09-19 22:40:20 -07:00
Peter Barker 220a3d19bf AP_HAL_Linux: do not attempt to run examples realtime unless root 2018-09-19 22:40:20 -07:00
Peter Barker 43c07259f3 AP_HAL_Linux: break out init_realtime 2018-09-19 22:40:20 -07:00
Michael du Breuil 7fda309d3c AP_HAL_ChibiOS: Remap unused pins to ADC 2018-09-20 01:07:47 +01:00
Michael du Breuil 6544f16339 AP_HAL: Make BBBlue use AP_BoardLED2 2018-09-19 22:58:46 +01:00
Michael du Breuil e41b2de5ea AP_Notify: Catch bad board LED combos 2018-09-19 22:58:46 +01:00
Michael du Breuil 6f7ced73d6 AP_HAL: Remove bad GPIO LED pins on NavIO2 2018-09-19 22:58:46 +01:00
Andrew Tridgell adf318ce06 Plane: release notes for 3.9.2beta3 2018-09-20 07:17:34 +10:00
Leonard Hall ccb30d44ac Sub: Missing Loiter Init on accel 2018-09-19 17:29:55 +09:00
Leonard Hall 13c27e0eb8 Plane: Missing Loiter Init on accel 2018-09-19 17:29:55 +09:00