Willem Melching
f0d494b752
Nissan: cleanup set speed ( #25233 )
...
* Nissan: cleanup set speed
* update ref
3 years ago
Adeeb Shihadeh
0ca62bf7df
let can packer handle counter ( #25240 )
...
* let can packer handle counter
* diff is expected
* update refs
* clean that up
* bump opendbc
* fix sim
3 years ago
Willem Melching
c3e95d5e19
prereq for matching speeds shown on cars dash ( #25222 )
...
* prereq for matching speeds shown on cars dash
* also handle fallback in the ui for replay
* update translations
* update ref
3 years ago
Adeeb Shihadeh
505bbce29d
controlsd: handle radar missing + cleanup system error handling ( #25179 )
...
* controlsd: handle radar missing + cleanup system erorr handling
* fix carla
* update refs
3 years ago
Adeeb Shihadeh
d5719913a9
Chrysler: never drop control bit on older models ( #25159 )
...
* Chrysler: never drop control bit on older models
* update refs
3 years ago
Adeeb Shihadeh
97d7ee369b
Chrysler: send LKAS control bit while above minSteerSpeed ( #25150 )
...
* Chrysler: send LKAS control bit while above minSteerSpeed
* update refs
* rework that a bit
* little more
* update refs
3 years ago
Adeeb Shihadeh
44c6ca7eb4
EV6: reject fake cruise engagements ( #25143 )
...
* EV6: reject fake cruise engagements
* bump panda
* raise to 8
* update refs
* bump panda
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
614b3a01f8
Chrysler: limit buttons to 20Hz ( #25125 )
...
* Chrysler: limit buttons to 10Hz
* cleanup
* 20hz
3 years ago
Adeeb Shihadeh
29c8e5d227
Chrysler: increase Ram torque rate limit
3 years ago
Adeeb Shihadeh
2ae52e9b22
process replay: ensure enabled for significant amount of time ( #25121 )
...
* process replay: ensure enabled for significant amount of time
* update refs
* 10s is reasonable
3 years ago
HaraldSchafer
bdfaa1d1ee
Ram 1500 torque tune ( #25117 )
...
* torque control again
* 3mss per s
* no bad sensors
* tweaks
* Need more checks before we can do this
* update refs
* only ram for now
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
d08a231774
Ship EV6 ( #25095 )
...
* Ship EV6
* bump opendbc
3 years ago
Gijs Koning
cf862b6576
Laikad: Fix getting covariances for pos and velocity ( #25084 )
...
* Fix getting covariances for pos and velocity
* ref commit
3 years ago
Willem Melching
7a4c33795a
laikad: add residual threshold for pos_fix ( #25082 )
...
* laikad: add residual threshold for pos_fix
* update ref
* update test
3 years ago
Adeeb Shihadeh
b035b538ec
chill ram tune ( #25071 )
3 years ago
Adeeb Shihadeh
8d98d8c657
process replay: add Ram route ( #25063 )
3 years ago
Adeeb Shihadeh
9b0acacf5e
Ram 1500 ( #24878 )
...
* 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>
3 years ago
Shane Smiskol
ea241bf3dc
FW fingerprinting: log all FW versions ( #25042 )
...
* get_fw_versions returns all fw versions with request's brand
* keep track of everything received
* debug
* need to regen or write a hack in build_fw_dict
* to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)
to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)
* update test_fw_query_on_routes
* clean up
* better name
* slightly cleaner
* fix test_startup unit test
del
* fix imports
* fix test_fw_fingerprint
fix test_fw_fingerprint
fix
* fingerprint on all FW_VERSIONS, not just brands with requests
* support old routes in test_fw_query_on_routes
* regen and update refs
* similar function style to before
* better comment
* space
switch name
* try to exact match first
* useless else
* fix debug script
* simpler dictionary
* bump cereal to master
3 years ago
Shane Smiskol
f797567ef8
long planner: run when using stock longitudinal ( #25017 )
...
* Squashed commit of the following:
commit e27a5b4e2bfeab4e6a47440b1d4eb180ee4acf49
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Jul 1 14:10:06 2022 -0700
remove this test
remove this test
commit c3c10af82222ea4641d94c53a3a07b486cca8452
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Jul 1 14:08:15 2022 -0700
only planner changes
commit 50e0f1d8704c15acfce8987faf3515c99e8af4f4
Merge: e088fde67
fcc5b3d70
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Jul 1 14:05:36 2022 -0700
Merge remote-tracking branch 'upstream/master' into enable-planner2
commit e088fde67e
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Jun 30 13:58:38 2022 -0700
no walrus
commit b7b425e530
Merge: f8634266b
c49f997be
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Jun 30 13:54:30 2022 -0700
Merge remote-tracking branch 'upstream/master' into enable-planner
commit f8634266b4
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 29 16:07:35 2022 -0700
stricter test, speeds[-1] is 0.14 when starting here
commit c9e446ad21
Merge: e6c4106ea
879a7c320
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 29 16:01:32 2022 -0700
Merge remote-tracking branch 'upstream/master' into enable-planner
commit e6c4106ea1
Author: Shane Smiskol <shane@smiskol.com>
Date: Sat Jun 25 03:28:41 2022 -0700
fix test
commit 0520c7f216
Author: Shane Smiskol <shane@smiskol.com>
Date: Sat Jun 25 03:26:16 2022 -0700
add test for resuming
commit 04db5f80bf
Merge: e23b37d3f
d8bfe2f00
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 22 20:15:50 2022 -0700
Merge remote-tracking branch 'upstream/master' into enable-planner
commit e23b37d3fe
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Jun 21 12:46:04 2022 -0700
0.1 should be pretty safe
commit e7dc3960da
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Jun 21 12:39:30 2022 -0700
try 0.2
commit ff0597ec92
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Jun 21 11:34:00 2022 -0700
Always run planner if not opLong
commit 13997c5527
Merge: d2f51ee55
95d8517a8
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Jun 21 11:29:22 2022 -0700
Merge remote-tracking branch 'upstream/master' into enable-planner
commit d2f51ee55f
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Jun 21 11:27:45 2022 -0700
same for non-HDA2
commit 6a63bd60f0
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Jun 20 23:37:07 2022 -0700
mazda: ensure no resume if cancelling
commit 5771cdecab
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Jun 20 23:27:58 2022 -0700
maintain original button msg rate
commit 6c1fe0606f
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 15 23:45:26 2022 -0700
rename to resume
commit 00b1df652f
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 15 21:57:54 2022 -0700
remove comments
commit 325ea9bbd5
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 15 21:56:20 2022 -0700
vw
commit 2c9061042b
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 15 21:54:37 2022 -0700
do rest but vw
commit 3dc51f663d
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 15 16:34:48 2022 -0700
only spam resume when future is > vEgoStarting
commit 5f32cd1fcb
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Jun 15 16:09:43 2022 -0700
always log leads, we hide them in ui
* reset when not CS.enabled
remove comment
* update refs
3 years ago
realfast
38ff2982eb
Chrysler: carState signals update ( #24760 )
...
* carstate update
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Jason Shuler
9279c02258
GM: prep and cleanup for future ports ( #24910 )
...
* Interface radarOffCan set, comments
* pass pcmCruise value to common events
* add transType and networkLoc to iface
* carstate use transtype to detect EV
* ctrl: limit sends by config
* Add clarifying comments for new vals
* clean up
* comment on new line
* these have the same frequency
* remove 25hz
* add to upper comment
* update refs
* update refs
* move into same block
move into same block
Co-authored-by: Shane Smiskol <shane@smiskol.com>
3 years ago
Shane Smiskol
f0062f6242
Toyota: fix BSM detection ( #24964 )
...
* revert to 1 second
* Revert "revert to 1 second"
This reverts commit 6ab3f75cb73fdfe254431c479b6d337030b0d538.
* Revert "remove toyota can fingerprinting exceptions (#22803 )"
This reverts commit d8f5e8b7a4
.
fix static analysis
* Revert "Revert "remove toyota can fingerprinting exceptions (#22803 )""
This reverts commit fc359fc9b2
.
* 1 second for all brands
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Gijs Koning
c49f997be5
Add laikadOffline subtest to process replay. ( #24995 )
...
* Add subtests to process replay.
Adds laikadOffline subtest
* Update cpp.
* Update ref
* Update ref again
* Update ref again
* update ref
* Fix disabling fetching orbits
* Add proc name to event exception
* update ref
* Update setup_env
* Fix offline test and update refs
3 years ago
Shane Smiskol
75f5282e83
Chrysler: fix steering angle signals ( #24926 )
...
* Chrysler_Update
* only steering
* revert other changes for now
only steering
* bump
* Update ref_commit
* bump opendbc
* update refs
Co-authored-by: Jonathan <jraycec@gmail.com>
3 years ago
Willem Melching
3823f55476
add laikad to process replay ( #24889 )
...
* merge
* Fix closing process executor after fetching orbits
* cleanup
* Add ref commit and revert test_processes hack
* Fix
* Fix ref
* Fix test
* Temp
* Temp
* Trying
* Trying
* Cleanup and change test
* add ref commit
* remove print
* fix test getting stuck
* cleanup fetch_orbits
Co-authored-by: Gijs Koning <gijs-koning@live.nl>
3 years ago
HaraldSchafer
b3226d505b
Torque control: higher low speed gains and better steering angle deadzone logic ( #24980 )
...
* Try no friction and no deadzone
* Learn fromd ata
* update refs
3 years ago
Willem Melching
de0c12e5af
calibrationd: start faster by not waiting for carParams ( #24976 )
...
* calibrationd: start faster by not waiting for carParams
* fix process replay
* update ref
3 years ago
HaraldSchafer
2deaf69789
Refactor torque stuff ( #24921 )
...
* Refactor torque stuff
* Add to release
* Add substitute and override
* Maxlataccel is required
* Add to asserts
* add ideal car
* Need china too
* yamls already linted
* Fixed some bugs
* Fixup
* Unreliable data
* Add cehck
* Better comment
* ref commit update
3 years ago
Shane Smiskol
789f2d195c
compatibility docs: fixup steering torque star ( #24940 )
...
* Ascent has good torque, hard code Toyota, print all unexpected torque star cars
* update docs
* Use subtests
* hardcode CHR for now
generate
* Hard code Impreza
* update refs
3 years ago
Shane Smiskol
dd67853526
update refs
3 years ago
HaraldSchafer
9283040d84
Rocket league model ( #24869 )
...
* dd9a502d-c8e2-4831-b365-804b0ae0739d/600 80041070-d276-4fed-bdb9-0075e5442908/420
* no elementwise op
* 9dabf0fe-2e60-44bf-8d3a-d20a74aca072/600 ae746590-0bb5-4a16-80db-15f02d314f03/300 c4663a12-b499-4c9b-90dd-b169e3948cb1/60
* explicit slice
* some copies are useful
* 1456d261-d232-4654-8885-4d9fde883894/440 c06eba55-1931-4e00-9d63-acad00161be0/700 af2eb6ba-1935-4318-aaf8-868db81a4932/425
* 154f663e-d3e9-4020-ad49-0e640588ebbe/399 badb5e69-504f-4544-a99e-ba75ed204b74/800 08330327-7663-4874-af7a-dcbd2c994ba7/800
* set steer rate cost to 1.0
* smaller temporal size
* Update model reg
* update model ref again
* This did upload somehow
* Update steer rate cost
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
3 years ago
HaraldSchafer
a6652a539d
Torque control: low speed boost ( #24859 )
...
* Make very low speed more aggressive
* Less extreme low speed boost
* Update ref
3 years ago
HaraldSchafer
dbfe923ecc
Move couple toyotas to torque table values ( #24849 )
...
* Move couple toyotas to torque table values
* Dont set for all cars yet
* Dont regress docs
* update ref
3 years ago
HaraldSchafer
843e59f6f0
Misc torque control fixes ( #24801 )
...
* Fiction compensation should be based on error
* Update refs
* Add deadzone
* update ref
3 years ago
HaraldSchafer
3066ad81a8
Car interface: set max lateral torque from table ( #24789 )
...
* 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>
3 years ago
Shane Smiskol
1b402687e4
docs: adjust steering torque thresholds ( #24798 )
...
* Prius has good steering control now
* 1.5 is the threshold for good torque
* get back down there, hondas
* half stars for 1.0-1.5
* show number of cars
* try bigger
* emphasize tiers
balanced
* Add half star
* Update ref_commit
3 years ago
Shane Smiskol
c6bc03311c
Car documentation: set steering torque star using car interface ( #24709 )
...
* Set good torque using torque controller tuning
* should be equal to
* save lateral accel to car params
* use maxLateralAccel
* always
* same convention
* nan will always evaluate to false
* The great good torque purge
* adjust default friction
* Add data for more cars
* adjust name
* Welcome back, guys. Only adjust good torque if maxLatAccel is set
* Update refs (1.7 is 1.7000001...)
3 years ago
HaraldSchafer
7f16e19f79
Remove laneless toggle ( #24738 )
...
* Remove laneless toggle
* Update refs
3 years ago
Willem Melching
f49a9c9fd2
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
3 years ago
HaraldSchafer
d708a134bd
Tssp prius torque control ( #24669 )
...
* use llk
* use steering sensor at low speed stil
* Try more simple
* rm prius tune
* updated ref
3 years ago
HaraldSchafer
d928972150
Rerevert torque control ( #24649 )
...
* Revert "Revert torque control (#24565 )"
This reverts commit 9f8b03753d
.
* Move tune out of car specific stuff
* Update ref commit
3 years ago
HaraldSchafer
9f8b03753d
Revert torque control ( #24565 )
...
* torque reversal start
* Fix carmodel tests
* Update ref
* update ref
* Elif is better than if
3 years ago
Shane Smiskol
6518ecca8f
Add desired curvature to controlsState ( #24510 )
...
* Add desired_curvature to controlsState
* clean up
* bump
* bump
* update refs from GitHub!
Co-authored-by: Jason Shuler <jshuler@gmail.com>
3 years ago
HaraldSchafer
29afd53d88
Latcontrol torque: fix integrator induced ping pong ( #24458 )
...
* Latcontrol torque: fix integrator induced ping pong
* Reset on disengage since unwind resets anywayh
* Might be overkill
* rm whitespace
* update ref
3 years ago
ntegan1
9a44d4c4e0
LatControlTorque: log desired/actual lateral accel ( #24406 )
...
* log torque lateral accel
* bump cereal
* update refs
Co-authored-by: Shane Smiskol <shane@smiskol.com>
3 years ago
Adeeb Shihadeh
986a991a09
body: log charging status ( #24409 )
...
* body: log charging status
* update refs
3 years ago
HaraldSchafer
8cdeaf9aee
Latcontrol torque: update tuning ( #24357 )
...
* Little more chill
* Update ref
* Update refs
3 years ago
Shane Smiskol
4190d2608a
Change safetyParam to uint16_t ( #24376 )
...
* bump panda & cereal
* bump panda
* rest of references
* regen TOYOTA with safety param 578, TOYOTA2 with 329
* regen rest of routes
* update ref
* bump cereal
3 years ago
Keyvan Fatehi
0bbfc63c9c
body: add fuelGauge to body carState ( #24386 )
3 years ago
Adeeb Shihadeh
be748c0d6a
controlsd: better alert precedence for system malfunctions ( #24366 )
...
* controlsd: better alert precedence for system malfunctions
* down to 20
* move that
* check can flags
* update refs
* update refs
3 years ago