Commit Graph

37 Commits

Author SHA1 Message Date
Patrick Menschel b7d7ece0eb AP_Tramp: Fix _configuration_finished indication
The flag _configuration_finished in AP_VideoTX
is not set by AP_Tramp.
Therefore OSD item VTX_PWR blinks forever.
2024-12-12 15:13:40 +11:00
root c854830702 AP_VideoTX:add additional freq bands(RushFPV 3.3GHz) 2024-08-13 21:32:56 +10:00
Peter Barker 92dd71203e AP_VideoTX: correct include to use config.h
need to avoid random headers in these config files!
2024-08-12 17:52:04 +10:00
Andy Piper 607249d73d AP_VideoTX: add autobauding to Tramp
Record enabled backends
2024-05-29 17:49:08 +10:00
root 0c2e9a061b AP_VideoTX:add additional freq bands(Band X) 2024-03-19 07:30:49 +11:00
Brad Bosch 0a5407a1a7 AP_VideoTX: Restore use of the VTX_MAX_POWER parameter
This functionality was lost when a significant rewrite of this code was done in commit 0658f06030
2024-01-02 12:00:22 +11:00
zvldz 8e08a9bdf6 AP_VideoTX:add additional freq bands 2023-09-13 18:05:24 +10:00
Andy Piper e1db6e38e2 AP_VideoTX: protect vtx from pitmode changes when not enabled or not armed 2023-02-15 19:30:28 +11:00
Andy Piper 29d5d5a300 AP_VideoTX: learn all the power levels when using SmartAudio 2.0 2023-01-31 11:23:59 +11:00
Peter Barker 08e42d2699 AP_VideoTX: use minimize.inc for Tramp and SmartAudio
... and rename HAL_SMARTAUDIO_ENABLED
2023-01-24 11:03:27 +11:00
Peter Barker 20f504d337 AP_VideoTX: add and use AP_VIDEOTX_ENABLED 2023-01-24 11:03:27 +11:00
Peter Barker 96900ea627 AP_VideoTX: tidy AP_SerialManager.h includes 2022-11-08 09:49:19 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Andy Piper f651a4b6ce AP_VideoTX: ensure that Tramp changes are broadcast to the GCS 2022-09-22 10:48:04 +10:00
Andy Piper d20fd16a14 AP_VideoTX: fix potential buffer overrun bug 2022-09-22 10:48:04 +10:00
Andy Piper 0658f06030 AP_VideoTX: add lookup tables for VTX power settings
correct settings when power set is received
add support for capturing all supported power levels
learn power levels in SmartAudio 2.1
add better support for VTX power levels
don't set power to 0 if in pitmode
add option for iNav compatibility
support non-conforming SmartAudio implementations
re-enable pitmode on SmartAudio 2.0
add support for "blind" VTX setting
2022-09-22 10:48:04 +10:00
Iampete1 0ef78c2f8b AP_VideoTX: params always use set method 2022-08-03 13:43:48 +01:00
Andy Piper 6ab6aa1ef4 AP_VideoTX: Tramp VTX support
Tramp enabled on 2Mb boards with OSD via AP_TRAMP_ENABLED
2022-07-13 18:22:34 +10:00
Andrew Tridgell be33f77725 AP_VideoTX: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Peter Barker 2ffc16d1c5 AP_VideoTX: tidy includes 2022-05-03 09:14:58 +10:00
murata 5d2c49e202 AP_VideoTX: Change from division to multiplication 2022-03-16 18:41:52 +11:00
VMsunghwan a49bab158f AP_VideoTX : fixed typo
line 610 : to to -> to
2022-01-13 09:45:39 +11:00
Mingchen Zhang 61e0c5b6e7 AP_SmartAudio: fix a bug that would starve the lower priority thread, such as scripting. 2021-12-21 16:03:44 +09:00
giacomo892 9056cd35ea AP_SmartAudio: Add pull down VTX option 2021-06-16 18:49:13 +10:00
giacomo892 49536ceecb AP_VideoTX: Add pull down VTX option 2021-06-16 18:49:13 +10:00
giacomo892 f12fffbb08 AP_SmartAudio: Remove useless variable and comment 2021-06-16 18:49:13 +10:00
giacomo892 2198893092 AP_VideoTX: Add band names to GCS 2021-06-16 18:49:13 +10:00
giacomo892 0af5a7787a AP_VideoTX: Add configuration_finished functions 2021-06-16 18:49:13 +10:00
giacomo892 4dac9baa09 AP_SmartAudio: Add configuration_finished and configuration_pending functions 2021-06-16 18:49:13 +10:00
Andy Piper db06de5c9c AP_VideoTX: correctly deal with unresolvable options requests
move power changes to middle of RC range
2021-05-12 18:03:28 +10:00
Andy Piper 21e95a62d5 AP_VideoTX: increase stack for smart audio thread 2021-04-20 10:39:16 +10:00
Andy Piper 4fd88e8ad0 AP_VideoTX: don't try to change pitmode on anything other than SA2.1 2021-04-12 16:22:36 +10:00
Andy Piper bfcefa3f34 AP_VideoTX: prioritize pitmode changes over power changes 2021-04-12 16:22:36 +10:00
Andy Piper 961c517274 AP_VideoTX: only mark updates when the VTX is enabled 2021-03-17 18:27:11 +11:00
Andy Piper f7e23566ac AP_VideoTX: with SmartAudio v2 set the power level rather than power in dBm 2021-03-17 18:27:11 +11:00
Andy Piper 7039d67474 AP_VideoTX: move AP_VideoTX to AP_VideoTX 2021-02-23 11:43:32 +11:00
Andy Piper 6f91e053d5 AP_VideoTX: new library to support the SmartAudio protocol
set the VTX parameters to what was actually configured by the VTX
use change band/change frequency when appropriate
set power levels appropriately for protocol version.

Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
2021-02-17 18:23:33 +11:00