Skip to content

timblakely/spacenav-ws

 
 

Repository files navigation

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).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.6%
  • HTML 9.1%
  • Dockerfile 4.3%