Commit Graph

14068 Commits

Author SHA1 Message Date
Dean Lee fda0b70c10
ui/hud: add Q_OBJECT macro (#33638)
add Q_OBJECT
2024-09-24 15:06:04 -07:00
commaci-public 1f198ff9c9
[bot] Update Python packages (#33626)
* Update Python packages

* fix build

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-09-24 13:56:49 -07:00
Dean Lee 811bf06f8c
replay: improve README with clearer instructions and example (#33560)
improve README with clearer instructions and example
2024-09-24 12:03:08 -07:00
Jason Young 3b7a60499e
tools: fix car porting notebooks (#33641)
* ford_vin_fingerprint fixes and updates

* subaru_fuzzy_fingerprint partial fixes

* subaru_long_accel: fixes

* subaru_steer_temp_fault fixes

* subaru_fuzzy_fingerprint more fixes
2024-09-24 15:02:43 -04:00
Harald Schäfer deb6b72091
Safe exp in parsing (#33640) 2024-09-24 10:51:30 -07:00
Dean Lee 6dfc154c59
ci: add OVERRIDE and DISENGAGED state to ui report (#33639)
add state
2024-09-24 10:15:01 -07:00
Kacper Rączy d82c4509ea
joystickd: split into joystickd and joystick_control (#33632)
* Split joystickd into joystickd and joystick_control

* Update process config

* Undeprecate testJoystick

* Static analysis fixes

* Mark as +x

* Update README

* Add testJoystick back to services

* reset if testJoystick not received

* Fix quotes

* Remove self

* Add a send thread instead

* Add joystick_control into process config

* Add main

* Add additional condition

* Fix imports
2024-09-23 20:47:28 -07:00
Harald Schäfer 251e2e9400
Clip sigmoid overlfow (#33635)
* No more C sigmoid

* Clipping

* Need to cast to float

* Update ref

* Clip

* Model refg
2024-09-23 19:06:52 -07:00
Shane Smiskol 73013bc6d6
Lexus ES TSS2: reduce braking overshoot (#33628)
bump
2024-09-23 18:39:42 -07:00
Maxime Desroches 23b1f2d646
fix set speed color (#33634)
color
2024-09-23 18:16:14 -07:00
Mauricio Alvarez Leon 35581d31eb
update bounties link in `CONTRIBUTING.md` (#33631) 2024-09-23 15:32:08 -07:00
Harald Schäfer e8bea2c78f
Tomb Raider Model (#33629)
* 69acff08-5383-4103-beea-822f0d228c76/160

* 53f39907-4763-4d19-ba26-e757527c2b61/200

* 21afb89f-1397-4652-b423-abc2da32417a/200

* 21afb89f-1397-4652-b423-abc2da32417a/400

* 53f39907-4763-4d19-ba26-e757527c2b61/400

* 3fb967fd-16a8-4569-ba57-359e54deeab3/395

* Try other policy again

* 3fb967fd-16a8-4569-ba57-359e54deeab3/400

* 0136cabf-539a-4a43-bc7f-06c3654a493c/4400

* 473c0686-1ac9-4c05-9b0b-d1f1afdb6cc3/400

* 83b7993d-51a9-4e3f-904e-3fcd5763c231/400

* 021566c7-cff3-431d-8da2-17a96c888c5f/400

* Fix bugs

* Update longitudinal_planner.py

* Update fill_model_msg.py

* 8be6b59d-4449-42fd-b8e0-93c48387070f/400

* f670a748-3591-4489-a0b3-215118ddad01/400

* 790a2950-c713-4eec-838b-4f55f4fe0ccb/400

* Update model ref

* Plans start at ego

* Update ref
2024-09-23 14:26:28 -07:00
Dean Lee caa33c3193
ui: refactor hud updating and rendering into HudRenderer class (#33458)
refactor hud updating and rendering into DriverMonitorRenderer class
2024-09-23 13:48:24 -07:00
Jason Young 900c2c83bd
docs: car port info cleanup (#33630)
* GC, now duplicated and out of place

* typo fix

* link to official video with better slides

* expansion and cleanup
2024-09-23 16:39:36 -04:00
Adeeb Shihadeh 62d044c794
camerad: IFE config definitions (#33624)
* camerad: more definitions for IFE config

* comment
2024-09-22 15:49:12 -07:00
Adeeb Shihadeh d5039bcbbe
camerad: reduce internal ISP buffer count (#33619) 2024-09-22 14:24:37 -07:00
Robin Reckmann 312a1b2a65
camerad: fix: Explicitly include necessary headers (#33623)
camerad: Explicitly include necessary headers
2024-09-22 14:15:01 -07:00
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 80c57fda9a.

* Revert "export and fix platforms"

This reverts commit 614e62d775.

* add to top

* Revert "display pitch"

This reverts commit 5bad8c0be7.
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