#include <joystick_handler.h>
Public Types | |
typedef boost::shared_ptr < JoystickInputHandle > | ConstPtr |
typedef boost::shared_ptr < JoystickInputHandle > | Ptr |
Public Member Functions | |
virtual double | getValue () const |
virtual bool | isPressed () const |
virtual void | joyCallback (const sensor_msgs::Joy::ConstPtr &joy_msg)=0 |
JoystickInputHandle (double thresh=1.0) | |
Protected Attributes | |
double | thresh_ |
double | val_ |
Definition at line 43 of file joystick_handler.h.
typedef boost::shared_ptr<JoystickInputHandle> vigir_footstep_planning::JoystickInputHandle::ConstPtr |
Definition at line 57 of file joystick_handler.h.
typedef boost::shared_ptr<JoystickInputHandle> vigir_footstep_planning::JoystickInputHandle::Ptr |
Definition at line 56 of file joystick_handler.h.
vigir_footstep_planning::JoystickInputHandle::JoystickInputHandle | ( | double | thresh = 1.0 | ) | [inline] |
Definition at line 46 of file joystick_handler.h.
virtual double vigir_footstep_planning::JoystickInputHandle::getValue | ( | ) | const [inline, virtual] |
Definition at line 53 of file joystick_handler.h.
virtual bool vigir_footstep_planning::JoystickInputHandle::isPressed | ( | ) | const [inline, virtual] |
Reimplemented in vigir_footstep_planning::JoystickAxis.
Definition at line 54 of file joystick_handler.h.
virtual void vigir_footstep_planning::JoystickInputHandle::joyCallback | ( | const sensor_msgs::Joy::ConstPtr & | joy_msg | ) | [pure virtual] |
Implemented in vigir_footstep_planning::JoystickAxis, and vigir_footstep_planning::JoystickButton.
double vigir_footstep_planning::JoystickInputHandle::thresh_ [protected] |
Definition at line 61 of file joystick_handler.h.
double vigir_footstep_planning::JoystickInputHandle::val_ [protected] |
Definition at line 60 of file joystick_handler.h.