wip
This commit is contained in:
@@ -33,6 +33,20 @@ Primary:
|
|||||||
- Speed green when set to speed limit
|
- Speed green when set to speed limit
|
||||||
- Increase speed up to 2 mph w lead and set to speed limit
|
- Increase speed up to 2 mph w lead and set to speed limit
|
||||||
|
|
||||||
|
Canbus goals:
|
||||||
|
- Detect if HVAC on
|
||||||
|
- Set hvac auto
|
||||||
|
- Detect if sunroof open
|
||||||
|
- Set sunroof closed
|
||||||
|
- Button spam cruise
|
||||||
|
- Auto resume from stop
|
||||||
|
- Get dash speed limit
|
||||||
|
- Set drive mode to 'smart'
|
||||||
|
- Radar based distance to lead (compare value to vision)
|
||||||
|
|
||||||
|
Maybe not possible but nice to have:
|
||||||
|
- change dash info display to mph
|
||||||
|
|
||||||
Secondary:
|
Secondary:
|
||||||
|
|
||||||
- auto enable ssh
|
- auto enable ssh
|
||||||
@@ -50,9 +64,22 @@ Secondary:
|
|||||||
Stretch goals:
|
Stretch goals:
|
||||||
|
|
||||||
- port to GM
|
- port to GM
|
||||||
|
- Here maps API for location (cache location)
|
||||||
|
- Here maps API for traffic - warn if heavy traffic
|
||||||
- Auto set dash display to MPH
|
- Auto set dash display to MPH
|
||||||
- Auto set smart drive mode
|
- Auto set smart drive mode
|
||||||
- Detect or ideally close sunroof on off
|
- Detect or ideally close sunroof on off
|
||||||
- Auto enter carplay on boot
|
- Auto enter carplay on boot
|
||||||
- Weather report on steering star button
|
- Weather report on steering star button
|
||||||
|
|
||||||
|
Release notes inre safety:
|
||||||
|
|
||||||
|
- Dont ever fully disengage openpilot but if the user hits termination threshold, force
|
||||||
|
user to use wheel with lots of bitching until they stop and restart
|
||||||
|
- Allow user to enter a url that can go to a dockerized instance of a clearpilot managment server.
|
||||||
|
The server allows for:
|
||||||
|
- Tracking of current location
|
||||||
|
- Tracking of route history
|
||||||
|
- Customize logo
|
||||||
|
- Reverse ssh
|
||||||
|
- Execute scripts on start (this is where people can hack the safety file)
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
Create a debug console. Its should log events like what buttons are pressed,
|
||||||
|
when OP starts, the fact NNFF is loaded, etc.
|
||||||
|
|
||||||
example of using stdin and stdout as a message buffer:
|
example of using stdin and stdout as a message buffer:
|
||||||
|
|
||||||
selfdrive/manager/build.py
|
selfdrive/manager/build.py
|
||||||
@@ -12,4 +15,46 @@ class HyundaiFlagsSP(IntFlag):
|
|||||||
SP_CAN_LFA_BTN = 2
|
SP_CAN_LFA_BTN = 2
|
||||||
SP_NAV_MSG = 4
|
SP_NAV_MSG = 4
|
||||||
LFA_Pressed
|
LFA_Pressed
|
||||||
188,47: self.lkas_enabled = cp.vl["BCM_PO_11"]["LFA_Pressed"]
|
188,47: self.lkas_enabled = cp.vl["BCM_PO_11"]["LFA_Pressed"]
|
||||||
|
|
||||||
|
Light blue colors
|
||||||
|
1:53 PM
|
||||||
|
|
||||||
|
Don't sulress cruise indicator
|
||||||
|
1:57 PM
|
||||||
|
|
||||||
|
Fix gps issue, also make gps notice less obnoxious like pay attention
|
||||||
|
2:00 PM
|
||||||
|
|
||||||
|
Suspend lateral if turn signal and nudged wheel - think this through
|
||||||
|
|
||||||
|
VAL_ 1144 DRIVE_MODE2 3 "Set Sport" 1 "Set Normal" 2 "Set Eco";
|
||||||
|
BO_ 1144 DRIVE_MODE: 8 XXX
|
||||||
|
SG_ DRIVE_MODE : 0|16@1+ (1,-61611) [0|61611] "" XXX
|
||||||
|
SG_ DRIVE_MODE2 : 28|3@1+ (1,0) [1|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 1151 HVAC_TOUCH_BUTTONS: 8 XXX
|
||||||
|
SG_ AUTO_BUTTON : 8|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ SYNC_BUTTON : 12|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ FR_DEFROST_BUTTON : 20|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ RR_DEFROST_BUTTON : 22|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ FAN_SPEED_UP_BUTTON : 24|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ FAN_SPEED_DOWN_BUTTON : 26|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ AIR_DIRECTION_BUTTON : 28|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ AC_BUTTON : 40|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DRIVER_ONLY_BUTTON : 44|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ RECIRC_BUTTON : 48|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ HEAT_BUTTON : 52|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 506 CLUSTER_SPEED_LIMIT: 32 XXX
|
||||||
|
SG_ SPEED_LIMIT_3 : 119|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SPEED_LIMIT_2 : 47|7@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SPEED_LIMIT_1 : 39|7@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SPEED_CHANGE_BLINKING : 129|1@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ CHIME_2 : 122|2@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ CHIME_1 : 133|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ARROW_DOWN : 120|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ARROW_UP : 121|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ SECONDARY_LIMIT_1 : 79|8@0+ (1,0) [0|127] "" XXX
|
||||||
|
SG_ SECONDARY_LIMIT_2 : 103|8@0+ (1,0) [0|127] "" XXX
|
||||||
|
SG_ SCHOOL_ZONE : 155|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|||||||
15
clearpilot_testme.txt
Normal file
15
clearpilot_testme.txt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Dev:
|
||||||
|
- New behavior for lane change assist - when starting lane change, disable
|
||||||
|
lateral until .5 seconds after blinkers stop
|
||||||
|
-
|
||||||
|
|
||||||
|
Test:
|
||||||
|
- New colors for driving
|
||||||
|
- GPS works
|
||||||
|
|
||||||
|
|
||||||
|
Pass:
|
||||||
|
- All icons on main UI hidden
|
||||||
|
- Tap screen during drive goes to settings
|
||||||
|
- Boot goes to a splash page
|
||||||
|
- Startup message and NNFF controller messages supressed
|
||||||
@@ -234,6 +234,16 @@ static bool chrysler_tx_hook(const CANPacket_t *to_send) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FORCE CANCEL: only the cancel button press is allowed
|
// FORCE CANCEL: only the cancel button press is allowed
|
||||||
|
// SG_ ACC_Cancel : 0|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
// SG_ ACC_Distance_Dec : 1|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
// SG_ ACC_Accel : 2|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
// SG_ ACC_Decel : 3|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
// SG_ ACC_Resume : 4|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
// SG_ Cruise_OnOff : 6|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
// SG_ ACC_OnOff : 7|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
// SG_ ACC_Distance_Inc : 8|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
// SG_ COUNTER : 15|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
// SG_ CHECKSUM : 23|8@0+ (1,0) [0|255] "" XXX
|
||||||
if (addr == chrysler_addrs->CRUISE_BUTTONS) {
|
if (addr == chrysler_addrs->CRUISE_BUTTONS) {
|
||||||
const bool is_cancel = GET_BYTE(to_send, 0) == 1U;
|
const bool is_cancel = GET_BYTE(to_send, 0) == 1U;
|
||||||
const bool is_resume = GET_BYTE(to_send, 0) == 0x10U;
|
const bool is_resume = GET_BYTE(to_send, 0) == 0x10U;
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ const uint16_t GM_PARAM_PEDAL_INTERCEPTOR = 256;
|
|||||||
enum {
|
enum {
|
||||||
GM_BTN_UNPRESS = 1,
|
GM_BTN_UNPRESS = 1,
|
||||||
GM_BTN_RESUME = 2,
|
GM_BTN_RESUME = 2,
|
||||||
GM_BTN_SET = 3,
|
GM_BTN_SET = 3,
|
||||||
GM_BTN_CANCEL = 6,
|
GM_BTN_CANCEL = 6,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ const CanMsg HYUNDAI_CANFD_HDA2_LONG_TX_MSGS[] = {
|
|||||||
{0x200, 1, 8}, // ADRV_0x200
|
{0x200, 1, 8}, // ADRV_0x200
|
||||||
{0x345, 1, 8}, // ADRV_0x345
|
{0x345, 1, 8}, // ADRV_0x345
|
||||||
{0x1DA, 1, 32}, // ADRV_0x1da
|
{0x1DA, 1, 32}, // ADRV_0x1da
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const CanMsg HYUNDAI_CANFD_HDA1_TX_MSGS[] = {
|
const CanMsg HYUNDAI_CANFD_HDA1_TX_MSGS[] = {
|
||||||
@@ -243,18 +244,26 @@ static bool hyundai_canfd_tx_hook(const CANPacket_t *to_send) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// cruise buttons check
|
// cruise buttons check
|
||||||
// CLEARPILOT - TODO - Allow buttons 1 (accel), 2 (decel), 4 (pause/resume)
|
// CLEARPILOT - Allow buttons 1 (accel), 2 (decel), 4 (pause/resume)
|
||||||
if (addr == 0x1cf) {
|
if (addr == 0x1cf) {
|
||||||
int button = GET_BYTE(to_send, 2) & 0x7U;
|
int button = GET_BYTE(to_send, 2) & 0x7U;
|
||||||
bool is_cancel = (button == HYUNDAI_BTN_CANCEL);
|
bool is_cancel = (button == HYUNDAI_BTN_CANCEL);
|
||||||
bool is_resume = (button == HYUNDAI_BTN_RESUME);
|
bool is_resume = (button == HYUNDAI_BTN_RESUME);
|
||||||
|
bool is_set_decel = (button == 2);
|
||||||
|
|
||||||
|
bool allowed = (is_cancel && cruise_engaged_prev)
|
||||||
|
|| (is_resume && controls_allowed)
|
||||||
|
|| (is_resume && is_set_decel);
|
||||||
|
|
||||||
bool allowed = (is_cancel && cruise_engaged_prev) || (is_resume && controls_allowed);
|
|
||||||
if (!allowed) {
|
if (!allowed) {
|
||||||
tx = false;
|
tx = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CLEARPILOT - Allow DRIVE_MODE2
|
||||||
|
// if (addr == 1144) {
|
||||||
|
// }
|
||||||
|
|
||||||
// UDS: only tester present ("\x02\x3E\x80\x00\x00\x00\x00\x00") allowed on diagnostics address
|
// UDS: only tester present ("\x02\x3E\x80\x00\x00\x00\x00\x00") allowed on diagnostics address
|
||||||
if ((addr == 0x730) && hyundai_canfd_hda2) {
|
if ((addr == 0x730) && hyundai_canfd_hda2) {
|
||||||
if ((GET_BYTES(to_send, 0, 4) != 0x00803E02U) || (GET_BYTES(to_send, 4, 4) != 0x0U)) {
|
if ((GET_BYTES(to_send, 0, 4) != 0x00803E02U) || (GET_BYTES(to_send, 4, 4) != 0x0U)) {
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ def create_steering_messages(packer, CP, CAN, enabled, lat_active, apply_steer):
|
|||||||
ret = []
|
ret = []
|
||||||
|
|
||||||
values = {
|
values = {
|
||||||
"LKA_MODE": 2,
|
"LKA_MODE": 2, # CP: Whats this?
|
||||||
"LKA_ICON": 2 if lat_active else 1,
|
"LKA_ICON": 2 if lat_active else 1, # CP: Whats this?
|
||||||
"TORQUE_REQUEST": apply_steer,
|
"TORQUE_REQUEST": apply_steer,
|
||||||
"LKA_ASSIST": 0,
|
"LKA_ASSIST": 0,
|
||||||
"STEER_REQ": 1 if lat_active else 0,
|
"STEER_REQ": 1 if lat_active else 0,
|
||||||
@@ -113,10 +113,13 @@ def create_acc_cancel(packer, CP, CAN, cruise_info_copy):
|
|||||||
})
|
})
|
||||||
return packer.make_can_msg("SCC_CONTROL", CAN.ECAN, values)
|
return packer.make_can_msg("SCC_CONTROL", CAN.ECAN, values)
|
||||||
|
|
||||||
|
# CLEARPILOT changed HDA icons
|
||||||
def create_lfahda_cluster(packer, CAN, enabled, lat_active):
|
def create_lfahda_cluster(packer, CAN, enabled, lat_active):
|
||||||
values = {
|
values = {
|
||||||
"HDA_ICON": 1 if enabled else 0,
|
# 0 off, 1 gray, 2 green, 3 blinking (wheel icon)
|
||||||
"LFA_ICON": 2 if lat_active else 0,
|
# CP: Is this actually the wheel? Might this be the HDA2 thing?
|
||||||
|
"HDA_ICON": 0, # Intention is to have this represent stock HDA mode
|
||||||
|
"LFA_ICON": 2 if enabled else 1 if lat_active else 0,
|
||||||
}
|
}
|
||||||
return packer.make_can_msg("LFAHDA_CLUSTER", CAN.ECAN, values)
|
return packer.make_can_msg("LFAHDA_CLUSTER", CAN.ECAN, values)
|
||||||
|
|
||||||
|
|||||||
@@ -200,6 +200,12 @@ class StartupAlert(Alert):
|
|||||||
alert_status, AlertSize.mid,
|
alert_status, AlertSize.mid,
|
||||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 5.),
|
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 5.),
|
||||||
|
|
||||||
|
# ClearPilot
|
||||||
|
class InvisibleAlert(Alert):
|
||||||
|
def __init__(self, alert_text_1: str, alert_text_2: str = "", alert_status=AlertStatus.normal):
|
||||||
|
super().__init__(alert_text_1, alert_text_2,
|
||||||
|
alert_status, AlertSize.none,
|
||||||
|
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 5.),
|
||||||
|
|
||||||
# ********** helper functions **********
|
# ********** helper functions **********
|
||||||
def get_display_speed(speed_ms: float, metric: bool) -> str:
|
def get_display_speed(speed_ms: float, metric: bool) -> str:
|
||||||
@@ -232,7 +238,8 @@ def startup_master_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubM
|
|||||||
if "REPLAY" in os.environ:
|
if "REPLAY" in os.environ:
|
||||||
branch = "replay"
|
branch = "replay"
|
||||||
|
|
||||||
return StartupAlert("Hippity hoppity this is my property", "so I do what I want 🐸", alert_status=AlertStatus.frogpilot)
|
# Clearpilot disabled
|
||||||
|
return InvisibleAlert("Hippity hoppity this is my property", "so I do what I want 🐸", alert_status=AlertStatus.frogpilot)
|
||||||
|
|
||||||
def below_engage_speed_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert:
|
def below_engage_speed_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert:
|
||||||
return NoEntryAlert(f"Drive above {get_display_speed(CP.minEnableSpeed, metric)} to engage")
|
return NoEntryAlert(f"Drive above {get_display_speed(CP.minEnableSpeed, metric)} to engage")
|
||||||
@@ -271,7 +278,9 @@ def torque_nn_load_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubM
|
|||||||
AlertStatus.userPrompt, AlertSize.mid,
|
AlertStatus.userPrompt, AlertSize.mid,
|
||||||
Priority.LOW, VisualAlert.none, AudibleAlert.prompt, 5.0)
|
Priority.LOW, VisualAlert.none, AudibleAlert.prompt, 5.0)
|
||||||
else:
|
else:
|
||||||
return Alert(
|
# CLEARPILOT
|
||||||
|
# Maybe we should put this on a system console
|
||||||
|
return InvisibleAlert(
|
||||||
"NNFF Torque Controller loaded",
|
"NNFF Torque Controller loaded",
|
||||||
model_name,
|
model_name,
|
||||||
AlertStatus.frogpilot, AlertSize.mid,
|
AlertStatus.frogpilot, AlertSize.mid,
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ procs = [
|
|||||||
PythonProcess("deleter", "system.loggerd.deleter", always_run),
|
PythonProcess("deleter", "system.loggerd.deleter", always_run),
|
||||||
PythonProcess("dmonitoringd", "selfdrive.monitoring.dmonitoringd", driverview, enabled=(not PC or WEBCAM)),
|
PythonProcess("dmonitoringd", "selfdrive.monitoring.dmonitoringd", driverview, enabled=(not PC or WEBCAM)),
|
||||||
PythonProcess("qcomgpsd", "system.qcomgpsd.qcomgpsd", qcomgps, enabled=TICI),
|
PythonProcess("qcomgpsd", "system.qcomgpsd.qcomgpsd", qcomgps, enabled=TICI),
|
||||||
#PythonProcess("ugpsd", "system.ugpsd", only_onroad, enabled=TICI),
|
PythonProcess("ugpsd", "system.ugpsd", only_onroad, enabled=TICI),
|
||||||
PythonProcess("navd", "selfdrive.navd.navd", only_onroad),
|
PythonProcess("navd", "selfdrive.navd.navd", only_onroad),
|
||||||
PythonProcess("pandad", "selfdrive.boardd.pandad", always_run),
|
PythonProcess("pandad", "selfdrive.boardd.pandad", always_run),
|
||||||
PythonProcess("paramsd", "selfdrive.locationd.paramsd", only_onroad),
|
PythonProcess("paramsd", "selfdrive.locationd.paramsd", only_onroad),
|
||||||
|
|||||||
@@ -827,25 +827,25 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
|
|||||||
|
|
||||||
// lanelines
|
// lanelines
|
||||||
for (int i = 0; i < std::size(scene.lane_line_vertices); ++i) {
|
for (int i = 0; i < std::size(scene.lane_line_vertices); ++i) {
|
||||||
if (currentHolidayTheme != 0) {
|
// if (currentHolidayTheme != 0) {
|
||||||
painter.setBrush(std::get<2>(holidayThemeConfiguration[currentHolidayTheme]).begin()->second);
|
// painter.setBrush(std::get<2>(holidayThemeConfiguration[currentHolidayTheme]).begin()->second);
|
||||||
} else if (customColors != 0) {
|
// } else if (customColors != 0) {
|
||||||
painter.setBrush(std::get<2>(themeConfiguration[customColors]).begin()->second);
|
// painter.setBrush(std::get<2>(themeConfiguration[customColors]).begin()->second);
|
||||||
} else {
|
// } else {
|
||||||
painter.setBrush(QColor::fromRgbF(1.0, 1.0, 1.0, std::clamp<float>(scene.lane_line_probs[i], 0.0, 0.7)));
|
painter.setBrush(QColor::fromRgbF(1.0, 1.0, 1.0, std::clamp<float>(scene.lane_line_probs[i], 0.0, 0.7)));
|
||||||
}
|
// }
|
||||||
painter.drawPolygon(scene.lane_line_vertices[i]);
|
painter.drawPolygon(scene.lane_line_vertices[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// road edges
|
// road edges
|
||||||
for (int i = 0; i < std::size(scene.road_edge_vertices); ++i) {
|
// for (int i = 0; i < std::size(scene.road_edge_vertices); ++i) {
|
||||||
if (currentHolidayTheme != 0) {
|
// if (currentHolidayTheme != 0) {
|
||||||
painter.setBrush(std::get<2>(holidayThemeConfiguration[currentHolidayTheme]).begin()->second);
|
// painter.setBrush(std::get<2>(holidayThemeConfiguration[currentHolidayTheme]).begin()->second);
|
||||||
} else if (customColors != 0) {
|
// } else if (customColors != 0) {
|
||||||
painter.setBrush(std::get<2>(themeConfiguration[customColors]).begin()->second);
|
// painter.setBrush(std::get<2>(themeConfiguration[customColors]).begin()->second);
|
||||||
} else {
|
// } else {
|
||||||
painter.setBrush(QColor::fromRgbF(1.0, 0, 0, std::clamp<float>(1.0 - scene.road_edge_stds[i], 0.0, 1.0)));
|
painter.setBrush(QColor::fromRgbF(1.0, 0, 0, std::clamp<float>(1.0 - scene.road_edge_stds[i], 0.0, 1.0)));
|
||||||
}
|
// }
|
||||||
painter.drawPolygon(scene.road_edge_vertices[i]);
|
painter.drawPolygon(scene.road_edge_vertices[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -870,20 +870,21 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
|
|||||||
// Flip so 0 is bottom of frame
|
// Flip so 0 is bottom of frame
|
||||||
float lin_grad_point = (height() - scene.track_vertices[i].y()) / height();
|
float lin_grad_point = (height() - scene.track_vertices[i].y()) / height();
|
||||||
|
|
||||||
// If acceleration is between -0.25 and 0.25, resort to the theme color
|
// CLEARPILOT disabling custom theme colors
|
||||||
if (std::abs(acceleration[i]) < 0.25 && (currentHolidayTheme != 0)) {
|
// // If acceleration is between -0.25 and 0.25, resort to the theme color
|
||||||
const auto &colorMap = std::get<2>(holidayThemeConfiguration[currentHolidayTheme]);
|
// if (std::abs(acceleration[i]) < 0.25 && (currentHolidayTheme != 0)) {
|
||||||
for (const auto &[position, brush] : colorMap) {
|
// const auto &colorMap = std::get<2>(holidayThemeConfiguration[currentHolidayTheme]);
|
||||||
bg.setColorAt(position, brush.color());
|
// for (const auto &[position, brush] : colorMap) {
|
||||||
}
|
// bg.setColorAt(position, brush.color());
|
||||||
|
// }
|
||||||
|
|
||||||
} else if (std::abs(acceleration[i]) < 0.25 && (customColors != 0)) {
|
// } else if (std::abs(acceleration[i]) < 0.25 && (customColors != 0)) {
|
||||||
const auto &colorMap = std::get<2>(themeConfiguration[customColors]);
|
// const auto &colorMap = std::get<2>(themeConfiguration[customColors]);
|
||||||
for (const auto &[position, brush] : colorMap) {
|
// for (const auto &[position, brush] : colorMap) {
|
||||||
bg.setColorAt(position, brush.color());
|
// bg.setColorAt(position, brush.color());
|
||||||
}
|
// }
|
||||||
|
|
||||||
} else {
|
// } else {
|
||||||
// speed up: 120, slow down: 0
|
// speed up: 120, slow down: 0
|
||||||
float path_hue = fmax(fmin(60 + acceleration[i] * 35, 120), 0);
|
float path_hue = fmax(fmin(60 + acceleration[i] * 35, 120), 0);
|
||||||
// FIXME: painter.drawPolygon can be slow if hue is not rounded
|
// FIXME: painter.drawPolygon can be slow if hue is not rounded
|
||||||
@@ -896,20 +897,21 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
|
|||||||
|
|
||||||
// Skip a point, unless next is last
|
// Skip a point, unless next is last
|
||||||
i += (i + 2) < max_len ? 1 : 0;
|
i += (i + 2) < max_len ? 1 : 0;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (currentHolidayTheme != 0) {
|
// CLEARPILOT disabling custom theme colors
|
||||||
const auto &colorMap = std::get<2>(holidayThemeConfiguration[currentHolidayTheme]);
|
// } else if (currentHolidayTheme != 0) {
|
||||||
for (const auto &[position, brush] : colorMap) {
|
// const auto &colorMap = std::get<2>(holidayThemeConfiguration[currentHolidayTheme]);
|
||||||
bg.setColorAt(position, brush.color());
|
// for (const auto &[position, brush] : colorMap) {
|
||||||
}
|
// bg.setColorAt(position, brush.color());
|
||||||
|
// }
|
||||||
|
|
||||||
} else if (customColors != 0) {
|
// } else if (customColors != 0) {
|
||||||
const auto &colorMap = std::get<2>(themeConfiguration[customColors]);
|
// const auto &colorMap = std::get<2>(themeConfiguration[customColors]);
|
||||||
for (const auto &[position, brush] : colorMap) {
|
// for (const auto &[position, brush] : colorMap) {
|
||||||
bg.setColorAt(position, brush.color());
|
// bg.setColorAt(position, brush.color());
|
||||||
}
|
// }
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
bg.setColorAt(0.0, QColor::fromHslF(148 / 360., 0.94, 0.51, 0.4));
|
bg.setColorAt(0.0, QColor::fromHslF(148 / 360., 0.94, 0.51, 0.4));
|
||||||
@@ -942,18 +944,18 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
|
|||||||
pe.setColorAt(0.0, QColor::fromHslF(205 / 360., 0.85, 0.56, 1.0));
|
pe.setColorAt(0.0, QColor::fromHslF(205 / 360., 0.85, 0.56, 1.0));
|
||||||
pe.setColorAt(0.5, QColor::fromHslF(205 / 360., 0.85, 0.56, 0.5));
|
pe.setColorAt(0.5, QColor::fromHslF(205 / 360., 0.85, 0.56, 0.5));
|
||||||
pe.setColorAt(1.0, QColor::fromHslF(205 / 360., 0.85, 0.56, 0.1));
|
pe.setColorAt(1.0, QColor::fromHslF(205 / 360., 0.85, 0.56, 0.1));
|
||||||
} else if (currentHolidayTheme != 0) {
|
// } else if (currentHolidayTheme != 0) {
|
||||||
const auto &colorMap = std::get<2>(holidayThemeConfiguration[currentHolidayTheme]);
|
// const auto &colorMap = std::get<2>(holidayThemeConfiguration[currentHolidayTheme]);
|
||||||
for (const auto &[position, brush] : colorMap) {
|
// for (const auto &[position, brush] : colorMap) {
|
||||||
QColor darkerColor = brush.color().darker(120);
|
// QColor darkerColor = brush.color().darker(120);
|
||||||
pe.setColorAt(position, darkerColor);
|
// pe.setColorAt(position, darkerColor);
|
||||||
}
|
// }
|
||||||
} else if (customColors != 0) {
|
// } else if (customColors != 0) {
|
||||||
const auto &colorMap = std::get<2>(themeConfiguration[customColors]);
|
// const auto &colorMap = std::get<2>(themeConfiguration[customColors]);
|
||||||
for (const auto &[position, brush] : colorMap) {
|
// for (const auto &[position, brush] : colorMap) {
|
||||||
QColor darkerColor = brush.color().darker(120);
|
// QColor darkerColor = brush.color().darker(120);
|
||||||
pe.setColorAt(position, darkerColor);
|
// pe.setColorAt(position, darkerColor);
|
||||||
}
|
// }
|
||||||
} else {
|
} else {
|
||||||
pe.setColorAt(0.0, QColor::fromHslF(148 / 360., 0.94, 0.51, 1.0));
|
pe.setColorAt(0.0, QColor::fromHslF(148 / 360., 0.94, 0.51, 1.0));
|
||||||
pe.setColorAt(0.5, QColor::fromHslF(112 / 360., 1.00, 0.68, 0.5));
|
pe.setColorAt(0.5, QColor::fromHslF(112 / 360., 1.00, 0.68, 0.5));
|
||||||
@@ -1093,13 +1095,14 @@ void AnnotatedCameraWidget::drawLead(QPainter &painter, const cereal::ModelDataV
|
|||||||
|
|
||||||
// chevron
|
// chevron
|
||||||
QPointF chevron[] = {{x + (sz * 1.25), y + sz}, {x, y}, {x - (sz * 1.25), y + sz}};
|
QPointF chevron[] = {{x + (sz * 1.25), y + sz}, {x, y}, {x - (sz * 1.25), y + sz}};
|
||||||
if (currentHolidayTheme != 0) {
|
// CLEARPILOT disabling custom theme colors
|
||||||
painter.setBrush(std::get<2>(holidayThemeConfiguration[currentHolidayTheme]).begin()->second);
|
// if (currentHolidayTheme != 0) {
|
||||||
} else if (customColors != 0) {
|
// painter.setBrush(std::get<2>(holidayThemeConfiguration[currentHolidayTheme]).begin()->second);
|
||||||
painter.setBrush(std::get<2>(themeConfiguration[customColors]).begin()->second);
|
// } else if (customColors != 0) {
|
||||||
} else {
|
// painter.setBrush(std::get<2>(themeConfiguration[customColors]).begin()->second);
|
||||||
|
// } else {
|
||||||
painter.setBrush(redColor(fillAlpha));
|
painter.setBrush(redColor(fillAlpha));
|
||||||
}
|
// }
|
||||||
painter.drawPolygon(chevron, std::size(chevron));
|
painter.drawPolygon(chevron, std::size(chevron));
|
||||||
|
|
||||||
if (leadInfo) {
|
if (leadInfo) {
|
||||||
|
|||||||
@@ -131,18 +131,19 @@ enum PrimeType {
|
|||||||
const QColor bg_colors [] = {
|
const QColor bg_colors [] = {
|
||||||
[STATUS_DISENGAGED] = QColor(0x17, 0x33, 0x49, 0xc8),
|
[STATUS_DISENGAGED] = QColor(0x17, 0x33, 0x49, 0xc8),
|
||||||
[STATUS_OVERRIDE] = QColor(0x91, 0x9b, 0x95, 0xf1),
|
[STATUS_OVERRIDE] = QColor(0x91, 0x9b, 0x95, 0xf1),
|
||||||
[STATUS_ENGAGED] = QColor(0x17, 0x86, 0x44, 0xf1),
|
// [STATUS_ENGAGED] = QColor(0x17, 0x86, 0x44, 0xf1),
|
||||||
|
[STATUS_ENGAGED] = QColor(47, 158, 238, 0xf1), // CLEARPILOT changed to light blue
|
||||||
|
|
||||||
// FrogPilot colors
|
// FrogPilot colors
|
||||||
[STATUS_ALWAYS_ON_LATERAL_ACTIVE] = QColor(0x0a, 0xba, 0xb5, 0xf1),
|
[STATUS_ALWAYS_ON_LATERAL_ACTIVE] = QColor(4, 64, 11, 0xf1), // CLEARPILOT changed to dark blue
|
||||||
[STATUS_TRAFFIC_MODE_ACTIVE] = QColor(0xc9, 0x22, 0x31, 0xf1),
|
[STATUS_TRAFFIC_MODE_ACTIVE] = QColor(0xc9, 0x22, 0x31, 0xf1),
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::map<cereal::ControlsState::AlertStatus, QColor> alert_colors = {
|
static std::map<cereal::ControlsState::AlertStatus, QColor> alert_colors = {
|
||||||
{cereal::ControlsState::AlertStatus::NORMAL, QColor(0x15, 0x15, 0x15, 0xf1)},
|
{cereal::ControlsState::AlertStatus::NORMAL, QColor(0x15, 0x15, 0x15, 0xf1)},
|
||||||
{cereal::ControlsState::AlertStatus::USER_PROMPT, QColor(0xDA, 0x6F, 0x25, 0xf1)},
|
{cereal::ControlsState::AlertStatus::USER_PROMPT, QColor(4, 64, 11, 0xf1)}, // CLEARPILOT changed to a shade of dark blue
|
||||||
{cereal::ControlsState::AlertStatus::CRITICAL, QColor(0xC9, 0x22, 0x31, 0xf1)},
|
{cereal::ControlsState::AlertStatus::CRITICAL, QColor(0xC9, 0x22, 0x31, 0xf1)},
|
||||||
{cereal::ControlsState::AlertStatus::FROGPILOT, QColor(0x17, 0x86, 0x44, 0xf1)},
|
{cereal::ControlsState::AlertStatus::FROGPILOT, QColor(47, 158, 238, 0xf1)}, // CLEARPILOT changed to light blue
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct UIScene {
|
typedef struct UIScene {
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
168
system/clearpilot/notes/chrystler_ram_jeep.dbc
Normal file
168
system/clearpilot/notes/chrystler_ram_jeep.dbc
Normal file
@@ -0,0 +1,168 @@
|
|||||||
|
CM_ "AUTOGENERATED FILE, DO NOT EDIT";
|
||||||
|
|
||||||
|
|
||||||
|
CM_ "Imported file _stellantis_common_ram_hd_generated.dbc starts here";
|
||||||
|
CM_ "Generated from _stellantis_common.dbc"
|
||||||
|
|
||||||
|
BO_ 258 STEERING: 8 XXX
|
||||||
|
SG_ STEERING_ANGLE : 5|14@0+ (0.5,-2048) [-2048|2047] "deg" XXX
|
||||||
|
SG_ STEERING_RATE : 21|14@0+ (0.5,-2048) [-2048|2047] "deg/s" XXX
|
||||||
|
SG_ STEERING_ANGLE_HP : 48|4@1+ (0.1,-0.4) [-0.4|0.4] "deg" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 264 ECM_1: 8 XXX
|
||||||
|
SG_ ENGINE_RPM : 7|16@0+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ ENGINE_TORQUE : 20|13@0+ (0.25,-500) [-500|1547.5] "Nm" XXX
|
||||||
|
SG_ EXPECTED_ENGINE_TORQUE : 36|13@0+ (0.25,-500) [-500|1547.5] "Nm" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 280 ECM_TRQ: 8 XXX
|
||||||
|
SG_ ENGINE_TORQ_MAX : 4|13@0+ (.25,-500) [-500|1547.5] "NM" XXX
|
||||||
|
SG_ ENGINE_TORQ_MIN : 20|13@0+ (.25,-500) [-500|1547.5] "NM" XXX
|
||||||
|
|
||||||
|
BO_ 284 ESP_8: 8 XXX
|
||||||
|
SG_ BRK_PRESSURE : 3|12@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ BRAKE_PEDAL : 19|12@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ Vehicle_Speed : 39|16@0+ (0.0078125,0) [0|511.984375] "km/h" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 320 ESP_1: 8 XXX
|
||||||
|
SG_ Brake_Pedal_State : 2|2@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ Vehicle_Speed : 33|10@0+ (0.5,0) [0|511] "km/h" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BRAKE_PRESSED_ACC : 6|1@0+ (1,0) [0|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 344 ESP_6: 8 XXX
|
||||||
|
SG_ WHEEL_SPEED_FL : 5|14@0+ (0.5,0) [0|8191] "rpm" XXX
|
||||||
|
SG_ WHEEL_SPEED_FR : 21|14@0+ (0.5,0) [0|8191] "rpm" XXX
|
||||||
|
SG_ WHEEL_SPEED_RL : 37|14@0+ (0.5,0) [0|8191] "rpm" XXX
|
||||||
|
SG_ WHEEL_SPEED_RR : 53|14@0+ (0.5,0) [0|8191] "rpm" XXX
|
||||||
|
|
||||||
|
BO_ 368 Transmission_Status: 8 XXX
|
||||||
|
SG_ Gear_State : 2|3@1+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 464 ORC_1: 8 XXX
|
||||||
|
SG_ SEATBELT_DRIVER_UNLATCHED : 13|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 500 DAS_3: 8 XXX
|
||||||
|
SG_ ENGINE_TORQUE_REQUEST : 4|13@0+ (0.25,-500) [-500|1547.5] "Nm" XXX
|
||||||
|
SG_ ENGINE_TORQUE_REQUEST_MAX : 7|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ACC_STANDSTILL : 5|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ACC_GO : 6|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_DECEL : 19|12@0+ (0.004885,-16) [-16|4] "m/s2" XXX
|
||||||
|
SG_ ACC_AVAILABLE : 20|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ACC_ACTIVE : 21|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DISABLE_FUEL_SHUTOFF : 23|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ GR_MAX_REQ : 32|4@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_DECEL_REQ : 36|3@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_FAULTED : 46|2@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ COLLISION_BRK_PREP : 48|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_BRK_PREP : 49|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 501 DAS_4: 8 XXX
|
||||||
|
SG_ ACC_SET_SPEED_KPH : 15|8@0+ (1,0) [0|3] "km/h" XXX
|
||||||
|
SG_ ACC_SET_SPEED_MPH : 23|8@0+ (1,0) [0|3] "mph" XXX
|
||||||
|
SG_ ACC_DISTANCE_CONFIG_1 : 1|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ ACC_DISTANCE_CONFIG_2 : 41|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ SPEED_DIGITAL : 63|8@0+ (1,0) [0|255] "mph" XXX
|
||||||
|
SG_ ACC_STATE : 38|3@0+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ FCW_BRAKE_ENABLED : 29|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 544 EPS_2: 8 XXX
|
||||||
|
SG_ LKAS_STATE : 23|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ COLUMN_TORQUE : 2|11@0+ (1,-1024) [-1024|1023] "" XXX
|
||||||
|
SG_ TORQUE_OVERLAY_STATUS : 6|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ EPS_TORQUE_MOTOR_RAW : 19|12@0+ (1,-2048) [-2048|2047] "" XXX
|
||||||
|
SG_ EPS_TORQUE_MOTOR : 34|11@0+ (1,-1024) [-1024|1023] "" XXX
|
||||||
|
SG_ LKAS_TEMPORARY_FAULT : 38|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ AUTO_PARK_HAS_CONTROL_2 : 51|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 559 ECM_5: 8 XXX
|
||||||
|
SG_ Accelerator_Position : 0|8@1+ (0.4,0) [0|100] "%" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 570 CRUISE_BUTTONS: 3 XXX
|
||||||
|
SG_ ACC_Cancel : 0|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_Distance_Dec : 1|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_Accel : 2|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_Decel : 3|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_Resume : 4|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ Cruise_OnOff : 6|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_OnOff : 7|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACC_Distance_Inc : 8|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ COUNTER : 15|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 23|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 625 DAS_5: 8 XXX
|
||||||
|
SG_ FCW_STATE : 2|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ FCW_DISTANCE : 3|2@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ ACCFCW_MESSAGE : 12|4@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ SET_SPEED_KPH : 24|8@1+ (1,0) [0|250] "km/h" XXX
|
||||||
|
SG_ WHEEL_TORQUE_REQUEST : 38|15@0+ (1,-7767) [-7767|24999] "Nm" XXX
|
||||||
|
SG_ WHEEL_TORQUE_REQUEST_ACTIVE : 39|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 629 DAS_6: 8 XXX
|
||||||
|
SG_ LKAS_ICON_COLOR : 1|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ LKAS_LANE_LINES : 19|4@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKAS_ALERTS : 27|4@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ CAR_MODEL : 15|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ AUTO_HIGH_BEAM_ON : 47|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ LKAS_DISABLED : 56|1@1+ (1,0) [0|0] "" XXX
|
||||||
|
|
||||||
|
BO_ 720 BSM_1: 6 XXX
|
||||||
|
SG_ RIGHT_STATUS : 5|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LEFT_STATUS : 2|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 792 STEERING_LEVERS: 8 XXX
|
||||||
|
SG_ TURN_SIGNALS : 0|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ HIGH_BEAM_PRESSED : 2|1@0+ (1,0) [0|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 820 BCM_1: 8 XXX
|
||||||
|
SG_ DOOR_OPEN_FL : 17|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DOOR_OPEN_FR : 18|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DOOR_OPEN_RL : 19|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DOOR_OPEN_RR : 20|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DOOR_OPEN_TRUNK : 22|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ TURN_LIGHT_LEFT : 31|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ TURN_LIGHT_RIGHT : 30|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ HIGH_BEAM_DISPLAY : 58|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
VAL_ 368 Gear_State 4 "D" 2 "N" 1 "R" 0 "P" ;
|
||||||
|
|
||||||
|
CM_ SG_ 258 STEERING_ANGLE_HP "Steering angle high precision";
|
||||||
|
CM_ SG_ 264 ENGINE_TORQUE "Effective engine torque";
|
||||||
|
CM_ SG_ 264 EXPECTED_ENGINE_TORQUE "Expected Engine Torque based on target engine speed";
|
||||||
|
CM_ SG_ 678 LKAS_ICON_COLOR "3 is yellow, 2 is green, 1 is white, 0 is null";
|
||||||
|
CM_ SG_ 678 LKAS_LANE_LINES "0x01 transparent lines, 0x02 left white, 0x03 right white, 0x04 left yellow with car on top, 0x05 left yellow with car on top, 0x06 both white, 0x07 left yellow, 0x08 left yellow right white, 0x09 right yellow, 0x0a right yellow left white, 0x0b left yellow with car on top right white, 0x0c right yellow with car on top left white, (0x00, 0x0d, 0x0e, 0x0f) null";
|
||||||
|
CM_ SG_ 678 LKAS_ALERTS "(0x01, 0x02) lane sense off, (0x03, 0x04, 0x06) place hands on steering wheel, 0x07 lane departure detected + place hands on steering wheel, (0x08, 0x09) lane sense unavailable + clean front windshield, 0x0b lane sense and auto high beam unavailable + clean front windshield, 0x0c lane sense unavailable + service required, (0x00, 0x05, 0x0a, 0x0d, 0x0e, 0x0f) null";
|
||||||
|
|
||||||
|
CM_ "chrysler_ram_hd.dbc starts here";
|
||||||
|
|
||||||
|
BO_ 545 EPS_3: 8 XXX
|
||||||
|
SG_ DASM_FAULT : 34|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ Activation_Status : 48|3@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ Driver_Override : 35|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ Hands_on_Wheel : 51|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 630 LKAS_COMMAND: 8 XXX
|
||||||
|
SG_ STEERING_TORQUE : 10|11@0+ (1,-1024) [0|1] "" XXX
|
||||||
|
SG_ LKAS_CONTROL_BIT : 24|3@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DASM_FAULT : 51|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ COUNTER : 55|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
16
system/clearpilot/notes/dbc_explained.txt
Normal file
16
system/clearpilot/notes/dbc_explained.txt
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
A message starts with BO_ and the ID must be unique and in decimal (not hexadecimal)
|
||||||
|
The DBC ID adds 3 extra bits for 29 bit CAN IDs to serve as an 'extended ID' flag
|
||||||
|
The name must be unique, 1-32 characters and may contain [A-z], digits and underscores
|
||||||
|
The length (DLC) must be an integer between 0 and 1785
|
||||||
|
The sender is the name of the transmitting node, or Vector__XXX if no name is available
|
||||||
|
DBC signal syntax explained
|
||||||
|
|
||||||
|
Each message contains 1+ signals that start with SG_
|
||||||
|
The name must be unique, 1-32 characters and may contain [A-z], digits and underscores
|
||||||
|
The bit start counts from 0 and marks the start of the signal in the data payload
|
||||||
|
The bit length is the signal length
|
||||||
|
The @1 specifies that the byte order is little-endian/Intel (vs @0 for big-endian/Motorola)
|
||||||
|
The + informs that the value type is unsigned (vs - for signed signals)
|
||||||
|
The (scale,offset) values are used in the physical value linear equation (more below)
|
||||||
|
The [min|max] and unit are optional meta information (they can e.g. be set to [0|0] and "")
|
||||||
|
The receiver is the name of the receiving node (again, Vector__XXX is used as default)
|
||||||
2457
system/clearpilot/notes/hyundai_can_full.dbc
Normal file
2457
system/clearpilot/notes/hyundai_can_full.dbc
Normal file
File diff suppressed because it is too large
Load Diff
719
system/clearpilot/notes/hyundai_canfd.dbc
Normal file
719
system/clearpilot/notes/hyundai_canfd.dbc
Normal file
@@ -0,0 +1,719 @@
|
|||||||
|
VERSION ""
|
||||||
|
|
||||||
|
|
||||||
|
NS_ :
|
||||||
|
NS_DESC_
|
||||||
|
CM_
|
||||||
|
BA_DEF_
|
||||||
|
BA_
|
||||||
|
VAL_
|
||||||
|
CAT_DEF_
|
||||||
|
CAT_
|
||||||
|
FILTER
|
||||||
|
BA_DEF_DEF_
|
||||||
|
EV_DATA_
|
||||||
|
ENVVAR_DATA_
|
||||||
|
SGTYPE_
|
||||||
|
SGTYPE_VAL_
|
||||||
|
BA_DEF_SGTYPE_
|
||||||
|
BA_SGTYPE_
|
||||||
|
SIG_TYPE_REF_
|
||||||
|
VAL_TABLE_
|
||||||
|
SIG_GROUP_
|
||||||
|
SIG_VALTYPE_
|
||||||
|
SIGTYPE_VALTYPE_
|
||||||
|
BO_TX_BU_
|
||||||
|
BA_DEF_REL_
|
||||||
|
BA_REL_
|
||||||
|
BA_DEF_DEF_REL_
|
||||||
|
BU_SG_REL_
|
||||||
|
BU_EV_REL_
|
||||||
|
BU_BO_REL_
|
||||||
|
SG_MUL_VAL_
|
||||||
|
|
||||||
|
BS_:
|
||||||
|
|
||||||
|
BU_: XXX CAMERA FRONT_RADAR ADRV APRK
|
||||||
|
|
||||||
|
|
||||||
|
BO_ 53 ACCELERATOR: 32 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ GEAR : 192|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ ACCELERATOR_PEDAL : 40|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 64 GEAR_ALT: 32 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ GEAR : 32|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
|
||||||
|
BO_ 69 GEAR: 24 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ GEAR : 44|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
|
||||||
|
BO_ 80 LKAS: 16 XXX
|
||||||
|
SG_ STEER_REQ : 52|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ TORQUE_REQUEST : 41|11@1+ (1,-1024) [0|4095] "" XXX
|
||||||
|
SG_ LKA_ICON : 38|2@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 27|2@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ LFA_BUTTON : 56|1@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ STEER_MODE : 65|3@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_WARNING : 32|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_ASSIST : 62|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_MODE : 24|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 70|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ HAS_LANE_SAFETY : 80|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 111|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ FCA_SYSWARN : 40|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 81 ADRV_0x51: 32 ADRV
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
|
||||||
|
BO_ 96 ESP_STATUS: 32 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ TRACTION_AND_STABILITY_CONTROL : 42|3@1+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ BRAKE_PRESSURE : 128|10@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ BRAKE_PRESSED : 148|1@1+ (1,0) [0|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 101 BRAKE: 32 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BRAKE_POSITION : 40|16@1- (1,0) [0|65535] "" XXX
|
||||||
|
SG_ BRAKE_PRESSED : 57|1@1+ (1,0) [0|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 112 GEAR_ALT_2: 32 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ GEAR : 60|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
|
||||||
|
BO_ 160 WHEEL_SPEEDS: 24 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ MOVING_FORWARD : 56|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ MOVING_BACKWARD : 57|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ MOVING_FORWARD2 : 58|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ MOVING_BACKWARD2 : 59|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ WHEEL_SPEED_1 : 64|16@1+ (0.03125,0) [0|65535] "kph" XXX
|
||||||
|
SG_ WHEEL_SPEED_2 : 80|16@1+ (0.03125,0) [0|65535] "kph" XXX
|
||||||
|
SG_ WHEEL_SPEED_3 : 96|16@1+ (0.03125,0) [0|65535] "kph" XXX
|
||||||
|
SG_ WHEEL_SPEED_4 : 112|16@1+ (0.03125,0) [0|65535] "kph" XXX
|
||||||
|
|
||||||
|
BO_ 234 MDPS: 24 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ LKA_ACTIVE : 48|1@0+ (1,0) [0|16777215] "" XXX
|
||||||
|
SG_ LKA_FAULT : 54|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ STEERING_OUT_TORQUE : 64|12@1+ (0.1,-204.8) [0|65535] "" XXX
|
||||||
|
SG_ STEERING_COL_TORQUE : 80|13@1+ (1,-4095) [0|4095] "" XXX
|
||||||
|
SG_ STEERING_ANGLE : 96|16@1- (-0.1,0) [0|255] "deg" XXX
|
||||||
|
SG_ STEERING_ANGLE_2 : 128|16@1- (-0.1,0) [0|65535] "deg" XXX
|
||||||
|
|
||||||
|
BO_ 256 ACCELERATOR_BRAKE_ALT: 32 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BRAKE_PRESSED : 32|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ACCELERATOR_PEDAL_PRESSED : 176|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 261 ACCELERATOR_ALT: 32 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ ACCELERATOR_PEDAL : 103|10@1+ (0.25,0) [0|1022] "" XXX
|
||||||
|
|
||||||
|
BO_ 272 LKAS_ALT: 32 XXX
|
||||||
|
SG_ STEER_REQ : 52|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ TORQUE_REQUEST : 41|11@1+ (1,-1024) [0|4095] "" XXX
|
||||||
|
SG_ LKA_ICON : 38|2@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 27|2@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ LFA_BUTTON : 56|1@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ STEER_MODE : 65|3@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_WARNING : 32|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_ASSIST : 62|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_MODE : 24|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 70|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ HAS_LANE_SAFETY : 80|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 111|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ FCA_SYSWARN : 40|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 293 STEERING_SENSORS: 16 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ STEERING_RATE : 40|8@1+ (4,0) [0|1016] "deg/s" XXX
|
||||||
|
SG_ STEERING_ANGLE : 24|16@1- (-0.1,0) [0|255] "deg" XXX
|
||||||
|
|
||||||
|
BO_ 298 LFA: 16 ADRV
|
||||||
|
SG_ STEER_REQ : 52|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ TORQUE_REQUEST : 41|11@1+ (1,-1024) [0|4095] "" XXX
|
||||||
|
SG_ LKA_ICON : 38|2@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 27|2@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ LFA_BUTTON : 56|1@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ STEER_MODE : 65|3@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_WARNING : 32|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_ASSIST : 62|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LKA_MODE : 24|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 70|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ HAS_LANE_SAFETY : 80|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 111|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 304 GEAR_SHIFTER: 16 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ PARK_BUTTON : 32|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ GEAR : 64|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ KNOB_POSITION : 40|3@1+ (1,0) [0|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 357 SPAS1: 24 APRK
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 96|16@1- (0.1,0) [0|0] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 90|3@1+ (1,0) [0|0] "" XXX
|
||||||
|
|
||||||
|
BO_ 362 SPAS2: 32 APRK
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|0] "" XXX
|
||||||
|
SG_ BLINKER_CONTROL : 133|3@1+ (1,0) [0|0] "" XXX
|
||||||
|
|
||||||
|
BO_ 373 TCS: 24 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 80|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 74|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 76|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_4 : 24|7@1+ (1,0) [0|127] "" XXX
|
||||||
|
SG_ aBasis : 32|11@1+ (0.01,-10.23) [0|7] "m/s^2" XXX
|
||||||
|
SG_ NEW_SIGNAL_5 : 72|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_6 : 128|4@1+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_7 : 135|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ PROBABLY_EQUIP : 136|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ AEB_EQUIP_MAYBE : 96|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ EQUIP_MAYBE : 64|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DriverBraking : 81|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DriverBrakingLowSens : 84|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ACC_REQ : 68|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ACCEL_REF_ACC : 48|11@1- (1,0) [0|1023] "" XXX
|
||||||
|
SG_ ACCEnable : 67|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 352 ADRV_0x160: 16 ADRV
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_FF : 64|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_FC : 72|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_2 : 56|8@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ AEB_SETTING : 24|2@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_9 : 80|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 384 CAM_0x180: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 385 CAM_0x181: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 386 CAM_0x182: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 387 CAM_0x183: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 388 CAM_0x184: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 389 CAM_0x185: 8 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 416 SCC_CONTROL: 32 ADRV
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 64|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_8 : 170|4@1+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ ZEROS : 215|48@0+ (1,0) [0|281474976710655] "" XXX
|
||||||
|
SG_ ZEROS_3 : 191|7@0+ (1,0) [0|127] "" XXX
|
||||||
|
SG_ ZEROS_4 : 183|4@0+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ ZEROS_6 : 119|16@0+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ ZEROS_8 : 95|5@0+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 109|2@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ SET_ME_TMP_64 : 55|8@0+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ SET_ME_2 : 105|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_6 : 104|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ ZEROS_9 : 71|5@1+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ ZEROS_10 : 111|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ SET_ME_3 : 45|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ ObjValid : 46|1@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 168|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ OBJ_STATUS : 176|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ ACC_ObjDist : 24|11@1+ (0.1,0) [0|204.7] "m" XXX
|
||||||
|
SG_ ZEROS_5 : 77|11@1+ (1,0) [0|2047] "" XXX
|
||||||
|
SG_ DISTANCE_SETTING : 88|3@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ ZEROS_2 : 207|5@0+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ CRUISE_STANDSTILL : 76|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ aReqRaw : 140|11@1+ (0.01,-10.23) [-10.23|10.24] "m/s^2" XXX
|
||||||
|
SG_ aReqValue : 128|11@1+ (0.01,-10.23) [-10.23|10.24] "m/s^2" XXX
|
||||||
|
SG_ ZEROS_7 : 63|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ ACCMode : 68|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_12 : 35|9@1+ (0.1,0) [0|255] "" XXX
|
||||||
|
SG_ JerkLowerLimit : 166|7@0+ (0.1,0) [0|12.7] "m/s^3" XXX
|
||||||
|
SG_ StopReq : 184|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_15 : 192|11@1+ (0.1,0) [0|204.7] "m" XXX
|
||||||
|
SG_ VSetDis : 103|8@0+ (1,0) [0|255] "km/h or mph" XXX
|
||||||
|
SG_ MainMode_ACC : 66|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ JerkUpperLimit : 158|7@0+ (0.1,0) [0|0] "" XXX
|
||||||
|
|
||||||
|
BO_ 426 CRUISE_BUTTONS_ALT: 16 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 24|4@1+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ SET_ME_1 : 28|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ DISTANCE_UNIT : 30|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 31|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ ADAPTIVE_CRUISE_MAIN_BTN : 34|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 35|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LFA_BTN : 39|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ CRUISE_BUTTONS : 36|3@1+ (1,0) [0|4] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_4 : 40|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NORMAL_CRUISE_MAIN_BTN : 41|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_5 : 42|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ SET_ME_2 : 44|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_6 : 47|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ BYTE6 : 48|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE7 : 56|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE8 : 64|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE9 : 72|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE10 : 80|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE11 : 88|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE12 : 96|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE13 : 104|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE14 : 112|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE15 : 120|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 438 CAM_0x1b6: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 439 CAM_0x1b7: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 440 CAM_0x1b8: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 441 CAM_0x1b9: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 463 CRUISE_BUTTONS: 8 XXX
|
||||||
|
SG_ _CHECKSUM : 0|8@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ LKAS_BTN : 23|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ SET_ME_1 : 29|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ADAPTIVE_CRUISE_MAIN_BTN : 19|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NORMAL_CRUISE_MAIN_BTN : 21|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ COUNTER : 12|4@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ CRUISE_BUTTONS : 16|3@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ RIGHT_PADDLE : 25|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LEFT_PADDLE : 27|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 474 ADRV_0x1da: 32 ADRV
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_22 : 31|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_41 : 47|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 480 LFAHDA_CLUSTER: 16 ADRV
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ HDA_ICON : 31|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LFA_ICON : 47|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 32|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 30|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 49|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_4 : 24|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 490 ADRV_0x1ea: 32 ADRV
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_1C : 31|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 32|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 47|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 55|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_4 : 64|6@1+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_5 : 72|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_6 : 75|5@1+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_7 : 80|5@1+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_8 : 88|7@1+ (1,0) [0|127] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_9 : 96|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_10 : 143|5@0+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_11 : 144|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_12 : 152|6@1+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_13 : 160|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_14 : 163|5@1+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_15 : 175|4@0+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_16 : 168|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_17 : 176|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_18 : 184|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_19 : 208|3@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_20 : 212|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ SET_ME_FF : 120|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_TMP_F : 232|5@1+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ SET_ME_TMP_F_2 : 240|5@1+ (1,0) [0|31] "" XXX
|
||||||
|
|
||||||
|
BO_ 507 CAM_0x1fb: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 512 ADRV_0x200: 8 ADRV
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_E1 : 24|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_3A : 32|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 513 RADAR_0x201: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 528 RADAR_0x210: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 529 RADAR_0x211: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 530 RADAR_0x212: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 531 RADAR_0x213: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 532 RADAR_0x214: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 533 RADAR_0x215: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 534 RADAR_0x216: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 535 RADAR_0x217: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 536 RADAR_0x218: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 537 RADAR_0x219: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 538 RADAR_0x21a: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 539 RADAR_0x21b: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 540 RADAR_0x21c: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 541 RADAR_0x21d: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 542 RADAR_0x21e: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 543 RADAR_0x21f: 32 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 576 RADAR_0x240: 16 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 593 RADAR_0x251: 16 FRONT_RADAR
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 674 CAM_0x2a2: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 675 CAM_0x2a3: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 676 CAM_0x2a4: 24 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE3 : 24|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE4 : 32|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE5 : 40|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE6 : 48|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ LEFT_LANE_LINE : 56|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ SET_ME_0 : 58|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ RIGHT_LANE_LINE : 60|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ SET_ME_0_2 : 62|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ BYTE8 : 64|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE9 : 72|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE10 : 80|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE11 : 88|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE12 : 96|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE13 : 104|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE14 : 112|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE15 : 120|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE16 : 128|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE17 : 136|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE18 : 144|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE19 : 152|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE20 : 160|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE21 : 168|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE22 : 176|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE23 : 184|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 699 CAM_0x2bb: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 700 CAM_0x2bc: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 701 CAM_0x2bd: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 702 CAM_0x2be: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 736 MANUAL_SPEED_LIMIT_ASSIST: 32 XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ MSLA_STATUS : 26|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ MSLA_ENABLED : 38|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ MAX_SPEED : 55|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ MAX_SPEED_COPY : 144|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 837 ADRV_0x345: 8 ADRV
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SET_ME_15 : 24|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 866 CAM_0x362: 32 CAMERA
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE3 : 24|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE4 : 32|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE5 : 40|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE6 : 48|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ LEFT_LANE_LINE : 56|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ SET_ME_0 : 58|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ RIGHT_LANE_LINE : 60|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ SET_ME_0_2 : 62|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ BYTE8 : 64|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE9 : 72|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE10 : 80|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE11 : 88|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE12 : 96|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE13 : 104|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE14 : 112|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE15 : 120|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE16 : 128|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE17 : 136|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE18 : 144|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE19 : 152|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE20 : 160|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE21 : 168|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE22 : 176|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE23 : 184|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE24 : 192|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE25 : 200|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE26 : 208|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE27 : 216|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE28 : 224|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE29 : 232|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE30 : 240|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ BYTE31 : 248|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 961 BLINKER_STALKS: 8 XXX
|
||||||
|
SG_ COUNTER_ALT : 15|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ CHECKSUM_MAYBE : 7|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ HIGHBEAM_FORWARD : 18|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ HIGHBEAM_BACKWARD : 26|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ RIGHT_BLINKER : 32|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LEFT_BLINKER : 30|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LIGHT_KNOB_POSITION : 21|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 1041 DOORS_SEATBELTS: 8 XXX
|
||||||
|
SG_ CHECKSUM_MAYBE : 7|8@0+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ COUNTER_ALT : 15|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ DRIVER_DOOR : 24|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ PASSENGER_DOOR : 34|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DRIVER_REAR_DOOR : 52|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ PASSENGER_REAR_DOOR : 56|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DRIVER_SEATBELT : 42|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ PASSENGER_SEATBELT : 36|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 1043 BLINKERS: 8 XXX
|
||||||
|
SG_ LEFT_STALK : 8|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ RIGHT_STALK : 10|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ COUNTER_ALT : 15|4@0+ (1,0) [0|15] "" XXX
|
||||||
|
SG_ LEFT_LAMP : 20|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ RIGHT_LAMP : 22|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LEFT_LAMP_ALT : 59|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ RIGHT_LAMP_ALT : 61|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ USE_ALT_LAMP : 62|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 1240 CLUSTER_INFO: 8 XXX
|
||||||
|
SG_ DISTANCE_UNIT : 0|1@1+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 442 BLINDSPOTS_REAR_CORNERS: 24 XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 96|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ COLLISION_AVOIDANCE_ACTIVE : 68|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ LEFT_MB : 30|1@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ LEFT_BLOCKED : 24|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ MORE_LEFT_PROB : 32|1@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ FL_INDICATOR : 46|6@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ FR_INDICATOR : 54|6@0+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ RIGHT_BLOCKED : 64|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 874 BLINDSPOTS_FRONT_CORNER_2: 16 XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
|
||||||
|
BO_ 485 BLINDSPOTS_FRONT_CORNER_1: 16 XXX
|
||||||
|
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_1 : 108|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_2 : 96|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 88|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_4 : 80|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_5 : 31|2@0+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ REVERSING : 24|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_7 : 32|2@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_8 : 47|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_9 : 55|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
|
||||||
|
BO_ 506 CLUSTER_SPEED_LIMIT: 32 XXX
|
||||||
|
SG_ SPEED_LIMIT_3 : 119|8@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SPEED_LIMIT_2 : 47|7@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SPEED_LIMIT_1 : 39|7@0+ (1,0) [0|255] "" XXX
|
||||||
|
SG_ SPEED_CHANGE_BLINKING : 129|1@1+ (1,0) [0|3] "" XXX
|
||||||
|
SG_ CHIME_2 : 122|2@1+ (1,0) [0|7] "" XXX
|
||||||
|
SG_ CHIME_1 : 133|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ARROW_DOWN : 120|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ ARROW_UP : 121|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ SECONDARY_LIMIT_1 : 79|8@0+ (1,0) [0|127] "" XXX
|
||||||
|
SG_ SECONDARY_LIMIT_2 : 103|8@0+ (1,0) [0|127] "" XXX
|
||||||
|
SG_ SCHOOL_ZONE : 155|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 1144 DRIVE_MODE: 8 XXX
|
||||||
|
SG_ DRIVE_MODE : 0|16@1+ (1,-61611) [0|61611] "" XXX
|
||||||
|
SG_ DRIVE_MODE2 : 28|3@1+ (1,0) [1|3] "" XXX
|
||||||
|
|
||||||
|
BO_ 1151 HVAC_TOUCH_BUTTONS: 8 XXX
|
||||||
|
SG_ AUTO_BUTTON : 8|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ SYNC_BUTTON : 12|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ FR_DEFROST_BUTTON : 20|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ RR_DEFROST_BUTTON : 22|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ FAN_SPEED_UP_BUTTON : 24|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ FAN_SPEED_DOWN_BUTTON : 26|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ AIR_DIRECTION_BUTTON : 28|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ AC_BUTTON : 40|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ DRIVER_ONLY_BUTTON : 44|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ RECIRC_BUTTON : 48|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
SG_ HEAT_BUTTON : 52|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 1259 LOCAL_TIME2: 8 XXX
|
||||||
|
SG_ HOURS : 15|5@0+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ MINUTES : 21|6@0+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ SECONDS : 24|6@1+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ NEW_SIGNAL_3 : 39|1@0+ (1,0) [0|1] "" XXX
|
||||||
|
|
||||||
|
BO_ 1264 LOCAL_TIME: 8 XXX
|
||||||
|
SG_ HOURS : 12|5@0+ (1,0) [0|31] "" XXX
|
||||||
|
SG_ MINUTES : 21|6@0+ (1,0) [0|63] "" XXX
|
||||||
|
SG_ SECONDS : 31|8@0+ (1,0) [0|59] "" XXX
|
||||||
|
|
||||||
|
CM_ 272 "Alternative LKAS message, used on cars such as 2023 Ioniq 6, 2nd gen Kona. Matches LKAS except size is 32 bytes";
|
||||||
|
CM_ 676 "Contains signals with detailed lane line information. Used by ADAS ECU on HDA 2 vehicles to operate LFA.";
|
||||||
|
CM_ 866 "Contains signals with detailed lane line information. Used by ADAS ECU on HDA 2 vehicles to operate LFA. Used on cars that use message 272.";
|
||||||
|
CM_ 1043 "Lamp signals do not seem universal on cars that use LKAS_ALT, but stalk signals do.";
|
||||||
|
|
||||||
|
CM_ SG_ 80 HAS_LANE_SAFETY "If 0, hides LKAS 'Lane Safety' menu from vehicle settings";
|
||||||
|
CM_ SG_ 96 BRAKE_PRESSURE "User applied brake pedal pressure. Ramps from computer applied pressure on falling edge of cruise. Cruise cancels if !=0";
|
||||||
|
CM_ SG_ 101 BRAKE_POSITION "User applied brake pedal position, max is ~700. Signed on some vehicles";
|
||||||
|
CM_ SG_ 373 PROBABLY_EQUIP "aeb equip?";
|
||||||
|
CM_ SG_ 373 ACCEnable "Likely a copy of CAN's TCS13->ACCEnable";
|
||||||
|
CM_ SG_ 373 DriverBraking "Likely derived from BRAKE->BRAKE_POSITION";
|
||||||
|
CM_ SG_ 373 DriverBrakingLowSens "Higher threshold version of DriverBraking";
|
||||||
|
CM_ SG_ 352 SET_ME_9 "has something to do with AEB settings";
|
||||||
|
CM_ SG_ 416 VSetDis "set speed in display units";
|
||||||
|
CM_ SG_ 676 LEFT_LANE_LINE "Left lane line confidence";
|
||||||
|
CM_ SG_ 676 RIGHT_LANE_LINE "Right lane line confidence";
|
||||||
|
CM_ SG_ 736 MAX_SPEED "Display units. Restricts car from driving above this speed unless accelerator pedal is depressed beyond pressure point";
|
||||||
|
CM_ SG_ 866 LEFT_LANE_LINE "Left lane line confidence";
|
||||||
|
CM_ SG_ 866 RIGHT_LANE_LINE "Right lane line confidence";
|
||||||
|
CM_ SG_ 961 COUNTER_ALT "only increments on change";
|
||||||
|
CM_ SG_ 1041 COUNTER_ALT "only increments on change";
|
||||||
|
CM_ SG_ 1043 COUNTER_ALT "only increments on change";
|
||||||
|
CM_ SG_ 1043 USE_ALT_LAMP "likely 1 on cars that use alt lamp signals";
|
||||||
|
VAL_ 53 GEAR 0 "P" 5 "D" 6 "N" 7 "R" ;
|
||||||
|
VAL_ 64 GEAR 0 "P" 5 "D" 6 "N" 7 "R" ;
|
||||||
|
VAL_ 69 GEAR 0 "P" 5 "D" 6 "N" 7 "R" ;
|
||||||
|
VAL_ 112 GEAR 0 "P" 5 "D" 6 "N" 7 "R" ;
|
||||||
|
VAL_ 80 LKA_ICON 0 "hidden" 1 "grey" 2 "green" 3 "flashing green" ;
|
||||||
|
VAL_ 80 LKA_MODE 1 "warning only" 2 "assist" 6 "off" ;
|
||||||
|
VAL_ 96 TRACTION_AND_STABILITY_CONTROL 0 "On" 5 "Limited" 1 "Off";
|
||||||
|
VAL_ 234 LKA_FAULT 0 "ok" 1 "lka fault" ;
|
||||||
|
VAL_ 272 LKA_ICON 0 "hidden" 1 "grey" 2 "green" 3 "flashing green" ;
|
||||||
|
VAL_ 272 LKA_MODE 1 "warning only" 2 "assist" 6 "off" ;
|
||||||
|
VAL_ 298 LKA_ICON 0 "hidden" 1 "grey" 2 "green" 3 "flashing green" ;
|
||||||
|
VAL_ 298 LKA_MODE 1 "warning only" 2 "assist" 6 "off" ;
|
||||||
|
VAL_ 304 PARK_BUTTON 1 "Pressed" 2 "Not Pressed";
|
||||||
|
VAL_ 304 KNOB_POSITION 1 "R" 2 "N (on R side)" 3 "Centered" 4 "N (on D side)" 5 "D";
|
||||||
|
VAL_ 304 GEAR 1 "P" 2 "R" 3 "N" 4 "D" ;
|
||||||
|
VAL_ 352 AEB_SETTING 1 "off" 2 "warning only" 3 "active assist" ;
|
||||||
|
VAL_ 362 BLINKER_CONTROL 1 "hazards" 2 "hazards button backlight" 3 "left blinkers" 4 "right blinkers";
|
||||||
|
VAL_ 373 ACCEnable 0 "SCC ready" 1 "SCC temp fault" 2 "SCC permanent fault" 3 "SCC permanent fault, communication issue";
|
||||||
|
VAL_ 416 ACCMode 0 "off" 1 "enabled" 2 "driver_override" 3 "off_maybe_fault" 4 "cancelled" ;
|
||||||
|
VAL_ 426 CRUISE_BUTTONS 0 "none" 1 "res_accel" 2 "set_decel" 3 "gap_distance" 4 "pause_resume" ;
|
||||||
|
VAL_ 463 CRUISE_BUTTONS 0 "none" 1 "res_accel" 2 "set_decel" 3 "gap_distance" 4 "pause_resume" ;
|
||||||
|
VAL_ 463 RIGHT_PADDLE 0 "Not Pulled" 1 "Pulled";
|
||||||
|
VAL_ 463 LEFT_PADDLE 0 "Not Pulled" 1 "Pulled";
|
||||||
|
VAL_ 676 LEFT_LANE_LINE 0 "Not Detected" 1 "Low Confidence" 2 "Medium Confidence" 3 "High Confidence";
|
||||||
|
VAL_ 676 RIGHT_LANE_LINE 0 "Not Detected" 1 "Low Confidence" 2 "Medium Confidence" 3 "High Confidence";
|
||||||
|
VAL_ 736 MSLA_STATUS 0 "disabled" 1 "active" 2 "paused";
|
||||||
|
VAL_ 866 LEFT_LANE_LINE 0 "Not Detected" 1 "Low Confidence" 2 "Medium Confidence" 3 "High Confidence";
|
||||||
|
VAL_ 866 RIGHT_LANE_LINE 0 "Not Detected" 1 "Low Confidence" 2 "Medium Confidence" 3 "High Confidence";
|
||||||
|
VAL_ 1041 DRIVER_DOOR 0 "Closed" 1 "Opened";
|
||||||
|
VAL_ 1041 PASSENGER_DOOR 0 "Closed" 1 "Opened";
|
||||||
|
VAL_ 1041 DRIVER_REAR_DOOR 0 "Closed" 1 "Opened";
|
||||||
|
VAL_ 1041 PASSENGER_REAR_DOOR 0 "Closed" 1 "Opened";
|
||||||
|
VAL_ 1041 DRIVER_SEATBELT 0 "Unlatched" 1 "Latched";
|
||||||
|
VAL_ 1041 PASSENGER_SEATBELT 0 "Unlatched" 1 "Latched";
|
||||||
|
VAL_ 1144 DRIVE_MODE2 3 "Set Sport" 1 "Set Normal" 2 "Set Eco";
|
||||||
|
VAL_ 1240 DISTANCE_UNIT 1 "Miles" 0 "Kilometers";
|
||||||
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
19
system/clearpilot/tools/updater.sh
Normal file
19
system/clearpilot/tools/updater.sh
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# Todo:
|
||||||
|
# Accepts a branch and version number
|
||||||
|
# Backs up params to /data/clearpilot_persistent/backups/(branch)_(commit)/params
|
||||||
|
# When system is ready, marks this as a good version in /data/clearpilot_persistent/backups/(branch)_(commit)/success_main
|
||||||
|
# When system in transit, marks this as a good version in /data/clearpilot_persistent/backups/(branch)_(commit)/success_selfdrive
|
||||||
|
# Installs a revert tool which allows revert to previous versions in /data/clearpilot_persistent/restore.sh, this executes on failure to start scenarios
|
||||||
|
# The installer redownloads a git release directly from
|
||||||
|
|
||||||
|
# Todo - model storage -
|
||||||
|
# models saved to /data/clearpilot_persistent/models/
|
||||||
|
# these are downloaded on demand during install from server during provision step, so they dont make git huge
|
||||||
|
|
||||||
|
# Todo - apk mirrors for missing packages for os updates, so we dont rely on apt or pip for dependencies,
|
||||||
|
# and system state stays consistent for each release
|
||||||
|
|
||||||
|
# Todo - ability to ban a release
|
||||||
|
|
||||||
|
# Basically, we need a real release framework for prod users, not just git updates
|
||||||
Reference in New Issue
Block a user