* Fix flicker in nav enabled state
* Move all relevant information for validity checks into navModel packet
* Ignore locationMonoTime in replay tests
* Check route valid in navmodeld
* sm update
* check that
* update refs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e346839c68
* 0.7
* magic
* faster magic
* more simple
* up
* empty
* more mid bits
* naive
* flatten
* dz
* that can stay
* this is fine
* what the
* what the
* giRevert "what the"
This reverts commit 1619ba68e6.
* Revert "what the"
This reverts commit 0037dd3682.
* 1x fine
* that was fine
* combined
* independent cum
* 0 is fine
* use metrics
* up cereal
* process and publish from modeld
* cleanup
* use s.output
* bg
* a greener approach
* dns
* serial
* update ref commit
* rebase
* ref
* cereal master
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ce2dffe566
* Enable nav features in modeld
* Enable mapsd/navmodeld
* Updated model_replay_ref_commit and added mapsd/navmodeld to test_onroad
* fixed process name
* always publish from mapsd
old-commit-hash: aadd9ae269
* Use whatever stream is available as main, if there's only one
* Move logw somewhere else
* Add wideRoadCameraState to ignore_alive if its not available
old-commit-hash: 4eb3d54149
* First attempt
* worksish
* tests pass
* cleanup
* get rid of garbahe
* fix name
* Still used in xx
* add debug functions
* used
* Revert "used"
This reverts commit 276e8ebab06d2d4f0e9927ba32b7d8aca2bf88c3.
* Update ref
old-commit-hash: 772b748689
* driverview
* auto choose
* useless
* remove
* modeld not use toggle
* remove from params
* should have commissue anyway
* delete icon file
* deal with init more elegantly and prohibit switching when engaged
* nonblock save when not unstable
* filter very low speeds
* a few more secs dont harm
* draw icon
* match
* radius
* use const
* ref commit
* new transs
* put_bool_nonblocking
* 5k route tune
* ref comm
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 22408781f7
* 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
* Do not run model when skipping frames
* also prepare wide
* add logging
* remove newline
* small skip test
* more random
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3741908733
* Fix bigmodel on tici: cam intrinsics arent static
* Give TICI route own name for import
* Make function useable in offline test
* typo
* change tici ecam focal to trained focal
* No shadow variable
* Fixed ref
* Force update this time
* Update model replay ref commit
old-commit-hash: 48154703a7
* Added wide cam vipc client and bigmodel transform logic
* Added wide_frame to ModelState, should still work normally
* Refactored image input into addImage method, should still work normally
* Updated thneed/compile.cc
* Bigmodel, untested: 44f83118-b375-4d4c-ae12-2017124f0cf4/200
* Have to initialize extra buffer in SNPEModel
* Default paramater value in the wrong place I think
* Move USE_EXTRA to SConscript
* New model: 6c34d59a-acc3-4877-84bd-904c10745ba6/250
* move use extra check to runtime, not on C2
* this is always true
* more C2 checks
* log if frames are out of sync
* more logging on no frame
* store in pointer
* print sof
* add sync logic
* log based on sof difference as well
* keep both models
* less assumptions
* define above thneed
* typo
* simplify
* no need for second client is main is already wide
* more comments update
* no optional reference
* more logging to debug lags
* add to release files
* both defines
* New model: 6831a77f-2574-4bfb-8077-79b0972a2771/950
* Path offset no longer relevant
* Remove duplicate execute
* Moved bigmodel back to big_supercombo.dlc
* add wide vipc stream
* Tici must be tici
* Needs state too
* add wide cam support to model replay
* handle syncing better
* ugh, c2
* print that
* handle ecam lag
* skip first one
* so close
* update refs
Co-authored-by: mitchellgoffpc <mitchellgoffpc@gmail.com>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 85efde269d
* update live calibration in main thread
* static ground_from_medmodel_frame
* more static
* cleanup
* no lambda
* trigger ci
old-commit-hash: ffc2f64f19
* model output struct for metadata
* better max element search
* ModelDataRawDesireProb.to_array()
* eliminate some copies
* not worth messing with softmax now
* remove unused includes
* more cleanup
* no longer pointers
* better variable name
* fix recurrent state
* improve variable name
* fix OUTPUT_SIZE and NET_OUTPUT_SIZE
old-commit-hash: 40d2e4ec90
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
old-commit-hash: c53cb5d570
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
old-commit-hash: 757d2923d2
* use ecam in ui
* needs reboot
* use in modeld
* typo
* effective FL is longer in center
* normalize zoom by focal dist
* read param before init
* make 2x as wide
* review comments
* more explicit
* fix camera offset
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
old-commit-hash: 1fc7bcca43
* new class FirstOrderFilter
* flick face icon
* revert ui_draw_vision_face
* new function reset()
* reset after update
* use filter to update brightness
old-commit-hash: 6db31b9a33
* reconnect vipc_client after disconnection
* run models in run_model()
* cleanup
* use std::Mutex
* use std::thread
* const
* comments
* cleanup include
* rename live_thread to calibration_thread
* add comment
old-commit-hash: a7672e2851