digital-dream-labs / vector-web-setup

Tool to perform initial configuration of Vector robots.
MIT License
65 stars 57 forks source link

Raspi #30

Open DarthVector17 opened 3 years ago

DarthVector17 commented 3 years ago

I’m seeing that this will only work with Google Chrome. Will there be any way to get this working on a RaspberryPi? Google Chrome isn’t compatible and I’ll be running my escape pod on the raspi, as DDL has stated that it would be able to.

grant-olson commented 3 years ago

I haven't tested but I would expecte the unbranded Chromium included with the Raspberry pi to work as well.

Longer term the solution would be that the Escape Pod would have its own https certificates and custom CORS authorizations,and this will remove the current limitation that only allows the application to work over the localhost domain.

On 9/17/20 12:57 AM, DarthVector17 wrote:

I’m seeing that this will only work with Google Chrome. Will there be any way to get this working on a RaspberryPi? That’s how I’ll be running my escape pod.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/digital-dream-labs/vector-web-setup/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB6OIE4C66TW6LSW7UUKETSGGJMHANCNFSM4RP23FFA.

kercre123 commented 3 years ago

Chromium should work. Make sure to go to chrome://flags then enable "Experimental Web Platform Features", as Web Bluetooth is still experimental on Linux.

DarthVector17 commented 3 years ago

I enabled the experimental web platform features, but I’m still having trouble. I’m getting “there was an error loading the settings.json file,” or “err_connection_refused.” This is my first Pi and I’m not super savvy with all of this. Any help would be greatly appreciated!

Hikocapic commented 3 years ago

On pi3b+ and pi4, raspios-buster-armhf-full image (2020-08-20), Chromium with "Experimental Web Platform Features" enabled, first step working for me. It works with "localhost:8000", not with "xxx.xxx.xxx.xxx:8000".

But I'm stuck on bluetooth pairing. Vector is in the list of detected devices, but when I click on pair button, instructions and pairing button dissapear on Vector web setup, bluetooth icon blink. Vector robot stay on ###### screen pairing. No error on console. I retry, Vector is detected as "paired" in bt devices list, click on pair again, but same problem.

Hikocapic commented 3 years ago

Setup Complete on Pi3b+ and Pi4. Before clicking "pair with vector", click on bt icon in the taskbar and "add new device". Leave this window open without do anything, then click "pair with vector" on the web-setup and pair success.