Tag:
Branch:
Tree:
13d947375a
accord11g
alfa-romeo
all-your-long-are-belong-to-us
bob-test
c2-fw-updates
c2vw-master
cherokee_kl
chrysler-fw-morganmastiff
chrysler-jgc-fix
chrysler-jgc-uds-fp
controls-smooth-startup
deprecate-no-steer-angle
devel
doc-gen-migration
drive-mode-refactor
e-up-test
e2e-mpc-tweak
enable-pq
extra-cars3
faw-hongqi-hs5
fca-giorgio
fix-no-steering-angle
fix-notebooks
gm-handle-resume
hkg-fw-leycera
hkg-gear-message-notebook
inactive-accel-fix
joyride
lets-get-piffy
macan
master
master-ci
mlb-s4
mqb-accel-override
mqb-accel-override-fix
mqb-alig
mqb-cluster-speed
mqb-engage-at-standstill
mqb-fpv2-temp
mqb-freewheeling
mqb-fw-andromeda
mqb-fw-baldboi
mqb-fw-rhadeur
mqb-fw-sajjad2
mqb-fw-ziggehh
mqb-hca-update
mqb-long
mqb-long-testing
mqb-long-tuning
mqb-ppcars
mqb-test-pete
mqb-torque
mqbevo-gti
mqbevo-test
mqbevo-upstream
odyssey-test
peanut-butter-jelly-time
pj-view-ci-routes
pq-caddy
pq-fpv2-temp
rivian
secoc-test
slow-your-roll
sr-patch
ssgo
stuff
subaru-puttputt7-fw
support-guidelines
temp-pq
toyota-security-docs
vision-acc-fixes
vw-community-devel
vw-community-devel-la
vw-devel
vw-meb
vw-mlb
vw-mqb-aeb
vw-mqb-eps-timer-cleanup
vw-opp-reset
vw-pq-mlb-opp-reset
vw-rp-test
vw-rp-test2
vw4eva
x-0710-jm
x-andyml
x-archive-community-master-merge
x-archive-release2
x-archive-vw-061
x-archive-vw-063-devel
x-archive-vw-064-devel
x-archive-vw-065-devel
x-archive-vw-065-devel2
x-archive-vw-community-devel
x-archive-vw-community-devel-pq
x-golf3
x-jy-temp
x-jy-temp2
x-jy-temp3
x-la-test
x-lftt
x-params-test
x-params-test2
xavvypls-test
yukon-test
v0.1
v0.2
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.2.9
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.4.0.2
v0.4.1
v0.4.2
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.5.9
${ noResults }
7 Commits (13d947375a5908d68b33bf3b51b799f8021a35a6)
Author | SHA1 | Message | Date |
---|---|---|---|
|
4f019b5f60 |
move selfdrive/car to opendbc (#32630)
* move most of /car
* move some car tests
move some car tests
* fix selfdrive/car/tests
* fix selfdrive/controls tests
* fix the rest of the selfdrive tests
* bump opendbc
* fix all tests
* few more non-test references
* remove opcar and move docs to car
fix these debugging scripts
fix docs
* bump opendbc and panda
forgot panda
old-commit-hash:
|
1 year ago |
|
95224db413 |
selfdrive/car: ban cereal and capnp (#33208)
* ban cereal and msgq
* common too
* do toyota/values.py
* do all fingerprints
* example without builder
* this still works, but no type checking anymore
* stash
* wtf, how does this work
* okay actually not bad
* safe
* epic!
* stash data_structures.py
* some clean up
* hell yeah
* clean up old file
* add to delete
* delete
This reverts commit 90239b7797ace31ee647a2fdbd67e0c3faa98dcf.
* switch more CarParams stuff over
remove unused
* fix car tests by removing cereal! mypy forgets about dataclass if we wrap it :(
* fix this too
* fix this too
* remove more cereal and add some good hyundai tests
* bunch more typing
* override default with 20hz radar
* temp capnp converter helper
* more lateralTuning
* small union replicator is better than what i was trying, and fixes mypy dynamic typing issues
* can keep all this the same now!
* type ret: CarParams, add more missing structs, revert lateralTuning changes (smaller diff!)
* revert more
* get first enum automatically, but ofc mypy doesn't pick up the new metaclass so can't use :(
would have been `CarParams.NetworkLocation()`
* Revert "get first enum automatically, but ofc mypy doesn't pick up the new metaclass so can't use :("
This reverts commit bb28b228becba932052d2fc5a4389784027435b1.
* remove cereal from car_helpers (TODO: caching)
* remove a bunch of temp lines
* use dataclass_transform!
* remove some car.CarParams from the interfaces
* remove rest of car.CarParams from the interfaces
* same which() API
* sort
* from cereal/cache from fingerprinting!
* more typing
* dataclass to capnp helper for CarParams, cached it since it's kinda slow
* (partial) fix process replay fingerprintig for new API
* latcontrollers take capnp
* forgot this
* fix test_models
* fix unit tests
* not here
* VehicleModel and controller still takes capnp CP since they get it from Params()
* fix modeld test
* more fix
* need to namespace to structs, since CarState is both class and struct
* this was never in the base class?!
* clean that up again
* fix import error
fix import error
* cmts and more structs
* remove some more cereal from toyota + convert CarState to capnp
* bruh this was wrong
* replace more cereal
* EventName is one of the last things...
* replace a bunch more cereal.car
* missing imports
* more
* can fix this typing now
* proper toyota+others CS typing!
* mypy can detect return type of CS.update() now
* fix redeclaration of cruise_buttons type
* mypy is only complaining about events now
* temp fix
* add carControl struct
* replace CarControl
i hope there's no circular imports in hyundai's CC
* fine now
* lol this was wrong too
* fix crash
* include my failed attempts at recursively converting to dataclass (doesn't implicitly convert types/recursively :( )
but attrs does, maybe will switch in the future
* clean up
* try out attr.s for its converter (doesn't work recursively yet, but interesting!)
* Revert "try out attr.s for its converter (doesn't work recursively yet, but interesting!)"
This reverts commit ff2434f7bbd45a4d4bfb21f7d6712d1f1c3bcde9.
* test processes doesn't fail anymore (on toyota)!
* fix honda crash
* stash
* Revert "stash"
This reverts commit c1762af4e776790e4ad1322ad4ce0610157346e0.
* remove a bunch more cereal!
* LET'S GOOO
* fix these tests
* and these
* and that
* stash, something is wrong with hyundai enable
* Revert "stash, something is wrong with hyundai enable"
This reverts commit 39cf327def258e2959fe23cd7a550a858f6d8f03.
* forgot these
* remove cereal from fw_versions
* Revert "remove cereal from fw_versions"
This reverts commit 232b37cd409b55d04b1afc90d4a80c49e710eb56.
* remove rest of the cereal exceptions!
* fix that
* add typing to radard since I didn't realize RI.update() switched from cereal to structs
* and here too!
* add TODO for slots
* needed CS to be capnp, fix comparisons, and type hint car_specific so it's easier to catch type issues (capnp isn't detected by mypy :( )
* remove the struct converter
* save ~4-5% CPU at 100hz, we don't modify after so no need to deepcopy
btw pickle.loads(pickle.dumps()) is faster by ~1% CPU
* deepcopy -> copy: we can technically make a reference, but copy is almost free and less error-prone
saves ~1% CPU
* add non-copying asdict function
* should save ~3% CPU (still 4% above baseline)
* fix that, no dict support
* ~27% decrease in time for 20k iterations on 3X (3.37857 -> 2.4821s)
* give a better name
* fix
* dont support none, capitalize
* sheesh, this called type() on every field
* remove CS.events, clean up
* bump card %
* this was a bug on master!
* add a which enum
* default to pid
* revert
* update refs
* not needed, but consistent
* just Ecu
* don't need to do this in this pr
* clean up
* no cast
* consistent typing
* rm
* fix
* can do this if we're desperate for the last few %
* Revert "can do this if we're desperate for the last few %"
This reverts commit 18e11ac7883a0a56583750b1cc5a2b13011e7299.
* type this
* don't need to convert carControl
* i guess don't support set either
* fix CP type hint
* simplify that
old-commit-hash:
|
1 year ago |
|
9bd90112d0 |
use pyupgrade to update to new typing syntax (#31580)
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash:
|
2 years ago |
|
a5a41e38d0 |
format fingerprints: fix empty FW versions (#31230)
fix
old-commit-hash:
|
2 years ago |
|
83ee5fa80d |
format fingerprints: simplify sorting (#30826)
* unique + sort + don't modify FW_VERSIONS
* clean up
* not here
* self expl
old-commit-hash:
|
2 years ago |
|
3b65f2075e |
format_fingerprints: automatically sort fw fingerprints (#30819)
* Auto sort fingerprints
* add comment
old-commit-hash:
|
2 years ago |
|
611e3fe8e7 |
add script to automatically format fingerprints file (#30792)
* Add script
* fix script
* fix script
* fix for subaddr
* run the script
* old style can fingerprints
* cleanup
* sort imports, make executable, fix path
* newline w/o newline
* match og can formatting
* match og formatting
* generate template once
* standard name
* less nested
* can fingerprints comments
* fix spacing
* no need for PLATFORM_TO_ENUM_NAME!
* prep for PRs
* comments for all, add honda comments
* Auto-generated fingerprint PR from fuzzy fingerprinting cars
* Revert "Auto-generated fingerprint PR from fuzzy fingerprinting cars"
This reverts commit 97bc9e3bdb9d819dcbe684ceba92ea702d40eaf0.
* even closer to original
* readd this comment
* and run script
* add to precommit
* add comments
* add comments
* add to release
* use for auto fingerprint
* disable precommit for now
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash:
|
2 years ago |