* refactor draw model
* rebase master
* correct valid_len
* rename function
* rename variables
* white space
* rebase to master
* e16c13ac-927d-455e-ae0a-81b482a2c787
* start rewriting
* save proress
* compiles!
* oops
* many fixes
* seems to work
* fix desires
* finally cleaned
* wrong std for ll
* dont pulse none
* compiles!
* ready to test
* WIP does not compile
* compiles
* various fixes
* does something!
* full 3d
* not needed
* draw up to 100m
* fix segfault
* wrong sign
* fix flicker
* add road edges
* finish v2 packet
* Added pytorch supercombo
* fix rebase
* no more keras
* Hacky solution to the NCHW/NHWC incompatibility between SNPE and our frame data
* dont break dmonitoringd, final model 229e3ce1-7259-412b-85e6-cc646d70f1d8/430
* fix hack
* Revert "fix hack"
This reverts commit 5550fc01a7881d065a5eddbbb42dac55ef7ec36c.
* Removed axis permutation hack
* Folded padding layers into conv layers
* Removed the last pad layer from the dlc
* Revert "Removed the last pad layer from the dlc"
This reverts commit b85f24b9e1d04abf64e85901a7ff49e00d82020a.
* Revert "Folded padding layers into conv layers"
This reverts commit b8d1773e4e76dea481acebbfad6a6235fbb58463.
* vision model: 5034ac8b-5703-4a49-948b-11c064d10880/780 temporal model: 229e3ce1-7259-412b-85e6-cc646d70f1d8/430 with permute + pool opt
* fix ui drawing with clips
* ./compile_torch.py 5034ac8b-5703-4a49-948b-11c064d10880/780 dfcd2375-81d8-49df-95bf-1d2d6ad86010/450 with variable history length
* std::clamp
* not sure how this compiled before
* 2895ace6-a296-47ac-86e6-17ea800a74e5/550
* db090195-8810-42de-ab38-bb835d775d87/601
* 5m is very little
* onnx runner
* add onnxruntime to pipfile
* run in real time without using the whole CPU
* bump cereal;
* add stds
* set road edge opacity based on stddev
* don't access the model packet in paint
* convert mat.h to a c++ header file (#2499)
* update tests
* safety first
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: mitchell <mitchell@comma.ai>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: George Hotz <george@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add Rect struct
* simplify layout calculation by using viz_rect
* fix
* add whitespace
* use the correct value for vwp_w
* correct vwp_w again
* rebase
* dd
* 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>
* remove unused UI code
* these params aren't used anymore
* this is cleaner
* remove one more timeout
* read that from carParams
* only android needs pm
* fix that
* fix that
Co-authored-by: Comma Device <device@comma.ai>
* qt ui boilerplate
* this kinda works
* cleanup
* render inside other widget
* cleanup
* more cleanup
* Not needed
* Handle click
* Draw at 20Hz
* create paint.hpp
* move stuff around
* update sidebar
* Draw vision
* this works again
* add clickable settings button
* Only collapse sidebar when started
* always use qt on linux
* fix width
* scrollable area
* talk to NetworkManager
* code to add a connection
* params toggles
* small cleanup
* add qt5 to dockerfile
* Qt on mac
* Add qt to release files
* fix macos build
* nore more ifdefs needed
* add icons
* make a bit nicer
* Hide scrollbar
Co-authored-by: Comma Device <device@comma.ai>
* remove read_model
* remove structs for c-capnp
* remove duplicate #define from modeld
* add function fill_path_points
* fix Indentation
* use MODEL_PATH_DISTANCE instead of 192
* fix type
use validLen
* rename left_path_points&right_path_points to xxx_lane_points
* enable Wunused, first pass
* unused stuff in snpe model
* these are used on phone
* handle sigint and sigterm in modeld
* fix phone build
* camera qcom
* QCOM build works
* delete unused camerad vars
Co-authored-by: Comma Device <device@comma.ai>
* fix mac nui
* fix cereal
* builds on mac without warnings
* ui swap shouldn't be instant on pc
* camerad builds on mac
* modeld, and now everything, builds on mac
* ui draws pictures on mac now
* fix camerad shutdown
* support ui looping on pc
* python3 on that
* SCNu64 should be cross platform
* bump cereal and new apk
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* use struct to store lead status
* remove white space
* use RadarState::LeadData::Reader
* use reader to get thermal data
* use reader
* continue
* remove variables
reset submodules,fix some errors
reset submodules
revert
* remove s->scene.gps_planner_active
* modify
* cleanup
* done
* resolve conflict
* remove irrelevant comment
* remove white space
* ui:move c-capnp to c++
* move Subsockets into vector
* rename reader to msg
include cereal/gen/cpp/log.capnp
* fix some errors
restore some changes
restore previous
* cleanup codes
cleanup codes
* remove unused variable alert_size
* handle capnproto's enum in a robust way
add break to default
* switch -> std:map
* use static std::map instead of switch
do cleanup
* fix wrong variable name
* use FlatArrayMessageReader instead of custom MessageReader
remove messagehelp.h
Revert "use FlatArrayMessageReader instead of custom MessageReader"
This reverts commit 57d8b6b1e2b4bad908246f35eb068535b1627167.
use FlatArrayMessageReader instead of custom MessageReader
add header file
remove capnp_c lib,add kj lib
include serialize.h
fix
remove duplicate includes
* use thermald to decide when to go onroad
* Check for stopped
* set alert timeout to 0 when going offroad
* set controls seen to false
* Don't mark as seen when already stopped
* Don't process controlsState when stopped
* Needs free
* Small cleanup
* Remove that again
* Process controlsState when started
* Need that back
* offroadLayout
* replace broadcasts with offroadLayout socket
* apk
* set 'none' layoutstate for transparent offroad
* refactor, hide offroad when vision connected
* apk supporting transparency
* reset layout state when stopping
* apk
* cleanup includes
* permit offroad to mangae sidebar state only when vision disconnected
* apk
* use c-capnp
* always upd
* send that too
* sync layout state with offroad
* apk
* fix regression in onboarding (mock engage green border)
* apk
* bump apks
* simplify event processing
* bump cereal to master
* in case ui exited in a bad state
Co-authored-by: Comma Device <device@comma.ai>
* store athena connected-at time
* refactor
* deref
* dt import
* Athena status based on last ping time param
* upd test for pingtime
* lower error timeout