Autonomous Racing  1
f1tenth Project Group of Technical University Dortmund, Germany
VESCSimulationDriver Class Reference

Class to convert Drive Parameter Messages into single messages. More...

#include <vesc_sim_driver.h>

Public Member Functions

 VESCSimulationDriver ()
 Constructor that creates subscribers and publishers. More...
 
void motorSpeedCallback (const std_msgs::Float64::ConstPtr &throttle_message)
 Callback for ROS Subscriber. More...
 
void servoPositionCallback (const std_msgs::Float64::ConstPtr &servo_position)
 Callback for ROS Subscriber. More...
 
void motorBrakeCallback (const std_msgs::Float64::ConstPtr &motor_brake)
 Callback for ROS Subscriber. More...
 

Detailed Description

Class to convert Drive Parameter Messages into single messages.

Class to convert Drive Parameter Messages (steering angle and velocity) into single messages for each wheel velocity and for front wheel steering angles based on Ackermann equations.

Definition at line 33 of file vesc_sim_driver.h.

Constructor & Destructor Documentation

VESCSimulationDriver::VESCSimulationDriver ( )

Constructor that creates subscribers and publishers.

Definition at line 5 of file vesc_sim_driver.cpp.

Here is the call graph for this function:

Member Function Documentation

void VESCSimulationDriver::motorBrakeCallback ( const std_msgs::Float64::ConstPtr &  motor_brake)

Callback for ROS Subscriber.

Parameters
motor_brake

Definition at line 49 of file vesc_sim_driver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void VESCSimulationDriver::motorSpeedCallback ( const std_msgs::Float64::ConstPtr &  throttle_message)

Callback for ROS Subscriber.

Parameters
motor_speedcontains electrical RPM

Definition at line 36 of file vesc_sim_driver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void VESCSimulationDriver::servoPositionCallback ( const std_msgs::Float64::ConstPtr &  servo_position)

Callback for ROS Subscriber.

Parameters
servo_positioncontains angle with value 0 upto 1

Definition at line 65 of file vesc_sim_driver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: