* some common changes
* rename to joystick
* add alert and update controlsd to work with joystick
* update joystickd
* Update Joystick readme
* assume we have inputs
* only send gb or steer when engaged_toggle is true
* Update instructions
* fix --ip
* Easier to understand at a glance
* much better
* -a
* receive events and send msg in same loop
* always import
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* combine logic and clean up
* use argparse
* outdated, and use normal class
* rm
* bit of a refactor
* refactor part 2 / 3
* much better (3 / 3)
* Simplify
* bump cereal and update readme
* capitalize
* Update tools/joystick/joystickd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update tools/joystick/joystickd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* make joystick abstraction class clearer
* use interp, clearer without comments
* no need to use apply_deadzone
* more explicit
* define btns and axes once
* split function by use_keyboard again, but simpler
* we can use handle_button as a reset function
* need to flip sign
* remove
* invert axes map for kb, easier to read the button mapping
* apply changes from review
* new lateral log for debug mode
* bump
* add saturated
* static alert
* joystick_mode
* conditionally subscribe
* Update selfdrive/controls/controlsd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* move params instantiation
* Spoof active and enabled
* Only allow car to engage
* no startup alert if joystick
* Update controlsd.py
* Should be orange not enabled, green enabled
* no more button states
* should work
* blue
* submaster conflates, so only send when we have an update
* final change
* remove msg
* clean up a bit
sort of clean up
clean up a bit
remove msg
* this was right
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* lowercase
* suggestions from code review
* forgot laptop
* bump to latest
* fixes
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
old-commit-hash: ae77f693a2
* 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
* unlogger: send yuv stream
* fix up model test tools
* fix unlogger
* rename model replay
* bump cereal
* test in actions
* no ci for now
old-commit-hash: cf6d133638
* Refactor FrameReader
* decodeThread
* delete frame
* remove joined
* continue
* less diff
* robust cv wait
* cache fist 15 frames
* notify_all
* rename variables
* need call avformat_find_stream_info before dump_format
* get width&height from codec
* use std::string
* delete in removeSegment
* use std::mutex in lockmgr_cb
* fix wrong min/max
* no get in process
* cleanup
* always notify decodeThread to do prefetch
old-commit-hash: 5540dcae78
* 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
* squash mapbox stuff
* only hacks for pc
* no hack there
* only update when needed
* get destination from param
* no need for user agent
* add athena method
* change nav path color
* layout cleanups
* margin top
* add build scripts
* rename header file
* set pitch
* fix icon blinking
* keep both options
* draw on top to fix last blinking
* only recomput with gps
* fix include
* put map in onroadwidget
* update mapbox plugin to allow specifying directions url
* cycle through views
* dynamic resize
* only when present
* add map_helpers
* whitespace
* small fixes
* let scons decide
* update setup files
* implicit dependency
* fix alerts
* Update selfdrive/ui/SConscript
* move clearLayout to util.h
* only build when map.cc present
* move maps to own folder
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 86aefbe766
* initial commit, works
* remove nui
* working again
* visionipc
* cleanup
* cleanup
* moving VisionIpcServer to Unlogger class
* works
* tab cleanup
* headless mode
* headless mode works
* working headless mode
* gitignore update
* small unlogger refactor
* refactor param in UIState
* works, very slow, hacks
* cleanup
* works
* cleanup
* cleanup
* unused
* works for whole route
* nicer
* a little nicer
* different threshold
* maintains 1 segment window
* works with public api
* comments
* networkTimer works
* cleanup
* unified HttpRequest
* tabs
* tabs
* comments'
* gitignore
* gitignore
* only on PC
* same line else
* no changes in home.cc
* scons
* update scons
* works
* revert mainc.c
* revert home
* else
* just api + problem with api send
* works
* include cleanup
* general json fail
* whitespace
* remove active
* adding request repeater
* removing comments
* tabs
* update comment
* cereal
* fix
* trailing new lines
* grammar
* if whitespace
* indentation
* Update selfdrive/ui/SConscript
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/ui/qt/request_repeater.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* works
* sort by dir
* no blockSignal
* replay is now QOBject
* cant take const char
* rename inner it
* get width and height from frame readeR
* resolve TODO
* seek in next pr
* spaces
* ui stuff
* fix CI
* remove comments
* no repalce
* trim segment fix
* remove seek from stream
* no cache key
* final changes'
* fix
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 19d962cdf3
* zookeeper lib
* add ft4222 to dev pip packages and fix include error
* started on CI
* it's a file
* now it should be happy
* use docker for all on-device tests
* test scripts
* does this work?
* access to devices
* too broad. only usb enough?
* permissions for zookeeper usb
* as env var maybe?
* this?
* try this for now
* all devices
* move to correct location for impoerts
* right paths
* not running in the right agent?
* ofc not
* fix broken merge
* add ft4222 package again
* add timeout
* power monitor
* cleanup
Co-authored-by: Batman <batman@openpilot-ci.internal>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6a824d7651
* use scons to build panda fw
* add arm gcc to dockerfile
* install gcc on macOS
* pandad shutdown test is flaky and broken due to faster startup
* bump panda
old-commit-hash: 0e338d2b91
* order doensn't matter
* order doensn't matter
* minor fixes
* minor fixes
* not blocking ctrl-c
* removing weather params
* removing type ignore
old-commit-hash: 072cdcad6b