Jason Wen
c23f2dce2c
MADS safety: enable heartbeat and lateral controls mismatch checks ( #1801 )
...
* init
* nah
* rename
* bump
* bump
2026-04-14 16:28:13 -04:00
Jason Wen
d5b25e14fd
Merge branch 'upstream/openpilot/master' into sync-20260317
...
# Conflicts:
# .github/workflows/auto_pr_review.yaml
# .gitignore
# opendbc_repo
# panda
# selfdrive/ui/mici/layouts/home.py
# selfdrive/ui/mici/layouts/onboarding.py
# selfdrive/ui/mici/layouts/settings/device.py
# selfdrive/ui/tests/diff/replay.py
# selfdrive/ui/translations/app_fr.po
# system/ui/mici_setup.py
Sync: `commaai/opendbc:master` → `sunnypilot/opendbc:master`
Sync: `commaai/panda:master` → `sunnypilot/panda:master`
2026-03-17 23:02:10 -04:00
David
b750229e70
fix(sim): remove alpha channel for improved performance ( #37602 )
...
fix: update RGB image processing in CopyRamRGBCamera
2026-03-10 16:02:02 -07:00
Utkarsh Gill
793f8fee32
fix(sim): use getRamImageAs for correct channel order ( #37528 )
...
getRamImage() returns panda3d's internal BGRA format. on macOS this
produces swapped red/blue channels in the sim camera feed.
getRamImageAs("RGBA") requests explicit RGBA reordering from panda3d,
correct on all platforms. no-op where internal format is already RGBA.
ref: https://docs.panda3d.org/1.10/python/reference/panda3d.core.Texture#panda3d.core.Texture.getRamImageAs
fixes #37526
2026-03-06 22:14:31 -08:00
Jason Wen
6f6dfa6bba
tools: block manage_sunnylinkd in sim startup script ( #1725 )
...
* ui sync conflicts with upstream
* md
* ref
* ci
* lint
* more
* more ci
* new new
* tools: block `manage_sunnylinkd` in sim startup script
* try this out
* unbump
2026-02-27 17:53:42 -05:00
Jason Wen
d80cde6e41
tools: block manage_athenad in sim startup script ( #37256 )
...
tools: block `manage_athenad` in Metadrive startup script
2026-02-18 15:17:06 -08:00
Adeeb Shihadeh
948d42b3e5
rm pyopencl package ( #37058 )
...
rm pyopencl
2026-02-01 15:42:42 -08:00
Jason Young
0e1b573f89
Honda: Add Honda Odyssey 2021-25 to release ( #36132 )
...
* bump opendbc
* regen CARS.md
* add to RELEASES.md
* forgot this was originally VG's PR
* correctly typo the typo
* follow recent DBC cleanup
2025-09-11 05:32:44 -04:00
Jason Young
8c78749846
sim: fix "msg not found" errors ( #35903 )
...
* garbage-collect CRUISE_PARAMS
* follow GEARBOX message refactor
2025-08-02 19:10:49 -04:00
Shane Smiskol
632f7594a4
Ban time v2 ( #35744 )
...
* ban it!
* some legitimate blunders
* even more!
* this is from commaai/one
* here too
* this too
* ignore rest
* one liner
* Revert "one liner"
This reverts commit d96a1624032aaad829a005b523e579d953cfe690.
2025-07-17 16:50:52 -07:00
Shane Smiskol
abad7649d6
Rename experimental long ( #35011 )
...
* now alpha long
* fix
* rename param
* thought i did this
* debug
* debug
* more
* more
* moar
* Revert "moar"
This reverts commit e347106246583982e1be206485ad4d8eb944f817.
* Revert "more"
This reverts commit 0746e6d2e400ce1715614c62af84a9680c4d65c1.
* Revert "more"
This reverts commit 0db5a8792c01bb2d687f9152e6ba37fb76d4a453.
* Revert "debug"
This reverts commit 72f235b13727980e4331ff487998ddc7c7f7fb63.
* Revert "debug"
This reverts commit 7871b69f8c1bdffed386c2baac99542fcc50f7eb.
2025-04-14 17:17:59 -07:00
commaci-public
2944bead37
[bot] Update Python packages ( #34664 )
...
* Update Python packages
* fix that
* fix that too
* bump panda
* bump
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-02-21 17:37:04 -08:00
Shane Smiskol
d6a0e49def
Move safety constants to opendbc ( #34573 )
...
* forgot these
* bump
* get these
* and flags
* fix
* bump
* test
* debug
* print sim thread errors
2025-02-11 21:48:20 -08:00
Sammohana
8eebce75ac
Getting rid of openpilot.common.numpy_fast ( #34368 )
...
* Got rid openpilot.common.numpy_fast
* fixed some data type erros
* importing numpy instead of importing specific functions
* fixing some numpy importing mistakes
* Update selfdrive/car/cruise.py
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-01-14 14:52:56 -08:00
commaci-public
c6e4241bad
[bot] Update Python packages ( #34140 )
...
* Update Python packages
* pin
* fstring
* this too
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
2024-12-04 15:34:54 -08:00
JaSpa99
dc73e6e2aa
Make SimulatorBridge picklable (MacOS support) ( #34023 )
...
* remove unused
* make Params (un)serializable
* move initialization after spawn
_thread.lock objects can't be pickled
2024-11-14 10:25:50 -08:00
Maxime Desroches
df523385ca
ci: fix simulator test for github runner ( #33910 )
...
* try
* try
* test
* try
* fix
* back
2024-11-01 11:15:21 -07:00
Maxime Desroches
db98566084
ci: faster sim test ( #33888 )
...
* sim
* no more
2024-10-29 16:59:48 -07:00
Adeeb Shihadeh
dc094792b7
Revert "ci: faster metadrive test ( #33755 )"
...
This reverts commit d7c0906d0b .
2024-10-14 09:11:37 -07:00
Maxime Desroches
d7c0906d0b
ci: faster metadrive test ( #33755 )
...
* fast
* fix
* same ratio
* output
* check old
* error
* fail
* better
* log
* test faster runner
* work?
* test
* ratio
* forward
* try without wait
* test old distance
* fxi
* test old runner
* test this
* assert distance
* cleanup
* better
* get distance
* cleanup
* choose runner
* very slow
* wait
* put this back
2024-10-09 15:16:50 -07:00
Adeeb Shihadeh
853febe21d
visionipc: remove RGB support ( #33739 )
...
* visionipc: remove RGB support
* bump
* msgq master
* fix sim
2024-10-07 13:24:57 -07:00
Adeeb Shihadeh
bd2b09c7b6
Deprecate controlsState state fields ( #33437 )
...
* Deprecate controlsState state fields
* sim works
* update refs
* one more
* these too
* update sim
old-commit-hash: 3924ac587b735d1e735af4cb77faf6ccf053f656
2024-09-03 14:40:23 -07:00
Maxime Desroches
6a36e1d05f
reduce metadrive size ( #33391 )
...
* minimal
* uv.lock
* remove anisotropic filtering
* new wheel
old-commit-hash: 629dcdcfca5a408b3812b23198797a13367961b0
2024-08-30 20:08:03 -07:00
Hoang Bui
696d4c8450
sim: fix code formatting ( #33381 )
...
sim: fix code
old-commit-hash: f37ee559fa802a1178aa71057cbb2d9609b4ad45
2024-08-26 14:09:40 -07:00
Shane Smiskol
4f019b5f60
move selfdrive/car to opendbc ( #32630 )
...
* move most of /car
* move some car tests
move some car tests
* fix selfdrive/car/tests
* fix selfdrive/controls tests
* fix the rest of the selfdrive tests
* bump opendbc
* fix all tests
* few more non-test references
* remove opcar and move docs to car
fix these debugging scripts
fix docs
* bump opendbc and panda
forgot panda
old-commit-hash: e735a7f3796e208cdc1ecc651ace09e1daf6009a
2024-08-17 00:54:51 -07:00
Maxime Desroches
8c8a4b4961
replace python with python3 ( #33303 )
...
3
old-commit-hash: 406939b9c09c9f29526c18fe2f106c2059decf1e
2024-08-14 15:14:31 -07:00
Maxime Desroches
c551f1d239
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
old-commit-hash: 1dcd66081531f4568a8de69637fc7a3f4ef3214f
2024-08-13 21:22:13 -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: dd2787b7a1f2ebb6f71eb3a667848db6caa9963c
2024-07-15 17:29:57 +00:00
Adeeb Shihadeh
3b8ed67aa3
remove navigation ( #32773 )
...
* remove navigation
* lil more
* fix cabana
* revert for now
* fix docs
* move that over
* lock
* rm assets
old-commit-hash: e491c9d964a2aef07eeaa7b47f4aa9f992130482
2024-06-19 19:14:13 -07:00
Adeeb Shihadeh
c390a678e7
sim: remove docker script
...
old-commit-hash: 02ed9c584c7d04d53d3c0f0955e95ab2a58de5de
2024-06-16 12:20:15 -07:00
commaci-public
0ee93c6a90
[bot] Update Python packages and pre-commit hooks ( #32682 )
...
* Update Python packages and pre-commit hooks
* fix linter
* poetry lock
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
old-commit-hash: 71063d66cd526bf1e498618e1aec3440736ab5b7
2024-06-10 17:19:01 -07:00
Harald Schäfer
7e4edcc8d5
MSGQ refactor: cleanup outstanding issues ( #32685 )
...
* Rm sim dockerfile from bad merge
* Add watch back
* Fix watch3 compilation
old-commit-hash: 1b2bd205b81bb473bbe176b58250fe038963d1f6
2024-06-10 13:18:47 -07:00
Harald Schäfer
05ed3d8c15
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: e70dc90a452e7c045d9a207f3680d846406ef789
2024-06-09 17:44:34 -07:00
Harald Schäfer
eb2e5e335d
Sim: don't need nvidia docker anymore ( #32676 )
...
Dont need nvidia docker anymore
old-commit-hash: b573a4cc48e4508a37f01a800b09b1fa8895d367
2024-06-09 14:49:20 -07:00
Adeeb Shihadeh
8472df65ea
tools/sim: remove special docker image ( #32659 )
...
old-commit-hash: 541b5cbf1387df07e76da55d3e332170d9e756f0
2024-06-08 09:18:28 -07:00
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7e39a56235f590227e7cb361cd8b79d
2024-06-06 14:31:56 -07:00
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d7a388d4cd1f25dac9dda9d5409bf4a
2024-06-04 19:16:55 -07:00
Adeeb Shihadeh
86b6103657
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c8109dd8d33ea2e7169995184fbe38cc3a
2024-06-03 15:48:56 -07:00
Hoang Bui
86e2641636
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
old-commit-hash: aa081f574833bcb1db4c234b9ee3d5bcd303a6de
2024-05-30 11:25:21 -07:00
Hoang Bui
8d51127ef7
tools/simulator: Remove superseded build script for sim docker ( #32546 )
...
* remove
* add those back
old-commit-hash: d6a738bef7b8d8cfacfe8f7edf9fc01ba435f05a
2024-05-27 09:22:41 -07:00
Adeeb Shihadeh
cc4f53e6c6
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
old-commit-hash: accdade4cfe73cdca41f5afa73cf4ad085802930
2024-05-25 12:41:17 -07:00
Hoang Bui
60b476a5b6
CI/simulator: metadrive test starts when OP engaged and world is initialized ( #32523 )
...
* fix metadrive start time
* fix
old-commit-hash: 613f73c53fa1cd3525a0cb3af0615783bd213fd0
2024-05-25 10:37:07 -07:00
Hoang Bui
b8fd64f3e7
CI: Drive a loop in MetaDrive ( #32308 )
...
* finish failure on crossing any line
* update
* standardize queue messages
* update control_command_gen
* fix
* fix logic
* update closing type
* update test
* update logic
* update test
* add out of lane to local
* ci arrive_dest
* pytest integration
* update ci_config
* fix ruff
* move test termination to time
* better
* better order
* curve_len
* add buffer
* cleanup
* cleanup
* cleanup
* cleanup
* out_of_lane
* cleanup
* merge tests
* run 90s
* change test name
* local out of lane detect
* out_of_lane
* static anal
* cleanup
* test_duration
* change setup_class -> setup_create_bridge
* no print state during test
* new out_of_lane detect
* cleanup print in common.py
* fix
* fix
* check distance vs time
* cleanup
* cleanup increase check time
* minimum bridge test time
* wording
* cleanup
old-commit-hash: fe9a091f116dc0c3bb55d35b31512866663af6af
2024-05-22 10:04:43 -07:00
Hoang Bui
acd61af9fc
CI/simulator: Fix metadrive test pyopencl.CompilerWarning ( #32487 )
...
* add pytest.mark.filterwarnings
* remove -W pyopencl.CompilerWarning
* add comment
old-commit-hash: f3f22a56980d7a3fb2cd7c07fec8ac0e9e376a38
2024-05-20 14:41:31 -07:00
Hoang Bui
6c438b8902
CI: fix metadrive test ( #32457 )
...
* fix test
* this?
* fix
* this?
* deprecation warning inside
* comment
old-commit-hash: 950aeae5443123e59177444d06a7654a41504373
2024-05-18 14:04:22 -07:00
Hoang Bui
565e06b66a
Simulator: standardize queue messages ( #32313 )
...
* standardize queue messages
* update control_command_gen
* fix
* fix logic
* update closing type
* qmessagetype -> enum
* update type hint
* old close() makes more sense
* cleanup
* fix
* revert that
* revert that
* better name
* actually this is better
old-commit-hash: 630e1529008ce0c996ba6a111df44877596acfea
2024-05-17 19:51:07 -07:00
cl0cks4fe
639a634f7c
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: dd9d5d4528ff0a61c7699abc1b63ba8fd282632f
2024-05-17 11:01:44 -07:00
Hoang Bui
29a1763d01
CI/Simulator: Add Metadrive test to CI ( #32352 )
...
* works consistently
* ci gha
* fix
* navd
* fix
* cleanup
* change button
* cleanup
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: aca01365e6715c1c5c18242e81e27c6feed151c6
2024-05-05 16:32:08 -07:00
Michel Le Bihan
5620c5e4f7
simulator: Change car to Honda Civic 2022 ( #32087 )
...
* simulator: Change car to Honda Civic 2022
* simulator: Enable experimental longitudinal control
old-commit-hash: 44129ad0df5c31c03d78fe591183e9db50c8e6b3
2024-04-02 10:28:19 -07:00
Michel Le Bihan
78c88cfdd4
simulator: Remove comma pedal sensor ( #32030 )
...
old-commit-hash: 1637265ad3953cc2307b6f7422aeb5c64d9d9635
2024-03-27 09:47:29 -07:00