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: 629dcdcfca
2024-08-30 20:08:03 -07:00
Hoang Bui
696d4c8450
sim: fix code formatting ( #33381 )
...
sim: fix code
old-commit-hash: f37ee559fa
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: e735a7f379
2024-08-17 00:54:51 -07:00
Maxime Desroches
8c8a4b4961
replace python with python3 ( #33303 )
...
3
old-commit-hash: 406939b9c0
2024-08-14 15:14:31 -07:00
Maxime Desroches
c551f1d239
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
old-commit-hash: 1dcd660815
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: dd2787b7a1
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: e491c9d964
2024-06-19 19:14:13 -07:00
Adeeb Shihadeh
c390a678e7
sim: remove docker script
...
old-commit-hash: 02ed9c584c
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: 71063d66cd
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: 1b2bd205b8
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: e70dc90a45
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: b573a4cc48
2024-06-09 14:49:20 -07:00
Adeeb Shihadeh
8472df65ea
tools/sim: remove special docker image ( #32659 )
...
old-commit-hash: 541b5cbf13
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: e71ec4e8d7
2024-06-06 14:31:56 -07:00
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d
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: c59887c810
2024-06-03 15:48:56 -07:00
Hoang Bui
86e2641636
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
old-commit-hash: aa081f5748
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: d6a738bef7
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: accdade4cf
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: 613f73c53f
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: fe9a091f11
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: f3f22a5698
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: 950aeae544
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: 630e152900
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: dd9d5d4528
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: aca01365e6
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: 44129ad0df
2024-04-02 10:28:19 -07:00
Michel Le Bihan
78c88cfdd4
simulator: Remove comma pedal sensor ( #32030 )
...
old-commit-hash: 1637265ad3
2024-03-27 09:47:29 -07:00
Shane Smiskol
1372dac6ab
More fingerprint migration fixes ( #32018 )
...
* fix migration
* another
old-commit-hash: 81fae3d807
2024-03-26 16:43:09 -07:00
Adeeb Shihadeh
fcbce3d8f6
cleanup pedal crc
...
old-commit-hash: 23e8ad7397
2024-03-20 10:35:33 -07:00
thenhnn
77d6d1a8f1
PlatformConfig: automatically get platform_str from the enum name ( #31868 )
...
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: justin newberry <justin@comma.ai >
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com >
old-commit-hash: 489528dcae
2024-03-19 11:16:02 -07:00
Adeeb Shihadeh
3bf3f4bf78
remove pedal ( #31903 )
...
* remove pedal
* bump panda
* fix
* update refs
old-commit-hash: fa12a67228
2024-03-17 22:42:49 -07:00
Michel Le Bihan
70a649f88b
simulator: Correctly handle arrival at destination ( #31807 )
...
old-commit-hash: 8a03884500
2024-03-11 10:27:32 -07:00
Michel Le Bihan
02a16c3eb4
simulator: Increase map size to contain road ( #31805 )
...
old-commit-hash: 9c8a27ad24
2024-03-08 15:13:02 -08:00
Michel Le Bihan
a036e6e043
Simulator: Add world status reporting ( #31740 )
...
old-commit-hash: b4c8e0834d
2024-03-06 19:16:21 -08:00
Michel Le Bihan
fd4ee6f1c5
Only print keyboard help on poll start and unknown command ( #31710 )
...
old-commit-hash: 32fb58656a
2024-03-05 10:36:01 -08:00
Michel Le Bihan
07ad9f9644
Add simple MetaDrive scenario ( #31686 )
...
old-commit-hash: 87a9445d56
2024-03-04 08:54:08 -08:00
Harald Schäfer
add26a5d1f
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
old-commit-hash: 85eb221e4c
2024-02-28 19:55:57 -08:00