Public Member Functions | |
void | addMappingsFromFile (std::string filename) |
bool | attemptConnection () |
void | diagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat) |
const char * | getPowerLevel (SDL_Joystick *joy_handle) |
Impl () | |
double | scaleAxis (int32_t unscaled_value) |
void | timerCallback (const ros::TimerEvent &) |
~Impl () | |
Public Attributes | |
ros::Duration | connection_attempt_period |
double | deadzone |
diagnostic_updater::Updater | diag_updater |
SDL_Joystick * | joy_handle |
sensor_msgs::Joy | joy_msg |
ros::Publisher | joy_pub |
ros::Time | last_connection_attempt_time |
int | num_axes |
int | num_buttons |
int | num_joysticks |
ros::Timer | poll_timer |
Internal members of class. This is the pimpl idiom, and allows more flexibility in adding parameters later without breaking ABI compatibility, for robots which link directly to the Joystick class.
Definition at line 44 of file joystick.cpp.
Definition at line 91 of file joystick.cpp.
Definition at line 125 of file joystick.cpp.
void joystick_sdl::Joystick::Impl::addMappingsFromFile | ( | std::string | filename | ) |
Definition at line 112 of file joystick.cpp.
Definition at line 187 of file joystick.cpp.
void joystick_sdl::Joystick::Impl::diagnostics | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) |
Definition at line 243 of file joystick.cpp.
const char * joystick_sdl::Joystick::Impl::getPowerLevel | ( | SDL_Joystick * | joy_handle | ) |
Definition at line 282 of file joystick.cpp.
double joystick_sdl::Joystick::Impl::scaleAxis | ( | int32_t | unscaled_value | ) |
Definition at line 265 of file joystick.cpp.
void joystick_sdl::Joystick::Impl::timerCallback | ( | const ros::TimerEvent & | ) |
Definition at line 135 of file joystick.cpp.
Definition at line 54 of file joystick.cpp.
Definition at line 60 of file joystick.cpp.
Definition at line 58 of file joystick.cpp.
SDL_Joystick* joystick_sdl::Joystick::Impl::joy_handle |
Definition at line 63 of file joystick.cpp.
sensor_msgs::Joy joystick_sdl::Joystick::Impl::joy_msg |
Definition at line 57 of file joystick.cpp.
Definition at line 55 of file joystick.cpp.
Definition at line 53 of file joystick.cpp.
Definition at line 64 of file joystick.cpp.
Definition at line 65 of file joystick.cpp.
Definition at line 62 of file joystick.cpp.
Definition at line 56 of file joystick.cpp.