-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chrysler: forward bus 0 to bus 2 #177
Conversation
This keeps the stock LKAS camera active so that we can copy data from its messages.
…h likely support for arbitrary models. This is done by copying most values from the stock LKAS camera which is active with commaai/panda#177
Forward LKAS_HEARTBIT messages from stock camera to bus 0.
@@ -125,12 +125,29 @@ static int chrysler_tx_hook(CAN_FIFOMailBox_TypeDef *to_send) { | |||
return true; | |||
} | |||
|
|||
static void chrysler_init(int16_t param) { | |||
chrysler_camera_detected = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be set to 1
if camera msgs are on bus 0, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it already is up on line 50:
// check if stock camera ECU is still online
if (bus == 0 && addr == 0x292) {
chrysler_camera_detected = 1;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, right!
* 2019 Chrysler Pacfica and 2019 Jeep Grand Cherokee support, along with likely support for arbitrary models. This is done by copying most values from the stock LKAS camera which is active with commaai/panda#177 * No longer send LKAS_HEARTBIT because Panda now forwards it for us. * Pacifica Hybrid 2018 combine fingerprints, add 808: 8 * panda chrysler: forward bus 0 to bus 2 copy of Panda commit: commaai/panda@1049502
* chrysler: forward bus 0 to bus 2 This keeps the stock LKAS camera active so that we can copy data from its messages. * Only forward if giraffe switches are 1 0. Forward LKAS_HEARTBIT messages from stock camera to bus 0.
…ai#590) * 2019 Chrysler Pacfica and 2019 Jeep Grand Cherokee support, along with likely support for arbitrary models. This is done by copying most values from the stock LKAS camera which is active with commaai/panda#177 * No longer send LKAS_HEARTBIT because Panda now forwards it for us. * Pacifica Hybrid 2018 combine fingerprints, add 808: 8 * panda chrysler: forward bus 0 to bus 2 copy of Panda commit: commaai/panda@1049502
* 2019 Chrysler Pacfica and 2019 Jeep Grand Cherokee support, along with likely support for arbitrary models. This is done by copying most values from the stock LKAS camera which is active with commaai/panda#177 * No longer send LKAS_HEARTBIT because Panda now forwards it for us. * Pacifica Hybrid 2018 combine fingerprints, add 808: 8 * panda chrysler: forward bus 0 to bus 2 copy of Panda commit: commaai/panda@1049502
This keeps the stock LKAS camera active so that we can copy data from its messages.
I'll open a PR in openpilot with code that uses this to support arbitrary Chrysler models, including 2019.