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
Justin Newberry
977dd033c4
Simulator: fix safety param ( #30738 )
...
fix param
1 year ago
Kacper Rączy
43e1409fd2
metadrive: fix wasd steer signs ( #30623 )
...
* Swap AD signs
* Fix type annotation
* fix user torque
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
1 year ago
Justin Newberry
be33d29d7a
Simulator: --simulator is no longer an argument ( #30700 )
...
these are also gone
1 year ago
Justin Newberry
11ec5bf25e
Simulator: remove carla ( #30690 )
...
* no carla
* no arg and stylize metadrive
1 year ago
Shane Smiskol
97da129e11
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
1 year ago
Justin Newberry
bb9dda9764
simulator: set valid flags ( #30656 )
...
sim set valid
1 year ago
Adeeb Shihadeh
b97e5b0e03
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
1 year ago
Kacper Rączy
f65e6bc30e
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
1 year ago
Logan Lasiter
5b2bcf6bf2
adding --local-partial-types mypy opt ( #30491 )
1 year ago
Harald Schäfer
95c6d5140a
Rm more laika references ( #30451 )
...
Rm more laikad references
1 year ago
YassineYousfi
cad17b1255
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
2 years ago
Justin Newberry
2884fd6e3d
Simulator: set params enabled ( #30195 )
...
set params enabled
2 years ago
Justin Newberry
f4b2b70791
Metadrive: fix slow acceleration and enable past 50 mph ( #30171 )
...
metadrive tuning
2 years ago
Justin Newberry
56b16e77a4
Metadrive: no preloading models ( #30170 )
...
no preloading
2 years ago
Justin Newberry
4d7caff0c8
Metadrive: fix reset ( #30142 )
...
* fix reset
* 2 seconds
2 years ago
Justin Newberry
3c55f76790
remove carla dependency ( #30139 )
...
* only docs and default
* remove carla dependency
* remove carla dependency
2 years ago
Justin Newberry
78469b7ef6
Simulator: metadrive is the default ( #30133 )
...
only docs and default
2 years ago
Justin Newberry
ba90bdf7d9
Simulator: blinkers and lane changes ( #30107 )
...
blinkers and lane changes
2 years ago
Justin Newberry
84609f365b
Simulator: update documentation for metadrive ( #30002 )
...
* update sim docs
* update docs
2 years ago
Justin Newberry
5c2cbec06e
Simulator: wait for engageable ( #30105 )
...
wait for engageable
2 years ago
Justin Newberry
9d3dbd245a
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
2 years ago
Justin Newberry
5af5469c66
Simulator: split bridge and world into two files ( #30091 )
...
* split bridge into two files
* fix metadrive
* fix tests too
2 years ago
Justin Newberry
2792e5f2db
Simulation: engage on startup, print help message ( #30044 )
2 years ago
Justin Newberry
09325b01ff
Simulator: Looping metadrive world ( #30068 )
2 years ago
Justin Newberry
f18d66fa3e
Simulator: cleanup old common stuff ( #30069 )
...
cleanup
2 years ago
Justin Newberry
98451611be
Simulator: fix metadrive tick frequency ( #30043 )
...
sim rate fix
2 years ago
Justin Newberry
51674f61c1
Simulator: passthrough BLOCK on launch script ( #30040 )
...
sim block passthrough
2 years ago
Justin Newberry
2132e2358d
Simulator: improve carla experience ( #29996 )
...
* wip
* carla improvments
* reset that
2 years ago
Justin Newberry
0857f4bb85
Simulator: add reset hotkey ( #29995 )
...
add sim reset
2 years ago
Justin Newberry
1f8ceb4ca1
Simulator: fix port issues in devcontainer ( #29977 )
...
* fix sim devcontainer
* use host.docker.internal instead
* devcontainer supports jsonc
2 years ago
Justin Newberry
e02519bb71
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
2 years ago
Justin Newberry
bee40de703
Simulator: fix controlsd mismatch ( #29976 )
...
fix controls mismatch
2 years ago
Justin Newberry
7f6718a7cb
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
2 years ago
Justin Newberry
a95c896b5f
Simulator: launch simulator from any directory ( #29910 )
...
launch sim from any directory
2 years ago
Justin Newberry
a774809fdb
Sim: fix openpilot directory ( #29754 )
...
fix simulator
2 years ago
Justin Newberry
7a4eaeaf9f
bump submodules ( #29705 )
...
* bump submodules
* bump rednose
* fix dockerfiles
2 years ago
Justin Newberry
5716dfc9b5
CI: fix sim/docs scons cache invalidation ( #29639 )
...
* fix sim and docs images
* fix that
* that's a weird issue
* exists should work fine
* as little diff as possible
2 years ago
Justin Newberry
c46965fc27
CI: use local scons cache instead of building a separate image ( #29634 )
...
* use local
* added ci_sim
* revert scons
* dont need these anymore
* same for sim
* fix dockerfiles
2 years ago
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2 years ago
Justin Newberry
197460e061
CI: use scons cache mount for building simulator and docs ( #29436 )
...
* build docker image with scons cache
* use setup
* scons cache
* added the dockerfile
* add the shell
* docs use cache
* dont pull lfs for docs
* simulator too
* dont pull the cache image
* fix inputs
* inputs
* booleans aren't supported
* bool not supported
* bool isnt supported
* fix
* readonly cache
* fix sim cache too
* respect readonly
* gitignore and move to correct folder
* also copy old
* move to tools/ci
* move to selfdrive/test
* just make the cache writable, it's discarded anyway
* minimize diff in this pr
2 years ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
Shane Smiskol
84fbf1c2e9
simulator: fix CANParser input args ( #29343 )
...
* we weren't testing?
* fix
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
nathanoy
3fca1b4f8d
Updated Carla to version 0.9.14 ( #29210 )
2 years ago
Harald Schäfer
c5c9d5b921
Fix CARLA simulation ( #28541 )
...
* logmessaged conflicts with onnxrunner
* More fixes, now engages
* Fix can properly
* Otherwise it faults
* Put check back
* remove more hacks
* remove more hacks
* Not relevant anymore
* Narrow camera default
2 years ago
Dean Lee
4ae0378f63
automatically detect available camera streams ( #27640 )
...
* remove WideCameraOnly
* check in set_initial_state
* no block
* remove try block
* apply reviews
2 years ago
Adeeb Shihadeh
d5ab1e33c2
scons: set warnings as error ( #28004 )
...
* navd: fix scons build warnings
* fix release
* sim fix
* fix docs
* build cabana
2 years ago