Classes | Macros | Functions
rbcar_pad.cpp File Reference
#include <ros/ros.h>
#include <sensor_msgs/Joy.h>
#include <geometry_msgs/Twist.h>
#include <std_msgs/Int32.h>
#include <unistd.h>
#include <vector>
#include <robotnik_msgs/enable_disable.h>
#include <robotnik_msgs/set_digital_output.h>
#include "diagnostic_msgs/DiagnosticStatus.h"
#include "diagnostic_updater/diagnostic_updater.h"
#include "diagnostic_updater/update_functions.h"
#include "diagnostic_updater/DiagnosticStatusWrapper.h"
#include "diagnostic_updater/publisher.h"
#include "ackermann_msgs/AckermannDriveStamped.h"
#include <std_srvs/Empty.h>
#include "robotnik_msgs/set_mode.h"
#include "robotnik_msgs/get_mode.h"
Include dependency graph for rbcar_pad.cpp:

Go to the source code of this file.

Classes

class  Button
 Class to save the state of the buttons. More...
 
class  RbcarPad
 

Macros

#define DEFAULT_AXIS_ANGULAR   2
 
#define DEFAULT_AXIS_LINEAR_X   1
 
#define DEFAULT_HZ   50.0
 
#define DEFAULT_JOY   "/joy"
 
#define DEFAULT_MAX_ANGULAR_POSITION   0.5
 
#define DEFAULT_MAX_LINEAR_SPEED   3.0
 
#define DEFAULT_NUM_OF_AXES   8
 
#define DEFAULT_NUM_OF_BUTTONS   16
 
#define DEFAULT_SCALE_ANGULAR   1.0
 
#define DEFAULT_SCALE_LINEAR   1.0
 
#define MAX_NUM_OF_AXES   8
 
#define MAX_NUM_OF_AXES_PS3   20
 
#define MAX_NUM_OF_BUTTONS   16
 
#define MAX_NUM_OF_BUTTONS_PS3   19
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

#define DEFAULT_AXIS_ANGULAR   2

Definition at line 64 of file rbcar_pad.cpp.

#define DEFAULT_AXIS_LINEAR_X   1

Definition at line 63 of file rbcar_pad.cpp.

#define DEFAULT_HZ   50.0

Definition at line 69 of file rbcar_pad.cpp.

#define DEFAULT_JOY   "/joy"

Definition at line 68 of file rbcar_pad.cpp.

#define DEFAULT_MAX_ANGULAR_POSITION   0.5

Definition at line 53 of file rbcar_pad.cpp.

#define DEFAULT_MAX_LINEAR_SPEED   3.0

Definition at line 52 of file rbcar_pad.cpp.

#define DEFAULT_NUM_OF_AXES   8

Definition at line 61 of file rbcar_pad.cpp.

#define DEFAULT_NUM_OF_BUTTONS   16

Definition at line 60 of file rbcar_pad.cpp.

#define DEFAULT_SCALE_ANGULAR   1.0

Definition at line 66 of file rbcar_pad.cpp.

#define DEFAULT_SCALE_LINEAR   1.0

Definition at line 65 of file rbcar_pad.cpp.

#define MAX_NUM_OF_AXES   8

Definition at line 56 of file rbcar_pad.cpp.

#define MAX_NUM_OF_AXES_PS3   20

Definition at line 58 of file rbcar_pad.cpp.

#define MAX_NUM_OF_BUTTONS   16

Definition at line 55 of file rbcar_pad.cpp.

#define MAX_NUM_OF_BUTTONS_PS3   19

Definition at line 57 of file rbcar_pad.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 427 of file rbcar_pad.cpp.



rbcar_pad
Author(s): Román Navarro
autogenerated on Wed Jun 17 2020 04:17:48