Commit Graph

35488 Commits

Author SHA1 Message Date
Peter Barker
21ca4f83f4 SITL: name fields in loweheiser mavlink packet
avoid field ordering issues
2024-03-07 15:52:16 +11:00
Andrew Tridgell
feff2f34e9 SITL: fixed the vehicle type of the simulated ship
this was broken by https://github.com/ArduPilot/ardupilot/pull/23763

we need to look for other places where we have assumed the MAVLink
field orderin in recent changes
2024-03-07 15:51:15 +11:00
Peter Barker
dc7626887f AP_RCProtocol: do not detect async protocols if not enabled
Co-authored-by: olliw42 <waldmanns@gmx.de>
2024-03-07 13:58:31 +11:00
Willian Galvani
1a443f7cbf SRV_Channel: fix comment 2024-03-07 08:33:58 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
573436e81b AC_PrecLand: use GCS_SEND_TEXT where possible 2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
39e7e4bed1 AC_PrecLand: NFC move two local instances of inertial_data_delayed to single _inertial_data_delayed member variable
- improve code alignment
- simplify a return
- improve initialization of vectors
2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
87435473b5 AC_PrecLand: Move accessors code to the .h file 2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
4d7fc1fe46 AC_PrecLand: remove code duplication and use the same logic as the other backends (<= instead of <) 2024-03-06 19:53:55 +11:00
Andrew Tridgell
0f6f738a33 AP_GPS: added option to decode RTCM injected data
this allows for redundent RTCM links (eg. WiFi and SiK links for light
show drones) without causing corruption into the GPS.

If the GPS_DRV_OPTION bit is set then we instantiate a separate RTCM3
decoder per mavlink channel, and only inject when we get a full packet
that passes the RTCM 24 bit CRC
2024-03-06 19:38:06 +11:00
Andrew Tridgell
0aba1ce939 GCS_MAVLink: pass channel number to AP_GPS on RTCM injection 2024-03-06 19:38:06 +11:00
jfbblue0922
7ba9030129 AP_HAL_ChibiOS/hwdef: add LED_SAFETY for JFB100 board definition 2024-03-06 18:52:35 +11:00
Andrew Tridgell
dc863d878a AP_Scripting: fixed race condition in ship landing
and fixed lua warnings
2024-03-06 09:39:51 +11:00
Andrew Tridgell
c210675e95 AP_Scripting: added plane_precland lua script 2024-03-06 09:39:51 +11:00
Andrew Tridgell
fa1d965224 AP_Scripting: added docs for precland 2024-03-06 09:39:51 +11:00
Andrew Tridgell
bac99dc7ac AP_Scripting: added bindings for AC_PrecLand 2024-03-06 09:39:51 +11:00
Andrew Tridgell
4f9b66c267 SITL: fixed precland simulator
fixed units of height, was mixed cm and m, now just m AMSL
2024-03-06 09:39:51 +11:00
Andrew Tridgell
e5f092482d AC_PrecLand: added get_target_location and get_target_velocity 2024-03-06 09:39:51 +11:00
Andrew Tridgell
171da3dd08 AP_Motors: smoother ramp down in output_motor_mask
stop changing motors outside the given mask in output_motor_mask,
which gives smoother ramp down in tilt quadplanes when we are
transitioning to forward flight

thanks to Pete for the suggestion
2024-03-06 08:01:52 +11:00
Andrew Tridgell
2b784e01f9 AP_Motors: allow output_motor_mask() to work properly with slew limits
this fixes tilt quadplanes with slew limits when we set motors state
to SHUT_DOWN
2024-03-06 08:01:52 +11:00
Peter Barker
8a478abce9 RC_Channel: allow customisation of position text in aux switch announcement
this means that we get "EKFPosSource 1" rather than "EKFPosSource LOW"
2024-03-05 23:46:03 +11:00
Pulak Gautam
2d5e6a5f98 AP_ExternalAHRS: added missing #if AHRS logging 2024-03-05 17:11:38 +11:00
Peter Barker
b09dd7b866 AP_HAL_ChibiOS: move defaulting of HAL_WITH_ESC_TELEM for periph 2024-03-05 12:37:40 +11:00
Peter Barker
d0a7b54e61 AP_ESC_Telem: move defaulting of HAL_WITH_ESC_TELEM for periph 2024-03-05 12:37:40 +11:00
bnsgeyer
d103eebf91 AC_AttitudeControl: Tradheli- fix inverted mode collective handling 2024-03-05 10:24:06 +09:00
Iampete1
576ee75669 AC_AttitudeControl: Heli: invert throttle in inverted flight, move state down to heli 2024-03-05 10:24:06 +09:00
Iampete1
24c843dc26 AP_Motors: Heli: remove inverted flight state 2024-03-05 10:24:06 +09:00
Iampete1
1bf7792fe5 AP_Motors: Heli: remove output_armed_zero_throttle and use identical output_armed_stabilizing 2024-03-05 10:20:03 +09:00
subashchandar
7db7f95a3b AP_HAL_ChibiOS: hwdef: Add new hardware pixflamingo f7 2024-03-04 23:26:50 +00:00
Andrew Tridgell
eadf5596ed AP_TECS: fixed adjusting speed without airspeed sensor
the pitch trim variable that was not connected in aparm is needed to
allow tuning of the flight speed using PTCH_TRIM_DEG and
TRIM_THROTTLE.

This was broken in 4.4.x by this PR:

https://github.com/ArduPilot/ardupilot/pull/22191
2024-03-03 20:28:38 +11:00
Peter Barker
d6df142eaa GCS_MAVLink: allow FTP to be compiled out with build_options.py 2024-03-03 08:38:22 +11:00
Peter Barker
bff8688ac9 AP_Vehicle: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker
cf9c85d295 AP_Math: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker
077dd82bdc AP_HAL_ChibiOS: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker
2f30fa2f56 AP_CustomRotations: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker
093deed610 AP_Compass: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker
a836bd8583 AP_AHRS: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
David Buzz
73afd26465 AP_HAL_ESP32: bugfixes
bump  tick rate to 1kz to match chibios

experimentally make delay_microseconds not delay, and only yield ( vTaskDelay yields to higher-priority tasks )

ESP32 disable all watchdogs

emit info to console to tell user where to connect tcp/udp and what ports

comment out bad code throwing a ptr error
2024-03-03 07:29:35 +11:00
astik
24de88f85c AP_DDS: Add IMU publisher
* Using NED frame
2024-03-03 07:04:59 +11:00
Andrew Tridgell
b4d8e1133c AP_HAL: use NoVehicle by default
allows build of examples for esp32s3empty
2024-03-02 17:55:43 +11:00
Peter Barker
3926e06508 AC_CustomControl: move include of logging header to cpp file 2024-02-29 20:01:39 +11:00
Peter Barker
d0cc35af3e AR_PosControl: adjust for logging having moved into AC_AttitudeControl 2024-02-29 19:27:47 +11:00
Peter Barker
8ce6964948 AC_AttitudeControl: make logging methods public/static so Blimp can use them 2024-02-29 19:27:47 +11:00
Peter Barker
f4df89b85b AP_Logger: move logging of PSC messages into AC_AttitudeControl 2024-02-29 19:27:47 +11:00
Peter Barker
3165ec694c AC_AttitudeControl: move logging of PSC messages into AC_AttitudeControl 2024-02-29 19:27:47 +11:00
Peter Barker
32abb5b0ad AP_Vehicle: move serial_manager parameters up to base class 2024-02-29 12:12:19 +11:00
Peter Barker
b623b8ec94 AP_SerialManager: move serial_manager parameters up to base class 2024-02-29 12:12:19 +11:00
Peter Barker
684b621b8c AP_Param: move serial_manager parameters up to base class 2024-02-29 12:12:19 +11:00
Peter Barker
c0a57cb447 AP_DDS: add missing include in externalcontrol 2024-02-29 12:12:00 +11:00
Andrew Tridgell
6a16cbf3bb AP_HAL_SITL: fixed get_baud_rate() 2024-02-29 11:00:40 +11:00
Andrew Tridgell
cfad74ce6b AP_HAL_Linux: fixed get_baud_rate() 2024-02-29 11:00:40 +11:00