* see if this works at all
* can revert this
* think adding a no entry conditionally is nicer
* then we can revert this
* 0 makes more sense
* Revert "0 makes more sense"
This reverts commit efc89e8a23.
* gm CC uses > 70
* bump cereal
* comment
* test on Honda
* whoops
* works
* add exception with todo
* moved button enable events to controlsd
* get rid of that
get rid of that
* different values for now
* car interfaces add enable event, controlsd can block it
* Regen and update refs
* delete if not set
* One place
one place
* regen routes are uninitialized first few frames
* Trim start of segment so it's like original segment
* stash
* regen
* not working
* clean up
* more cleanup
* revert
* bump ceral
* actually check resume button
* whoops
* pcmCruise cars don't use setSpeed, so we're good
* engage correctly in sim
* Update ref_commit
* Update refs
old-commit-hash: 5ed587ebef
* Improve laikad cpu usage. Less pos fix. Not local imports
* Add laika to files_common
* Add laika to dockerfile sim
* Fix
* Fix
* undo
old-commit-hash: 1c4b145aa4
* 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
* No more C2
* Add test
* Various fixups
* Use ONNXCPU
* rm prints
* LFS pull
* Use sim docker
* Try sim docker again
* Print counter
* Make sure it can fail
* Fails correctly
* comments
* Add more install to opencl base docker
* vim not needed in base
old-commit-hash: a2c6b30c98
* Move CL to base docker
* Different docker for cl
* add cl base docker
* add to tool
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc4d4f875b
* simulator: support running wide camera only
* proper frame id
* use param name that makes more sense
* do some cleanup
* Update tools/sim/bridge.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b5aed2bf67
* 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
* squash #24009
* Fix from other pr
Add low-quality arg
* Update tools/sim/test/test_carla_integration.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Updates for comments. Not finished yet
* commit
* fix arguments
* Final changes for comments
* Final fixes
* increase carla client timeout to 10
* make test executable
* actually wait for controlsd to send messages
* Error proof test. Starting up carla at each test and closing down using docker (tried many things).
* commit test carla
* Removed some time.sleeps
Add some more retries for bridge.
* Stop while loop on shutdown
* Increase teardown waiting time
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9be23cbdb9
* Add c3 camera flag to bridge.py
* Set c3_cameras to default
* add runtime error message
* Remove c2 arg
* Update to 163 fov to not see through car
* update comment
* Update tools/sim/bridge.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Revert camera.py changes
* Remove focal_length
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 13254cef2f
* Add carla pip dependency for dev
* Revert other packages in pipfile
* Remove redundant carla install in docker
* Fix CI
Remove broken openpilot_build
* New run command
old-commit-hash: e95a250bca
* Fix Openpilot in Carla isn't accelerating
The scalars of the timestamp are different in real-world and simulation,
which will cause an infinite loop in selfdrive/modeld/modeld.cc.
* Set eof based on the frame ID
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* remove global
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: db93275d87
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 57b6fdc17a
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
* 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
* CARLA: send YUV and RGB over visionipc
* CARLA: send YUV and RGB over visionipc-fix pipfile
* CARLA: send YUV and RGB over visionipc-Camerad class
* relock pipfile
* small bridge cleanup
* use tici camera resolution
* update vof
* HUD_SETTING has no counter
* no loggerd
Co-authored-by: jwolffe <wolffja@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a58d272ae4