-
Notifications
You must be signed in to change notification settings - Fork 783
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
Safety for Tesla Model 3 / Model Y #2036
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # board/safety/safety_tesla.h
# Conflicts: # board/safety/safety_tesla.h
- use DI_state as a standstill signal
@@ -950,9 +950,9 @@ def test_not_allow_user_brake_when_moving(self, _user_brake_msg=None, get_brake_ | |||
_user_brake_msg = self._user_brake_msg | |||
|
|||
# Brake was already pressed | |||
self._rx(self._vehicle_moving_msg(self.STANDSTILL_THRESHOLD)) |
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 was moved to match the ordering of test_allow_user_brake_at_zero_speed()
and fixes this test failing due to the vehicle moving message being the same message as the cruise state message, so when we set the vehicle in motion it also calls pcm_cruise_check
which changes controls_allowed
.
* - match "vehicle_moving" with opendbc - allow to cancel * remove comment * update _vehicle_moving_msg * remove redundant condition
Add support for Tesla Model 3/Y
Prerequisite of: commaai/opendbc#1263