Adeeb Shihadeh
3358745103
ruff: enable UP
...
old-commit-hash: b2e4c64cf8
11 months ago
James
470620189e
Fix radard comment ( #31891 )
...
old-commit-hash: 1cb49ae44d
1 year ago
Cameron Clough
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 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
Adeeb Shihadeh
4b8266da05
Reapply "radard: enable avg input service frequency checks ( #31404 )" ( #31468 )
...
This reverts commit d2ca0aba986826f94fc76c670e104980f93820fb.
old-commit-hash: 3cd0e5d43c
1 year ago
Adeeb Shihadeh
b302e61dcc
Revert "radard: enable avg input service frequency checks ( #31404 )"
...
This reverts commit d979307c058c4ae67a0731f46b7a1a721f890f89.
old-commit-hash: 7f7f1fd21b
1 year ago
Adeeb Shihadeh
63d5b15a3a
radard: enable avg input service frequency checks ( #31404 )
...
* radard: enable avg frequency checks
* freq
* update cpu
* fix diff
old-commit-hash: 4b004d59f3
1 year ago
Adeeb Shihadeh
685f29ea56
radard: cleanup init
...
old-commit-hash: ac95838657
1 year ago
Adeeb Shihadeh
63b374bd89
Cython KF1D to Python ( #30773 )
...
* Cython KF1D to Python
* cleanup
* set x
* less nesting
* fix release
* Revert "fix release"
This reverts commit 97e5d0f804
.
old-commit-hash: 1421551297
1 year ago
Adeeb Shihadeh
59eb2988de
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
old-commit-hash: 35f819c823
1 year ago
Adeeb Shihadeh
1cc4f1a634
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
1 year ago
Kacper Rączy
f0c3036ad1
radard: expose radarTrackId for radar leads ( #29809 )
...
* Add radarState track identifier for debugging purposes
* update process replay ref
old-commit-hash: 0267e0500c
2 years ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Shane Smiskol
1a2818d775
Revert "radard: tie radard frequency to modelV2 vol. 2 ( #29240 )" ( #29474 )
...
* Revert "static analysis fixes"
This reverts commit 2271d0adf9a02aee1359717c47cb6280893a6b9b.
* Revert "radard: tie radard frequency to modelV2 vol. 2 (#29240 )"
This reverts commit 6757e90415766e84ad1b6c921a2edb29ceb3bbbe.
* update refs
old-commit-hash: 1a08c2986e
2 years ago
Shane Smiskol
4c47e5fd21
static analysis fixes
...
old-commit-hash: a1e85f3661
2 years ago
Kacper Rączy
4017b1707c
radard: tie radard frequency to modelV2 vol. 2 ( #29240 )
...
* radard: tie radard frequency to modelV2
Accumulate parsed messages until state is updated (toyota)
Same for honda
Rename rr to something more descriptive
* Change _update method name, since signature has changed
* Update ref commit
* Some renames
* Check for number of cans
old-commit-hash: 460f5c8e0b
2 years ago
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168
2 years ago
Kacper Rączy
c92e7265a6
Revert "radard: tie radard frequency to modelV2 ( #29063 )" ( #29243 )
...
This reverts commit 4b221cb4fd271664ab7d39c5cfefb4225ca07c2a.
old-commit-hash: 1774b4fc61
2 years ago
Kacper Rączy
79fa322d4a
radard: tie radard frequency to modelV2 ( #29063 )
...
old-commit-hash: 255f5c13f2
2 years ago
Adeeb Shihadeh
b0c3778aae
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a27
.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2
2 years ago
Kacper Rączy
894a369398
radard: cleanup and refactor ( #29071 )
...
Re-structure + add typing
old-commit-hash: 0faab606b0
2 years ago
Harald Schäfer
8a48732784
radard: no clustering ( #29010 )
...
* First commit
* cleanup
* Update ref
* Doesnt deserve two files
* cleanup radard
old-commit-hash: ca699e3989
2 years ago
Adeeb Shihadeh
33e6aad83b
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 9f80430d3958cbcf4fb9b67a428f45fd034c5649.
old-commit-hash: 9c307f2550
2 years ago
Maxime Desroches
6ba97408e9
Update pycapnp and Cython ( #29021 )
...
* cython + pycapnp
* from_bytes with context
* poetry lock
* limit numpy
* force build
* Revert "force build"
This reverts commit 8c7cb00421
.
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 76ef1b9b9f
2 years ago
Harald Schäfer
4477f8a3a3
Radard: just get relative speed from model ( #27493 )
...
* refactor radard
* Revert "refactor radard"
This reverts commit 4b3507ff58
.
* May work
* No radar for test
* check length
* no accel for now
* First accel
* Cleaner way
* Re-enable radar
* update proc replay
* This might cause oscillation
* Update ref commit
old-commit-hash: a446c1fa56
2 years ago
Shane Smiskol
5a74a8db6d
Deprecate canMonoTimes ( #26992 )
...
* not used anywhere
* bump cereal
* also here
old-commit-hash: 2fd48e26a3
2 years ago
apache2046
b9f9f948bc
Radard: pdf not cdf ( #26978 )
...
Update radard.py
according the the equation, it is the probability density function (pdf) , not the cumulative distribution function (cdf)
old-commit-hash: f25239f7c5
2 years ago
Adeeb Shihadeh
b3e47c691b
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd8e03d53e
2 years ago
Shane Smiskol
220db41bab
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
86f0c5757
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
8fd235fc6
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
cb46531fe
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
d18a5ee5a
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
7bba47a10
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
old-commit-hash: f797567ef8
3 years ago
Adeeb Shihadeh
3c48bc47b7
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
old-commit-hash: 0fce5d9045
3 years ago
Willem Melching
753045c73d
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>
old-commit-hash: f49a9c9fd2
3 years ago
Willem Melching
871ecc451b
commIssueAvgFreq: separate alert for avg freq check ( #24150 )
...
* commIssueAvgFreq: separate alert for avg freq check
* bump cereal
* bump cereal
* bump cereal
* freq_ok separate from alive
* bump cereal to master
* update_ref
* fix profiler
old-commit-hash: eaa5819211
3 years ago
Adeeb Shihadeh
ec47e0fef0
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
old-commit-hash: 5c3f3e44bc
3 years ago
Dean Lee
f25f58cc53
radard.py: remove trailing space ( #23703 )
...
old-commit-hash: 414d4cae78
3 years ago
Dean Lee
a2e38be31a
radard/update: optimize capnp ( #23380 )
...
old-commit-hash: 7b612d47b6
3 years ago
Ewout ter Hoeven
f206ebd054
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
3 years ago
Ewout ter Hoeven
a962365292
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 55390d273f
3 years ago
Robbe Derks
b66e2a9f7a
Tesla longitudinal control ( #22561 )
...
* tesla long squashed changes
* fix no resume from stop
* try setting accel limits to 0 to remove jerk with fast switchover
* expand radard lookup tables
* bump merged panda submodule
old-commit-hash: 4960578bdf
3 years ago
Mitchell Goff
b7b87efed9
Retuned desire model ( #21919 )
...
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950
* Updated process replay refs
* Updated model replay ref
old-commit-hash: 05b37552f3
4 years ago
Mitchell Goff
2d0512b8a1
Revert "New desire model ( #21729 )" ( #21805 )
...
* Revert "New desire model (#21729 )"
This reverts commit 709932b3bfb4c3b4f33711b8d07615469e762832.
* Updated process replay ref and reverted release notes
old-commit-hash: 15d6bbb47c
4 years ago
Mitchell Goff
3fb1a1c746
New desire model ( #21729 )
...
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900
* Enable keeps
* use new packet
* Send keep pulses once per second
* Updated model_replay_ref_commit
* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac
* Bump model_replay_ref_commit
* Bump submodules
* New model: fd904bf9-5dd8-4619-8997-c5668400e078/550
* New model: fd904bf9-5dd8-4619-8997-c5668400e078/950
* No keeps
* Bumped model replay ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: e83973b9b3
4 years ago
Adeeb Shihadeh
477e2e22d3
Revert model ( #21571 )
...
* Revert "New desire model (#21458 )"
This reverts commit 9db03d2a3fefff50b738d288beadc2c2e7c3165e.
* revert rel notes
old-commit-hash: 88424ede2c
4 years ago
HaraldSchafer
7fcdd04541
New desire model ( #21458 )
...
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900
* Enable keeps
* use new packet
* Send keep pulses once per second
* Updated model_replay_ref_commit
* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac
* Bump model_replay_ref_commit
Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
old-commit-hash: 4230d5d212
4 years ago
Willem Melching
811746959e
tici: move real-time processes to high-performance cores ( #20634 )
...
old-commit-hash: 8ede1b30aa
4 years ago
Willem Melching
99a8e9222e
Add list for average frequency ignore ( #20624 )
...
* add list for averge frequency ignore
* typo
old-commit-hash: c1075037ba
4 years ago
Willem Melching
15c06d1c06
Check average frequency in SubMaster ( #20558 )
...
old-commit-hash: 79b5bee9dd
4 years ago
Adeeb Shihadeh
966945880b
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
old-commit-hash: 000bd226aa
4 years ago
HaraldSchafer
5c2c6691b2
remove old model packet ( #19769 )
...
* remove publisher
* move to V2
* radard new model
* fix plant
* change packety
* need hack here too
* change to new
* this has been wrong all along
* no more model msg
* subscribe to new model
* not needed anymore
* make work
* need to ignore that too
* should pass tests, needs car test
* fix process replay
* no more poly
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 124100d0fa
4 years ago
Adeeb Shihadeh
af2ec63bea
radard cleanup ( #2266 )
...
* some cleanup
* more realistic profiling
* Update selfdrive/controls/radard.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a77548bff6
5 years ago
Adeeb Shihadeh
ff14d71845
Run all driving processes on cores 2-3 ( #2257 )
...
old-commit-hash: 059cf6b43e
5 years ago
Greg Hogan
659b82c469
pre-reqs for honda bosch longitudinal control ( #1458 )
...
* pre-reqs for honda bosch longitudinal control
* openpilot_longitudinal_control -> radar_disabled
* fix chrysler test
* review feedback
* little cleaner
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0902575e34
5 years ago