ZwX1616
cfc1b33563
c2 transform
4 years ago
ZwX1616
0a15640dcf
c3 is straightforward
4 years ago
Dean Lee
7db04ab0c5
ONNXModel: use the actual model file name ( #22084 )
...
* use the actual file name
* use macro
* fix typo
* continue
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
784b3a2ac9
dmonitoring: improve yuvframe2tensor ( #21996 )
...
* use Y,U,V
* use a pre-calculated table
* add variable use_snpe_model
* .dlc
* remove if
4 years ago
Willem Melching
813ddb0c18
revert ioctl changes to thneed
4 years ago
Dean Lee
31230e5b60
retry ioctls while errno == EINTR ( #22054 )
4 years ago
Adeeb Shihadeh
54a4eeb0fc
Revert "tici: give loggerd rt priority ( #21503 )"
...
This reverts commit 7e2752c878
.
4 years ago
Adeeb Shihadeh
7e2752c878
tici: give loggerd rt priority ( #21503 )
...
* give loggerd rt priority
* assert
* little more
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Mitchell Goff
05b37552f3
Retuned desire model ( #21919 )
...
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950
* Updated process replay refs
* Updated model replay ref
4 years ago
Comma Device
bafa3d0a72
set adsp lib path
4 years ago
Greg Hogan
3a578cb5b5
fix cd in process scripts ( #21806 )
...
* ui: fix cd in launch script
* do the rest
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
arfy slowy
d74def61f8
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Mitchell Goff
15d6bbb47c
Revert "New desire model ( #21729 )" ( #21805 )
...
* Revert "New desire model (#21729 )"
This reverts commit e83973b9b3
.
* Updated process replay ref and reverted release notes
4 years ago
AJ Ibraheem
b15b10162d
remove extra slash in modeld path ( #21793 )
4 years ago
Mitchell Goff
e83973b9b3
New desire model ( #21729 )
...
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900
* Enable keeps
* use new packet
* Send keep pulses once per second
* Updated model_replay_ref_commit
* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac
* Bump model_replay_ref_commit
* Bump submodules
* New model: fd904bf9-5dd8-4619-8997-c5668400e078/550
* New model: fd904bf9-5dd8-4619-8997-c5668400e078/950
* No keeps
* Bumped model replay ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
4 years ago
Willem Melching
48020e686e
make sure tidx+1 doesn't exceed TRAJECTORY_SIZE-1 ( #21595 )
...
* make sure tidx+1 doesn't exceed TRAJECTORY_SIZE-1
* Update driving.cc
* Update driving.cc
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: HaraldSchafer <harald.the.engineer@gmail.com>
4 years ago
robbederks
2f22207ece
Add option to avoid thneed ( #21577 )
...
* add option to avoid thneed
* cleaner
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* fix USE_THNEED in modeld
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
88424ede2c
Revert model ( #21571 )
...
* Revert "New desire model (#21458 )"
This reverts commit 4230d5d212
.
* revert rel notes
4 years ago
HaraldSchafer
148c202bc4
less np ( #21536 )
4 years ago
HaraldSchafer
4230d5d212
New desire model ( #21458 )
...
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900
* Enable keeps
* use new packet
* Send keep pulses once per second
* Updated model_replay_ref_commit
* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac
* Bump model_replay_ref_commit
Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
4 years ago
HaraldSchafer
6838e1c82c
Refactor lateral lag compensation ( #21334 )
...
* add T_IDXS
* refactor
* fix test
* unused
* typo
* needs casting
* Update selfdrive/controls/lib/drive_helpers.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* deprecate field
* regen all
* new segs
* add todo
* split back
* clean
* bad names
* do in controls
* add arg
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
HaraldSchafer
70f0059be4
Revert DM model change ( #21442 )
...
* Revert "tici patch"
This reverts commit 09de331f18
.
* Revert "dm e2e outputs added (#21210 )"
This reverts commit 46e3f4528f
.
* Revert "improved dm model (#21113 )"
This reverts commit 0f48fddf41
.
4 years ago
Adeeb Shihadeh
4a1aec27ef
segment regen ( #21148 )
...
* start seg regen
* send vipc
* fix up some paths
* set fp
* fix no entries
* engages
* seperate camera procs
* send real frames
* regen test routes
* nice argparser
* fix valgrind test
* move that
* fix that
4 years ago
Dean Lee
645dbd3f24
modeld.cc: no need to initialize desire to -1 ( #21424 )
4 years ago
Willem Melching
698b9af8a9
model benchmark disable static analysis
4 years ago
Willem Melching
c3561cc0e1
No more polyfit
4 years ago
Dean Lee
8da538c18c
Refactor ModelFrame struct to class ( #20005 )
...
* refactor modelframe
* remove DUMP_YUV
* use constructor/destructor instead of init/free
* OMG...should be clEnqueueReadBuffer
* rebase master
* rebase master
* fix build
* small cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
e4e669bb0f
add space after function name and if statement ( #21225 )
4 years ago
Dean Lee
d82fa763d8
remove double semicolons ( #21215 )
4 years ago
Maxime Desroches
03df1b08bb
Convert C++ while loops from int to bool ( #21214 )
4 years ago
ZwX1616
46e3f4528f
dm e2e outputs added ( #21210 )
...
* try this
* use e2e only
* add new outputs
* Revert "use e2e only"
This reverts commit 423dd8e29b
.
* send new
* fix batchnorm
4 years ago
Adeeb Shihadeh
9e94fb17cf
fix qcom and qcom2 builds
4 years ago
Dean Lee
c53cb5d570
Use C++ header files instead of C header files. ( #21192 )
...
* 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
4 years ago
Dean Lee
b06b3ecb60
Use full include path ( #21194 )
4 years ago
Adeeb Shihadeh
cf6d133638
fix up model tests + tools ( #21071 )
...
* unlogger: send yuv stream
* fix up model test tools
* fix unlogger
* rename model replay
* bump cereal
* test in actions
* no ci for now
4 years ago
HaraldSchafer
dc40631e97
Fix planner low speed behaviour ( #20990 )
...
* first point is 0
* first point is always now
* print replay diffs
* new ref
* changed wrong commit
4 years ago
Mitchell Goff
29cc3500a5
New model outputs ( #20933 )
...
* New model: 51a237cd-9c43-4281-9072-802325e6744d/950
* Added new meta outputs and proper interp for plan_t_arr
* Added meta-based trigger for FCW
* No nans in planner, separate alert for model FCW
* Cleaned up plan_t interp logic
* Added empty cameraError alert to fix unit tests
* Use the normal FCW event
* Updated filter logic
* Updated model replay ref
* Moved disengage predictions into their own cereal struct
* Updated model replay ref for new cereal structs
* Apparently this breaks stuff?
* Bumped cereal commit and model replay ref
4 years ago
Dean Lee
0495426535
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
4 years ago
Comma Device
6ffc183359
fix dmonitoring build after include cleanup
4 years ago
Dean Lee
7222d0f20d
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
ab319d4f54
Replace ifdef with hw abstraction layer ( #20843 )
...
* Replace ifdefs with hardware abstraction layer (#20801 )
* 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
* Fixes after ifdef clenaup (#20842 )
* inheritance doesnt work with static
* fix debayer
* small cleanup
* Update selfdrive/camerad/cameras/camera_common.cc
* Update selfdrive/ui/qt/offroad/settings.cc
* Update selfdrive/common/modeldata.h
* flip conditions
* fix comment
Co-authored-by: Dean Lee <deanlee3@gmail.com>
4 years ago
Willem Melching
3a95d3ccaa
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 757d2923d2
.
4 years ago
Willem Melching
d34647bbf7
Revert "Fixes after ifdef clenaup ( #20842 )"
...
This reverts commit fd7c2b4adf
.
4 years ago
Willem Melching
fd7c2b4adf
Fixes after ifdef clenaup ( #20842 )
4 years ago
Dean Lee
757d2923d2
Replace ifdefs with hardware abstraction layer ( #20801 )
...
* 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
4 years ago
Adeeb Shihadeh
8a280fbb8e
bump cereal
4 years ago
iejMac
4866a39244
cereal: SubMaster refactor, update is now void ( #20730 )
...
* cereal: SubMaster refactor, update is now void
* bump cereal
* mistake
* update void
* checks
* semicolon
* Update selfdrive/camerad/cameras/camera_frame_stream.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* check sensorEvent
* update cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
fe2f63849a
util.cc: reduce two read_file functions into one ( #20655 )
...
* no need to malloc one extra byte
* combine two read_file into a faster one
* cleanup #include
* use resize
* apply suggestions from review
* space
* rebase master
4 years ago
Adeeb Shihadeh
9edda6fbc1
tici: offline big cluster while offroad ( #20668 )
...
* tici: offline big cluster while offroad
* shuffling
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
36d8c89ebf
enable --as-needed linking ( #20619 )
...
* only link as needed
* a few more
* need to fix order
* everywhre
* fix mac
* update spinner + text
* fix c2 build
* another fix
Co-authored-by: Comma Device <device@comma.ai>
4 years ago