Thomas Watson
fa31a5e838
AP_ServoRelayEvents: allow mavlink command of rcin scaled functions
...
Allow `MAV_CMD_DO_SET_SERVO` and `MAV_CMD_DO_REPEAT_SERVO` to be used on
a servo output set to an RCINnScaled function (i.e. k_rcinN_mapped).
Scaling is applied so that a commanded servo PWM of <=1000 maps to
SERVOn_MIN, a PWM of 1500 maps to SERVOn_TRIM, and a PWM of >=2000 maps to
SERVOn_MAX. Linear interpolation is performed between ranges.
2023-10-17 10:32:39 +11:00
Thomas Watson
79b7852357
SRV_Channel: expose public function to convert scaled value to pwm
...
Allow other modules to get and store the PWM value for a specific scaled
value and re-apply it later.
2023-10-17 10:32:39 +11:00
Peter Barker
1ece48b2b3
GCS_MAVLink: handle MAV_CMD_DEBUG_TRAP as both long and int
2023-10-17 10:25:45 +11:00
Iampete1
105801c5b0
AP_Scripting: add support for dependencty on manual methods, remove handling of mission commands without AP_Mission
2023-10-17 10:23:20 +11:00
Iampete1
77e2d07979
AP_Scripting: add lots off missing binding dependencies
2023-10-17 10:23:20 +11:00
Iampete1
6a8e07e7ae
AP_Scripting: Generator: allow unused enum loader function
2023-10-17 10:23:20 +11:00
Iampete1
cf2ba23089
AP_Scripting: generator: emit dependancys for operators
2023-10-17 10:23:20 +11:00
Iampete1
596433a19a
AP_Scripting: lua_scripts: add missing HAL_LOGGING_ENABLED define
2023-10-17 10:23:20 +11:00
Iampete1
f712b202de
AP_Scripting: require a file system
2023-10-17 10:23:20 +11:00
Iampete1
fc68bf8979
AP_Scripting: don't include CAN support on periph if there is only one CAN port
2023-10-17 10:23:20 +11:00
Iampete1
75ac3f98fa
AP_Param: Allow override of AP_PARAM_DYNAMIC_ENABLED define
2023-10-17 10:23:20 +11:00
Iampete1
e736d5ecb7
AP_HAL_ChibiOS: hwdef: scripts: defaults_periph: disable unused libaries by defualt
2023-10-17 10:23:20 +11:00
Michael du Breuil
dc35b2f6bc
AC_PID: If PD max limiting isn't active clear the flag
2023-10-17 10:14:45 +11:00
Michael du Breuil
00a5c92635
AP_Periph: Rate limit EFI driver updates
...
Also remove the last update variables for features that were compiled
out.
2023-10-17 10:14:03 +11:00
Iampete1
3c6ddda5e8
Flter: notchfilter: remove unneeded value and pre-multiply for speed
2023-10-17 10:03:43 +11:00
stephan
0b24dc239f
GCS_MAVlink: correct routing for Solo Gimbal
...
Check for a opro camera in a Solo gimbal added and re-enable the routing of Gopro Mavlink commands
2023-10-17 10:02:49 +11:00
Peter Barker
acf8162e5e
autotest: correct hook removal for Copter tests
...
these hooks were remaining active if the test failed
2023-10-16 12:15:29 +11:00
Peter Barker
816adbf820
github: test mantic not bionic
...
bionic no longer builds SITL:
../../libraries/AP_Logger/AP_Logger_Backend.cpp: In member function 'bool AP_Logger_Backend::Write_VER()':
../../libraries/AP_Logger/AP_Logger_Backend.cpp:577:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
compilation terminated due to -Wfatal-errors.
2023-10-16 09:12:42 +11:00
Peter Barker
918448031e
Vagrant: add Mantic Minotaur to available VMs
2023-10-16 09:12:42 +11:00
Peter Barker
f5d4122959
Tools: adjust install_prereqs_ubuntu.sh to handle Mantic
2023-10-16 09:12:42 +11:00
muramura
e0a012919c
hwdef: Cite CubeOrange-SimOnHW as the default file
2023-10-14 17:55:56 +11:00
Randy Mackay
6bd7c37039
Plane: 4.4.2-beta1 release notes
2023-10-14 11:24:37 +11:00
Andrew Tridgell
c980e0488e
Plane: fixed terrain RTL with rally points
...
this fixes a bug where if the terrain database cache does not have the
tile for the location of a rally point then RTL to the rally point
with TERRAIN_FOLLOW=1 will not track terrain
The underlying issue is that Location::loc.change_alt_frame() will
return false if the location is not in the terrain memory cache. We
can't just extrapolate as the rally point could be in a totally
different terrain area to the current location. So instead we set it
as terrain_following_pending and fix it as soon as the terrain cache
is filled.
fixes https://github.com/ArduPilot/ardupilot/issues/25157
2023-10-14 10:46:00 +11:00
Andrew Tridgell
823a917ae1
autotest: added Plane.TerrainRally test
...
reproduces the issue from
https://github.com/ArduPilot/ardupilot/issues/25157
2023-10-14 10:46:00 +11:00
Peter Barker
8b67775673
AP_OpenDroneID: remove duplicate definition of AP_OPENDRONEID_ENABLED
...
... my guess is conflict resolution caused this
2023-10-14 09:19:45 +11:00
Andrew Tridgell
fcd4152b30
AP_OpenDroneID: only load from persistent memory in init()
...
we do not want to do this from update() as it is an expensive call
2023-10-13 21:26:21 +11:00
bugobliterator
181505afa5
AP_OpenDroneID: ensure Persistent memory is not read continuously
2023-10-13 21:26:21 +11:00
Andy Piper
4c77037572
AP_Bootloader: add SpeedyBeeF405v4
2023-10-13 20:04:26 +11:00
Randy Mackay
5f242795ea
Copter: update 4.4.2-beta1 release notes
2023-10-13 16:32:11 +09:00
Randy Mackay
407b503591
Rover: update 4.4.2-beta1 release notes
2023-10-13 16:32:09 +09:00
Randy Mackay
7a5e130268
Copter: 4.4.2-beta1 release notes
2023-10-13 16:32:07 +09:00
Randy Mackay
08ea4ba16d
Rover: 4.4.0-beta8 release notes
2023-10-13 16:31:41 +09:00
Peter Barker
4b0958fb4f
hwdef: correct compilation of CubeOrange-SimOnHW
...
../../libraries/AP_InertialSensor/AP_InertialSensor_config.h:20:2: error: #error "INS_AUX_INSTANCES must be zero if INS_MAX_INSTANCES is less than 3"
20 | #error "INS_AUX_INSTANCES must be zero if INS_MAX_INSTANCES is less than 3"
| ^~~~~
2023-10-13 17:26:35 +11:00
Andrew Tridgell
69371e84fd
AP_Logger: added build directory to VER message
...
this allows log review tools to use right parameter and mode map when vendor has changed the
vehicle type strings
2023-10-13 15:13:10 +11:00
Andrew Tridgell
2cb1f9bbb9
AP_Scripting: added INS filters to revert list
...
these may be changed in a tuning session
2023-10-13 09:48:42 +11:00
Andrew Tridgell
c858b7201d
AP_RCProtocol: prevent decoding past end of output array
...
this fixes test_sbus on clang
2023-10-13 09:42:25 +11:00
Andrew Tridgell
4709a1592f
Tools: rebuild IO firmware
2023-10-13 09:42:25 +11:00
Andrew Tridgell
a2717a84bf
AP_RCProtocol: added a test suite for SBUS encode/decode
...
cover all values and check special handling of 875
2023-10-13 09:42:25 +11:00
Andrew Tridgell
cb62e48164
HAL_Linux: use the AP_RCProtocol sbus decoder for Linux
2023-10-13 09:42:25 +11:00
Andrew Tridgell
11b24e3ec0
AP_SBusOut: make sbus output exactly match sbus input decoding
2023-10-13 09:42:25 +11:00
Andrew Tridgell
ca4f26db17
AP_RCProtocol: make sbus_decode public to allow for a test suite
2023-10-13 09:42:25 +11:00
Andrew Tridgell
120a8c1b1d
AP_RCProtocol: protect against invalid data in SBUS
2023-10-13 09:42:25 +11:00
Peter Barker
659db36efe
GCS_MAVLink: accept accel cal vehicle positions as both int and long
2023-10-12 20:39:32 +11:00
Mykhailo Kuznietsov
14b67768cf
Blimp: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov
ebe4d4a6dc
ArduSub: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov
b7c040e8bc
ArduPlane: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov
3a231f8b32
ArduCopter: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov
f659b7bfee
AntennaTracker: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov
cc2e156888
AP_HAL: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov
83b7bb387d
AP_GyroFFT: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00