Wykres commitów

512 Commity (9fb74ed6e13ff70bac4482859db45174edf8eee8)

Autor SHA1 Wiadomość Data
Phil Taylor ee2cf70dc0 Add rigctld config to ui and fix some bugs 2021-08-04 20:49:32 +01:00
Roeland Jansen bee4f03edb added derSuessman prefix code 2021-08-02 08:06:19 +02:00
Elliott Liggett 4e63a72106 Added a little extra logic, also some cross-platform help, to the custom
stylesheet loader.
2021-07-30 17:30:34 -07:00
Phil Taylor bc0d69ffb5 Merge branch 'master' into opus 2021-07-29 16:18:59 +01:00
Roeland Jansen 2ac1b8c0ac fix: set the style once 2021-07-29 11:28:45 +02:00
Roeland Jansen 7992d6f870 added /usr/local to search path for the stylesheet 2021-07-29 10:53:57 +02:00
Phil Taylor 8983b4e090 Merge branch 'ui-enhance' into audio-enhance 2021-07-26 10:56:04 +01:00
Roeland Jansen dd84be71c5 Merge branch 'ui-enhance' 2021-07-25 11:11:31 +02:00
Elliott Liggett 6c27f44ccc Meter now scales the meter bar to fit the avaliable depth. Text should
scale to have the correct aspect ratio. Fixed minor bug in reporting
connection type (always reported serial and then was replaced with
connection status).
2021-07-24 22:53:36 -07:00
Phil Taylor 59234f25f7 Allow user to turn off power-down confirmation msgbox 2021-07-20 14:45:44 +01:00
Roeland Jansen 5d78f52c97 Merge branch 'ui-enhance' 2021-07-20 08:51:00 +02:00
Elliott Liggett 4fb9177f2c Font sizes are... better... but not perfect. 2021-07-19 23:46:11 -07:00
Roeland Jansen 886ca86a90 Merge branch 'ui-enhance' 2021-07-20 08:07:28 +02:00
Elliott Liggett 274cc65dbf wfview now uses the meter's own balistics (average and peak code). This
makes it very easy to meter any parameter 0-255. Meter Type "meterNone"
or other will display data in "raw" format.
2021-07-19 16:56:04 -07:00
Elliott Liggett decdfe370b Added center tuning for IC-R8600, partially moved meter balistics
(average and peak) to the meter class.
2021-07-18 14:27:21 -07:00
Roeland Jansen b8ab1b966d Merge branch 'ui-enhance' 2021-07-18 12:45:50 +02:00
Elliott Liggett fd82de2647 Quick debug for the metering queue, just in case. 2021-07-18 00:03:04 -07:00
Elliott Liggett 027815f4c0 Preliminary secondary meter support. See Settings tab for selection.
Some scales incomplete.
2021-07-17 23:39:40 -07:00
Phil Taylor 166e714c26 Merge branch 'ui-enhance' into audio-enhance 2021-07-17 12:02:04 +01:00
Phil Taylor df690e0fd1 Merge branch 'sequence' into audio-enhance 2021-07-17 11:49:44 +01:00
Elliott Liggett 8257a3540f Added SWR and ALC scales to the meter. 2021-07-17 00:37:27 -07:00
Elliott Liggett c9692f63a6 Fix error in scale of power meter 2021-07-16 23:23:29 -07:00
Elliott Liggett b6a4e06fe2 Power meter for transmit. Much work remains on this meter alone. 2021-07-16 17:45:07 -07:00
Phil Taylor e4dea63029 Get antenna status on start-up and slow poll for it. 2021-07-16 19:33:15 +01:00
Phil Taylor e40545cf77 Add RX antenna selection for rigs that support it 2021-07-16 17:08:55 +01:00
Roeland Jansen 6a6a45d079 Merge branch 'sequence' 2021-07-15 08:52:21 +02:00
Elliott Liggett 21b9be4f94 Preferences added for Anti-Alias and Interpolate. 2021-07-14 22:44:05 -07:00
Phil Taylor f191775acb Merge branch 'sequence' into audio-enhance 2021-07-14 12:00:02 +01:00
Roeland Jansen 050e449df7 Merge branch 'sequence' 2021-07-14 10:29:40 +02:00
Elliott Liggett 54f2dcd5b8 Added waterfall display options: anti-alias and interpolate. Not in
preferences yet. Debug button enables wf pan and zoom.
2021-07-13 22:42:55 -07:00
Roeland Jansen 8a49e0267d Merge branch 'sequence' 2021-07-12 18:47:53 +02:00
Phil Taylor d12906d7d3 Merge branch 'sequence' into audio-enhance 2021-07-12 09:15:17 +01:00
Phil Taylor 99b1e7f407 Allow user to select whether to confirm exit or not 2021-07-11 17:30:02 +01:00
Elliott Liggett d54562469d Reset PTT timer for control-R keystroke. 2021-07-09 23:59:32 -07:00
Elliott Liggett 2e9c734b64 Added a fix to keep the local frequency in-sync with any recent commands
sent to the radio.
2021-07-09 18:13:11 -07:00
Elliott Liggett e50b032716 Added time, date, and UTC offset commands. Currently initiated by the
debug button. There seems to be a bug in the 7300 where the UTC offset
has one hour subtracted, ie, -7 HRS becomes -8 HRS. The hex command
appears to be sent correctly.
2021-07-09 12:02:50 -07:00
Elliott Liggett 8bd786f235 New about box! 2021-07-08 00:31:59 -07:00
Elliott Liggett e4fdf6058c Added transceiver adjustment window show code, for the debug button only
currently.
2021-07-05 23:56:24 -07:00
Elliott Liggett ea26eaf53b Added window title text change to show radio model. Needs to be checked
cross-platform. On Linux Mint, displays: "IC-7300 -- wfview"
2021-07-05 23:50:37 -07:00
Elliott Liggett a8b1e905a0 waterfall theme is now saved. 2021-07-05 17:04:55 -07:00
Elliott Liggett 9799e4f745 Added local af gain and wf length to the preferences. 2021-07-05 16:45:19 -07:00
Roeland Jansen 1563fccf54 fixed small error where the tx latency was not copied in the UI 2021-07-02 13:19:53 +02:00
Phil Taylor 05d9c16eb9 Merge branch 'sequence' into opus 2021-06-26 19:09:58 +01:00
Phil Taylor b071e8d788 Revert "Check whether data is nullptr in doCmd"
This reverts commit c25040f793.
2021-06-26 19:09:41 +01:00
Phil Taylor 6d58034a41 Revert "Move nullptr check to modefilter"
This reverts commit 19f33d1ed7.
2021-06-26 19:09:24 +01:00
Elliott Liggett 38f45b1d31 Merge branch 'sequence' of gitlab.com:eliggett/wfview into sequence 2021-06-26 09:25:35 -07:00
Elliott Liggett 3803229b90 Duplicate of existing command. 2021-06-26 09:24:58 -07:00
Phil Taylor 19f33d1ed7 Move nullptr check to modefilter 2021-06-26 10:58:54 +01:00
Phil Taylor c25040f793 Check whether data is nullptr in doCmd 2021-06-26 10:52:38 +01:00
Phil Taylor 298a659443 Remove unnecessary escape sequence 2021-06-26 10:15:26 +01:00
Phil Taylor 51a2d10937 Remove unnecessary escape sequence 2021-06-26 10:13:35 +01:00
Phil Taylor 605b7686aa Merge branch 'sequence' into opus 2021-06-26 09:55:54 +01:00
Phil Taylor 4002d7f341 Merge remote-tracking branch 'origin/sequence' into opus 2021-06-26 09:55:06 +01:00
Elliott Liggett df6a0fbc33 Mode changes from the combo box now use the que. There are still other
methods to change mode which will transition shortly.
2021-06-25 23:56:19 -07:00
Elliott Liggett 95b31104f5 Faster PTT 2021-06-25 19:47:40 -07:00
Elliott Liggett 5ec9a595c9 Added PTT to the queue. 2021-06-25 16:26:13 -07:00
Elliott Liggett 7df82fc7b7 Added unique priority insertion methods. 2021-06-25 15:43:53 -07:00
Elliott Liggett 3553f3cc64 Changed how commands with parameter data are added. 2021-06-25 02:31:18 -07:00
Elliott Liggett 301b48cb02 Initial queued "set" command commit. Only the frequency set command is
used so far, and only for the "Frequency" tab and the tuning knob.
2021-06-25 01:24:21 -07:00
Elliott Liggett d819c6c931 Added polling button 2021-06-21 10:49:22 -07:00
Phil Taylor 8917ffabc2 Merge remote-tracking branch 'origin/sequence' into opus 2021-06-21 09:20:42 +01:00
Phil Taylor 4b88620a5e Merge remote-tracking branch 'origin/sequence' into opus 2021-06-21 09:08:09 +01:00
Elliott Liggett 5ef6afe58c Removed unused variable and related comments. 2021-06-21 00:41:10 -07:00
Elliott Liggett ac76696b44 Moving to std::deque (double-ended que). 2021-06-21 00:36:57 -07:00
Elliott Liggett e7d07ed7f8 IC-R8600 span is now received into the UI correctly. 2021-06-20 23:46:26 -07:00
Elliott Liggett 849ddfe8d4 debug (control-shift-d) lets the user input timing parameters. Just
something for development for now.
2021-06-20 23:44:24 -07:00
Elliott Liggett 761dbd18a0 New unified outgoing command queue. Tested on IC-9700 and IC-718 (to
remote wfview server). CPU usage seems higher but please check your
system.

Timing seems to be acceptable but could probably use some tweaks. S-
meter polling is 25ms for fast radios, and slower rates for slower
radios. Half-duplex serial radios receive 3x slower polling to make room
for replies.

For Freq, Mode, etc "regular" constant polling (new feature):

IC-9700 polling is 5 per second, IC-718 is 1-2 per second.

Just helps keep the UI in sync with changes taking place at the rig. The
polling is slow enough that it doesn't impact anything. But quick enough
that it catches discrepencies pretty quickly.
2021-06-20 13:34:32 -07:00
Phil Taylor d5a785c675 Merge remote-tracking branch 'origin/sequence' into opus 2021-06-20 10:52:59 +01:00
Elliott Liggett 53957466bb Added a few more slider things 2021-06-19 16:18:00 -07:00
Elliott Liggett b5c7eaf95a Preliminary slider to status work. 2021-06-19 16:16:07 -07:00
Elliott Liggett 8eb00fa389 No more negative frequencies! 2021-06-19 12:39:11 -07:00
Elliott Liggett 2508b4d71c Additional support for the IC-R8600, including wider scope spans. 2021-06-18 22:45:12 -07:00
Elliott Liggett ee54e76c5f Minor change to remove some old debug code that snuck in. 2021-06-18 21:56:11 -07:00
Phil Taylor 4e827b4507 Merge remote-tracking branch 'origin/sequence' into opus 2021-06-19 00:11:58 +01:00
Elliott Liggett 8024893a62 If no rig caps, then don't mess with the window! 2021-06-18 15:57:21 -07:00
Phil Taylor 9323c2bab4 Merge remote-tracking branch 'origin/sequence' into opus 2021-06-18 23:48:03 +01:00
Elliott Liggett cc92aa1b5c Added full duplex comms parameter to rigCaps. We assume half-duplex
until we receive a reply to rigID.
2021-06-18 12:41:56 -07:00
Elliott Liggett bd1b6fc1de Fixed accidental s-meter timing parameter change. 2021-06-18 00:58:02 -07:00
Elliott Liggett 7a2e8560cf Radios without spectrum do not show spectrum, and, the window properly
resizes for those controls. Also, a new key command, control-shift-d has
been added to run debug functions from any tab in the program.
2021-06-17 23:14:28 -07:00
Phil Taylor 869659ad54 Add opus encoding/decoding 2021-06-16 09:49:38 +01:00
Elliott Liggett 542376124b Additional code to hide/show spectrum and correcting an issue with the
rig name not populating for non-spectrum radios.
2021-06-15 13:38:16 -07:00
Elliott Liggett d3d59b2a94 Dynamic show/hide spectrum for rigs without this feature. 2021-06-15 11:27:45 -07:00
Elliott Liggett 297478ffca We now calculate polling rates immediately upon receiveCommReady for
serial connections. For network connections, we assume sane values and
modify once we receive the baud rate from the server.
2021-06-14 20:22:15 -07:00
Elliott Liggett 85a07881d6 Merge remote-tracking branch 'origin/audio-enhance' into sequence 2021-06-14 20:01:26 -07:00
Phil Taylor a7e0800508 Add tooltip showing percentage of TX power when slider is moved 2021-06-12 08:57:52 +01:00
Phil Taylor 8ef9943584 fourth and (hopefully) final attempt 2021-06-10 09:42:59 +01:00
Phil Taylor 8bd41e1df8 Third attempt to get messages from server! 2021-06-10 09:36:26 +01:00
Phil Taylor 170b494bad Use correct location for statusupdate! 2021-06-10 09:31:21 +01:00
Phil Taylor 999dedac1a Show server connection status in taskbar (only for USB connected rigs) 2021-06-10 09:09:26 +01:00
Elliott Liggett ad73a3e9d2 Adjustable waterfall length is now non-destructive. 2021-06-08 09:58:30 -07:00
Phil Taylor b6cf0fcfc4 Detect radio baudrate in server mode 2021-06-08 17:51:10 +01:00
Elliott Liggett 857286dae2 Baud rate calculations are now only happening when baud rate is received
and reasonable.
2021-06-08 09:18:40 -07:00
Phil Taylor e5bad69d05 remove shuttle function that managed to sneak in! 2021-06-08 08:08:58 +01:00
Phil Taylor b77394abc7 Start removal of unused variables 2021-06-08 08:07:58 +01:00
Phil Taylor eb70b92aed Change udpserver to use new audiosetup struct properly. 2021-06-04 14:25:07 +01:00
Phil Taylor d8a0431e36 Fix audio device selection 2021-06-04 13:47:32 +01:00
Phil Taylor 24ce16b0b9 Add QtMultimedia as default audio 2021-06-04 08:24:26 +01:00
Phil Taylor 84fd5e0631 Use heap based rtaudio for enumeration 2021-06-02 20:13:17 +01:00
Phil Taylor 762e50de8e Fix compile issue after merge 2021-05-31 10:18:37 +01:00
Phil Taylor 78f4b7b508 Merge remote-tracking branch 'origin/sequence' into rtaudio 2021-05-31 09:56:05 +01:00
Elliott Liggett 23686066d1 Keep the theme during resize. TODO: preference for wf theme 2021-05-30 23:42:45 -07:00
Elliott Liggett 1785811e71 Removing my own uninformed sidenote. 2021-05-30 23:35:30 -07:00
Elliott Liggett b5167a6a97 Waterfal length may now be adjusted. Let's see what range of length
seems good and limit the control accordingly. Also there may be a memory
leak in the prepareWf() function where the colormap is created when the
image is resized.
2021-05-30 23:26:36 -07:00
Elliott Liggett d601983beb CIV may now be changed as-needed while running. 2021-05-30 15:08:22 -07:00
Phil Taylor 6b5a597083 Small change to show default audio devices 2021-05-29 09:16:28 +01:00
Elliott Liggett f2c82e2ca0 More chair movements. 2021-05-28 21:27:06 -07:00
Elliott Liggett 01a7be9942 More arranging of the chairs. Also fixed a minor bug that prevented the
"Manual" serial device entry on my system.
2021-05-28 21:01:29 -07:00
Elliott Liggett fe04dde66e Cleaning up the main constructor for wfmain. 2021-05-28 20:51:19 -07:00
Phil Taylor 142c8a24ff Merge from master 2021-05-27 14:20:53 +01:00
Phil Taylor f726073e22 Fix for compiling on MacOS 2021-05-27 12:27:17 +01:00
Elliott Liggett e1a4ca1614 Allow entry to Server Setup for either radio connection type. 2021-05-23 13:43:15 -07:00
Phil Taylor ae69ef05e5 Non working test 2021-05-23 16:09:41 +01:00
Elliott Liggett acfdb081ce Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-05-22 15:34:14 -07:00
Phil Taylor f22f4224dd Merge branch 'lan-alpha' into rtaudio 2021-05-22 21:09:04 +01:00
Phil Taylor 5ee6ff48ba Add debugging and fix silly error in audiooutput combobox 2021-05-22 17:02:51 +01:00
Phil Taylor 0bbb9017c9 Stop audiohandler re-enumerating devices on connect. 2021-05-22 10:43:57 +01:00
Elliott Liggett d4f46e60f1 Changed method for adding modes to rigs and populating the rig menu.
This should be easier to maintain and better in the long run.
2021-05-21 23:46:15 -07:00
Elliott Liggett e705d071cf Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-05-21 15:03:38 -07:00
Elliott Liggett 73d550304c Typo in message about CI-V 2021-05-21 15:03:24 -07:00
Phil Taylor b2768518d5 Merge branch 'ui-enhance' into lan-alpha 2021-05-21 22:30:04 +01:00
Elliott Liggett 99926d2274 Dynamic timing update for all baud rates and connection types. 2021-05-21 13:01:21 -07:00
Elliott Liggett d6478d06a6 Fixed support for 9600 baud and lower speeds. 2021-05-21 11:35:13 -07:00
Phil Taylor b669605e11 Add baud rate detection for remote rigs 2021-05-21 16:30:52 +01:00
Phil Taylor 4430262b8a Correct propCIVAddr to work if less than 0xe0 2021-05-21 15:56:19 +01:00
Phil Taylor f2491064fd Merge branch 'ui-enhance' into lan-alpha 2021-05-21 08:48:59 +01:00
Elliott Liggett d0f95e2289 Cleaned up warning and UI help text. 2021-05-20 15:17:10 -07:00
Phil Taylor b59da5ebb8 Fix for absolute path in settings 2021-05-20 19:34:36 +01:00
Phil Taylor 3af7b61d01 Add --settings option for settings file 2021-05-20 19:24:40 +01:00
Elliott Liggett 30b7f8ee0f Serial baud rate is in the UI now. Added some enable/disable code to
prevent confusion about which options can be used with which types of
connections.
2021-05-19 21:36:34 -07:00
Elliott Liggett f60e3cf621 minor typo 2021-05-19 21:09:56 -07:00
Elliott Liggett d23139e89e Better about box. 2021-05-19 21:09:08 -07:00
Elliott Liggett a981f973fc Removed unused variable. 2021-05-19 20:35:45 -07:00
Phil Taylor 6074372e37 Merge branch 'ui-enhance' into lan-alpha 2021-05-18 09:35:58 +01:00
Elliott Liggett b2bce01028 Manual CIV is now read from the preferences and populates the UI
accordingly.
2021-05-18 00:35:47 -07:00
Elliott Liggett 7857680845 Changed UI a little, and added manual CI-V options. Seems to work well. 2021-05-18 00:29:06 -07:00
Phil Taylor 4d89d6e7c0 Fixes for mac logging/pty since adding sandbox 2021-05-17 17:05:19 +01:00
Phil Taylor bada37acdf Make audio input buffer a qMap 2021-05-17 16:19:36 +01:00
Phil Taylor ff4514a196 Move manual serial port so linux/mac only 2021-05-16 21:34:46 +01:00
Phil Taylor 57bffd73a2 More rtaudio stuff 2021-05-16 21:16:59 +01:00
Phil Taylor d304b368b6 Test commit of rtaudio
This commit doesn't actually use RTAudio for anything other than enumerating devices and is a proof of concept for each supported platform.
2021-05-16 13:34:04 +01:00
Elliott Liggett 45e1c9d817 Change to correct bug when CI-V is user-specified and rigCaps were never
populated.
2021-05-15 16:57:08 -07:00
Elliott Liggett 235a0a85be Added check for if the rig has spectrum during initial state queries. 2021-05-15 15:34:22 -07:00
Phil Taylor 8f135b8ddd Add --debug option to increase debugging for release builds 2021-05-15 18:53:16 +01:00
Elliott Liggett a6f336c384 BSR debug code. 2021-05-15 10:10:08 -07:00
Elliott Liggett a0a2c025ef wfview now closes when the main window is closed. 2021-05-14 20:00:38 -07:00
Elliott Liggett 6e087a9e4b Filter selection now checks for data mode. 2021-05-14 19:49:37 -07:00
Elliott Liggett cc4aede601 Cyan for the tuning line. 2021-05-14 17:09:27 -07:00
Elliott Liggett cf9ad0d8bc Slower polling for older rigs using lower serial baud. 2021-05-13 22:38:13 -07:00
Phil Taylor 87cf5ec8e4 Make pty/vsp ComboxBox editable 2021-05-11 11:18:45 +01:00
Phil Taylor 944b0f5987 Initial commit of pty rewrite 2021-05-11 09:38:05 +01:00