Skip to content

Commit

Permalink
document tx message addresses better (#543)
Browse files Browse the repository at this point in the history
* document tx message addresses better

* comment out scc messages for now
  • Loading branch information
AskAlice committed May 29, 2020
1 parent a618e64 commit 339976c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion board/safety/safety_hyundai.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ const int HYUNDAI_MAX_RATE_DOWN = 7;
const int HYUNDAI_DRIVER_TORQUE_ALLOWANCE = 50;
const int HYUNDAI_DRIVER_TORQUE_FACTOR = 2;
const int HYUNDAI_STANDSTILL_THRSLD = 30; // ~1kph
const CanMsg HYUNDAI_TX_MSGS[] = {{832, 0, 8}, {1265, 0, 4}, {1157, 0, 4}};
const CanMsg HYUNDAI_TX_MSGS[] = {
{832, 0, 8}, // LKAS11 Bus 0
{1265, 0, 4}, // CLU11 Bus 0
{1157, 0, 4}, // LFAHDA_MFC Bus 0
// {1056, 0, 8}, // SCC11, Bus 0
// {1057, 0, 8}, // SCC12, Bus 0
// {1290, 0, 8}, // SCC13, Bus 0
// {905, 0, 8}, // SCC14, Bus 0
// {1186, 0, 8} // 4a2SCC, Bus 0
};

// TODO: missing checksum for wheel speeds message,worst failure case is
// wheel speeds stuck at 0 and we don't disengage on brake press
Expand Down

0 comments on commit 339976c

Please sign in to comment.