UAX-Technologies / DeckRC

R/C controller made from a Steam Deck
GNU General Public License v3.0
19 stars 4 forks source link

Radio failsafes if screen goes to sleep (steam client controls tested) #6

Open ConorMcCaffrey opened 1 year ago

ConorMcCaffrey commented 1 year ago

Describe the bug If the screen falls asleep while connected to a vehicle, there are repeated RC failsafe and failsafe cleared events. Messages are every second or so.

During this testing the Steam client was generating the controls and not sc-controller. This is likely a factor. Need to test with sc-controller.

This is occurring when connected to a vehicle that does not have video. When streaming video this may not occur because the screen stays awake.

To Reproduce Steps to reproduce the behavior: Connect to ardupilot vehicle Enable controls, if not enabled To hear status with the screen off enable voice commands in QGC, use a vehicle with a buzzer, or connect to ardupilot with a second GCS Wait for screen timeout to occur Repeated failsafe and failsafe cleared event should occur

Expected behavior Controls should stay functioning at all times.

Note this could meant they function when the screen is timed out or it could mean keep the screen awake.