* laikad update, renaming
* update locationd
* address PR comments
* draft to fix replay
* fix process relay to allow no response for messages
* bump cereal
* update process replay ref commit
* move laikad helpers to laika
* fix ublox test
* update refs
* add proper qcom replay support
* fix gnss support if both is available
* update refs
* move laika back to master
* move cereal back to master
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 981532f0c3
* Added navmodeld
* New nav model: 7c306685-5476-4bd4-ab65-105b01b6bca8/300, feats only
* little cleanup
* Remove NAV flag
* Moved to_kj_array_ptr to commonmodel.h
* Switch from decimation to last_frame_id check
* add to release files
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bb8a38a050
* add test translations to precommit
* fix test translations pre-commit hook
* revert
* fix that
* add to release files
add to release files
* fix
* don't run test on stripped dir
* fix
old-commit-hash: 6393d29b04
* wip torqued
* add basic logic
* setup in manager
* check sanity and publish msg
* add first order filter to outputs
* wire up controlsd, and update gains
* rename intercept to offset
* add cloudlog, live values are not updated
* fix bugs, do not reset points for now
* fix crashes
* rename to main
* fix bugs, works offline
* fix float in cereal bug
* add latacc filter
* randomly choose points, approx for iid
* add variable decay
* local param to capnp instead of dict
* verify works in replay
* use torqued output in controlsd
* use in controlsd; use points from past routes
* controlsd bugfix
* filter before updating gains, needs to be replaced
* save all points to ensure smooth transition across routes, revert friction factor to 1.5
* add filters to prevent noisy low-speed data points; improve fit sanity
* add engaged buffer
* revert lat_acc thresh
* use paramsd realtime process config
* make latacc-to-torque generic, and overrideable
* move freq to 4Hz, avoid storing in np.array, don't publish points in the message
* float instead of np
* remove constant while storing pts
* rename slope, offset to lat_accet_factor, offset
* resolve issues
* use camelcase in all capnp params
* use camelcase everywhere
* reduce latacc threshold or sanity, add car_sane todo, save points properly
* add and check tag
* write param to disk at end of route
* remove args
* rebase op, cereal
* save on exit
* restore default handler
* cpu usage check
* add to process replay
* handle reset better, reduce unnecessary computation
* always publish raw values - useful for debug
* regen routes
* update refs
* checks on cache restore
* check tuning vals too
* clean that up
* reduce cpu usage
* reduce cpu usage by 75%
* cleanup
* optimize further
* handle reset condition better, don't put points in init, use only in corolla
* bump cereal after rebasing
* update refs
* Update common/params.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* remove unnecessary checks
* Update RELEASES.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4fa62f1464
* Add VMCU address for EV6
* Rename vmcu
* add to tests
add to tests
* rename to more generic name
* more explicit
* remove print
* Like this much better, removes subtle fingerprinting problems
* clean up
* add test and clean up
* remove hyundai stuffs
* global
* Fpv2Config class
* fix missing fw versions from import order
* unused
* revert for now
* test for fpv2 configs with subtests
* subtests don't work that way
* do toyota as an example
* revert
revert
* do chrysler
* do rest
* stash
* much smaller of a diff than the alternative
* remove unused test
* fix tests
* remove brand from Request
* Make StandardQueries class
* add missing_ecus
clean up
* rename file
* unused
* test implemented
* add comment and rename
add comment and rename
add comment and rename
* should be impossible now
* this is a fixme
* rename to fw_query
* rename this too
* and this
* move vin queries to class
* order
* can use p16!
* formatting
* whoops, this wasn't gated on not len(found_versions)
* make this clear
* Standardize manufacturer software version query
old-commit-hash: 0ef6bb48df
* delete unused stuff
* remove CL interceptor from thneed since we don't use SNPE anymore
* remove dead files from release
* that's removed
* oops, didn't save
old-commit-hash: 6c39382d71
* compiling, won't work yet
* running with inputs and outputs
* there's some magic chance this works
* no more dlc, include onnx
* yolo tests plz
* bump tinygrad
* files_common + delete dlc
* tinygrad_repo -> tinygrad
* pre commit config
* llops needed
* extra in files_common
* bump tinygrad
* fix indent
* tinygrad/nn/__init__
* tinygrad_repo
* bump tinygrad repo
* bump tinygrad
* bump with native_exp, match maybe
* native_explog is argument
* pyopencl no cache
* 5% chance this matches
* work in float32?
* bump tinygrad
* fix build
* no __init__
* fix recip
* dumb hack
* adding thneed PC support
* fix pc segfault
* pc thneed is working
* to_image
* prints stuff with debug=2
* it sort of works
* copy host ptr is simpler
* bug fix
* build on c3
* this correct?
* reenable float16
* fix private, fixup copy_inputs internal
* bump tinygrad and update ref commit
* fix OPTWG on PC
* maybe fix non determinism
* revert model replay ref commit
* comments, init zeroed out buffers
* upd ref commit
* bump tinygrad to fix initial image
* try this ref
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 40d6f4b65c
* pc thneed prereqs
* ugh, out of date
* that can stay private
* memcpy here is fine in SNPE variant
* release files
* thneed docs don't work anymore. they didn't look too useful
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b6e355a933
* split out pigeond from boardd
* also want to turn off power
* fix manager calls
* move to sensord folder
* release files:
* add assistnow code
* no bare except
* add test script to test TTFF
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 13489d092e
* VW PQ: Volkswagen Passat NMS
* regen CARS.md
* vEgo from Bremse_1 vehicle speed
* sync opendbc to master
* handle checksums and counters in opendbc
* LDW HUD message handling
* GRA_Neu_Zaehler -> COUNTER
* bump opendbc
* stub in till we find platform ACC standstill
* bump opendbc
* bump opendbc
* placeholder lateral accel data
* regen CARS.md
* counters now directly supported in opendbc
* additional door-open signals
* add trunk lid state
* add doors and trunk lid to signals list
* LDW_Status updates and passthrough
* bump opendbc for typo fix
* update AWV comment
* another comment update
* regen CARS.md with PQ in dashcam only
* don't show NMS footnotes while still in dashcam
* polish
* add stubbed-out dashcamOnly prep
* VW MQB: Cleanup stock ACC button handling
* bump opendbc and panda
* use controls resume output as trigger
* these can wait until taco bell
* bump opendbc
* pass through of previously fixed value
* retry CI
* checks already done in carcontroller
* don't need these anymore
* reduce diff for now
* slightly better abstraction
* more engine and trans FW
* turn signal is instantaneous stalk position
* weak sauce :(
* better clarity
* try torque tune
* add test route references
* bump opendbc and panda for OP long
* don't show steering faults for 3 seconds after start
* longitudinal control senders
* a little more torque
* test hax to torque control
* test a little more delay
* allow use of manufacturer ramp-up rate
* soften wheel-touch threshold
* Revert "test hax to torque control"
This reverts commit d1af459c29.
* punch it Chewie
* better ACC state and mainswitch handling
* a little more
* tweak max accel gradient
* oops
* also oops
* stuff
* srsly
* that's not how this works
* regen CARS.md
* footnotes now properly excluded for dashcam cars
* this wasn't a problem
* update network location detection
* bump submodules for ACC main switch
* clean up DBC references and long flag
* bump one more time
* one more time
* follow CANPacker counter refactor
* bump opendbc
* sync opendbc to master
* bump panda to fix Subaru tests
* DBC handling cleanup
* fix
* model-year stretch
* cleanup and rate bugfixes
* better abstractions
* simplify create_lka_hud_control
* volkswagencan -> mqbcan
* bump panda
* fix doc data bug, regen CARS.md
* style updates; diff reduction
* use common button enable logic
* not needed anymore
* refactor TSK and HUD enum values
* make common button events function
* consistency
* bump panda
* bump panda
* dashcam only
* don't need process_replay yet
* regen CARS.md with Passat NMS in dashcam
* can't handle dashcam-orphaned footnotes yet
* remove outdated standstill handling
* editor tried to be too helpful at some point
* don't need to import this anymore
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* follow parkingBrake refactor
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c27d7913f2
* Ram HD Init
* Update selfdrive/car/torque_data/override.yaml
* Revert FW for 1500
* little cleanup plus test route
* bump panda
* revert 1500 changes
* bump panda
* same error max
* dashcam + cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ab227027c3
* All in scons
* delete all this
* delete the qm files
* No need to check QM files in test_translations.py anymore
* readme
* add lupdate to third party
* fix
* one line
* update files_common
* readme imp
* add j flag
* add to path
* duplicate scons!
* update readme
* fix path
fix path
fix path
* no path
old-commit-hash: c528decd17
* builds standalone
* process live msg
* render into nv12a
* VISION_STREAM_RGB_MAP -> VISION_STREAM_MAP
* cleanup sconscript
* main include cleanup
old-commit-hash: 86c1e8164a
* run pre-commit in release
* add pylintrc and init files
* build first
* add mypy ini
* limit amount of debug scripts shipped in release
* add python version?
* add more missing __init__.py
* excluded rednose for cppcheck
* remove files before dirty check
old-commit-hash: a006cd168e
* RamInit
* bump submodules
* lil cleanup
* clean up carstate formatting and platform grouping
make tuple
* give it a gold torque star (looks around 2.4 from rough data)
* Dasm Fault
* bump panda
* more cleanup
* cleanup car state
* more cleanup
* some fixes
* remove more stuff
* fix angle signal scaling and fix lkas control bit
* bump panda
* update those
* same limits as pacifica
* cleanup hud alert building
* better fault logic
* fix rate
* set ahb
* bring that back
* update refs
Co-authored-by: Jonathan <jraycec@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9b0acacf5e
* some supporting code for multilang
* for now just english
* test for missing language files
* test for checking if ts file is up to date
* Skip test if causes exception, other test catches this
Test test
Should also work
should now fail
revert
rmn
* add to files_common
* fix files_common
* newlines
* no need to not update
* comment
* only english
* double quotes
* switch around
old-commit-hash: 7178800d84
* eliminate brands based on ECUs that respond to tester present
* make it work
* Add type hint for can message
Use make_can_msg
* Only query for addresses in fingerprints, and account for different busses
* These need to be addresses, not response addresses
* We need to listen to response addresses, not query addresses
* add to files_common
* Unused Optional
Drain sock raw
* add logging
* only query essential ecus
comments
* simplify get_brand_candidates(), keep track of multiple request variants per make and request each subaddress
* fixes
make dat bytes
bus is src
Fix check
* (addr, subaddr, bus) can be common across brands, add a match to each brand
* fix length
* query subaddrs in sequence
* fix
* candidate if a platform is a subset of responding ecu addresses
comment
comment
* do logging for shadow mode
* log responses so we can calculate candidates offline
* get has_subaddress from response set
* one liner
* fix mypy
* set to default at top
* always log for now
* log to make sure it's taking exactly timeout time
* import time
* fix logging
* 0.1 timeout
* clean up
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: cccab50b16
* Improve laikad cpu usage. Less pos fix. Not local imports
* Add laika to files_common
* Add laika to dockerfile sim
* Fix
* Fix
* undo
old-commit-hash: 1c4b145aa4
* master 2022 Civic
* bump panda
* bump
* bump cereal
* fix
* needed
* try for now
* maybe
* revert for now
* move to Cam parser
* fix
* move to cam
* need AEB_STATUS too
* bump for debug prints
* bump opendbc and add cruise_params
* bump opendbc and update cruise_params
* bump
* test route
* update ref
* Revert "update ref"
This reverts commit 28345dab63.
* cleanup
* just to test
* bump
* revert
* need to send val 12 too?
* change bus
* not needed
* update bus
* syntax
* move this to other bus too
* Revert "move this to other bus too"
This reverts commit 770bf4745e.
* test new lane line signal
* needed too
* maybe need both?
* Test new LKAS hud message
* bump
* missing comma
* missing
* maybe
* add frame and idx
* add in hud_lanes
* switch this too
* bump panda
* add this
* I guess need this too
* to match
* also
* wasnt correct
* bump opendbc
* bump panda
* move to cam parser
* missing
* add here too
* bump
* remove from cam parser
* bump
* back to cam parser
* its 5hz
* bump for new checksum function
* bump for correct frequency
* update frame and idx
* bump
* bump and update
* send set me bit
* bump
* pass these values through
* silly atom
* ret
* fix this
* use copy instead
* add these too
* to check keyerror
* switch
* bump submodules
* send too
* proper
* Replace HUD with BOH
* add dashed lanes
* small fix
* clean up
* not needed anymore
* remove and change
* this too
* dont always set
* remove additional LKAS message
* bump
* add
* to test
* add frame
* bump
* rebase
* remove default values
* rename
* clean up some carstate logic
* regenerate docs
* spacing
* simplify more logic
* bump opendbc
* bump opendbc
* only if radarless
* panda at least builds now
* add comment
* bump
* fixes
* bump opendbc
* bump opendbc
fix for new DBC
* bump opendbc
* bump opendbc
* carstate: fix bus, parser signals
* Set safety param
* pt bus is 0, not 1
* Fix SCM_BUTTONS and bump panda and opendbc
* fixes for ACC_CONTROL
* bump opendbc
* bump opendbc
* convert from MPH on HONDA_BOSCH_RADARLESS
move is_metric
* make sure we don't disable if radarless
* don't show incorrect harness on website
don't show incorrect harness on website
* bump panda
* remove/update comments
* bump panda
* Fix harnesses
* one line check
* bump opendbc
* remove this
* Some carstate cleanup
We removed STANDSTILL->WHEELS_MOVING
we don't use CRUISE_PARAMS
add back
add back
* more cleanup
* update docs
* marketing says it has TJA and ACC with low speed follow
* send buttons on bus 0
bump panda
* comment
* camera needs to see buttons on bus 2
comment
* bump panda
* add to releases
* remove comments
* comment
* we don't use stock hud yet
Co-authored-by: vanillagorillaa <ntmccoy@yahoo.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
Co-authored-by: kevinharbin <76784413+kevinharbin@users.noreply.github.com>
old-commit-hash: abcc7338d4
* Always run laikad on device!
* Update laika
* Update laika
* Fix gps week and time of week in msg
* Reset kalman filter if pos_fix or last_known_position
* put behind file
* move pr parsing into common file
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dc98511b7a
* json
* better naem
* Read from table
* formatting and default to nan
* Generate docs
* Read from table
* this should be the same
* Prius v is full
* test we always set the tunes correctly
add to release files
* Set for all cars
Set for all cars
* Revert tuning changes
Revert tuning changes
* remove that
* fixes
* update ref commit for new maxLateralAccels
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3066ad81a8