Commit Graph

39048 Commits

Author SHA1 Message Date
Andrew Tridgell aeb58cede1 HAL_ChibiOS: I2C timeout should be send+recv, not MAX(send,recv)
MAX() is right for SPI, not I2C
2019-08-26 09:13:39 +10:00
Andrew Tridgell 933fa3d553 ChibiOS: fixed ack of BTF on SMBus 2019-08-26 09:13:39 +10:00
Andrew Tridgell 4027d61e17 AP_Scheduler: log I2C ISR count 2019-08-26 09:13:39 +10:00
Andrew Tridgell 7d5c0e92ae AP_Logger: added logging of I2C ISR count 2019-08-26 09:13:39 +10:00
Andrew Tridgell 578e5dfdaa HAL_ChibiOS: add up i2c ISR count 2019-08-26 09:13:39 +10:00
Andrew Tridgell 9741ac0b64 AP_HAL: added I2C ISR count to PersistentData 2019-08-26 09:13:39 +10:00
Jaaaky 4e6e758e89 gitignore: Add persistent.dat to .gitignore 2019-08-26 08:24:12 +10:00
Jaaaky d774bf3ea5 AP_Mission: Better AUTO watchdog restore
This allows to run any commands following the last nav_waypoint
that may be required or change flight behavior for following wps
2019-08-25 06:40:34 -06:00
Andrew Tridgell f8cfbb8062 HAL_ChibiOS: added ISR limit on I2C
this will prevent any possibility of an I2C interrupt storm. This is
designed to address the most likely cause of #11642
2019-08-25 17:12:16 +10:00
Andrew Tridgell b8602abdeb AP_InternalError: added error for i2c isr error 2019-08-25 17:12:16 +10:00
Andrew Tridgell 089e1c9082 ChibiOS: added STM32_I2C_ISR_LIMIT 2019-08-25 17:12:16 +10:00
Peter Barker 2acc53ec17 GCS_MAVLink: break out of loop statement once we have a result 2019-08-24 15:33:50 +10:00
Peter Barker 052e721622 GCS_MAVLink: tweak timings debug messages 2019-08-24 15:33:50 +10:00
Peter Hall d88e12b206 Rover: mode: use oa_wp_bearing_cd 2019-08-24 09:05:29 +09:00
Peter Hall db87285153 AR_WPNav: add oa_wp_bearing_cd function 2019-08-24 09:05:29 +09:00
Peter Hall c445362fae AR_WPNav: fix wp_bearing_cd calc 2019-08-23 14:44:37 +09:00
Peter Barker 847f85a081 Plane: correct compilation with PARACHUTE==DISABLED 2019-08-23 13:22:44 +10:00
Leonard Hall 8b7fe2ac12 Copter: Acro_Balance update 2019-08-23 10:59:29 +09:00
murata 4754710e60 RangeFinder: Change to coding style (NFC)
RangeFinder: RangeFinder: Change to coding style (NFC)
2019-08-23 10:11:30 +09:00
Peter Barker 87a1efeb45 Copter: add assertion that guided is enabled if guided-nogps is enabled 2019-08-22 17:47:45 +01:00
Peter Barker f8f5e7f5ae Copter: correct compilation when guided mode is disabled 2019-08-22 17:47:45 +01:00
Andrew Tridgell 470a60f828 Plane: reset steering in MANUAL or when not stabilising 2019-08-22 20:10:09 +10:00
Michael du Breuil 48f52655c1 Sub: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Michael du Breuil 0b0d0e2f8e Plane: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Michael du Breuil 580ee459be Tracker: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Michael du Breuil 638d746911 Rover: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Peter Barker a0ba9986a2 Rover: correct compilation when AFS enabled 2019-08-22 10:52:18 +09:00
Peter Barker 3c6b67349f Copter: correct build when AFS disabled 2019-08-22 10:49:43 +09:00
Peter Barker 2049e86dda AP_Param: optionally return parameter flags in AP_Param::find(...) 2019-08-22 09:23:56 +10:00
Peter Barker 70daf0010b AP_Param: add param flag bit indicating internal-use-only 2019-08-22 09:23:56 +10:00
Peter Barker 9cf9497552 AP_Mission: mark MIS_TOTAL as internal-use-only 2019-08-22 09:23:56 +10:00
Peter Barker 4f9d1ada33 GCS_MAVLink: deny setting MIS_TOTAL parameter
Closes #11413

GCS_MAVLink: conform to parameter protocol requirements while ignoring sets

GCS_MAVLink: use internal-use-only param bit
2019-08-22 09:23:56 +10:00
Peter Barker cce85cb418 Tools: autotest: add test for inability to set MIS_TOTAL 2019-08-22 09:23:56 +10:00
Peter Barker 4e002b84c5 Sub: correct compilation when terrain is enabled 2019-08-21 22:05:36 +01:00
Randy Mackay 257152aa55 SITL: sailboat motor enabled only for sailboat-motor frame 2019-08-21 19:34:13 +09:00
Randy Mackay 0ce1ce9c4f SITL: minor format changes for sailboat 2019-08-21 19:34:13 +09:00
Peter Barker c0774e74e0 Copter: fix format-string compilation warning
../../ArduCopter/mode_auto.cpp: In member function 'void ModeAuto::do_nav_delay(const AP_Mission::Mission_Command&)':
../../ArduCopter/mode_auto.cpp:1372:84: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     gcs().send_text(MAV_SEVERITY_INFO, "Delaying %u sec",nav_delay_time_max_ms/1000);
                                                                                    ^

This is with a mini-pix build.
2019-08-21 18:48:45 +09:00
Peter Barker 984be44eea Tools: adjust reverse dependencies in build-with-disable-features.py 2019-08-21 17:27:20 +10:00
Peter Barker 479b2c5e11 Tools: autotest: allow nav-delay-abstime to delay arbitrary time 2019-08-21 16:08:24 +10:00
Peter Barker 1b36d64794 Plane: correct compilation with GEOFENCE_ENABLED==DISABLED 2019-08-20 23:03:32 -07:00
Peter Barker cd45f3a14c Tools: build_binaries.py: honour BUILDLOGS environment variable 2019-08-21 14:51:09 +10:00
Peter Barker 592c7acc4c AP_RTC: add clarifying comment on get_time_utc 2019-08-21 09:38:41 +10:00
Peter Barker 46c880089c AP_RTC: tighten types on get_system_clock_utc
None of these components should ever be negative - given its source is
only ever seconds-since-epoch.
2019-08-21 09:38:41 +10:00
Peter Hall 4492c09b3b AP_HAL_SITL: Scheduler skip set stack on Cygwin 2019-08-20 15:59:32 -07:00
Michael du Breuil c0ffdd7efb gitignore: Ignore scripts and any stack traces 2019-08-20 23:59:06 +01:00
Michael du Breuil ea64077f77 Plane: Remove redundant protection 2019-08-20 23:59:06 +01:00
murata 851ee24c99 AP_RangeFinder: Clarify the purpose of input registers 2019-08-20 14:36:29 +01:00
Gone4Dirt 5239d86d13 AP_RPM: Added Arduino RPM Sensor Debug Tool
This debug tool has been created to help users correctly impliment
and debug various RPM sensors when an oscilloscope is unavailable.

The RPM Sensor wiki will direct to this tool to help users.
2019-08-20 09:13:09 +10:00
Tom Pittenger 018e766a3f Sub: NAV_Delay variable timers to be all unsigned and labeled as _ms 2019-08-19 15:24:06 -07:00
Tom Pittenger 0983a04d52 Copter: NAV_Delay variable timers to be all unsigned and labeled as _ms 2019-08-19 15:24:06 -07:00