CANBus data class. More...
#include <RL_CANData.hpp>
Public Member Functions | |
CANStruct * | getCANStruct (int index=0) |
int | getCurrrentSpeed () |
int | getBrakePedalPosition () |
int | getSteeringWheelPosition () |
CANBus data class.
int RL_CANData::getBrakePedalPosition | ( | ) |
getBrakePedalPosition function: Returns a value between 0-255 to indicate the position of the brake pedal according to the messages on the CAN
CANStruct * RL_CANData::getCANStruct | ( | int | index = 0 ) |
getCANStruct: Returns the current CANStruct with a given index.
int | index - index is between 0 .. 52. CAN_CODE can be used to find the specific code |
int RL_CANData::getCurrrentSpeed | ( | ) |
getCurrentSpeed: Returns the current speed of the test vehicle as reported on the CAN
int RL_CANData::getSteeringWheelPosition | ( | ) |
getSteeringWheelPosition function : Returns a value between 0-100 to indicate steering wheel position negative for turning left and positive for turning right @ returns int - steeringPosition