Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 947 Bytes

readme.md

File metadata and controls

29 lines (16 loc) · 947 Bytes

Websockets exposer for the spacenav driver

This is a work in progress service that is supposed to make Onshape work with spacenav.

FreeSpacenav/spacenavd

FreeSpacenav/spacenavd#30

Deploy

Install deps

Docker and Docker Compose

Self-signed certificates

You can import the nginx/certs/nginx-selfsigned.crt as a trusted cert or use your own - just replace the crt and key in nginx/certs.

If you don't want to add the trusted cert, you can head to https://127.51.68.120:8181 and manually accept/bypass the self-signed cert. After completing this the websocket connections should work.

Run

docker-compose up

open https://127.51.68.120:8181/test and toggle your SpaceMouse.

The example https://3dconnexion.com/technical_support/web_threejs.html will also connect but will not move the piramid (since the WS payloads need to be figured out).