Shane Smiskol
632f7594a4
Ban time v2 ( #35744 )
...
* ban it!
* some legitimate blunders
* even more!
* this is from commaai/one
* here too
* this too
* ignore rest
* one liner
* Revert "one liner"
This reverts commit d96a162403
.
1 week ago
commaci-public
2944bead37
[bot] Update Python packages ( #34664 )
...
* Update Python packages
* fix that
* fix that too
* bump panda
* bump
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
5 months ago
Shane Smiskol
d6a0e49def
Move safety constants to opendbc ( #34573 )
...
* forgot these
* bump
* get these
* and flags
* fix
* bump
* test
* debug
* print sim thread errors
5 months ago
commaci-public
c6e4241bad
[bot] Update Python packages ( #34140 )
...
* Update Python packages
* pin
* fstring
* this too
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
8 months ago
Adeeb Shihadeh
853febe21d
visionipc: remove RGB support ( #33739 )
...
* visionipc: remove RGB support
* bump
* msgq master
* fix sim
10 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
11 months ago
Hoang Bui
696d4c8450
sim: fix code formatting ( #33381 )
...
sim: fix code
old-commit-hash: f37ee559fa
11 months ago
commaci-public
0ee93c6a90
[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>
old-commit-hash: 71063d66cd
1 year ago
Harald Schäfer
f870a968e9
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
old-commit-hash: e71ec4e8d7
1 year ago
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d
1 year 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
1 year 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
78c88cfdd4
simulator: Remove comma pedal sensor ( #32030 )
...
old-commit-hash: 1637265ad3
1 year ago
Adeeb Shihadeh
fcbce3d8f6
cleanup pedal crc
...
old-commit-hash: 23e8ad7397
1 year ago
Adeeb Shihadeh
3bf3f4bf78
remove pedal ( #31903 )
...
* remove pedal
* bump panda
* fix
* update refs
old-commit-hash: fa12a67228
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
Harald Schäfer
add26a5d1f
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
old-commit-hash: 85eb221e4c
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
Justin Newberry
edef8ed522
Simulator: simulate the obd enabled/changed dance ( #31519 )
...
obd dance
old-commit-hash: a51ef41cf8
1 year ago
Justin Newberry
c3551ea4ec
Simulator: fix keyboard ctrl messing with pytest ( #30827 )
...
fix
old-commit-hash: a6b17fb1f6
2 years 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
2 years ago
Justin Newberry
ba865f4580
Simulator: fix safety param ( #30738 )
...
fix param
old-commit-hash: 977dd033c4
2 years 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
2 years ago
Justin Newberry
9ef90e214d
Simulator: remove carla ( #30690 )
...
* no carla
* no arg and stylize metadrive
old-commit-hash: 11ec5bf25e
2 years ago
Shane Smiskol
f5d1c4f371
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
old-commit-hash: 97da129e11
2 years ago
Justin Newberry
8c21642780
simulator: set valid flags ( #30656 )
...
sim set valid
old-commit-hash: bb9dda9764
2 years ago
Logan Lasiter
4f1ed42285
adding --local-partial-types mypy opt ( #30491 )
...
old-commit-hash: 5b2bcf6bf2
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
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
078efeb3c2
Simulation: engage on startup, print help message ( #30044 )
...
old-commit-hash: 2792e5f2db
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
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
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
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 db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Shane Smiskol
a9611d13be
simulator: fix CANParser input args ( #29343 )
...
* we weren't testing?
* fix
old-commit-hash: 84fbf1c2e9
2 years ago
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: c5c9d5b921
2 years ago
Adeeb Shihadeh
18b4b1e73e
remove old tools script
...
old-commit-hash: 49044b5399
3 years ago
Adeeb Shihadeh
04af978260
let can packer handle counter ( #25240 )
...
* let can packer handle counter
* diff is expected
* update refs
* clean that up
* bump opendbc
* fix sim
old-commit-hash: 0ca62bf7df
3 years ago
Adeeb Shihadeh
f06bb9d5f2
CANParser: invalid until valid ( #24945 )
...
* CANParser: invalid until valid
* bump opendbc
* bump opendbc
* fix counter in sim
old-commit-hash: 569a39ff76
3 years ago
Maxime Desroches
9a003e9b29
simulator: run simulator test in ci ( #24691 )
...
* run simulator test in ci
* block navd process
* block ui
* fix jenkins
* build docker
* remove tty
* remove tty for carla
* detach carla_sim
* more retries
* only build once
* add more time for bridge
* cleanup
* use qt offscreen
* expose to docker
* block ui
* use new dockerimage
* fix
* from ubuntu20.04
* install curl
* add ssh
* add locales
* noninteractive
* syntax
* use base
* smaller image
* add git + git lfs
* kill carla
* run in parallel
* fix missing agents
* default agent?
* little cleanup
* default doesn't work
* not in ci
* fix path
* fix path
* new msg
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5add0c6159
3 years ago
Gijs Koning
d0fc9afa48
Simulator: Fix CI and set low_quality default ( #24354 )
...
* Change low_quality argument and fix closing carla bridge
* Some fixes
* Change carla process in test
* Change fov to 120, higher doesn't look good
* Update readme and remove redundant test
* update
* Add folder description
old-commit-hash: ee433dfa57
3 years ago
Adeeb Shihadeh
0c9aa1570b
sim: add ignition toggling ( #24043 )
...
old-commit-hash: bb36a1c8b2
3 years ago
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
3 years ago
Adeeb Shihadeh
05ba2a5866
sim: fix bridge after default values removed from CANParser
...
old-commit-hash: 36a3ec04be
4 years ago
Ewout ter Hoeven
a962365292
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 55390d273f
4 years ago