Skip to content
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

Tesla: setSpeed to 0 if not active #1366

Merged
merged 2 commits into from
Oct 14, 2024
Merged

Tesla: setSpeed to 0 if not active #1366

merged 2 commits into from
Oct 14, 2024

Conversation

lukasloetkolben
Copy link
Contributor

@lukasloetkolben lukasloetkolben commented Oct 14, 2024

Setting the speed to anything other than 0 when we are not engaged puts the Driver Interface (DI_cruiseState) in the UNAVAILABLE state. This stops us from engaging while the car is at a standstill.

@lukasloetkolben lukasloetkolben marked this pull request as ready for review October 14, 2024 04:26
@github-actions github-actions bot added car related to opendbc/car/ tesla labels Oct 14, 2024
@lukasloetkolben lukasloetkolben changed the title Tesla: setSpeed to 0 if accel is 0 Tesla: setSpeed to 0 if not active Oct 14, 2024
@adeebshihadeh adeebshihadeh merged commit ac01a9c into master Oct 14, 2024
6 checks passed
@adeebshihadeh adeebshihadeh deleted the tesla_set_speed branch October 14, 2024 16:13
cydia2020 pushed a commit to cydia2020/opendbc that referenced this pull request Oct 14, 2024
* setSpeed to 0 if accel is 0

* setSpeed = 0 if not active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
car related to opendbc/car/ tesla
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants