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

move car.capnp to opendbc #33656

Closed
wants to merge 12 commits into from
Closed

Conversation

deanlee
Copy link
Contributor

@deanlee deanlee commented Sep 26, 2024

related pr: commaai/opendbc#1288

resolve #33646

The differences in process replay results might be due to are caused by replacing the dataclasses in structs.py with car.capnp, which reduced the precision of float fields from Python's 64-bit (double precision) to Cap'n Proto's 32-bit (we use Float32 for all float fields in car.capnp).

Copy link
Contributor

github-actions bot commented Sep 26, 2024

UI Preview

All Screenshots

@deanlee deanlee force-pushed the car_move_car_capnp branch 6 times, most recently from 3790e4b to b4d9aaf Compare September 26, 2024 18:31
@deanlee deanlee marked this pull request as ready for review September 26, 2024 18:31
@deanlee deanlee marked this pull request as draft September 26, 2024 18:31
@deanlee deanlee marked this pull request as ready for review September 30, 2024 04:43
selfdrive/car/tests/test_models.py Outdated Show resolved Hide resolved
selfdrive/car/card.py Outdated Show resolved Hide resolved
selfdrive/car/card.py Outdated Show resolved Hide resolved
selfdrive/car/tests/test_models.py Outdated Show resolved Hide resolved
selfdrive/car/tests/test_models.py Outdated Show resolved Hide resolved
selfdrive/car/tests/test_models.py Outdated Show resolved Hide resolved
@sshane
Copy link
Contributor

sshane commented Oct 3, 2024

Moved to #33722

@sshane sshane closed this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move car.capnp to opendbc
2 participants