* Added navmodeld
* New nav model: 7c306685-5476-4bd4-ab65-105b01b6bca8/300, feats only
* little cleanup
* Remove NAV flag
* Moved to_kj_array_ptr to commonmodel.h
* Switch from decimation to last_frame_id check
* add to release files
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bb8a38a050
* Automatically zoom to fixed scale in map_renderer.cc
* Always downsample in map_renderer
* Remove updateZoom function
* Added mapsd to process_config.py (commented out for now)
old-commit-hash: fcd6125deb
* wip torqued
* add basic logic
* setup in manager
* check sanity and publish msg
* add first order filter to outputs
* wire up controlsd, and update gains
* rename intercept to offset
* add cloudlog, live values are not updated
* fix bugs, do not reset points for now
* fix crashes
* rename to main
* fix bugs, works offline
* fix float in cereal bug
* add latacc filter
* randomly choose points, approx for iid
* add variable decay
* local param to capnp instead of dict
* verify works in replay
* use torqued output in controlsd
* use in controlsd; use points from past routes
* controlsd bugfix
* filter before updating gains, needs to be replaced
* save all points to ensure smooth transition across routes, revert friction factor to 1.5
* add filters to prevent noisy low-speed data points; improve fit sanity
* add engaged buffer
* revert lat_acc thresh
* use paramsd realtime process config
* make latacc-to-torque generic, and overrideable
* move freq to 4Hz, avoid storing in np.array, don't publish points in the message
* float instead of np
* remove constant while storing pts
* rename slope, offset to lat_accet_factor, offset
* resolve issues
* use camelcase in all capnp params
* use camelcase everywhere
* reduce latacc threshold or sanity, add car_sane todo, save points properly
* add and check tag
* write param to disk at end of route
* remove args
* rebase op, cereal
* save on exit
* restore default handler
* cpu usage check
* add to process replay
* handle reset better, reduce unnecessary computation
* always publish raw values - useful for debug
* regen routes
* update refs
* checks on cache restore
* check tuning vals too
* clean that up
* reduce cpu usage
* reduce cpu usage by 75%
* cleanup
* optimize further
* handle reset condition better, don't put points in init, use only in corolla
* bump cereal after rebasing
* update refs
* Update common/params.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* remove unnecessary checks
* Update RELEASES.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4fa62f1464
* split out pigeond from boardd
* also want to turn off power
* fix manager calls
* move to sensord folder
* release files:
* add assistnow code
* no bare except
* add test script to test TTFF
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 13489d092e
* Always run laikad on device!
* Update laika
* Update laika
* Fix gps week and time of week in msg
* Reset kalman filter if pos_fix or last_known_position
* put behind file
* move pr parsing into common file
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dc98511b7a
* enable encoderd
* correct enable line
* fix loggerd tests
* fix power draw and cpu tests
* correct cpu for encoderd
* fix a bug, video_writer is shared
* fix issue with not recording dcam
* add recording state
* wooo tests pass. encode id keeps counting
* core 3
* loggerd then encoderd
* stop loggerd first
* core 3 always online
* see the camera when we see encoder packet
* encoderd on small core uses 37%
* remove encoder logic from loggerd
* delete unit test that doesn't really make sense anymore
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 94b9972eb7
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c
* manager: cleanup ensure_running
* make notcar a blocking condition
* invert last conditions
* duplicate
* always run daemon process
* comment
* typo
* make notcar like driverview
old-commit-hash: 207df4742f
* connecting to rawgps
* dumping rawfps packets
* this works, but it might be useless
* fix parsing
* parsing 0x1476
* compare
* compare better
* refactoring
* parsing and broadcasting GPS packet
* glonass support
* compare using submaster
* fix compare for glonass
* update cereal
* make linter happy
* other linter issue
* last mypy complaints
* add support for publishing gpsLocationExternal
* set flags to 1 to match ubloxd
* ready to ship
* qcomdiag
* use unused variables
* last one
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1df3c86999
* device side of statsd
* need to start it
* enable in manager
* add sleep
* cleanup
* remove aggregates for now and standardize on industry terms
* manager needs main
* need to have a try/except
* atomic_write_on_fs_tmp does not work
* cleaner
* use dump
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* one file at a time
* limit amount of files
* move to influx line protocol and cleanup
* needs to be a list
* fix timezone bug
* actually rate limit
* add to release
* normalized origin
* also log deviceType
* more stats
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1b49ce6ec4
* soundd: configure as persistent process
* update c2 test
* fix that
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed8e6f857c
* Add navd folder
* prints route instructions to console
* broadcast NavInstuction without lanes
* show basic instructions and eta
* parse out lane info
* use swaglog
* clip distance on ui side
* draw lane directions
* show route
* add to process config
* add to release files
* small cleanup
* show route without gps
* pop open map on initial route
* fix error messages around no gps
* done
* make persistent process
* handle end of route
* clear route on offroad
* only one timer
* fix layout hacks
* explicit rendering at 20Hz
old-commit-hash: bef686f275
* live_kf to c++
* first locationd code
* Running in process_replay
* locationd handle cam_odo and live_calib
* log event handlers
* working message receiving
* compiling message sending
* correctly sending some messages
* correct receiving and sending
* update ref_commit with some all_alive_and_valid being false, minor fixes
* fix std abs
* linking on device fix
* fix cpu usage test
* generate kf constants and defines
* fix replay test
* replay without acks, cleanup
* operate on bytearray messages
* cleanup
* send msg fix
* small sleep, less flaky test
* remove python locationd
* review feedback
* bump rednose
old-commit-hash: 3420707ad5
* this should work but doesnt
* Only offroad
* works
* make it work offorad
* reduce diff
* cleanup
* need util
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a94ba4fb8b