EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
eeros::control::MouseInput Class Reference

#include <MouseInput.hpp>

Inheritance diagram for eeros::control::MouseInput:
Collaboration diagram for eeros::control::MouseInput:

Public Member Functions

 MouseInput (std::string dev)
 
virtual ~MouseInput ()
 
eeros::control::Output< double > & getOutX ()
 
eeros::control::Output< double > & getOutY ()
 
eeros::control::Output< double > & getOutZ ()
 
eeros::control::Output< double > & getOutR ()
 
eeros::control::Output
< eeros::math::Matrix< 4 > > & 
getOut ()
 
virtual void run ()
 
virtual void setInitPos (double x, double y, double z, double r)
 
virtual void setInitPos (eeros::math::Matrix< 4 > pos)
 
virtual void reset (double x, double y, double z, double r)
 
- 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 axisScale_x = 0.0001
 
double axisScale_y = 0.0001
 
double axisScale_z = 0.001
 
double axisScale_r = 0.2
 
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
 
eeros::hal::Mouse j
 

Protected Attributes

eeros::control::Output< double > outX
 
eeros::control::Output< double > outY
 
eeros::control::Output< double > outZ
 
eeros::control::Output< double > outR
 
eeros::control::Output
< eeros::math::Matrix< 4 > > 
out
 
double x
 
double y
 
double z
 
double r
 
bool first
 
std::thread * t
 

Constructor & Destructor Documentation

MouseInput::MouseInput ( std::string  dev)

Here is the call graph for this function:

MouseInput::~MouseInput ( )
virtual

Here is the call graph for this function:

Member Function Documentation

eeros::control::Output< eeros::math::Matrix< 4 > > & MouseInput::getOut ( )
Output< double > & MouseInput::getOutR ( )
Output< double > & MouseInput::getOutX ( )
Output< double > & MouseInput::getOutY ( )
Output< double > & MouseInput::getOutZ ( )
void MouseInput::reset ( double  x,
double  y,
double  z,
double  r 
)
virtual

Here is the caller graph for this function:

void MouseInput::run ( )
virtual

Implements eeros::Runnable.

Here is the call graph for this function:

void MouseInput::setInitPos ( double  x,
double  y,
double  z,
double  r 
)
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void MouseInput::setInitPos ( eeros::math::Matrix< 4 >  pos)
virtual

Here is the call graph for this function:

Member Data Documentation

double eeros::control::MouseInput::axisScale_r = 0.2
double eeros::control::MouseInput::axisScale_x = 0.0001
double eeros::control::MouseInput::axisScale_y = 0.0001
double eeros::control::MouseInput::axisScale_z = 0.001
bool eeros::control::MouseInput::first
protected
eeros::hal::Mouse eeros::control::MouseInput::j
double eeros::control::MouseInput::max_r = 2.8
double eeros::control::MouseInput::max_x = 0.045
double eeros::control::MouseInput::max_y = 0.03
double eeros::control::MouseInput::max_z = -0.015
double eeros::control::MouseInput::min_r = -2.8
double eeros::control::MouseInput::min_x = -0.03
double eeros::control::MouseInput::min_y = -0.03
double eeros::control::MouseInput::min_z = -0.053
eeros::control::Output<eeros::math::Matrix<4> > eeros::control::MouseInput::out
protected
eeros::control::Output<double> eeros::control::MouseInput::outR
protected
eeros::control::Output<double> eeros::control::MouseInput::outX
protected
eeros::control::Output<double> eeros::control::MouseInput::outY
protected
eeros::control::Output<double> eeros::control::MouseInput::outZ
protected
double eeros::control::MouseInput::r
protected
std::thread* eeros::control::MouseInput::t
protected
double eeros::control::MouseInput::x
protected
double eeros::control::MouseInput::y
protected
double eeros::control::MouseInput::z
protected

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