#include <hydra.h>
Public Member Functions | |
bool | init (const char *device) |
bool | poll (uint32_t ms_to_wait, float low_pass_corner_hz=5.0) |
RazerHydra () | |
~RazerHydra () | |
Public Attributes | |
float | analog [6] |
uint8_t | buttons [14] |
OnePoleVector3 | filter_pos [2] |
OnePoleQuaternion | filter_quat [2] |
int | hidraw_fd |
ros::WallTime | last_cycle_start |
OnePole< float > | period_estimate |
tf::Vector3 | pos [2] |
tf::Quaternion | quat [2] |
int16_t | raw_analog [6] |
uint8_t | raw_buttons [2] |
int16_t | raw_pos [6] |
int16_t | raw_quat [8] |
bool razer_hydra::RazerHydra::init | ( | const char * | device | ) |
bool razer_hydra::RazerHydra::poll | ( | uint32_t | ms_to_wait, |
float | low_pass_corner_hz = 5.0 |
||
) |
float razer_hydra::RazerHydra::analog[6] |
uint8_t razer_hydra::RazerHydra::buttons[14] |
tf::Vector3 razer_hydra::RazerHydra::pos[2] |
int16_t razer_hydra::RazerHydra::raw_analog[6] |
uint8_t razer_hydra::RazerHydra::raw_buttons[2] |
int16_t razer_hydra::RazerHydra::raw_pos[6] |
int16_t razer_hydra::RazerHydra::raw_quat[8] |