Installation
$ sudo apt install spacenavd $ sudo apt install ros-indigo-spacenav-node
Usage
$ roslaunch spacenav_node classic.launch
Supported Hardware
This package should support any hardware that is supported by the upstream spacenav package.
API Stability
This package's API is expected to be stable.
Nodes
spacenav_node
spacenav_node provides output from the spacenav driver over ROS.Published Topics
spacenav/offset (geometry_msgs/Vector3)- Publishes the linear component of the joystick's position. Approximately normalized to a range of -1 to 1.
- Publishes the angular component of the joystick's position. Approximately normalized to a range of -1 to 1.
- Combines offset and rot_offset into a single message.
- Outputs the spacenav's six degrees of freedom and its buttons as a joystick message.