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 [] |