Skip to content

test models: check angle matches safety#38110

Merged
sshane merged 7 commits into
masterfrom
tm-check-angle
May 31, 2026
Merged

test models: check angle matches safety#38110
sshane merged 7 commits into
masterfrom
tm-check-angle

Conversation

@sshane
Copy link
Copy Markdown
Collaborator

@sshane sshane commented May 30, 2026

@github-actions github-actions Bot added CI / testing car vehicle-specific labels May 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 30, 2026

Process replay diff report

Replays driving segments through this PR and compares the behavior to master.
Please review any changes carefully to ensure they are expected.

✅ 0 changed, 66 passed, 0 errors

@sshane sshane merged commit 965f47e into master May 31, 2026
11 checks passed
@sshane sshane deleted the tm-check-angle branch May 31, 2026 08:21
Comment on lines +30 to +36
# panda safety stores angle_meas in brand-specific CAN units (angle_deg_to_can in opendbc/safety/modes/*.h).
ANGLE_DEG_TO_CAN = {
"tesla": -10,
"toyota": 17.452007,
"nissan": 100,
"psa": 10,
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shouldn't be adding car-specific code like this outside the brand folders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

car vehicle-specific CI / testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants