Nissan
This commit is contained in:
parent
13c130983e
commit
0393b038db
|
@ -938,6 +938,7 @@ typedef enum {
|
||||||
CAN_BUS_BMW_E90 = 6,
|
CAN_BUS_BMW_E90 = 6,
|
||||||
CAN_BUS_Haltech = 7,
|
CAN_BUS_Haltech = 7,
|
||||||
CAN_BUS_MQB = 8,
|
CAN_BUS_MQB = 8,
|
||||||
|
CAN_BUS_NISSAN_VQ = 9,
|
||||||
|
|
||||||
Internal_ForceMyEnumIntSize_can_nbc = ENUM_32_BITS,
|
Internal_ForceMyEnumIntSize_can_nbc = ENUM_32_BITS,
|
||||||
} can_nbc_e;
|
} can_nbc_e;
|
||||||
|
|
|
@ -89,6 +89,7 @@ void canMazdaRX8(CanCycle cycle);
|
||||||
void canDashboardW202(CanCycle cycle);
|
void canDashboardW202(CanCycle cycle);
|
||||||
void canDashboardBMWE90(CanCycle cycle);
|
void canDashboardBMWE90(CanCycle cycle);
|
||||||
void canDashboardVagMqb(CanCycle cycle);
|
void canDashboardVagMqb(CanCycle cycle);
|
||||||
|
void canDashboardNissanVQ(CanCycle cycle);
|
||||||
|
|
||||||
void updateDash(CanCycle cycle) {
|
void updateDash(CanCycle cycle) {
|
||||||
|
|
||||||
|
@ -115,6 +116,9 @@ void updateDash(CanCycle cycle) {
|
||||||
case CAN_BUS_MQB:
|
case CAN_BUS_MQB:
|
||||||
canDashboardVagMqb(cycle);
|
canDashboardVagMqb(cycle);
|
||||||
break;
|
break;
|
||||||
|
case CAN_BUS_NISSAN_VQ:
|
||||||
|
canDashboardNissanVQ(cycle);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -293,6 +297,13 @@ void canDashboardW202(CanCycle cycle) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void canDashboardNissanVQ(CanCycle cycle) {
|
||||||
|
if (cycle.isInterval(CI::_50ms)) {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://docs.google.com/spreadsheets/d/1XMfeGlhgl0lBL54lNtPdmmFd8gLr2T_YTriokb30kJg
|
* https://docs.google.com/spreadsheets/d/1XMfeGlhgl0lBL54lNtPdmmFd8gLr2T_YTriokb30kJg
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -649,7 +649,7 @@ float fanOffTemperature;+Cooling fan turn-off temperature threshold, in Celsius;
|
||||||
|
|
||||||
float vehicleSpeedCoef;+This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h;"coef", 1, 0, 0.01, 2000, 2
|
float vehicleSpeedCoef;+This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h;"coef", 1, 0, 0.01, 2000, 2
|
||||||
|
|
||||||
custom can_nbc_e 4 bits, U32, @OFFSET@, [0:4], "None", "FIAT", "VAG", "MAZDA RX8", "BMW", "W202", "BMW E90", "Haltech", "VAG MQB", "type 9", "type 10", "INVALID", "INVALID"
|
custom can_nbc_e 4 bits, U32, @OFFSET@, [0:4], "None", "FIAT", "VAG", "MAZDA RX8", "BMW", "W202", "BMW E90", "Haltech", "VAG MQB", "Nissan VQ", "type 10", "INVALID", "INVALID"
|
||||||
can_nbc_e canNbcType;set can_mode X
|
can_nbc_e canNbcType;set can_mode X
|
||||||
|
|
||||||
int canSleepPeriodMs;CANbus thread period, ms;"ms", 1, 0, 0, 1000, 2
|
int canSleepPeriodMs;CANbus thread period, ms;"ms", 1, 0, 0, 1000, 2
|
||||||
|
|
Loading…
Reference in New Issue