##

SpaceNav Class Reference

Interface to the space navigator joystick. More...

`#include <SpaceNav.hh>`

## Public Member Functions

| SpaceNav ()
| Constructor. More...
virtual | ~SpaceNav ()
| Destructor. More...
bool | Load ()
| Open the space navigator interface, and start polling. More...

## Detailed Description

Interface to the space navigator joystick.

The space nav can be configured in ~/.gazebo/gui.in with the following:

[spacenav]
deadband_x = 0.1
deadband_y = 0.1
deadband_z = 0.1
deadband_rx = 0.1
deadband_ry = 0.1
deadband_rz = 0.1
topic=~/spacenav/joy

- deadband is the threshold below which a zero value is returned
  - deadband_x : Deadband for x translation
  - deadband_y : Deadband for y translation
  - deadband_z : Deadband for z translation
  - deadband_rx : Deadband for x-axis rotation
  - deadband_ry : Deadband for y-axis rotation
  - deadband_rz : Deadband for z-axis rotation
- topic is the name of the topic on which joystick messages are published.

## Constructor & Destructor Documentation

## SpaceNav()

SpaceNav | ( |  | ) |

Constructor.

## ~SpaceNav()

virtual ~SpaceNav | ( |  | ) |

virtual

Destructor.

## Member Function Documentation

## Load()

bool Load | ( |  | ) |

Open the space navigator interface, and start polling.

Returns
  True if the space navigator was successfully opened, or when the space navigator 3rd party library is not installed. False otherwise.

The documentation for this class was generated from the following file:

- SpaceNav.hh