Public Member Functions | Private Attributes
labust::control::JoystickMapping Struct Reference

#include <ManControl.hpp>

List of all members.

Public Member Functions

 JoystickMapping ()
void remap (const sensor_msgs::Joy &joy, Eigen::Vector6d &mapped)

Private Attributes

Eigen::Vector6i axes_map
Eigen::Vector6d scale_map

Detailed Description

The class performs joystick mappings from received axes to regular tau axes. Tau axes are defined as (X,Y,Z,K,M,N). Joystick axes are defined as: (1-n) where n is the maximum axis number. The mapping is a row vector (1x6) (joystick_mapping/axes_map) that has the desired axis defined in the according place of the tau axis. For disabled axis define the axis number -1. The scaling is defined in (joystick_mapping/scale_map) as a desired double number.

Deprecated:

Definition at line 67 of file ManControl.hpp.


Constructor & Destructor Documentation

Main constructor.

Definition at line 73 of file ManControl.hpp.


Member Function Documentation

void labust::control::JoystickMapping::remap ( const sensor_msgs::Joy &  joy,
Eigen::Vector6d mapped 
) [inline]

Definition at line 93 of file ManControl.hpp.


Member Data Documentation

Definition at line 106 of file ManControl.hpp.

Definition at line 107 of file ManControl.hpp.


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


labust_control
Author(s): Gyula Nagy
autogenerated on Fri Aug 28 2015 11:22:42