Created
September 3, 2014 17:55
-
-
Save rpavlik/6ff7269c0d23813eae76 to your computer and use it in GitHub Desktop.
SpaceMouse (Magellan) on Linux using VRPN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# shell script - put in bin along with your vrpn server | |
exec vrpn_server -f $(cd $(dirname $0) && cd ../etc && pwd)/spacemouse.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I have a serial SpaceMouse Plus XT on my only hardware serial port | |
vrpn_Magellan Magellan0 /dev/ttyS0 9600 altreset | |
# For a good simulated wand for testing VR Juggler applications with a SpaceMouse: | |
vrpn_Tracker_AnalogFly Tracker0 60.0 differential | |
X *Magellan0 0 0.0 0.0 20.0 1 | |
Y *Magellan0 1 0.0 0.0 20.0 1 | |
Z *Magellan0 2 0.0 0.0 20.0 1 | |
RX *Magellan0 3 0.0 0.01 -5 1.0 | |
RY *Magellan0 4 0.0 0.01 -5 1.0 | |
RZ *Magellan0 5 0.0 0.01 -5 1.0 | |
RESET NULL 0 | |
CLUTCH NULL 0 | |
WORLDFRAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment