bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://docs.bluerobotics.com/ardusub-zola/software/control-station/Cockpit-1.0/overview/
Other
41 stars 18 forks source link

Controller SVG not appearing in electron app #882

Closed JoaoMario109 closed 8 hours ago

JoaoMario109 commented 2 months ago

When you clone and manually install the cockpit using bun on Windows, and run it in a browser, the controller is recognized with a default SVG, even if it's an unknown device. However, using the Windows electron app, the controller's SVG doesn't appear.

Running on chorme (Windows):

chrome

Running on electron app (Windows)

electron

Details from controller used in the test extract from gamepad tester.

controller

rafaellehmkuhl commented 2 months ago

It's not working also on Mac, and also for known controllers:

image

So I assume this is a general problem in the electron release.

rafaellehmkuhl commented 12 hours ago

Update: it seems like the SVG cannot be fetched.

image image