Commit Graph

33953 Commits

Author SHA1 Message Date
Peter Barker
57c2f7b2de GCS_MAVLink: handle DO_AUX_FUNCTION as both long and int 2023-10-04 19:01:22 +11:00
Pierre Kancir
5af5e1969b AP_OLC: add unit tests 2023-10-04 19:00:34 +11:00
Pierre Kancir
02b3da65f0 AP_OLC: use right type and static const variable 2023-10-04 19:00:34 +11:00
Iampete1
a068569f8a AP_Scripting: add basic print 2023-10-04 18:34:08 +11:00
Andrew Tridgell
020807a064 AP_Scripting: added INF_Inject EFI driver 2023-10-04 18:29:10 +11:00
Iampete1
e7ee287664 AP_TempratureSensor: add support for analog sensor with polynomial 2023-10-04 18:28:09 +11:00
Iampete1
53948b1070 AP_TemperatureSensor: support var pointer backend params 2023-10-04 18:28:09 +11:00
Peter Barker
fe9932855b hwdef: HerePro requires AHRS to compile 2023-10-04 18:10:58 +11:00
Peter Barker
33b0bf699e GCS_MAVLink: allow compilation when GPS library not available 2023-10-04 18:10:58 +11:00
Peter Barker
fa4c7d8eb0 AP_AHRS: allow compilation when GPS not available 2023-10-04 18:10:58 +11:00
Peter Barker
61be71eea6 AP_Common: make Location.cpp compile without AP::ahrs() available 2023-10-04 18:10:58 +11:00
Michelle Rossouw
e59b7a5215 AP_OSD: Make per-cell voltage be shown to two decimal places again 2023-10-04 18:09:17 +11:00
Andy Piper
dd7f65ec51 AP_Scripting: support set_num_neopixel_rgb() 2023-10-04 18:06:17 +11:00
Andy Piper
1035ac76b2 AP_Notify: add support for NeoPixelRGB via set_num_neopixel_rgb() 2023-10-04 18:06:17 +11:00
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