When I try to run controller_pc after running flight, we are able to establish the sockets across 2020 and 2021 (not 2022, for microphone, which periodically prints "Socket ( 2022 ) connect error : Connection refused" in the controller_pc shell. I think this is not a problem, just documenting what we observed.).
I actually had to comment out the instantiation of hud = HUD{} line in config.lua in order to avoid an error: libpng: Not a PNG file. This libpng error had also caused the whole program to crash, so I had to comment out the instantiation and the calls to the hud:ShowImage() and hud:HideImage() methods in the config.lua script. I was wondering if the HUD not showing is somehow related to the stream also not showing? Maybe a black overlay covering the video feed or something?
I'm not sure what else could cause the black video feed, but I'm happy it seems like everything is connecting well!
When running flight, we get successful latency and telemetry updates (zero'd out ones, which is expected since we are just on the IO board right now), and both applications run without error, but for some reason the display remains black on controller_pc. I tried clicking "Start" under Record, and "Take picture" under Still picture, and no errors occured, but no feedback about why the screen could be black. I tried turning up the brightness too, but it didn't change
Attached outputs are when running sudo ./flight on the CM4 and ./controller_pc on my laptop. I also attached my current config.lua file HERE. If you have the time to take a look -- much appreciated! no rush though




When I try to run
controller_pcafter runningflight, we are able to establish the sockets across 2020 and 2021 (not 2022, for microphone, which periodically prints "Socket ( 2022 ) connect error : Connection refused" in thecontroller_pcshell. I think this is not a problem, just documenting what we observed.).I actually had to comment out the instantiation of
hud = HUD{}line inconfig.luain order to avoid an error:libpng: Not a PNG file. This libpng error had also caused the whole program to crash, so I had to comment out the instantiation and the calls to thehud:ShowImage()andhud:HideImage()methods in the config.lua script. I was wondering if the HUD not showing is somehow related to the stream also not showing? Maybe a black overlay covering the video feed or something?I'm not sure what else could cause the black video feed, but I'm happy it seems like everything is connecting well!
When running
flight, we get successful latency and telemetry updates (zero'd out ones, which is expected since we are just on the IO board right now), and both applications run without error, but for some reason the display remains black oncontroller_pc. I tried clicking "Start" under Record, and "Take picture" under Still picture, and no errors occured, but no feedback about why the screen could be black. I tried turning up the brightness too, but it didn't changeAttached outputs are when running
sudo ./flighton the CM4 and./controller_pcon my laptop. I also attached my current config.lua file HERE. If you have the time to take a look -- much appreciated! no rush though