Node that publishes commands from a gamepad. More...
#include <iostream>#include "ros/ros.h"#include <signal.h>#include <atlasmv_base/AtlasmvMotionCommand.h>#include <c_atlasmv.h>#include "class_gamepad.h"#include <math.h>
Go to the source code of this file.
Functions | |
| void | GamepadDir (int value, void *userdata) | 
| void | GamepadDisconnect (int value, void *userdata) | 
| void | GamepadReverse (int value, void *parameters) | 
| void | GamepadSearch (int value, void *parameters) | 
| void | GamepadSpeed (int value, void *userdata) | 
| void | GamepadZeroSteering (int value, void *userdata) | 
| int | main (int argc, char **argv) | 
Variables | |
| atlasmv_base::AtlasmvMotionCommand | command | 
| Publisher | commandPublisher | 
| Publisher | commandPublisherPtr | 
| bool | in_reverse = false | 
| int | last_value = -32768. | 
Node that publishes commands from a gamepad.
Definition in file atlasmv_command_publisher.cpp.
| void GamepadDir | ( | int | value, | |
| void * | userdata | |||
| ) | 
Definition at line 109 of file atlasmv_command_publisher.cpp.
| void GamepadDisconnect | ( | int | value, | |
| void * | userdata | |||
| ) | 
Definition at line 137 of file atlasmv_command_publisher.cpp.
| void GamepadReverse | ( | int | value, | |
| void * | parameters | |||
| ) | 
Definition at line 99 of file atlasmv_command_publisher.cpp.
| void GamepadSearch | ( | int | value, | |
| void * | parameters | |||
| ) | 
Definition at line 53 of file atlasmv_command_publisher.cpp.
| void GamepadSpeed | ( | int | value, | |
| void * | userdata | |||
| ) | 
Definition at line 79 of file atlasmv_command_publisher.cpp.
| void GamepadZeroSteering | ( | int | value, | |
| void * | userdata | |||
| ) | 
Definition at line 128 of file atlasmv_command_publisher.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) | 
| atlasmv_base::AtlasmvMotionCommand command | 
Definition at line 46 of file atlasmv_command_publisher.cpp.
| Publisher commandPublisher | 
Definition at line 50 of file atlasmv_command_publisher.cpp.
| Publisher commandPublisherPtr | 
Definition at line 47 of file atlasmv_command_publisher.cpp.
| bool in_reverse = false | 
Definition at line 48 of file atlasmv_command_publisher.cpp.
| int last_value = -32768. | 
Definition at line 49 of file atlasmv_command_publisher.cpp.