Maxime Desroches
1dcd660815
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
9 months ago
commaci-public
dd2787b7a1
[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>
10 months ago
Adeeb Shihadeh
e491c9d964
remove navigation ( #32773 )
...
* remove navigation
* lil more
* fix cabana
* revert for now
* fix docs
* move that over
* lock
* rm assets
10 months ago
Adeeb Shihadeh
02ed9c584c
sim: remove docker script
11 months ago
commaci-public
71063d66cd
[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>
11 months ago
Harald Schäfer
1b2bd205b8
MSGQ refactor: cleanup outstanding issues ( #32685 )
...
* Rm sim dockerfile from bad merge
* Add watch back
* Fix watch3 compilation
11 months ago
Harald Schäfer
e70dc90a45
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>
11 months ago
Harald Schäfer
b573a4cc48
Sim: don't need nvidia docker anymore ( #32676 )
...
Dont need nvidia docker anymore
11 months ago
Adeeb Shihadeh
541b5cbf13
tools/sim: remove special docker image ( #32659 )
11 months ago
Harald Schäfer
e71ec4e8d7
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
11 months ago
Adeeb Shihadeh
34e329649d
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
11 months ago
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
11 months ago
Hoang Bui
aa081f5748
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
11 months ago
Hoang Bui
d6a738bef7
tools/simulator: Remove superseded build script for sim docker ( #32546 )
...
* remove
* add those back
11 months ago
Adeeb Shihadeh
accdade4cf
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
11 months ago
Hoang Bui
613f73c53f
CI/simulator: metadrive test starts when OP engaged and world is initialized ( #32523 )
...
* fix metadrive start time
* fix
11 months ago
Hoang Bui
fe9a091f11
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
11 months ago
Hoang Bui
f3f22a5698
CI/simulator: Fix metadrive test `pyopencl.CompilerWarning` ( #32487 )
...
* add pytest.mark.filterwarnings
* remove -W pyopencl.CompilerWarning
* add comment
11 months ago
Hoang Bui
950aeae544
CI: fix metadrive test ( #32457 )
...
* fix test
* this?
* fix
* this?
* deprecation warning inside
* comment
11 months ago
Hoang Bui
630e152900
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
12 months ago
cl0cks4fe
dd9d5d4528
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>
12 months ago
Hoang Bui
aca01365e6
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>
12 months ago
Michel Le Bihan
44129ad0df
simulator: Change car to Honda Civic 2022 ( #32087 )
...
* simulator: Change car to Honda Civic 2022
* simulator: Enable experimental longitudinal control
1 year ago
Michel Le Bihan
1637265ad3
simulator: Remove comma pedal sensor ( #32030 )
1 year ago
Shane Smiskol
81fae3d807
More fingerprint migration fixes ( #32018 )
...
* fix migration
* another
1 year ago
Adeeb Shihadeh
23e8ad7397
cleanup pedal crc
1 year ago
thenhnn
489528dcae
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>
1 year ago
Adeeb Shihadeh
fa12a67228
remove pedal ( #31903 )
...
* remove pedal
* bump panda
* fix
* update refs
1 year ago
Michel Le Bihan
8a03884500
simulator: Correctly handle arrival at destination ( #31807 )
1 year ago
Michel Le Bihan
9c8a27ad24
simulator: Increase map size to contain road ( #31805 )
1 year ago
Michel Le Bihan
b4c8e0834d
Simulator: Add world status reporting ( #31740 )
1 year ago
Michel Le Bihan
32fb58656a
Only print keyboard help on poll start and unknown command ( #31710 )
1 year ago
Michel Le Bihan
87a9445d56
Add simple MetaDrive scenario ( #31686 )
1 year ago
Harald Schäfer
85eb221e4c
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
1 year ago
Cameron Clough
995250ae49
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
1 year ago
Justin Newberry
a51ef41cf8
Simulator: simulate the obd enabled/changed dance ( #31519 )
...
obd dance
1 year ago
Justin Newberry
ceecf39c54
Docker: merge opencl and base images ( #31338 )
...
* mergeem
* don't change workdir
1 year ago
Hoang Bui
71236204bb
Fix self.started value pass in metadrive test ( #31153 )
...
* fix value pass
* fix test
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
1 year ago
Justin Newberry
e49eb4c54f
Simulator: prepare to make bridge a PythonProcess ( #31201 )
...
* sim services
* clean
1 year ago
Justin Newberry
410db2cd9f
Simulator: add comment about mapbox tokens ( #31162 )
...
* add to readme
1 year ago
Justin Newberry
81516216b1
Simulator: fix metadrive ( #31104 )
...
fix metadrive
1 year ago
Adeeb Shihadeh
e17e66180c
CI: speedup unit test job ( #30995 )
...
* start
* mv to buildjet
* fix
1 year ago
Justin Newberry
28e5d1bb49
Metadrive: fix map config on main ( #30983 )
...
* Fix map api too
* dont render
1 year ago
Justin Newberry
f2c73039d7
fix metadrive after bump ( #30967 )
...
* fix clip
* wip
* oop
* 1.22
* ... ugly
* fix tuning
1 year ago
Hoang Bui
1da08460cb
Enable variable pass between test and metadrive processes ( #30961 )
...
pass started between processes
1 year ago
Kacper Rączy
65ece2081a
metadrive: Change camera position to reflect typical height of a vehicle ( #30831 )
1 year ago
Justin Newberry
a6b17fb1f6
Simulator: fix keyboard ctrl messing with pytest ( #30827 )
...
fix
1 year ago
Justin Newberry
8017c25f0b
Simulator: only send camera frames at rate that they are generated ( #30802 )
...
only send frames at rate that they are generated
1 year ago
Justin Newberry
da12a34ff6
Metadrive: set near clip ( #30745 )
...
set near
1 year ago
Kacper Rączy
5fe9f1459c
metadrive: fix dual_camera mode ( #30743 )
...
* Use wide cam in metadrive
* 120 fov
1 year ago