* start on panda abstraction layer
* handle bulk transfer in library
* Safety model abstraction
* Abstract hw type into library
* Handle disconnect
* RTC stuff
* Fan control
* Health
* Panda fw version
* Read serial
* Power saving
* Power mode
* Cleanup pigeon thread init
* Rename safety setter variable name
* Remove comment
* Unused global cleanup
* malloc -> new
* whitespace
* Use std::thread
* Use std::thread for safety setter
* Cleanup igntion_last global
* Heartbeat
* logd
* More global cleanup
* Put back sleep
* ir pwr
* Always broadcast health
* init struct with zeroes
* Fix eon build
* fix race condition
* fix Adeebs comments
* abstract can send and receive
* Change carstate signals to use feature-subaru-long dbc
* Add Conventional_Cruise signal to carstate
* Fix Conventional_Cruise signal source
* Use Cruise_Cancel signal in subarucan
* switch to subaru-global-2020 opendbc branch
* Update release file
* bump opendbc
* switch panda to subaru-global-carstate branch
* bump panda
* bump opendbc
* revert submodules for upstream PR
* switch panda and opendbc to upstream
* bump opendbc
* start building release2 in CI
* build script
* bring over changes from test branch
* fix build release test
* remove references to test branches
* ucnomment push
* fix duplicate remove
* two commits for dashcam
* need the key
* 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>
* let's see if this works
* fix build_release actions job
* does jenkins like this config
* separate jenkinsfile for release build
* fix devel build
* devel build should work
* always pass that for now
* run modeld replay
* release2 build will be a separate PR
* pass env to phone shell
* force checkout
* run on real jenkins eons
* add timeout
* rsync
* more timeout
* trailing slash
* fix branch detection
* debug
* not sure why paramiko doesn't pass it through
* newline
* CI_PUSH
* still not passing it
* test branch
* should be good now
* 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>
* Soud refactor
* remove files from files_common
* add timeout to set_volumn
* add param volume to init
* done
* test.cc
* fix typo
* add repeat param instead of loop
* revert submodule
* add member function currentSound
* remove function create_player from class member
* fix build error
fix repeat
* rename CHECK_RESULT to ReturnOnError
* set currentSound_ before posible err
* use std::map to initialize sound table
cleanup
cleanup
cleanup
fix bug in stop
change paramater name
* done
* remove function CreatePlayer, create player in init()
* resolve conflict
* remove sound test
* rebase
* remove whitespace
* Apply great review suggestion
* use player's SLVolumeItf interface to set volume
* use float
* leave the volume control the way it is
* 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
* start cleanup
* whitelist submodule release files
* don't need to ship tests
* revert changes to build script
* add those tests back
* fix typo
* whitelist dbcs
* test
* run the right test
* whitelist opendbc/can
* revert that
* add missing dotfiles
* clean up
* ford DBCs
Co-authored-by: Comma Device <device@comma.ai>
* kind of works
* move that
* hack to get camerad to reliably terminate
* not sure why SIGTERM wasn't working before
* compare bytes
* clean up some hacks
* gitignore
* fix that
* WIP
* no reboot
* comparison works
* pretty print
* fix build
* run in jenkins
* python path
* space
* raise timeout
* new eon
* skip the copy
* spinner
* spin less
* update model ref commit
* reenable that
* clean up
* fix jenkinsfile
* parallel
* wrap it in a stage
* fix linter
* better progress
* lower timeout
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Mazda Port
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Update checksum to account for steer angle signal used in some cars
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Add test drive/segment ID to pass CI tests
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Process gear and brake signals, add new fingerprints
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Refactor some car interface code
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Drop redundant call, use Ecu, move warning to carstate, fix cruise speed
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Drop unused variables, cleanup handsoff tracking
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Update to steerError and steeringRate
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Refactor parse gear, update lkas signals from the new dbc
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Better tracking of engage and warning events
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* remove commented lines, update speed_kph to match panda
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Steer Error
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Set lkas enable speed to 52 kph
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Drop block signal use, fix LGTM alerts
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* When gas is pressed OP will disengage, sync local state with it
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Use car's speed signal instead of wheel speed
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Tidy up disengage events
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Rebase/Refactor with upstream
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Sync stock ACC state with OP
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* mazda dbc file renamed
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Improve acc stock and go by removing the 3 seconds limit
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Dashcam
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* PR Feedback
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Send ACC cancel only if we are sure cruise is enabled
Otherwise we run the risk of disabling main cruise
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* updated route
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* no process replay for now
* add to release files
* Revert "updated route"
This reverts commit 233db4f1bc.
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* thneed runs the model
* thneed is doing the hooking
* set kernel args
* thneeding the bufferS
* print the images well
* thneeds with better buffers
* includes
* disasm adreno
* parse packets
* disasm works
* disasm better
* more thneeding
* much thneeding
* much more thneeding
* thneed works i think
* thneed is patient
* thneed works
* 7.7%
* gpuobj sync
* yay, it mallocs now
* cleaning it up, Thneed
* sync objs and set power
* thneed needs inputs and outputs
* thneed in modeld
* special modeld runs
* can't thneed the DSP
* test is weird
* thneed modeld uses 6.4% CPU
* add thneed to release
* move to debug
* delete some junk from the pr
* always track the timestamp
* timestamp hacks in thneed
* create a new command queue
* fix timestamp
* pretty much back to what we had, you can't use SNPE with thneed
* improve thneed test
* disable save log
Co-authored-by: Comma Device <device@comma.ai>
* add rednose
* update rednose
* This compiles
* Add rednose to release
* cleanup
* Extract generated dir as argument
* Add constants.py to release
* Add rednose to dockerfile
* Fix that
* snpe version 1.35.0.698
* fix files common for new snpe
* efficient net with normal names
* compiling with 1.32 works
* actual snpe files
* fix monitoring, delete unneeded
* point the symlinks to the right places
* err, modeld needs the CPU
* benchmark for 50 its
* put back old model for now
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: George Hotz <geohot@gmail.com>
* Untested implementation of offroad power monitoring
* Fixed some syntax errors
* Cast to int
* Fixed pylint
* Wrapped in class
* Put pulsed calc in own thread
* Longer timeout before starting pulse measurement
* Fudge factor + flake8
* Made integration thread-safe and catch charge disable exceptions
* Catch all calculation errors
* Fixed networkstrength removal
* 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
* full vehicle model simulator
* Add vehicle model
* Model compiles
* Close enough
* Simulation works
* Add fast angle offset
* Tune fast angle offset learner
* Create live service for paramsd
* Better clamping
* Fix rotation matrix
* Cleanup before merge
* move debug script to debug/internal
* revert plannerd change
* switch vehicle model to corolla
* fix valid flag
* Bigger stiffness range
* Lower process noise on steer ratio
* Tuning
* Decimation
* No maha tests
* add locationd to manager
* add to release files and make linter happy
* Don't ship all models
* Also add locationd.py
* Remove unused import
* Fix import in kalman helpers