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: 43e1409fd2fa4a92350a54434602b71b1874fd60
2023-12-12 14:09:07 -08:00
Justin Newberry
fb84f6bed9
Simulator: --simulator is no longer an argument ( #30700 )
...
these are also gone
old-commit-hash: be33d29d7a437201386638570fbda9e085a9910c
2023-12-12 09:45:34 -08:00
Justin Newberry
9ef90e214d
Simulator: remove carla ( #30690 )
...
* no carla
* no arg and stylize metadrive
old-commit-hash: 11ec5bf25e82e53bbefa88643c81ab5b7581e913
2023-12-11 20:38:37 -08:00
Shane Smiskol
f5d1c4f371
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
old-commit-hash: 97da129e11e58b07d5d136093827cd1c62311fea
2023-12-09 13:24:18 -08:00
Justin Newberry
8c21642780
simulator: set valid flags ( #30656 )
...
sim set valid
old-commit-hash: bb9dda976405d62ceb9e366011dbf57c665bfc42
2023-12-08 16:31:30 -08:00
Adeeb Shihadeh
f38648f84b
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
old-commit-hash: b97e5b0e03a5e22ef0ae6d6f5c2523592ee25540
2023-12-01 22:48:29 -08:00
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: f65e6bc30e7a3cce8b073f9ae0155facfe6c7646
2023-11-22 13:25:29 -08:00
Logan Lasiter
4f1ed42285
adding --local-partial-types mypy opt ( #30491 )
...
old-commit-hash: 5b2bcf6bf220f88e11978e04a77226127b520efb
2023-11-18 22:47:11 -08:00
Harald Schäfer
9bf8ee6c86
Rm more laika references ( #30451 )
...
Rm more laikad references
old-commit-hash: 95c6d5140aee76e6fd28990b0b58e1a3dcc5ee62
2023-11-13 16:52:57 -08:00
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 d8807c8348338a1f773a8de00fd796abb8181404.
* 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: cad17b125595c4654bfd8299b041b94ccb3faf73
2023-10-19 14:23:51 -07:00
Justin Newberry
fa245bfab0
Simulator: set params enabled ( #30195 )
...
set params enabled
old-commit-hash: 2884fd6e3d86815a6616daf0fa7fb44aefaf1972
2023-10-05 22:19:38 -07:00
Justin Newberry
b8df8f21e7
Metadrive: fix slow acceleration and enable past 50 mph ( #30171 )
...
metadrive tuning
old-commit-hash: f4b2b70791144a82d9c9a215996a5f51038a552d
2023-10-04 17:25:44 -07:00
Justin Newberry
dddf3f5215
Metadrive: no preloading models ( #30170 )
...
no preloading
old-commit-hash: 56b16e77a45e3443cb97b0d9ab6fec3e949810b3
2023-10-04 15:49:05 -07:00
Justin Newberry
4ec10b3347
Metadrive: fix reset ( #30142 )
...
* fix reset
* 2 seconds
old-commit-hash: 4d7caff0c8cd3d9e864525430077d50503eea4ea
2023-10-02 16:43:35 -07:00
Justin Newberry
07c27071a4
remove carla dependency ( #30139 )
...
* only docs and default
* remove carla dependency
* remove carla dependency
old-commit-hash: 3c55f76790a5663a62892581c9554391aebae1de
2023-10-02 16:11:56 -07:00
Justin Newberry
aac705cedb
Simulator: metadrive is the default ( #30133 )
...
only docs and default
old-commit-hash: 78469b7ef64bff91a67c08e1105f2e0a9770e227
2023-10-02 14:44:40 -07:00
Justin Newberry
db839e887d
Simulator: blinkers and lane changes ( #30107 )
...
blinkers and lane changes
old-commit-hash: ba90bdf7d9c2d436be33ac7def0ab02d535efe73
2023-09-29 16:32:45 -07:00
Justin Newberry
dc0babfae4
Simulator: update documentation for metadrive ( #30002 )
...
* update sim docs
* update docs
old-commit-hash: 84609f365ba56f6d835fe04a8ea11f116892b5ec
2023-09-29 12:44:12 -07:00
Justin Newberry
3cd9856fcc
Simulator: wait for engageable ( #30105 )
...
wait for engageable
old-commit-hash: 5c2cbec06ef0577425b0eae7f1bf506c7796c89e
2023-09-29 12:18:49 -07:00
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: 9d3dbd245ab39a2893d61759e4ef6b50ab42a463
2023-09-29 11:45:14 -07:00
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: 5af5469c66e04d114121658017a756269c610e48
2023-09-28 17:50:01 -07:00
Justin Newberry
078efeb3c2
Simulation: engage on startup, print help message ( #30044 )
...
old-commit-hash: 2792e5f2db33bd955d327545e6fba30ae2826ee0
2023-09-27 07:21:46 -07:00
Justin Newberry
8fd432743a
Simulator: Looping metadrive world ( #30068 )
...
old-commit-hash: 09325b01ffa7adc9199f6767ccbbe3fa9a70b02c
2023-09-27 07:20:54 -07:00
Justin Newberry
2a985c8e8f
Simulator: cleanup old common stuff ( #30069 )
...
cleanup
old-commit-hash: f18d66fa3ef8c979e79395758672a5bf1d38575c
2023-09-26 17:05:46 -07:00
Justin Newberry
00302ba898
Simulator: fix metadrive tick frequency ( #30043 )
...
sim rate fix
old-commit-hash: 98451611be260a0404069aa6c24e2a0cf032dbd7
2023-09-25 16:28:09 -07:00
Justin Newberry
48e2871d42
Simulator: passthrough BLOCK on launch script ( #30040 )
...
sim block passthrough
old-commit-hash: 51674f61c17be3e4af4af28156eb6868655863b3
2023-09-25 13:44:26 -07:00
Justin Newberry
a6c4108045
Simulator: improve carla experience ( #29996 )
...
* wip
* carla improvments
* reset that
old-commit-hash: 2132e2358deb451bd7412fc4f9a5a7620ec09bfd
2023-09-21 10:38:06 -07:00
Justin Newberry
0673347b3e
Simulator: add reset hotkey ( #29995 )
...
add sim reset
old-commit-hash: 0857f4bb85e166da5858820321d2e1e1caef7dff
2023-09-20 17:28:41 -07:00
Justin Newberry
62d61e9b55
Simulator: fix port issues in devcontainer ( #29977 )
...
* fix sim devcontainer
* use host.docker.internal instead
* devcontainer supports jsonc
old-commit-hash: 1f8ceb4ca15b2aa71d88e74c7df54519ed5968e9
2023-09-20 16:34:29 -07:00
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: e02519bb71beb4bf1f6b7f5def5a077886e00327
2023-09-20 10:35:57 -07:00
Justin Newberry
6d0672632b
Simulator: fix controlsd mismatch ( #29976 )
...
fix controls mismatch
old-commit-hash: bee40de70312b892c50f7872e795977dec7f740f
2023-09-19 12:51:54 -07:00
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: 7f6718a7cb87909305fd6f23a614db926d225915
2023-09-15 14:02:09 -07:00
Justin Newberry
e09216088e
Simulator: launch simulator from any directory ( #29910 )
...
launch sim from any directory
old-commit-hash: a95c896b5f04dcd59e38bf2e38ba8fc7033df58f
2023-09-13 18:47:39 -07:00
Justin Newberry
bd78ec0bce
Sim: fix openpilot directory ( #29754 )
...
fix simulator
old-commit-hash: a774809fdb8adbf71546ff7a16206e7bb316691c
2023-09-01 16:02:57 -07:00
Justin Newberry
302a450a14
bump submodules ( #29705 )
...
* bump submodules
* bump rednose
* fix dockerfiles
old-commit-hash: 7a4eaeaf9f5facdf897fe2404d9bd26ef03a31ec
2023-08-29 17:02:38 -07:00
Justin Newberry
ffddeace6e
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
old-commit-hash: 5716dfc9b54f9f24e412ae020ac572ccec6ae1c9
2023-08-27 19:52:38 -07:00
Justin Newberry
643a13f27e
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
old-commit-hash: c46965fc27ecfe76e02affca2aacbe410a55196a
2023-08-25 16:06:17 -07:00
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
2023-08-24 16:30:54 -07:00
Justin Newberry
7205b92bb6
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
old-commit-hash: 197460e06136f66f60e10ccefece646cb472b872
2023-08-21 15:11:31 -07:00
Adeeb Shihadeh
16ec56398c
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 db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Shane Smiskol
a9611d13be
simulator: fix CANParser input args ( #29343 )
...
* we weren't testing?
* fix
old-commit-hash: 84fbf1c2e92d2799f193213f71987f1d6e8b6431
2023-08-11 14:12:33 -07:00
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
nathanoy
85ca41390d
Updated Carla to version 0.9.14 ( #29210 )
...
old-commit-hash: 3fca1b4f8d9137ca52e74d75aecaf72b9893f2d1
2023-08-02 08:41:36 -07:00
Harald Schäfer
cbe8057c55
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
old-commit-hash: c5c9d5b92107ed59f3fb70a356f82b3cbe0b3da9
2023-06-13 22:54:37 -07:00
Dean Lee
eddc84d104
automatically detect available camera streams ( #27640 )
...
* remove WideCameraOnly
* check in set_initial_state
* no block
* remove try block
* apply reviews
old-commit-hash: 4ae0378f639826df5cc1518574842b61b118f371
2023-06-12 13:40:43 -07:00
Adeeb Shihadeh
33af4f9cde
scons: set warnings as error ( #28004 )
...
* navd: fix scons build warnings
* fix release
* sim fix
* fix docs
* build cabana
old-commit-hash: d5ab1e33c20d534d30a3f0dc63c6691f5b23f2a9
2023-04-22 15:24:45 -07:00
grekiki
0393f8b99c
Carla simulator: set driver orientation ( #27363 )
...
old-commit-hash: 202eb06a05e43ce77e5be19540fb427b5a060cfc
2023-02-16 14:51:25 -08:00
Adeeb Shihadeh
b3e47c691b
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: cd8e03d53ed210aec46a2ff728cb4a830314a21a
2022-12-31 21:00:50 -08:00
Hamid Ebadi
1ba96c78a8
carla sim: fix accelerometer sensor data ( #26794 )
...
old-commit-hash: 49ae806534a32858a327745698ca2f36e5210803
2022-12-20 13:45:06 -08:00
Adeeb Shihadeh
5f4cc55c2c
sim: disable micd ( #26653 )
...
old-commit-hash: 996a6c06d4522100357e04fea0182d33dc6e7f23
2022-11-30 23:12:35 -08:00