* cause error
* revert for now
* decrease font by 10 pts
* remove unnecessary () for class ;)
* move exit button closer to right corner
* 70% transparency for black background
* cause error
* well that's not right
* try showing more lines
* actually show last three lines
* forgot to join
* debug what we can leave out
* show last four files
* revert
* show 3 lines and one extra for last erroring line
* increase by 5 points
* move text left a bit
* fix
* fix
* two more lines
* add double indentation for formatting
* remove indentation of file lines
* fix
* fix
* try this
* try this
* make lines shorter
* clean up error code in manager
* try one more
* reduce lines altered in PR
* four is good
* this actually isn't required anymore
* can move more left
* and increase size
* slightly less
* slightly less
* try a different error
* try last three with negative
* revert to 75
* fix
* clean up
* remove path hiding
* revert offsets
* revert
* refactor vision
* don't show slow frame message when in preview mode
* change draws to uint32_t
* set vision_seen=false after destroy
* remove vision_connect_thread
* refactor ui_update
* seelp 30ms when vision is not connected
* remove should_swap
* call ui_update_sizes before ui_draw
* rebase
* start bigger UI refactor
* don't need the touch fd
* fix qt build
* more cleanup
* more responsive
* more refactor
* fix for pc
* poll for frames
* lower CPU usage
* cleanup
* no more zmq
* undo that
* cleanup speed limit
* fix sidebar severity for athena status
* not aarch64
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* hardware abstraction class
* De Morgan
* Rename pc hardware class
* Fix sound card in controlsd
* Pc get sim info
* fix hardware in test
* two more
* No more random imei on android
* no randomness on android
* Need to return something that looks like imei for registration to work
* Return proper network strength
* Unused import
* Bug fixes + gpsd is only android
* wip, ready to test
* tweaks
* fix
* fix
* fix power monitoring
* fix param writing
* no forced charging on high voltage
* reset capacity on reboot
* don't shutdown unless started seen
* fix unused var warning
* fix linting errors
* time is always valid
* QCOM gate
* Local params
* decimate saving
* fix linting
* rename param
* Log car battery capacity
* fix put_nonblocking
* Added some unit tests
* Add test to docker test list
* fix precommit
* cleanup
* run tests in CI
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* alert when update fails more than 10 times
* bring over offroad alert refactor from other branch
* and we have tests
* use it in snapshot
* bump apk
* don't show exceptions on release branches
* only write when changed
* why does delete use so much cpu
* clean that up
* little more
* add parallel download support to URLFile
* make python 3.8 happy
* Fix chunk size
* Automatic number of threads
* No daemon threads in unlogger
* Cache length
* dont touch old filereader
* Remove debug info
* remove debug script
* Ignore type
* WIP sound test
* it does something
* refactor
* phone only
* update release files
* test sound card init
* add to CI
* check writes
* increase time
* unused
* only build cereal
* small tolerance
Co-authored-by: Comma Device <device@comma.ai>
* pull CPU usage test out of manager
* remove that
* add to release files
* cleanup
* executable
* this should work
* check if car started procs are running
* debug
* add min cpu usage
* remove debug prints
* adjust min cpu threshold
Co-authored-by: Comma Device <device@comma.ai>
* locationd at 20hz
* update ref
* bump cereal
* dont modify global state
* add scons files
* ecef2geodetic and geodetic2ecef
* Finish local coords class
* Add header file
* Add orientation.cc
* cleanup
* Add functions to header file
* Add cython wrapper
* y u no work?
* This passes the tests
* test rot2quat and quat2rot
* Teste euler2rot and rot2euler
* rot_matrix
* test ecef_euler_from_ned and ned_euler_from_ecef
* add benchmark
* Add test
* Consistent newlines
* no more radians supported in geodetic
* test localcoord single
* test localcoord single
* all tests pass
* Unused import
* Add alternate namings
* Add source for formulas
* no explicit tests needed
* remove benchmark
* Add release files
* Typo
* Remove print statement
* no access to raw transform matrix
* temporarily add tolerance
* handcode quat2euler
* update ref
* Running pre-commit in CI
* fix dockerfile syntax
* dont run on submodule repo folders
* Fix some import errors in ci
* more stuff
* That should be the last one
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
- pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344
* add pylint to pre-commit and make everything pass
* Remove uncommented stuff
Co-authored-by: J <user@4800.lan>
* way cleaner take 2
* cleanup
* be more relaxed
* just let it be
* don't drive backwards or upside down
* do this more
* vNED sometyimes invalid
* use reasonble stds
* stability in nonlinear zone
* previous metrics were without publishing
* lgtm in readme, and mac nui fixes
* call super inits in radars
* unused imports, dup lines
* more radars, more unused imports
* pass CP into RadarInterfaceBase
* more fixups
* unused imports
* delete unused lines
* ugh, new unused import
Co-authored-by: George Hotz <geohot@gmail.com>
* store athena connected-at time
* refactor
* deref
* dt import
* Athena status based on last ping time param
* upd test for pingtime
* lower error timeout
* show text window on build failure
* Only show last 10 line
* Fix that
* better layout
* Fix fake text window
* Only show spinner and textwindow on android
Co-authored-by: Comma Device <device@comma.ai>
* start drawing new sidebar, add assets
* add thermal to ui, draw network_type and battery
* draw sidebar metrics, add freeSpace and paTemp
* draw static panda metric and network strength, start ubloxGnss messaging
* use array for network_img
* start sidebar touch events
* prevent multiple touch events with touch_timeout
* filter old touches, isolate sidebar events
* add hwType check with timeout for panda metric
* cleanup touch poll, handle vision touch, remove frame and black apks
* cleanup per willem comments
* update offroad, only read active_app from cereal
* tweak sidebar behavior, show active app status
* update offroad apk
* read networkstrength from thermal in sidebar
* run openpilot for 60 seconds and report cpu
* Not passive
* Set training version
* Write cpuset
* Add community toggle
* Formatting
* Refactor
* Reorder processes
* Add max cpu
* Try this
* Try this to exit
* Does this work?
* This should work
* now it should work again
* add LaneChangeEnabled param and settings toggle
* Read lane change toggle in pathplanner.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* start cleanup
* create generated dir if not exist
* tests pass!
* everything works again
* also convert live_kf to new structure
* Remove sympy helpers from file list
* Add laika to docker container
* Only build models that are present
* Only show update alert if updater failed
* no negetive days in warning message
* Also increase failed count when no internet
* Only set count to zero on actual update
* First run always fails because IsOffroad is not set yet
* use the openpilot/persist directory on PC
* manager runs on mac
* sim runs w/o carla
* fix params location in test
* that rmtree can fail and it's okay
* refactor params clear functionality
* set PARAMS_PATH
* fix clock and add Darwin sconstruct
* it builds, this changes should be simplifications too
* fix boardd build
* that's the real type of EGLClientBuffer
* remove extra lines
* ui needs opencl on phone