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
Justin Newberry
c61f40c34f
Simulator: prepare to make bridge a PythonProcess ( #31201 )
...
* sim services
* clean
old-commit-hash: e49eb4c54f
1 year ago
Justin Newberry
231932d962
Simulator: add comment about mapbox tokens ( #31162 )
...
* add to readme
old-commit-hash: 410db2cd9f
1 year ago
Justin Newberry
831826d3e5
Simulator: fix metadrive ( #31104 )
...
fix metadrive
old-commit-hash: 81516216b1
1 year ago
Adeeb Shihadeh
96e9a7d3ce
CI: speedup unit test job ( #30995 )
...
* start
* mv to buildjet
* fix
old-commit-hash: e17e66180c
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
Hoang Bui
c17fc021e9
Enable variable pass between test and metadrive processes ( #30961 )
...
pass started between processes
old-commit-hash: 1da08460cb
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
c3551ea4ec
Simulator: fix keyboard ctrl messing with pytest ( #30827 )
...
fix
old-commit-hash: a6b17fb1f6
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
Justin Newberry
ba865f4580
Simulator: fix safety param ( #30738 )
...
fix param
old-commit-hash: 977dd033c4
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
fb84f6bed9
Simulator: --simulator is no longer an argument ( #30700 )
...
these are also gone
old-commit-hash: be33d29d7a
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
8c21642780
simulator: set valid flags ( #30656 )
...
sim set valid
old-commit-hash: bb9dda9764
1 year ago
Adeeb Shihadeh
f38648f84b
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
old-commit-hash: b97e5b0e03
1 year ago
Kacper Rączy
9cd71f897a
locationd: remove models unused in openpilot ( #30481 )
...
* Remove filters used exclusively by xx
* Update SConstruct
* Remove from release
* Accomodate rednose build changes
* Update rednose ref
* rednose/helpers in rpath
* Add rednose_filters to files_common
* Change rednose_root
* Copy rednose site_scons to docker images
* Remove rednose from rpath
* Bump rednose
* Bump rednose
* Bump rednose
old-commit-hash: f65e6bc30e
1 year ago
Logan Lasiter
4f1ed42285
adding --local-partial-types mypy opt ( #30491 )
...
old-commit-hash: 5b2bcf6bf2
1 year ago
Harald Schäfer
9bf8ee6c86
Rm more laika references ( #30451 )
...
Rm more laikad references
old-commit-hash: 95c6d5140a
1 year ago
YassineYousfi
d18f185115
modeld: parsing and publishing in python ( #30273 )
...
* WIP try modeld all in python
* fix plan
* add lane lines stds
* fix lane lines prob
* add lead prob
* add meta
* simplify plan parsing
* add hard brake pred
* add confidence
* fix desire state and desire pred
* check this file for now
* rm prints
* rm debug
* add todos
* add plan_t_idxs
* same as cpp
* removed cython
* add wfd width - rm cpp code
* add new files rm old files
* get metadata at compile time
* forgot this file
* now uses more CPU
* not used
* update readme
* lint
* copy this too
* simplify disengage probs
* update model replay ref commit
* update again
* confidence: remove if statemens
* use publish_state.enqueue
* Revert "use publish_state.enqueue"
This reverts commit d8807c8348
.
* confidence: better shape defs
* use ModelConstants class
* fix confidence
* Parser
* slightly more power too
* no inline ifs :(
* confidence: just use if statements
old-commit-hash: cad17b1255
2 years ago
Justin Newberry
fa245bfab0
Simulator: set params enabled ( #30195 )
...
set params enabled
old-commit-hash: 2884fd6e3d
2 years 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
aac705cedb
Simulator: metadrive is the default ( #30133 )
...
only docs and default
old-commit-hash: 78469b7ef6
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
dc0babfae4
Simulator: update documentation for metadrive ( #30002 )
...
* update sim docs
* update docs
old-commit-hash: 84609f365b
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
48e2871d42
Simulator: passthrough BLOCK on launch script ( #30040 )
...
sim block passthrough
old-commit-hash: 51674f61c1
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
62d61e9b55
Simulator: fix port issues in devcontainer ( #29977 )
...
* fix sim devcontainer
* use host.docker.internal instead
* devcontainer supports jsonc
old-commit-hash: 1f8ceb4ca1
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
6d0672632b
Simulator: fix controlsd mismatch ( #29976 )
...
fix controls mismatch
old-commit-hash: bee40de703
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
Justin Newberry
e09216088e
Simulator: launch simulator from any directory ( #29910 )
...
launch sim from any directory
old-commit-hash: a95c896b5f
2 years ago