Skip to content

ISIR-SYROCO/XDE-Spacemouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDE-Spacemouse

Module to interface with a spacemouse

If prefix is not defined, install in python USER_BASE directory (~/.local by default)

Install:

Install module:

python setup.py install [--prefix=PREFIX]

Dev-mode:

Create a symlink to ./XDE-Spacemouse/src in prefix directory:

python setup.py develop [--prefix=PREFIX] [--uninstall]

Control modes:

This module provides two control modes:

  • Normal Mode: the spacemouse control a cursor
  • PDC Mode: a body is attached to the cursor with a PD Coupling

Documentation:

To build documentation:

runxde.sh setup.py build_doc [--build-dir=BUILD_DIR] [-b TARGET_BUILD]

USB permission:

In order to use the spacemouse, you need some permission to read the usb port:

First create a usb group:

sudo groupadd usb

Add yourself in it:

sudo usermod -a -G usb myusername

Add the file /etc/udev/rules.d/usb-permission.rules containing:

SUBSYSTEM=="usb", GROUP=="usb"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages