mbridak / not1mm

Not1MM != N1MM, An amateur radio contest logger for Linux.
GNU General Public License v3.0
93 stars 20 forks source link

Change frequency in bandmap #16

Closed rolnas closed 1 year ago

rolnas commented 1 year ago

Is your feature request related to a problem? Please describe. When I control remote station, sometimes I have only hamlib/rigctld access.

Describe the solution you'd like Allow mouse click to bandmap and calculate frequency to change.

Describe alternatives you've considered Enter frequency inside enter field works.

Additional context None

mbridak commented 1 year ago

Hi, Sorry for the delay. I was on vacation.

I'm not quite clear as to the issue or feature request you are making. When a spot is clicked on in the bandmap, it should pass a message back to not1mm to change frequency to that of the clicked spot. If not1mm is connected to the radio via rigctld it should tune the radio to the clicked spot.

rolnas commented 1 year ago

It's about facility to change frequency without clicking on spots, but between them or in free from spots frequencies.

On July 28, 2023 4:12:37 AM GMT+03:00, Michael Bridak @.***> wrote:

Hi, Sorry for the delay. I was on vacation.

I'm not quite clear as to the issue or feature request you are making. When a spot is clicked on in the bandmap, it should pass a message back to not1mm to change frequency to that of the clicked spot. If not1mm is connected to the radio via rigctld it should tune the radio to the clicked spot.

-- Reply to this email directly or view it on GitHub: https://github.com/mbridak/not1mm/issues/16#issuecomment-1654830556 You are receiving this because you authored the thread.

Message ID: @.***> -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

mbridak commented 1 year ago

Ah, I see. There is, unfortunately, a fundamental problem with that. Each spot is a clickable object with a callback event reporting back who was clicked, and by this virtue returning the frequency as one of it's properties which we can then send a message about.

I think a better thing would be a virtual VFO knob. Like a rotary encoder connected to a USB port.

rolnas commented 1 year ago

Yes, I agree, I have DJ2GO2 midi keyboard with two big rotary encoders. Works OK with quisk (SDR transceiver control software) and others. not1mm could have some plugin architecture to make it work also.

On 2023-07-28 08:10, Michael Bridak wrote:

Ah, I see. There is, unfortunately, a fundamental problem with that. Each spot is a clickable object with a callback event reporting back who was clicked, and by this virtue returning the frequency as one of it's properties which we can then send a message about.

I think a better thing would be a virtual VFO knob. Like a rotary encoder connected to a USB port.

— Reply to this email directly, view it on GitHub https://github.com/mbridak/not1mm/issues/16#issuecomment-1655023993, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJ4FDOVGP3YY34PQT2KXNDXSNCTVANCNFSM6AAAAAA2QFYSEI. You are receiving this because you authored the thread.Message ID: @.***>

mbridak commented 1 year ago

Don't know if this helps, but this is what I got so far.

Made a branch for this. Had a raspberry pico and a pretty decent encoder with no detents. Hacked up some firmware for the pico in circuit python. Made a cheesy applet to talk to the pico and the radio, insert magic here.

Still needs a bunch of work, like pulling the pico's serial device from preferences etc. but it's mostly there.

mbridak commented 1 year ago

Okay, Made the VFO app auto detect the USB pico vfo. It's stable enough to merge into main. It works for me so I'm closing this with the merge. The Firmware for the pico can be found in source tree.