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

safety: macro to update vehicle speed #1762

Merged
merged 1 commit into from
Dec 7, 2023
Merged

safety: macro to update vehicle speed #1762

merged 1 commit into from
Dec 7, 2023

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Dec 7, 2023

sample_t supports int, so we needed a way to store float, hence rounding and vehicle speed factor. Put this duplicate math in a macro

@sshane sshane added the cleanup label Dec 7, 2023
@sshane sshane merged commit f741a90 into master Dec 7, 2023
13 of 20 checks passed
@sshane sshane deleted the spd-mcro branch December 7, 2023 02:05
eFiniLan added a commit to dragonpilot-community/panda that referenced this pull request Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant