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>
5 months ago
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
5 months ago
Maxime Desroches
df523385ca
ci: fix simulator test for github runner ( #33910 )
...
* try
* try
* test
* try
* fix
* back
6 months ago
Maxime Desroches
db98566084
ci: faster sim test ( #33888 )
...
* sim
* no more
6 months ago
Adeeb Shihadeh
dc094792b7
Revert "ci: faster metadrive test ( #33755 )"
...
This reverts commit d7c0906d0b
.
6 months ago
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
7 months ago
Adeeb Shihadeh
853febe21d
visionipc: remove RGB support ( #33739 )
...
* visionipc: remove RGB support
* bump
* msgq master
* fix sim
7 months ago
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: 3924ac587b
8 months ago
Maxime Desroches
6a36e1d05f
reduce metadrive size ( #33391 )
...
* minimal
* uv.lock
* remove anisotropic filtering
* new wheel
old-commit-hash: 629dcdcfca
8 months ago
Hoang Bui
696d4c8450
sim: fix code formatting ( #33381 )
...
sim: fix code
old-commit-hash: f37ee559fa
8 months ago
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
8 months ago
Maxime Desroches
8c8a4b4961
replace python with python3 ( #33303 )
...
3
old-commit-hash: 406939b9c0
8 months ago
Maxime Desroches
c551f1d239
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
old-commit-hash: 1dcd660815
9 months ago
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
9 months ago
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
10 months ago
Adeeb Shihadeh
c390a678e7
sim: remove docker script
...
old-commit-hash: 02ed9c584c
10 months ago
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
11 months ago
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
11 months ago
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
11 months ago
Harald Schäfer
eb2e5e335d
Sim: don't need nvidia docker anymore ( #32676 )
...
Dont need nvidia docker anymore
old-commit-hash: b573a4cc48
11 months ago
Adeeb Shihadeh
8472df65ea
tools/sim: remove special docker image ( #32659 )
...
old-commit-hash: 541b5cbf13
11 months ago
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
11 months ago
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d
11 months ago
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
11 months ago
Hoang Bui
86e2641636
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
old-commit-hash: aa081f5748
11 months ago
Hoang Bui
8d51127ef7
tools/simulator: Remove superseded build script for sim docker ( #32546 )
...
* remove
* add those back
old-commit-hash: d6a738bef7
11 months ago
Adeeb Shihadeh
cc4f53e6c6
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
old-commit-hash: accdade4cf
11 months ago
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
11 months ago
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
11 months ago
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
11 months ago
Hoang Bui
6c438b8902
CI: fix metadrive test ( #32457 )
...
* fix test
* this?
* fix
* this?
* deprecation warning inside
* comment
old-commit-hash: 950aeae544
11 months ago
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
11 months ago
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
11 months ago
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
12 months ago
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
1 year ago
Michel Le Bihan
78c88cfdd4
simulator: Remove comma pedal sensor ( #32030 )
...
old-commit-hash: 1637265ad3
1 year ago
Shane Smiskol
1372dac6ab
More fingerprint migration fixes ( #32018 )
...
* fix migration
* another
old-commit-hash: 81fae3d807
1 year ago
Adeeb Shihadeh
fcbce3d8f6
cleanup pedal crc
...
old-commit-hash: 23e8ad7397
1 year ago
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
1 year ago
Adeeb Shihadeh
3bf3f4bf78
remove pedal ( #31903 )
...
* remove pedal
* bump panda
* fix
* update refs
old-commit-hash: fa12a67228
1 year ago
Michel Le Bihan
70a649f88b
simulator: Correctly handle arrival at destination ( #31807 )
...
old-commit-hash: 8a03884500
1 year ago
Michel Le Bihan
02a16c3eb4
simulator: Increase map size to contain road ( #31805 )
...
old-commit-hash: 9c8a27ad24
1 year ago
Michel Le Bihan
a036e6e043
Simulator: Add world status reporting ( #31740 )
...
old-commit-hash: b4c8e0834d
1 year ago
Michel Le Bihan
fd4ee6f1c5
Only print keyboard help on poll start and unknown command ( #31710 )
...
old-commit-hash: 32fb58656a
1 year ago
Michel Le Bihan
07ad9f9644
Add simple MetaDrive scenario ( #31686 )
...
old-commit-hash: 87a9445d56
1 year ago
Harald Schäfer
add26a5d1f
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
old-commit-hash: 85eb221e4c
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
Justin Newberry
edef8ed522
Simulator: simulate the obd enabled/changed dance ( #31519 )
...
obd dance
old-commit-hash: a51ef41cf8
1 year ago
Justin Newberry
c50146837e
Docker: merge opencl and base images ( #31338 )
...
* mergeem
* don't change workdir
old-commit-hash: ceecf39c54
1 year ago
Hoang Bui
2852e61e40
Fix self.started value pass in metadrive test ( #31153 )
...
* fix value pass
* fix test
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 71236204bb
1 year ago