Commit Graph

13432 Commits

Author SHA1 Message Date
Dean Lee
34e307fd94 selfdrive/car/ecu_addrs: prefix internal functions with underscore (#32980)
underscore prefix
old-commit-hash: c0739cd9ee
2024-07-15 12:05:20 -07:00
Shane Smiskol
e8c4fb0177 Reapply "selfdrive/car: ban imports from external modules" (#32993) (#32994)
* Reapply "selfdrive/car: ban imports from external modules" (#32993)

This reverts commit 626d78ec548fe19acfdf3c2c3e063fac3b257dc6.

* controls will just use controls

* also these

* ignore
old-commit-hash: d684d8f0f6
2024-07-15 11:59:25 -07:00
Shane Smiskol
a878118b00 Revert "selfdrive/car: ban imports from external modules" (#32993)
Revert "selfdrive/car: ban imports from external modules (#32973)"

This reverts commit c1e8ff2dbc47ccb07fb41a4e88bfb66af2669254.
old-commit-hash: 35a4a773f1
2024-07-15 11:14:04 -07:00
Dean Lee
58df39a2ba selfdrive/car: ban imports from external modules (#32973)
* lint import

* Update selfdrive/car/__init__.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 83d4623590
2024-07-15 11:12:24 -07:00
commaci-public
daf3d15d72 [bot] Update Python packages and pre-commit hooks (#32990)
* Update Python packages and pre-commit hooks

* fix ruff

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: dd2787b7a1
2024-07-15 17:29:57 +00:00
signed-long
a11f57cc7d CI: fix ui report directory (#32991)
fix report artifact name
old-commit-hash: c759fe9002
2024-07-15 08:01:51 -07:00
Adeeb Shihadeh
97e0d7719a bump panda
old-commit-hash: cbee4421da
2024-07-14 15:56:44 -07:00
pantew869
76e85acc53 Bump submodules that used numpy-stubs in pre-commit config (#32983)
update submodules that used numpy-stubs in pre-commit config
old-commit-hash: 7ed3f62f0c
2024-07-14 07:35:24 -07:00
Adeeb Shihadeh
4d20528d47 remove pygame (#32981)
old-commit-hash: e7388c3743
2024-07-13 13:41:38 -07:00
savojovic
6766df5f38 Replace ui.py with a Rerun visualizer (#32850)
* Replace ui.py with rerun

* Visualizing radarpoints

* Visualizing all points

* Code clean-up

* Merging matrices into one

* Removing pygame depndency

* Replacing ui.py with rp_visualization.py

* Minor fix, changing color names

* Update README.md
old-commit-hash: 75b07c042f
2024-07-13 13:36:21 -07:00
James
5cdff92d43 Re-use "is_metric" declaration (#32948)
old-commit-hash: 953e5667b1
2024-07-12 17:07:57 -07:00
Andrei Radulescu
25985e3999 Rewrite git history update (#32955)
Rewrite git history final touches
old-commit-hash: 50f55684a2
2024-07-12 16:44:52 -07:00
eFini
83bd7a786e PC: added missing hexdump package for selfdrive/debug/dump.py (#32959)
added missing hexdump package
old-commit-hash: 0f34e6e3b6
2024-07-12 16:44:22 -07:00
Dean Lee
76b55d39d7 cabana: update README (#32965)
improve README
old-commit-hash: 32a5cfd84c
2024-07-12 16:42:45 -07:00
Dean Lee
cb80c49b5a replay: update README (#32966)
update README
old-commit-hash: f1416f337c
2024-07-12 16:42:10 -07:00
Andrei Radulescu
656b72ee2d start for curl openpilot.comma.ai | bash (#32967)
* initial setup.sh for curl|bash

* --single-branch for faster pull and some final instructions

* fix git lfs pull
old-commit-hash: 122a7f2f0f
2024-07-12 16:32:04 -07:00
Dean Lee
3b95cc9514 pandad: remove return statement in constructor (#32975)
remove return
old-commit-hash: 2156870df9
2024-07-12 16:20:49 -07:00
Dean Lee
283574f334 cabana: fix wrong file path handling for recent files menu (#32969)
fix lambda
old-commit-hash: e3e54fb28b
2024-07-12 10:38:07 -07:00
Shane Smiskol
68fc530eca long planner: formatting
old-commit-hash: 71dd1e2ff6
2024-07-11 14:06:51 -07:00
Shane Smiskol
1d480761bd hardwared: don't ignore quick ignition cycles (#32938)
* check on either edge

* clean up

* clean up

* good thing I tested this first :P
old-commit-hash: 11db7b683b
2024-07-11 02:49:42 -07:00
Shane Smiskol
bb67139ca7 torqued: check steer override to current time (#32963)
* lat active/steer override: check up to now

* lint

* Update ref_commit
old-commit-hash: b247c3caaa
2024-07-10 17:25:39 -07:00
Jason Young
d7f77d0dc7 Improved PlotJuggler layout for lateral accel torque controller (#32949)
* improved PlotJuggler layout for lat accel controller

* help estimate steerActuatorDelay

* update Actuator Performance, add Vehicle Dynamics

* disable Y limits on actuator performance because sunny

* apply delay estimation feedback from harald

* gc extra custom series that PJ copied in

* label wordsmithing
old-commit-hash: e36ff90996
2024-07-10 15:10:42 -07:00
Dean Lee
a18df70a3f cabana: simplify stream management and remove problematic autosave feature (#32945)
simplify code and remove problematic code
old-commit-hash: c17c34187b
2024-07-10 15:10:24 -07:00
Shane Smiskol
1b4583a63e torqued: clean up (#32958)
* formatting

* function signatures didn't match

* function signatures didn't match

* filtered and raw mean something totally different when it comes to params

filtered and raw mean something totally different when it comes to params

* cmt

* probably better for organization

* add todo

* STASH

* revert some stuff

* clean up

* oof
old-commit-hash: fbc53a24a3
2024-07-09 22:26:58 -07:00
Shane Smiskol
11617a42dd torqued: option to keep track of all points (#32957)
* how about this

* here

* rename

* revert

* revert this too

* can do this

* ugh inside TorqueBuckets it implicitly limits steer torque to 50%!!!!!!!!

* fix

* move up
old-commit-hash: 5efdaf2026
2024-07-09 22:21:50 -07:00
Shane Smiskol
49469d9ffa format torqued.py
old-commit-hash: 0c58e35b6c
2024-07-09 21:16:36 -07:00
Maxime Desroches
d0e2572507 switch cereal to pytest (#32950)
pytest
old-commit-hash: 133f25eecb
2024-07-09 22:01:16 +00:00
Shane Smiskol
abd29fa646 torqued: rename lat_active (#32942)
* Update torqued.py

* lint

* not necessary
old-commit-hash: 35df0a4fda
2024-07-08 22:53:59 -07:00
Andrei Radulescu
ddde57d56c Rewrite git history (#31562)
* bfg

* filter repo is the new shit

* down to 27M

* move big files to lfs; remove external and phonelibs

* wip - rebase devel; don't delete external and phonelibs anymore

* wip - rebase devel hacks

* wip - rebase devel updates

* wip - rebase updates; lfs updates

* cleaned unused scripts

* wip - lfs fixes

* bfg with rebase with correct dates

* bfg script with cherry-pick method

* latest git-filter-repo analysis

* latest git-filter-repo 'before' analysis

* new lfs import

* latest git-filter-repo analysis

* lfs update; renamed rebase repos

* renamed scripts

* different tmp folders for rewrite scripts; lfs update

* gitattributes after lfs import

* tag-commit-map file with old tags pointing to old commits

* new tags

* final touches

* squash setup commits; cherry-pick validation; reverted to commaai remote

* removed rebase version

* 0.9.7 tag in tag-commit-map

* removed unused openpilot-release-archive

* fixed archive of old history because of 2 GB limit

* archive of old history push master first

* fix tags being deleted

* cleaning and more logs

* rewrite other branches with master history

* Former-commit-id

* updates to previous commits

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 481e5b28bd
2024-07-09 05:08:38 +00:00
signed-long
1e6e3243ef Update ci weekly report summary (#32911)
* update ci weekly report summary

* don't add skipped jobs to report

* uncomment job condition

* use jinja template

* add run number to failure links

* add run number to failure links

* Log for run #<num>

* use list

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 6745c66352
2024-07-09 03:07:34 +00:00
Adeeb Shihadeh
6ffb0d5445 site -> docs
old-commit-hash: 8c6c6e435f
2024-07-08 17:05:42 -07:00
Adeeb Shihadeh
1490a714a0 mvp of new docs.comma.ai (#32926)
* ssh docs

* strict

* need an index

* push to prod
old-commit-hash: f6189568ea
2024-07-08 16:55:16 -07:00
Hoang Bui
856e536aa8 CI: Compile openpilot on macOS (#32909)
* working

* cache

* bring back
old-commit-hash: 15d3397ec6
2024-07-08 23:42:26 +00:00
JaReal07
0a85819340 Update fingerprints.py Corolla 2024 (South America) (#32864)
Add Corolla Sedan 2024 (South America), new 'engine' and 'eps' fwversion
old-commit-hash: 4014109666
2024-07-08 14:58:22 -07:00
dany7915
2246f087cd Fingerprint: Kia K5 HEV 2020 (#32875)
fingerprint added
old-commit-hash: 67038d5b59
2024-07-08 14:54:11 -07:00
Dean Lee
dbf095522f cabana: bug fixes and improvements (#32934)
bug fixes and improvements
old-commit-hash: 36815cc6d5
2024-07-08 14:50:31 -07:00
Shane Smiskol
14a31b177b Chrysler Pacifica Hybrid: combine 2017 and 2018 (#32937)
* Chrysler Pacifica: combine 2017 and 2018 hybrids

torque params are not accurate for either (might be ~1.5 for both checking a few dongles)

* remove duplicate fingerprints

* combine docs lines

fix
old-commit-hash: 31ff8eda9c
2024-07-08 14:45:01 -07:00
Shane Smiskol
4ac21d6460 [bot] Fingerprints: add missing FW versions from new users (#32936)
Export fingerprints
old-commit-hash: fa2f7a4dd4
2024-07-08 14:16:44 -07:00
Dean Lee
45c3992e43 CarParams: set no traversal limit (#32929)
* Increase traversal_limit_in_words to Fix Traversal Limit Errors

* just use log_from_bytes

* come on pycharm

* no free lunch

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 12d729a0a0
2024-07-08 13:50:31 -07:00
Maxime Desroches
7173d6f86a docs: only push on master (#32935)
only on master
old-commit-hash: 76686e1976
2024-07-08 19:14:32 +00:00
commaci-public
dda0de4866 [bot] Update Python packages and pre-commit hooks (#32931)
Update Python packages and pre-commit hooks

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 012eb07466
2024-07-08 19:10:53 +00:00
Shane Smiskol
9276958347 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32932)
Export fingerprints
old-commit-hash: 4a696984f1
2024-07-08 10:58:08 -07:00
DevTekVE
a981c26ed7 Processor definition check for __APPLE__ has a typo on replay (#32930)
old-commit-hash: 3c74ad145e
2024-07-08 17:10:26 +00:00
Adeeb Shihadeh
2b873af75e publish new docs (#32922)
* push new docs

* drop the new, just docs

* cleanup
old-commit-hash: 241fb902af
2024-07-07 19:13:48 -07:00
Alexandre Nobuharu Sato
a250b02f32 fix "telsa" typo on labeler.yaml (#32924)
old-commit-hash: 4445fa31f5
2024-07-07 10:35:02 -07:00
Adeeb Shihadeh
a048348104 remove old docs (#32917)
old-commit-hash: 4ef757c49f
2024-07-06 08:51:36 -07:00
Adeeb Shihadeh
56f06a2dcd bump opendbc
old-commit-hash: 155546a668
2024-07-05 20:07:56 -07:00
signed-long
0a22c17336 Post UI screenshots in PR comments (#32887)
* add PR comment with screenshots on ui changes

* fix pr comment if statements

* use default shallow checkout

* use commaai's ci-artifacts

* use my ci-artifacts

* use tj-actions/changed-files

* clean up

* use comma repos

* make ci-artifacts branch openpilot/pr-#

* remove redundent path
old-commit-hash: 635b15a573
2024-07-06 02:47:59 +00:00
Xida Ren (Cedar)
8e27e0bc9c Add git lfs pull to workflow.md (#32914)
old-commit-hash: edd042f308
2024-07-05 17:10:39 -07:00
commaci-public
e7ccd98e76 [bot] Update Python packages and pre-commit hooks (#32906)
Update Python packages and pre-commit hooks

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 3dc08fb679
2024-07-05 17:26:44 +00:00