Public Member Functions | List of all members
gazebo::gui::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

Constructor & Destructor Documentation

gazebo::gui::SpaceNav::SpaceNav ( )

Constructor.

virtual gazebo::gui::SpaceNav::~SpaceNav ( )
virtual

Destructor.

Member Function Documentation

bool gazebo::gui::SpaceNav::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: