Commit Graph

13901 Commits

Author SHA1 Message Date
Dean Lee
0bdad1fee0 loggerd: direct Initialize params instead of copy (#33622)
Direct Initialize Instead of Copy
2024-09-22 14:12:07 -07:00
Dean Lee
2b37624dee encoderd: use const reference for VisionBuf access (#33621)
use const reference for VisionBuf access
2024-09-22 14:11:59 -07:00
Comma Device
6fff91d91e new tici updater build 2024-09-21 00:55:42 +00:00
Shane Smiskol
0c0b658864 Lexus ES TSS2: reduce longitudinal integral and compensate for road pitch (#33616)
bump
2024-09-20 16:54:17 -07:00
ZwX1616
b2976631d2 onnxmodel fp16_to_fp32: misc improvements (#33615) 2024-09-20 15:00:34 -07:00
Harald Schäfer
8d50970aef New steer limit warning (#33608)
* New steer limit

* Update selfdrived.py

* Update selfdrived.py

* Update selfdrived.py

* Update ref
2024-09-20 14:42:21 -07:00
Dean Lee
07f3f93bd9 camerad: remove SpectraCamera inheritance from CameraState and simplify initialization (#33611)
remove inherit

Co-authored-by: Comma Device <device@comma.ai>
2024-09-20 11:15:49 -07:00
Kacper Rączy
580388e209 Deprecate ModelDataV2.gpuExecutionTime (#33607)
Deprecate gpuExecutionTime
2024-09-19 22:10:07 -07:00
Kacper Rączy
48938098e0 Add modelExecutionTime to DrivingModelData (#33606)
* Add model execution time to DrivingModelData

* Update model replay ref commit

* Update ref commit again

* Ignore this field in model replay

* Back to original ref commit

* Bring back

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 22:09:53 -07:00
Shane Smiskol
fe61b436b2 fix import 2024-09-19 21:58:00 -07:00
Shane Smiskol
3c5ed2f716 Longitudinal maneuver report: display pitch (#33610)
* export and fix platforms

* test

* display pitch

* Revert "test"

This reverts commit 80c57fda9afcb6e6cae002f54d8ffbe46c2feb01.

* Revert "export and fix platforms"

This reverts commit 614e62d775799a9af1e76ab9025dc96bbe1b83c6.

* add to top

* Revert "display pitch"

This reverts commit 5bad8c0be71aba914490848473782ed7c4a1ca83.
2024-09-19 21:57:11 -07:00
Adeeb Shihadeh
20c983897b camerad: set patch_offset 2024-09-19 20:57:42 -07:00
ZwX1616
ffb6e11f96 Revert "exec DM model with gpu" (#33604)
Revert "exec DM model with gpu (#33397)"

This reverts commit f79aca8e1e.
2024-09-19 20:55:11 -07:00
Shane Smiskol
5e024b775b fix big cars test (#33603)
export and fix platforms
2024-09-19 18:08:40 -07:00
ZwX1616
f79aca8e1e exec DM model with gpu (#33397)
* half

old-commit-hash: 9f72eca003d4637ca7fe847ebaf925c694fc2e84

* optimed

old-commit-hash: 6e36e2a12e09275ec21d1590012a92b05ca52ff5

* thneed

old-commit-hash: 419a06c09c0c767d828bcd1e118bc575898c343a

* exec

old-commit-hash: 0059c27ec11b076a37f65d604ed135ea6541b1a6

* runner

old-commit-hash: 34232ada94450ce541eaef546197fa219810a891

* runs but

old-commit-hash: 3db37c00b6a64908293b4de8d8b56e80308cd8f2

* it is 01

old-commit-hash: a160d81eb1a7e77abbef959b44f602610f68f665

* np

old-commit-hash: c1caff6ba648cc2c0094c71b2ea074f01c3c2dc8

* module url

old-commit-hash: 6f4902c4d384263a53e2c1d14d93b5ff864b6a5f

* new

old-commit-hash: 779ae79b1bc3df6374fb6663ac8592e107a6e504

* ds fast

* is this work

* corcention

* real timing

* no reg

* interim gather

* 0e4a9c7b

* fa69be01, and halve

* list

* cleanup

* slighly faster

* setprotlt

* expected

* replay ref

* more powar

* reluctantly

* bump tg

* 8

* less

* less

* bump tg

* better than exp

* closer

* cc

* see diff

* commits

* was right

* to 32 cast

* remove dlc file

* support both

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 17:42:44 -07:00
Adeeb Shihadeh
bdb4b87fa5 rm debug print 2024-09-19 16:39:30 -07:00
Adeeb Shihadeh
df9b8f0222 camerad: final debayer prep (#33598)
* prep part 4?

* cleanup

* little less magic

* reorg

* final touches

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 16:14:29 -07:00
Dean Lee
eaebea0968 camerad: cleanup includes (#33600)
cleanup includes

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 14:16:48 -07:00
Shane Smiskol
91e342fc58 longitudinal maneuver report: require two frames above target (#33602)
require two frames
2024-09-19 14:14:22 -07:00
Shane Smiskol
81a0e3716e longitudinal report: description is optional 2024-09-19 13:30:20 -07:00
Dean Lee
7a11d0180b locationd: improve circular buffer handling with np.roll (#33470)
improve circular buffer handling
2024-09-19 13:09:41 -07:00
Dean Lee
34f5ba46b3 camerad: move handle_camera_event to SpectraCamera class (#33595)
move handle event

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 11:34:37 -07:00
Adeeb Shihadeh
eea06b4c3e camerad: camera_util is spectra (#33597)
* camerad: camera_util is spectra

* lil more

* mv that

* fix build

* runs on device

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 11:22:46 -07:00
Dean Lee
943aa616b3 camerad: add helper function get_gain_factor (#33594) 2024-09-19 10:58:49 -07:00
Dean Lee
b852aba670 camerad: fix POLLPRI event check in poll loop (#33591)
fix event check in poll loop to validate POLLPRI
2024-09-19 10:58:06 -07:00
Dean Lee
c95f0f039f camerad: move debugging parameters from camera_common.h to camera_qcom2.cc (#33589)
move debugging parameters

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-09-19 10:45:57 -07:00
Dean Lee
78db136914 camerad: remove libyuv dependency (#33593)
remove libyuv
2024-09-19 10:41:51 -07:00
Dean Lee
467bd74944 camerad: remove CameraType enum from camera_common.h (#33588)
remove CameraType from camera_common.h
2024-09-19 10:33:24 -07:00
Dean Lee
fc8762ab51 ci: fix ui report issues (#33585)
* fix ui report issues

* fix indentation

* Update selfdrive/ui/tests/test_ui/run.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-18 22:53:47 -07:00
Shane Smiskol
08b731cbd7 Lexus ES TSS2: improve start from stop for ICE variants (#33586)
bump
2024-09-18 22:48:15 -07:00
Shane Smiskol
e018a20bc2 longitudinal maneuver readme: small improvements 2024-09-18 22:47:42 -07:00
Adeeb Shihadeh
80013219fe camerad: abstract out ISP handling (#33583)
* spectra and tici

* master

* move the rest

* rm stupid indirection

* start move

* multi cam state is dead

* rest is moved

* lil more

* mv that

* lil more

* fix pc build

* we haven't done rgb for a while

* bring this stuff back

* fix mac?

* no camera in ui!

* i remember why we always cut mac

* fix mac build

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-18 22:24:53 -07:00
Dean Lee
aca0ee3eea locationd: replaced the loop and setattr with direct attribute assignment (#33466)
replaced the loop and setattr with direct attribute assignment
2024-09-18 22:19:57 -07:00
Adeeb Shihadeh
102f1b0d85 loggerd: fix mac build 2024-09-18 22:16:25 -07:00
Adeeb Shihadeh
718835a825 camerad: prep part 2 (#33584)
* no camerastate in sensors

* bring this over

* and encoder
2024-09-18 21:10:45 -07:00
Adeeb Shihadeh
5378e63812 it's not really rgb 2024-09-18 21:01:38 -07:00
Adeeb Shihadeh
b733b875f8 camerad: ci -> sensor rename (#33582)
* camerad: ci -> sensor rename

* no behavior change for now
2024-09-18 15:51:03 -07:00
Jason Young
41a7fa0623 FCA Giorgio: Reserve safety ID (#33580)
reserve safety ID for FCA Giorgio
2024-09-18 10:57:02 -07:00
Dean Lee
45b887a08e ci: add toggles to ui report (#33577)
add toggles
2024-09-17 21:04:08 -07:00
commaci-public
163e7406c2 [bot] Update Python packages (#33576)
Update Python packages

Co-authored-by: Vehicle Researcher <user@comma.ai>
2024-09-17 17:54:24 -07:00
Nelson Chen
fe2bd2e0e3 Add clip to longitudinal_maneuvers README (#33574)
Added to step 5, really ties together the images from step 4 and 6.
2024-09-17 16:42:24 -07:00
Jason Wen
e549f7af45 tests: fix selfdrive state machine import (#33571)
* selfdrive: Fix state machine test imports

* it's the same file

* Update selfdrive/selfdrived/tests/test_state_machine.py

* Update selfdrive/selfdrived/tests/test_state_machine.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-17 16:23:27 -07:00
Nelson Chen
3e0ec64e9a Longitudinal manuever docs (#33561)
* Make output longitudinal maneuvers HTML smaller so users can throw them onto jsfiddle and etc.

* Add an initial meaty readme for longitudinal maneuver tool

Feel free to trim!

* simplify instructions

* revert

revert

* remove broken video, better image

* details

* discord

* final

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-17 13:37:41 -07:00
Andrei Radulescu
306316755b agnos: move metadrive-simulator & rerun-sdk to a separate tools group (#33570) 2024-09-17 10:03:25 -07:00
Shane Smiskol
2371698601 maneuver report: use livePose acceleration and add description 2024-09-16 22:59:37 -07:00
Shane Smiskol
a3d587b93d maneuversd: check for longActive again 2024-09-16 22:27:29 -07:00
Adeeb Shihadeh
f294162b2c bump up cpu budget 2024-09-16 19:23:04 -07:00
Adeeb Shihadeh
6b7996de91 jenkins fixups for agnos 11 (#33569)
* jenkins fixups for agnos 11

* just do this for now
2024-09-16 18:05:20 -07:00
Adeeb Shihadeh
df5b45a285 modeld has gone up a bit 2024-09-16 18:05:07 -07:00
Shane Smiskol
2e6e977c93 Longitudinal planner: wait for valid cruise speed (#33568)
* Revert "only vCruise changes here"

This reverts commit 4f5659b5d53e9bac3357781bce262a29d3b1d14e.

* less nonsense
2024-09-16 16:06:02 -07:00