Commit Graph

33939 Commits

Author SHA1 Message Date
Andy Piper c91ca2d87a AP_SerialLED: add support for NeoPixelRGB via set_num_neopixel_rgb() 2023-10-04 18:06:17 +11:00
Andy Piper 9ff3d21c20 AP_HAL_ChibiOS: add support for NeoPixelRGB 2023-10-04 18:06:17 +11:00
Andy Piper 4c911dce68 AP_HAL: Add support for NeoPixelRGB 2023-10-04 18:06:17 +11:00
Randy Mackay 8999790ff0 AP_Mount: Xacti digital zoom percentage fix 2023-10-03 13:48:41 +09:00
Randy Mackay 6690b19364 AP_Mount: Xacti supports optical zoom 2023-10-03 13:48:41 +09:00
Randy Mackay 0b18de050a AP_Mount: Xacti minor format update 2023-10-03 13:48:41 +09:00
Randy Mackay 454a57000b AP_Winch: Daiwa gets stuck protection 2023-10-03 10:27:22 +09:00
Randy Mackay 8b86cebec1 AP_Winch: minor comment improvement 2023-10-03 10:27:22 +09:00
Randy Mackay 28746e84ae AP_Scripting: winch-control gets .md file 2023-10-03 12:13:06 +11:00
Randy Mackay e914c38cef AP_Scripting: winch-test becomes winch-control applet 2023-10-03 12:13:06 +11:00
Randy Mackay 0c16049f94 AP_Scripting: winch-test param name typo fix 2023-10-03 12:13:06 +11:00
Peter Barker 423a88f9cd GCS_MAVLink: handle message interval commands as both long and int 2023-10-03 10:12:21 +09:00
Peter Barker c1110d4b43 AP_RCProtocol: disable raw logging if no RC_Channel
We're asking the singleton here for information on whether we should do raw logging.  We may not actually be compiling the RC_Channel library in.
2023-10-03 11:46:43 +11:00
Michael du Breuil e41cc42e10 AP_EFI: Rate limit the megasquirt driver
This fixes it up so that the driver actually works on things like
AP_Periph that poll at a high rate. This was never a problem with the
main firmware as EFI was run at a lower rate, but on AP_Periph this was
much to fast. This lead to spamming fresh requests and keeping the
buffer completly stuffed with requests. To compound it, the EFI device
would start over when there was a fresh request, and eventually our
buffer writes become corrupted leading to bad checksums, and a complete
failure of the comms. This prevents that situation from happening.
2023-10-03 11:32:07 +11:00
Iampete1 9e9aaed1b5 AC_PID: Simplify update_error method by calling update all 2023-10-03 11:27:07 +11:00
Randy Mackay 18bf9669b0 AP_Mount: Xacti get_param_name_str returns empty string on failure 2023-10-03 11:24:10 +11:00
Randy Mackay 046cf5630e AP_Mount: Xacti uses GCS_SEND_TEXT 2023-10-03 11:24:10 +11:00
Randy Mackay 288f7b5650 AP_Mount: Xacti take pic reliability improved 2023-10-03 11:24:10 +11:00
Randy Mackay 4ba6375d38 AP_Mount: Xacti does not report cannot take pic 2023-10-03 11:24:10 +11:00
Iampete1 3429276224 AP_InertialSensor: add INS_RAW_LOG_OPT to allow raw logging of post, and pre+post on primary or all gyros 2023-10-03 10:24:58 +11:00
Michael du Breuil 9e32456003 AP_Motors: Add a seprate spool down time, if it's 0 use spool up time 2023-10-03 08:04:56 +09:00
Peter Barker 0cc9484b2d AP_RCTelemetry: remove some uses of gcs singleton 2023-10-03 09:47:38 +11:00
Andrew Tridgell da0870f616 HAL_ChibiOS: enable mavlink bindings for ADSB periph 2023-10-02 21:45:28 +11:00
Andrew Tridgell bf229b3dc1 HAL_SITL: enable ADSB simulator in SITL periph 2023-10-02 21:45:28 +11:00
Andrew Tridgell 92c0e7f860 GCS_MAVLink: use mavlink_frame_char_buffer()
and remove unnecessary extra mavlink_get_channel_status() function
2023-10-02 21:45:28 +11:00
Andrew Tridgell ac3f4f0c5e GCS_MAVLink: use mavlink_XXX_encode_status() in example code 2023-10-02 21:45:28 +11:00
Andrew Tridgell be01fcfdfd SITL: use mavlink_XXX_encode_status()
this avoids clobbering sequence numbers and fixes race conditions
2023-10-02 21:45:28 +11:00
Andrew Tridgell 18f3ab98e4 HAL_SITL: allow for I2C simulated devices in SITL AP_Periph
this allows for SMBbus batteries and other I2C simulated devices
2023-10-02 21:45:28 +11:00
Andrew Tridgell 5f5de52984 GCS_MAVLink: allow for mavlink bindings only in GCS_MAVLink
this is used by SITL periph to allow for mavlink based simulators
2023-10-02 21:45:28 +11:00
Andrew Tridgell 4ca2277f1a AP_Scripting: added logging to EFI_Halo6000.lua driver
allows for log analysis of current/voltage
2023-09-30 17:15:36 +10:00
Andrew Tridgell 4cabe0f223 AP_GPS: prevent use of blended GPS with moving baseline
when moving baseline is enabled the rover is slaved to the base for
position and velocity, adding no additional useful data. Only the yaw
comes from the rover
2023-09-30 09:05:08 +10:00
Andrew Tridgell 4e61fb3f26 AP_GPS: allow GPS moving baseline rover at 3Hz
users with busy CAN bus often get significiantly lower GPS rates on a
moving baseline rover, preventing arming. This PR relaxes the required
frame rate as the EKF is quite happy with 3Hz yaw and the yaw is the
only data consumed from a moving baseline rover
2023-09-30 09:05:08 +10:00
Andrew Tridgell 4a181ede62 AP_TECS: fixed descent or lack of climb bug
this fixes a state where we either cannot climb or descend in an
uncontrolled manner in a TECS controlled mode

the conditions under which this happened were:

- _use_synthetic_airspeed_once was true due to quadplane takeoff
- we left _thr_clip_status as MAX from previous use of synthetic airspeed
- then run without airspeed

note that this can also impact users with an airspeed sensor if they
disable it or it fails in flight, particularly during a climb
2023-09-28 20:37:41 +10:00
Peter Barker f358ddd771 AP_GPS: add an AP_GPS_FixType header
useful when you need nice symbols for the numbers, but are not compiling the GPS headers in
2023-09-27 14:14:57 -07:00
Samuel Tabor 40f62949b3 Send lat lon in SIM_STATE as int32_t extensions 2023-09-27 14:14:37 -07:00
Tom Pittenger 8c4d00e6f2 SITL: add a thermal at home 2023-09-27 12:19:00 -07:00
Peter Barker ef8cd449ec GCS_MAVLink: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int 2023-09-27 11:27:45 -07:00
Tom Pittenger eeb7dc26fb AP_ICEngine: minor OPTIONS param spelling fix 2023-09-27 08:43:27 -07:00
Michael du Breuil e8deb491de AP_ICEngine: Add an option to disable starting while disarmed 2023-09-27 08:43:27 -07:00
Peter Barker 8cfdf10cf1 AP_Vehicle: use AP_GPS_ENABLED to exclude more code when GPS not compiled in 2023-09-27 16:38:15 +10:00
Peter Barker 132b04562d AP_Notify: use AP_GPS_ENABLED to exclude more code when GPS not compiled in 2023-09-27 16:38:15 +10:00
Peter Barker e2975a67e7 AP_HAL_ChibiOS: use AP_GPS_ENABLED to exclude more code when GPS not compiled in 2023-09-27 16:38:15 +10:00
Peter Barker 0824eca776 AP_GPS: use AP_GPS_ENABLED to exclude more code when GPS not compiled in 2023-09-27 16:38:15 +10:00
Peter Barker 9a054876ff AP_Compass: use AP_GPS_ENABLED to exclude more code when GPS not compiled in 2023-09-27 16:38:15 +10:00
Paul Riseborough 75789bd94d AC_PosControl: Add monitoring and reporting of forward accel saturation 2023-09-27 11:43:45 +10:00
Andrew Tridgell 936d6ed378 RC_Channel: added VFWD_THR_OVERRIDE 2023-09-27 11:43:45 +10:00
Andrew Tridgell 9c7c995185 AP_ICEngine: added ICE_DISABLED state 2023-09-27 11:43:45 +10:00
Pierre Kancir 01f94e9aa5 AP_Logger: don't virtual out_of_time_for_writing_messages for DF
This save use some flash against the solution with override
2023-09-27 08:15:42 +10:00
Pierre Kancir 06836b947f AP_Logger: make some functions final 2023-09-27 08:15:42 +10:00
Pierre Kancir 2fff57708a RC_Channel: Remove static from get_override_mask and make const 2023-09-27 08:15:42 +10:00