EEROS
0.4.1.0
API for the EEROS Real-Time Robotics Framework
|
#include <XBoxInput.hpp>
Public Member Functions | |
XBoxInput (std::string dev) | |
virtual | ~XBoxInput () |
virtual void | run () |
virtual void | setInitPos (eeros::math::Vector4 initPos) |
virtual void | setSpeedScaleFactor (double speedScale) |
void | on_button (std::function< void(int, bool)> &&action) |
Public Member Functions inherited from eeros::control::Block1o< eeros::math::Vector4 > | |
Block1o () | |
virtual Output < eeros::math::Vector4 > & | getOut () |
Public Member Functions inherited from eeros::control::Block | |
virtual void | setName (std::string name) |
virtual std::string | getName () |
Public Member Functions inherited from eeros::Runnable | |
virtual | ~Runnable () |
Public Attributes | |
double | speedScaleFactor = 1.0 |
double | xScale = 0.0001 |
double | yScale = 0.0001 |
double | zScale = 0.0001 |
double | rScale = 0.002 |
double | min_x = -0.03 |
double | max_x = 0.045 |
double | min_y = -0.03 |
double | max_y = 0.03 |
double | min_z = -0.053 |
double | max_z = -0.015 |
double | min_r = -2.8 |
double | max_r = 2.8 |
Protected Attributes | |
eeros::math::Matrix< 4, 4, double > | axisScale |
eeros::hal::Joystick | j |
std::thread * | t |
Protected Attributes inherited from eeros::control::Block1o< eeros::math::Vector4 > | |
Output< eeros::math::Vector4 > | out |
XBoxInput::XBoxInput | ( | std::string | dev | ) |
|
virtual |
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
double eeros::control::XBoxInput::max_r = 2.8 |
double eeros::control::XBoxInput::max_x = 0.045 |
double eeros::control::XBoxInput::max_y = 0.03 |
double eeros::control::XBoxInput::max_z = -0.015 |
double eeros::control::XBoxInput::min_r = -2.8 |
double eeros::control::XBoxInput::min_x = -0.03 |
double eeros::control::XBoxInput::min_y = -0.03 |
double eeros::control::XBoxInput::min_z = -0.053 |
double eeros::control::XBoxInput::rScale = 0.002 |
double eeros::control::XBoxInput::speedScaleFactor = 1.0 |
|
protected |
double eeros::control::XBoxInput::xScale = 0.0001 |
double eeros::control::XBoxInput::yScale = 0.0001 |
double eeros::control::XBoxInput::zScale = 0.0001 |