Classes | Enumerations | Functions | Variables
dbw_mkz_can Namespace Reference

Classes

class  DbwNode
class  DbwNodelet
class  ModuleVersion
struct  MsgBrakeCmd
struct  MsgBrakeReport
struct  MsgGearCmd
struct  MsgGearReport
struct  MsgLicense
struct  MsgMiscReport
struct  MsgReportAccel
struct  MsgReportBrakeInfo
struct  MsgReportDriverAssist
struct  MsgReportFuelLevel
struct  MsgReportGps1
struct  MsgReportGps2
struct  MsgReportGps3
struct  MsgReportGyro
struct  MsgReportSurround
struct  MsgReportThrottleInfo
struct  MsgReportTirePressure
struct  MsgReportWheelPosition
struct  MsgReportWheelSpeed
struct  MsgSteeringCmd
struct  MsgSteeringReport
struct  MsgThrottleCmd
struct  MsgThrottleReport
struct  MsgTurnSignalCmd
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_SURROUND = 0x073,
  ID_REPORT_BRAKE_INFO = 0x074, ID_REPORT_THROTTLE_INFO = 0x075, ID_REPORT_DRIVER_ASSIST = 0x079, ID_LICENSE = 0x07E,
  ID_VERSION = 0x07F
}
enum  LicenseMux {
  LIC_MUX_F0 = 0x00, LIC_MUX_MAC = 0x80, LIC_MUX_DATE0 = 0x81, LIC_MUX_DATE1 = 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_FCA_RU = 0x10,
  P_FCA_WK2 = 0x11
}

Functions

static float brakePedalFromPercent (float percent)
static float brakePedalFromTorque (float torque)
static float brakeTorqueFromPedal (float pedal)
static void dispatchAssertSizes ()
PlatformMap FIRMWARE_CMDTYPE ({{PlatformVersion(P_FORD_CD4, M_BPEC, ModuleVersion(2, 0, 7))},{PlatformVersion(P_FORD_CD4, M_TPEC, ModuleVersion(2, 0, 7))},})
PlatformMap FIRMWARE_HIGH_RATE_LIMIT ({{PlatformVersion(P_FORD_CD4, M_STEER, ModuleVersion(2, 2, 0))},{PlatformVersion(P_FORD_P5, M_STEER, ModuleVersion(1, 1, 0))},})
PlatformMap FIRMWARE_LATEST ({{PlatformVersion(P_FORD_CD4, M_BPEC, ModuleVersion(2, 1, 2))},{PlatformVersion(P_FORD_CD4, M_TPEC, ModuleVersion(2, 1, 2))},{PlatformVersion(P_FORD_CD4, M_STEER, ModuleVersion(2, 1, 2))},{PlatformVersion(P_FORD_CD4, M_SHIFT, ModuleVersion(2, 1, 2))},{PlatformVersion(P_FORD_P5, M_TPEC, ModuleVersion(1, 0, 2))},{PlatformVersion(P_FORD_P5, M_STEER, ModuleVersion(1, 0, 2))},{PlatformVersion(P_FORD_P5, M_SHIFT, ModuleVersion(1, 0, 2))},{PlatformVersion(P_FORD_P5, M_ABS, ModuleVersion(1, 0, 2))},{PlatformVersion(P_FORD_P5, M_BOO, ModuleVersion(1, 0, 2))},{PlatformVersion(P_FORD_C1, M_TPEC, ModuleVersion(0, 0, 1))},{PlatformVersion(P_FORD_C1, M_STEER, ModuleVersion(0, 0, 1))},{PlatformVersion(P_FORD_C1, M_SHIFT, ModuleVersion(0, 0, 1))},{PlatformVersion(P_FORD_C1, M_ABS, ModuleVersion(0, 0, 1))},{PlatformVersion(P_FORD_C1, M_BOO, ModuleVersion(0, 0, 1))},{PlatformVersion(P_FORD_C1, M_EPS, ModuleVersion(0, 0, 1))},})
PlatformMap FIRMWARE_TIMEOUT ({{PlatformVersion(P_FORD_CD4, M_BPEC, ModuleVersion(2, 0, 0))},{PlatformVersion(P_FORD_CD4, M_TPEC, ModuleVersion(2, 0, 0))},{PlatformVersion(P_FORD_CD4, M_STEER, ModuleVersion(2, 0, 0))},})
static const char * moduleToString (Module x)
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 bool operator>= (const PlatformVersion &x, const PlatformMap &map)
static const char * platformToString (Platform x)
static void sonarBuildPointCloud2 (sensor_msgs::PointCloud2 &cloud, const dbw_mkz_msgs::SurroundReport &surround)
static uint32_t sonarColorFromRange (float range)
static float sonarMetersFromBits (uint8_t bits)
static float throttlePedalFromPercent (float percent)
static float throttlePercentFromPedal (float pedal)

Variables

struct {
   float   dbw_mkz_can::pedal
   float   dbw_mkz_can::torque
BRAKE_TABLE []
struct {
   float   dbw_mkz_can::a
   float   dbw_mkz_can::x
   float   dbw_mkz_can::y
   float   dbw_mkz_can::z
SONAR_TABLE []
struct {
   float   dbw_mkz_can::pedal
   float   dbw_mkz_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_SURROUND 
ID_REPORT_BRAKE_INFO 
ID_REPORT_THROTTLE_INFO 
ID_REPORT_DRIVER_ASSIST 
ID_LICENSE 
ID_VERSION 

Definition at line 464 of file dispatch.h.

Enumerator:
LIC_MUX_F0 
LIC_MUX_MAC 
LIC_MUX_DATE0 
LIC_MUX_DATE1 
LIC_MUX_VIN0 
LIC_MUX_VIN1 
LIC_MUX_VIN2 

Definition at line 351 of file dispatch.h.

Enumerator:
M_BPEC 
M_TPEC 
M_STEER 
M_SHIFT 
M_ABS 
M_BOO 
M_EPS 

Definition at line 54 of file PlatformVersion.h.

Enumerator:
P_FORD_CD4 
P_FORD_P5 
P_FORD_C1 
P_FCA_RU 
P_FCA_WK2 

Definition at line 45 of file PlatformVersion.h.


Function Documentation

static float dbw_mkz_can::brakePedalFromPercent ( float  percent) [inline, static]

Definition at line 110 of file pedal_lut.h.

static float dbw_mkz_can::brakePedalFromTorque ( float  torque) [inline, static]

Definition at line 87 of file pedal_lut.h.

static float dbw_mkz_can::brakeTorqueFromPedal ( float  pedal) [inline, static]

Definition at line 64 of file pedal_lut.h.

static void dbw_mkz_can::dispatchAssertSizes ( ) [static]

Definition at line 435 of file dispatch.h.

static const char* dbw_mkz_can::moduleToString ( Module  x) [static]

Definition at line 75 of file PlatformVersion.h.

static bool dbw_mkz_can::operator!= ( const PlatformVersion &  x,
const ModuleVersion &  y 
) [static]

Definition at line 107 of file PlatformVersion.h.

static bool dbw_mkz_can::operator!= ( const PlatformVersion &  x,
const PlatformMap &  map 
) [static]

Definition at line 114 of file PlatformMap.h.

static bool dbw_mkz_can::operator< ( const PlatformVersion &  x,
const ModuleVersion &  y 
) [static]

Definition at line 102 of file PlatformVersion.h.

static bool dbw_mkz_can::operator< ( const PlatformVersion &  x,
const PlatformMap &  map 
) [static]

Definition at line 109 of file PlatformMap.h.

static bool dbw_mkz_can::operator<= ( const PlatformVersion &  x,
const ModuleVersion &  y 
) [static]

Definition at line 104 of file PlatformVersion.h.

static bool dbw_mkz_can::operator<= ( const PlatformVersion &  x,
const PlatformMap &  map 
) [static]

Definition at line 111 of file PlatformMap.h.

static bool dbw_mkz_can::operator== ( const PlatformVersion &  x,
const ModuleVersion &  y 
) [static]

Definition at line 106 of file PlatformVersion.h.

static bool dbw_mkz_can::operator== ( const PlatformVersion &  x,
const PlatformMap &  map 
) [static]

Definition at line 113 of file PlatformMap.h.

static bool dbw_mkz_can::operator> ( const PlatformVersion &  x,
const ModuleVersion &  y 
) [static]

Definition at line 103 of file PlatformVersion.h.

static bool dbw_mkz_can::operator> ( const PlatformVersion &  x,
const PlatformMap &  map 
) [static]

Definition at line 110 of file PlatformMap.h.

static bool dbw_mkz_can::operator>= ( const PlatformVersion &  x,
const ModuleVersion &  y 
) [static]

Definition at line 105 of file PlatformVersion.h.

static bool dbw_mkz_can::operator>= ( const PlatformVersion &  x,
const PlatformMap &  map 
) [static]

Definition at line 112 of file PlatformMap.h.

static const char* dbw_mkz_can::platformToString ( Platform  x) [static]

Definition at line 64 of file PlatformVersion.h.

static void dbw_mkz_can::sonarBuildPointCloud2 ( sensor_msgs::PointCloud2 &  cloud,
const dbw_mkz_msgs::SurroundReport &  surround 
) [inline, static]

Definition at line 70 of file sonar_lut.h.

static uint32_t dbw_mkz_can::sonarColorFromRange ( float  range) [inline, static]

Definition at line 61 of file sonar_lut.h.

static float dbw_mkz_can::sonarMetersFromBits ( uint8_t  bits) [inline, static]

Definition at line 58 of file sonar_lut.h.

static float dbw_mkz_can::throttlePedalFromPercent ( float  percent) [inline, static]

Definition at line 113 of file pedal_lut.h.

static float dbw_mkz_can::throttlePercentFromPedal ( float  pedal) [inline, static]

Definition at line 136 of file pedal_lut.h.


Variable Documentation

Definition at line 43 of file sonar_lut.h.

struct { ... } dbw_mkz_can::BRAKE_TABLE[] [static]

Definition at line 42 of file pedal_lut.h.

Definition at line 57 of file pedal_lut.h.

struct { ... } dbw_mkz_can::SONAR_TABLE[] [static]
struct { ... } dbw_mkz_can::THROTTLE_TABLE[] [static]

Definition at line 42 of file pedal_lut.h.

Definition at line 43 of file sonar_lut.h.

Definition at line 43 of file sonar_lut.h.

Definition at line 43 of file sonar_lut.h.



dbw_mkz_can
Author(s): Kevin Hallenbeck
autogenerated on Thu Jul 4 2019 20:08:17