Chris Souers
5b1ba4f135
Lateral planner: Don't prompt/initiate lane changes if lateral control is not active ( #25436 )
...
* Don't set lane change events if we're not able to steer.
* more specific variable name
* update process replay socket config
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
HaraldSchafer
041458f632
Falcon Punch Model: turn cutting improvements ( #25413 )
...
* simplified change to mpc dynamics
* add jerk pts
* increase jerk cost
* increase jerk pts multipler to master value
* Add final commit
* 1456d261-d232-4654-8885-4d9fde883894/440 ac1a6744-85b0-4ec6-8ba7-608d0717b8f1/750
* some copies are useful
* update model replay ref
* less frames in model replay onnx cpu
* 1456d261-d232-4654-8885-4d9fde883894/440 264b67f5-3f52-4b58-b11f-58dd8aaf08bf/950
* 1456d261-d232-4654-8885-4d9fde883894/440 236fc556-fba3-4255-8ccf-684b22637160/950
* c9d10c64-bea4-41ec-8ca3-d8c886fda172/440 26d73dd2-862a-44ae-bbdd-32cc4f397ad7/900
* Fix couple tests
* Update ref
* Unused for now
* Add lateral factor comment
* Unused variable
Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
Co-authored-by: Bruce Wayne <yassine@comma.ai>
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
Co-authored-by: Bruce Wayne <batman@gpu06.internal>
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
Adeeb Shihadeh
0fce5d9045
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
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
Gijs Koning
b5aed2bf67
Simulator: Speed up process by removing second camera ( #24679 )
...
* simulator: support running wide camera only
* proper frame id
* use param name that makes more sense
* do some cleanup
* Update tools/sim/bridge.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Shane Smiskol
93fd662adf
Clean up planner files ( #23031 )
...
* clean up planner files
clean up planner files
* fix plant instance
3 years ago
Robbe Derks
efb5abec41
Make longitudinal planning triggered on model ( #22641 )
...
* Make long planning triggered on model
* fix process replay
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
da74a6cf73
plannerd: remove last of liveMpc
4 years ago
Adeeb Shihadeh
f08e01c97f
fingerprint cloudlog event ( #20950 )
...
* fingerprint cloudlog event
* kale cloudlog
* not fuzzy
4 years ago
Willem Melching
64d2ec38f2
Ignore radarState average frequency
4 years ago
Willem Melching
8ede1b30aa
tici: move real-time processes to high-performance cores ( #20634 )
4 years ago
Willem Melching
44c395165b
plannerd: use get_bool to read param
4 years ago
HaraldSchafer
0e10b74a61
MPC retune for laneless fix ( #20616 )
...
* was making wrong policy more aggresive
* allow to be set from simulator
* update refs
* put params together
4 years ago
Willem Melching
c23ec9f753
LateralPlanner should only compute curvature ( #20289 )
...
* get curvature from planner
* no need to check active
* remove that
* remove self
* liveParams not needed
* cast
* fix test bug
* fixes
* fix ui.py
* fix radians
* update refs
* update refs
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
000bd226aa
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
4 years ago
Mitchell Goff
608f00f814
Split planner and pathplanner publishing into separate 'publish' methods ( #19860 )
...
* Split planner and pathplanner publishing into separate 'publish' methods
* Updated test_following_distance.py
* Combined publish+send_mpc_solution methods
4 years ago
HaraldSchafer
158210cde8
Mpc rework2 ( #19660 )
...
* start again
* need that too
* this actually works
* not needed
* do properly
* still works
* still works
* still good
* all G without ll
* still works
* all still good
* cleanup building
* cleanup sconscript
* new lane planner
* how on earth is this silent too....
* update
* add rotation radius
* update
* pathplanner first pass
* misc fixes
* fix
* need deep_interp
* local again
* fix
* fix test
* very old
* new replay
* interp properly
* correct length
* another horrible silent bug
* like master
* fix that
* do doubles
* different delay compensation
* make robust to empty msg
* make pass with hack for now
* add some extra
* update ref for increased leg
* test cpu usage on this pr
* tiny bit faster
* purge numpy
* update ref
* not needed
* ready for merge
* try again after recompile
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
059cf6b43e
Run all driving processes on cores 2-3 ( #2257 )
5 years ago
Adeeb Shihadeh
ef21b83937
Improve realtime performance on NEOS ( #2166 )
...
* fix setting core affinity
* dmonitoringd doesn't need rt priority
* android only gets two cores
* model and planner get core 2
* log missed cycle count
* neos update
* prod image
* revert NEOS changes
* still need this
5 years ago
Adeeb Shihadeh
21fbe26980
Reduce plannerd and dmonitoringd CPU usage ( #2108 )
...
* fix wasted cycles in locationd and dmonitoringd
* bump cereal
* calibrationd
* Revert "calibrationd"
This reverts commit 580051a33b
.
* this is cleaner
* calibrationd
* paramsd is driven by liveLocationKalman
* only log params once a minute
* stricter CPU usage test
* revert locationd for now
* revert calibrationd too
* revert thresholds
5 years ago
Jason Young
68531b071c
Reduce scheduler latency for realtime processes ( #1638 )
...
* WIP: reduce boardd and other lags
* Copypasta fault
* Silence spurious startup warning
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
George Hotz
b0260dadba
selfdrive/controls
5 years ago