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>
3 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
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
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
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
10 months ago
Hoang Bui
86e2641636
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
old-commit-hash: aa081f5748
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
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
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
70a649f88b
simulator: Correctly handle arrival at destination ( #31807 )
...
old-commit-hash: 8a03884500
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
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
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
Justin Newberry
c61f40c34f
Simulator: prepare to make bridge a PythonProcess ( #31201 )
...
* sim services
* clean
old-commit-hash: e49eb4c54f
1 year ago
Justin Newberry
831826d3e5
Simulator: fix metadrive ( #31104 )
...
fix metadrive
old-commit-hash: 81516216b1
1 year ago
Justin Newberry
f138a6eccf
Metadrive: fix map config on main ( #30983 )
...
* Fix map api too
* dont render
old-commit-hash: 28e5d1bb49
1 year ago
Justin Newberry
86139fd98e
fix metadrive after bump ( #30967 )
...
* fix clip
* wip
* oop
* 1.22
* ... ugly
* fix tuning
old-commit-hash: f2c73039d7
1 year ago
Kacper Rączy
a97f55dadb
metadrive: Change camera position to reflect typical height of a vehicle ( #30831 )
...
old-commit-hash: 65ece2081a
1 year ago
Justin Newberry
a3eafc8cd5
Simulator: only send camera frames at rate that they are generated ( #30802 )
...
only send frames at rate that they are generated
old-commit-hash: 8017c25f0b
1 year ago
Justin Newberry
4627aca7a3
Metadrive: set near clip ( #30745 )
...
set near
old-commit-hash: da12a34ff6
1 year ago
Kacper Rączy
c8160d33fa
metadrive: fix dual_camera mode ( #30743 )
...
* Use wide cam in metadrive
* 120 fov
old-commit-hash: 5fe9f1459c
1 year ago
Kacper Rączy
f10d6d5738
metadrive: fix wasd steer signs ( #30623 )
...
* Swap AD signs
* Fix type annotation
* fix user torque
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 43e1409fd2
1 year ago
Justin Newberry
9ef90e214d
Simulator: remove carla ( #30690 )
...
* no carla
* no arg and stylize metadrive
old-commit-hash: 11ec5bf25e
1 year ago
Shane Smiskol
f5d1c4f371
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
old-commit-hash: 97da129e11
1 year ago
Justin Newberry
b8df8f21e7
Metadrive: fix slow acceleration and enable past 50 mph ( #30171 )
...
metadrive tuning
old-commit-hash: f4b2b70791
2 years ago
Justin Newberry
dddf3f5215
Metadrive: no preloading models ( #30170 )
...
no preloading
old-commit-hash: 56b16e77a4
2 years ago
Justin Newberry
4ec10b3347
Metadrive: fix reset ( #30142 )
...
* fix reset
* 2 seconds
old-commit-hash: 4d7caff0c8
2 years ago
Justin Newberry
07c27071a4
remove carla dependency ( #30139 )
...
* only docs and default
* remove carla dependency
* remove carla dependency
old-commit-hash: 3c55f76790
2 years ago
Justin Newberry
db839e887d
Simulator: blinkers and lane changes ( #30107 )
...
blinkers and lane changes
old-commit-hash: ba90bdf7d9
2 years ago
Justin Newberry
3cd9856fcc
Simulator: wait for engageable ( #30105 )
...
wait for engageable
old-commit-hash: 5c2cbec06e
2 years ago
Justin Newberry
8dcd04e702
Metadrive: move to a separate process ( #30103 )
...
* split bridge into two files
* fix metadrive
* wip
* fix tests too
* separate process
* sepeprate process
* finish moving to another process
* remove spammy output
old-commit-hash: 9d3dbd245a
2 years ago
Justin Newberry
1f4f70eda2
Simulator: split bridge and world into two files ( #30091 )
...
* split bridge into two files
* fix metadrive
* fix tests too
old-commit-hash: 5af5469c66
2 years ago
Justin Newberry
078efeb3c2
Simulation: engage on startup, print help message ( #30044 )
...
old-commit-hash: 2792e5f2db
2 years ago
Justin Newberry
8fd432743a
Simulator: Looping metadrive world ( #30068 )
...
old-commit-hash: 09325b01ff
2 years ago
Justin Newberry
2a985c8e8f
Simulator: cleanup old common stuff ( #30069 )
...
cleanup
old-commit-hash: f18d66fa3e
2 years ago
Justin Newberry
00302ba898
Simulator: fix metadrive tick frequency ( #30043 )
...
sim rate fix
old-commit-hash: 98451611be
2 years ago
Justin Newberry
a6c4108045
Simulator: improve carla experience ( #29996 )
...
* wip
* carla improvments
* reset that
old-commit-hash: 2132e2358d
2 years ago
Justin Newberry
0673347b3e
Simulator: add reset hotkey ( #29995 )
...
add sim reset
old-commit-hash: 0857f4bb85
2 years ago
Justin Newberry
a79bfe13bf
Simulator: add metadrive as optional simulator ( #29935 )
...
* Add metadrive sim
* use monotonic
* don't use cuda if it's not available
* Cleanup metadrive patches
* PR suggestions
* fix typo
old-commit-hash: e02519bb71
2 years ago
Justin Newberry
27cacb51d4
Simulator: cleanup in preparation for metadrive ( #29903 )
...
* sim bridge cleanup
* fix carla
* remove that exception
* pr cleanup
* update car in a thread
* more cleanup
* import sorting
* handle exits better
old-commit-hash: 7f6718a7cb
2 years ago