* 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
* retune civic
* seems smooth
* back to normal
* new ref
* fix conflict
* runs
* rm
* accel scale is 4
* toyota should be good
* more cleanup
* fixup
* better naming
* update ref
* deprecated
* sending brake when not enable causes a fault
* rm gas and brake
* unused
* update ref
* acura logic is no more
* wrong before
* revert tuning cleanup
* adress comments
* update ref
* already on master
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1ac89f14aa
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl
* unpack more efficiently
* minor improvements
* agnos.py match spec better
* manual_ctrl test missing queue arg
* fix incorrect type annotation
* queues are generic
* varname reuse resulting in incorrect type inference
* bytes().hex() rather than bytes.hex(bytes())
* a bit of type hinting stuff
old-commit-hash: 77321dbac4
* Send simulated carla GPS to OP
* Use ublox enum from cereal
* Add more fields to carla gnss packet
* use math.degrees
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fc4f27d20a