Classes | Enumerations | Functions | Variables
dbw_fca_can Namespace Reference

Classes

class  DbwNode
 
class  DbwNodelet
 
class  ModuleVersion
 
struct  MsgBrakeCmd
 
struct  MsgBrakeReport
 
struct  MsgGearCmd
 
struct  MsgGearReport
 
struct  MsgLicense
 
struct  MsgMisc2Report
 
struct  MsgMiscCmd
 
struct  MsgMiscReport
 
struct  MsgReportAccel
 
struct  MsgReportBrakeInfo
 
struct  MsgReportFuelLevel
 
struct  MsgReportGps1
 
struct  MsgReportGps2
 
struct  MsgReportGps3
 
struct  MsgReportGyro
 
struct  MsgReportThrottleInfo
 
struct  MsgReportTirePressure
 
struct  MsgReportWheelPosition
 
struct  MsgReportWheelSpeed
 
struct  MsgSteeringCmd
 
struct  MsgSteeringReport
 
struct  MsgThrottleCmd
 
struct  MsgThrottleReport
 
struct  MsgVersion
 
class  PlatformMap
 
class  PlatformVersion
 

Enumerations

enum  {
  ID_BRAKE_CMD = 0x060, ID_BRAKE_REPORT = 0x061, ID_THROTTLE_CMD = 0x062, ID_THROTTLE_REPORT = 0x063,
  ID_STEERING_CMD = 0x064, ID_STEERING_REPORT = 0x065, ID_GEAR_CMD = 0x066, ID_GEAR_REPORT = 0x067,
  ID_MISC_CMD = 0x068, ID_MISC_REPORT = 0x069, ID_REPORT_WHEEL_SPEED = 0x06A, ID_REPORT_ACCEL = 0x06B,
  ID_REPORT_GYRO = 0x06C, ID_REPORT_GPS1 = 0x06D, ID_REPORT_GPS2 = 0x06E, ID_REPORT_GPS3 = 0x06F,
  ID_REPORT_WHEEL_POSITION = 0x070, ID_REPORT_TIRE_PRESSURE = 0x071, ID_REPORT_FUEL_LEVEL = 0x072, ID_REPORT_BRAKE_INFO = 0x074,
  ID_REPORT_THROTTLE_INFO = 0x075, ID_MISC2_REPORT = 0x07A, ID_LICENSE = 0x07E, ID_VERSION = 0x07F
}
 
enum  LicenseMux {
  LIC_MUX_F0 = 0x00, LIC_MUX_F1 = 0x01, LIC_MUX_F2 = 0x02, LIC_MUX_F3 = 0x03,
  LIC_MUX_F4 = 0x04, LIC_MUX_F5 = 0x05, LIC_MUX_F6 = 0x06, LIC_MUX_F7 = 0x07,
  LIC_MUX_LDATE0 = 0x41, LIC_MUX_LDATE1 = 0x42, LIC_MUX_MAC = 0x80, LIC_MUX_BDATE0 = 0x81,
  LIC_MUX_BDATE1 = 0x82, LIC_MUX_VIN0 = 0x83, LIC_MUX_VIN1 = 0x84, LIC_MUX_VIN2 = 0x85
}
 
enum  Module {
  M_BPEC = 1, M_TPEC = 2, M_STEER = 3, M_SHIFT = 4,
  M_ABS = 5, M_BOO = 6, M_EPS = 7
}
 
enum  Platform {
  P_FORD_CD4 = 0x00, P_FORD_P5 = 0x01, P_FORD_C1 = 0x02, P_FORD_T6 = 0x03,
  P_FORD_U6 = 0x04, P_FORD_CD5 = 0x05, P_FCA_RU = 0x10, P_FCA_WK2 = 0x11,
  P_POLARIS_GEM = 0x80, P_POLARIS_RZR = 0x81
}
 

Functions

static float brakePedalFromPercent (float percent)
 
static float brakePedalFromTorque (float torque)
 
static float brakeTorqueFromPedal (float pedal)
 
static void dispatchAssertSizes ()
 
static const char * moduleToString (Module x)
 
static bool operator!= (const PlatformVersion &x, const PlatformMap &map)
 
static bool operator!= (const PlatformVersion &x, const ModuleVersion &y)
 
static bool operator< (const PlatformVersion &x, const PlatformMap &map)
 
static bool operator< (const PlatformVersion &x, const ModuleVersion &y)
 
static bool operator<= (const PlatformVersion &x, const PlatformMap &map)
 
static bool operator<= (const PlatformVersion &x, const ModuleVersion &y)
 
static bool operator== (const PlatformVersion &x, const PlatformMap &map)
 
static bool operator== (const PlatformVersion &x, const ModuleVersion &y)
 
static bool operator> (const PlatformVersion &x, const PlatformMap &map)
 
static bool operator> (const PlatformVersion &x, const ModuleVersion &y)
 
static bool operator>= (const PlatformVersion &x, const PlatformMap &map)
 
static bool operator>= (const PlatformVersion &x, const ModuleVersion &y)
 
static const char * platformToString (Platform x)
 
static float throttlePedalFromPercent (float percent)
 
static float throttlePercentFromPedal (float pedal)
 

Variables

struct {
   float   dbw_fca_can::pedal
 
   float   dbw_fca_can::torque
 
BRAKE_TABLE []
 
PlatformMap FIRMWARE_HIGH_RATE_LIMIT ({{PlatformVersion(P_FCA_RU, M_STEER, ModuleVersion(1, 1, 0))},{PlatformVersion(P_FCA_WK2, M_STEER, ModuleVersion(0, 2, 0))},})
 
PlatformMap FIRMWARE_LATEST ({{PlatformVersion(P_FCA_RU, M_BPEC, ModuleVersion(1, 4, 2))},{PlatformVersion(P_FCA_RU, M_TPEC, ModuleVersion(1, 4, 2))},{PlatformVersion(P_FCA_RU, M_STEER, ModuleVersion(1, 4, 2))},{PlatformVersion(P_FCA_RU, M_SHIFT, ModuleVersion(1, 4, 2))},{PlatformVersion(P_FCA_WK2, M_TPEC, ModuleVersion(1, 2, 2))},{PlatformVersion(P_FCA_WK2, M_STEER, ModuleVersion(1, 2, 2))},{PlatformVersion(P_FCA_WK2, M_SHIFT, ModuleVersion(1, 2, 2))},{PlatformVersion(P_FCA_WK2, M_ABS, ModuleVersion(1, 2, 2))},})
 
struct {
   float   dbw_fca_can::pedal
 
   float   dbw_fca_can::percent
 
THROTTLE_TABLE []
 

Enumeration Type Documentation

anonymous enum
Enumerator
ID_BRAKE_CMD 
ID_BRAKE_REPORT 
ID_THROTTLE_CMD 
ID_THROTTLE_REPORT 
ID_STEERING_CMD 
ID_STEERING_REPORT 
ID_GEAR_CMD 
ID_GEAR_REPORT 
ID_MISC_CMD 
ID_MISC_REPORT 
ID_REPORT_WHEEL_SPEED 
ID_REPORT_ACCEL 
ID_REPORT_GYRO 
ID_REPORT_GPS1 
ID_REPORT_GPS2 
ID_REPORT_GPS3 
ID_REPORT_WHEEL_POSITION 
ID_REPORT_TIRE_PRESSURE 
ID_REPORT_FUEL_LEVEL 
ID_REPORT_BRAKE_INFO 
ID_REPORT_THROTTLE_INFO 
ID_MISC2_REPORT 
ID_LICENSE 
ID_VERSION 

Definition at line 480 of file dispatch.h.

Enumerator
LIC_MUX_F0 
LIC_MUX_F1 
LIC_MUX_F2 
LIC_MUX_F3 
LIC_MUX_F4 
LIC_MUX_F5 
LIC_MUX_F6 
LIC_MUX_F7 
LIC_MUX_LDATE0 
LIC_MUX_LDATE1 
LIC_MUX_MAC 
LIC_MUX_BDATE0 
LIC_MUX_BDATE1 
LIC_MUX_VIN0 
LIC_MUX_VIN1 
LIC_MUX_VIN2 

Definition at line 342 of file dispatch.h.

Enumerator
M_BPEC 
M_TPEC 
M_STEER 
M_SHIFT 
M_ABS 
M_BOO 
M_EPS 

Definition at line 59 of file PlatformVersion.h.

Enumerator
P_FORD_CD4 
P_FORD_P5 
P_FORD_C1 
P_FORD_T6 
P_FORD_U6 
P_FORD_CD5 
P_FCA_RU 
P_FCA_WK2 
P_POLARIS_GEM 
P_POLARIS_RZR 

Definition at line 45 of file PlatformVersion.h.

Function Documentation

static float dbw_fca_can::brakePedalFromPercent ( float  percent)
inlinestatic

Definition at line 111 of file pedal_lut.h.

static float dbw_fca_can::brakePedalFromTorque ( float  torque)
inlinestatic

Definition at line 88 of file pedal_lut.h.

static float dbw_fca_can::brakeTorqueFromPedal ( float  pedal)
inlinestatic

Definition at line 65 of file pedal_lut.h.

static void dbw_fca_can::dispatchAssertSizes ( )
static

Definition at line 452 of file dispatch.h.

static const char* dbw_fca_can::moduleToString ( Module  x)
static

Definition at line 85 of file PlatformVersion.h.

static bool dbw_fca_can::operator!= ( const PlatformVersion x,
const PlatformMap map 
)
static

Definition at line 114 of file PlatformMap.h.

static bool dbw_fca_can::operator!= ( const PlatformVersion x,
const ModuleVersion y 
)
static

Definition at line 117 of file PlatformVersion.h.

static bool dbw_fca_can::operator< ( const PlatformVersion x,
const PlatformMap map 
)
static

Definition at line 109 of file PlatformMap.h.

static bool dbw_fca_can::operator< ( const PlatformVersion x,
const ModuleVersion y 
)
static

Definition at line 112 of file PlatformVersion.h.

static bool dbw_fca_can::operator<= ( const PlatformVersion x,
const PlatformMap map 
)
static

Definition at line 111 of file PlatformMap.h.

static bool dbw_fca_can::operator<= ( const PlatformVersion x,
const ModuleVersion y 
)
static

Definition at line 114 of file PlatformVersion.h.

static bool dbw_fca_can::operator== ( const PlatformVersion x,
const PlatformMap map 
)
static

Definition at line 113 of file PlatformMap.h.

static bool dbw_fca_can::operator== ( const PlatformVersion x,
const ModuleVersion y 
)
static

Definition at line 116 of file PlatformVersion.h.

static bool dbw_fca_can::operator> ( const PlatformVersion x,
const PlatformMap map 
)
static

Definition at line 110 of file PlatformMap.h.

static bool dbw_fca_can::operator> ( const PlatformVersion x,
const ModuleVersion y 
)
static

Definition at line 113 of file PlatformVersion.h.

static bool dbw_fca_can::operator>= ( const PlatformVersion x,
const PlatformMap map 
)
static

Definition at line 112 of file PlatformMap.h.

static bool dbw_fca_can::operator>= ( const PlatformVersion x,
const ModuleVersion y 
)
static

Definition at line 115 of file PlatformVersion.h.

static const char* dbw_fca_can::platformToString ( Platform  x)
static

Definition at line 69 of file PlatformVersion.h.

static float dbw_fca_can::throttlePedalFromPercent ( float  percent)
inlinestatic

Definition at line 115 of file pedal_lut.h.

static float dbw_fca_can::throttlePercentFromPedal ( float  pedal)
inlinestatic

Definition at line 139 of file pedal_lut.h.

Variable Documentation

const { ... } dbw_fca_can::BRAKE_TABLE[]
Initial value:
= {
{0.150, 0},
{0.166, 0},
{0.168, 4},
{0.200, 56},
{0.225, 194},
{0.250, 456},
{0.300, 1312},
{0.350, 2352},
{0.400, 3716},
{0.434, 4740},
{0.566, 6888},
{0.600, 6888},
}
PlatformMap dbw_fca_can::FIRMWARE_HIGH_RATE_LIMIT({{PlatformVersion(P_FCA_RU,M_STEER, ModuleVersion(1, 1, 0))},{PlatformVersion(P_FCA_WK2, M_STEER, ModuleVersion(0, 2, 0))},})
float dbw_fca_can::pedal

Definition at line 42 of file pedal_lut.h.

float dbw_fca_can::percent

Definition at line 57 of file pedal_lut.h.

const { ... } dbw_fca_can::THROTTLE_TABLE[]
Initial value:
= {
{0.080, 0.000},
{0.114, 0.001},
{0.497, 0.500},
{0.890, 0.998},
{0.892, 1.000},
}
float dbw_fca_can::torque

Definition at line 42 of file pedal_lut.h.



dbw_fca_can
Author(s): Kevin Hallenbeck
autogenerated on Wed May 12 2021 02:14:05