Autonomous Racing  1
f1tenth Project Group of Technical University Dortmund, Germany
joystick_controller.h File Reference
#include <ros/ros.h>
#include <algorithm>
#include <drive_msgs/drive_param.h>
#include <sensor_msgs/Joy.h>
#include <string>
#include <dynamic_reconfigure/server.h>
#include <teleoperation/joystick_controllerConfig.h>
Include dependency graph for joystick_controller.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  JoystickController
 

Variables

constexpr const char * PARAMETER_JOYSTICK_TYPE = "joystick_type"
 
constexpr const char * PARAMETER_JOYSTICK_STEERING_AXIS = "joystick_steering_axis"
 
constexpr const char * PARAMETER_JOYSTICK_ACCELERATION_AXIS = "joystick_acceleration_axis"
 
constexpr const char * PARAMETER_JOYSTICK_DECELERATION_AXIS = "joystick_deceleration_axis"
 
constexpr const char * PARAMETER_JOYSTICK_ENABLE_MANUAL_BTN = "joystick_enable_manual_button"
 
constexpr const char * PARAMETER_JOYSTICK_ENABLE_AUTONOMOUS_BTN = "joystick_enable_autonomous_button"
 
constexpr const char * TOPIC_DRIVE_PARAMETERS = "input/drive_param/joystick"
 
constexpr const char * TOPIC_HEARTBEAT_MANUAL = "/input/heartbeat_manual"
 
constexpr const char * TOPIC_HEARTBEAT_AUTONOMOUS = "/input/heartbeat_autonomous"
 
constexpr float EPSILON = 0.001
 

Variable Documentation

constexpr float EPSILON = 0.001

Definition at line 25 of file joystick_controller.h.

constexpr const char* PARAMETER_JOYSTICK_ACCELERATION_AXIS = "joystick_acceleration_axis"

Definition at line 16 of file joystick_controller.h.

constexpr const char* PARAMETER_JOYSTICK_DECELERATION_AXIS = "joystick_deceleration_axis"

Definition at line 17 of file joystick_controller.h.

constexpr const char* PARAMETER_JOYSTICK_ENABLE_AUTONOMOUS_BTN = "joystick_enable_autonomous_button"

Definition at line 19 of file joystick_controller.h.

constexpr const char* PARAMETER_JOYSTICK_ENABLE_MANUAL_BTN = "joystick_enable_manual_button"

Definition at line 18 of file joystick_controller.h.

constexpr const char* PARAMETER_JOYSTICK_STEERING_AXIS = "joystick_steering_axis"

Definition at line 15 of file joystick_controller.h.

constexpr const char* PARAMETER_JOYSTICK_TYPE = "joystick_type"

Definition at line 13 of file joystick_controller.h.

constexpr const char* TOPIC_DRIVE_PARAMETERS = "input/drive_param/joystick"

Definition at line 21 of file joystick_controller.h.

constexpr const char* TOPIC_HEARTBEAT_AUTONOMOUS = "/input/heartbeat_autonomous"

Definition at line 23 of file joystick_controller.h.

constexpr const char* TOPIC_HEARTBEAT_MANUAL = "/input/heartbeat_manual"

Definition at line 22 of file joystick_controller.h.