Commit Graph

604 Commits

Author SHA1 Message Date
Adeeb Shihadeh
1932aff0d9 sensord: cleanup logging (#33875)
Co-authored-by: Comma Device <device@comma.ai>
2024-10-25 17:41:23 -07:00
Adeeb Shihadeh
835a27e993 statsd: don't use datetime in filename (#33868) 2024-10-24 16:15:10 -07:00
Adeeb Shihadeh
47aee33ad2 sensord: fix timestamp race condition (#33867)
Co-authored-by: Comma Device <device@comma.ai>
2024-10-24 14:00:13 -07:00
Adeeb Shihadeh
719c634668 Setup IFE vignetting correction (#33853)
* vignetting

* lil more

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-23 19:52:06 -07:00
Adeeb Shihadeh
8557b0440e camerad: fixup IFE cropping (#33865)
* start fixing

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-23 19:38:05 -07:00
Adeeb Shihadeh
0466d111d2 camerad: set EOF based on readout time (#33859)
* camerad: set EOF based on readout time

* set ar

* debug

* set processing time

* set ox

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-23 19:08:21 -07:00
Adeeb Shihadeh
cf420ed001 IFE register cleanup (#33854)
* remove first update

* no duplicates

* fix build

* lil more

* lil more

* lil more

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-22 18:35:04 -07:00
Adeeb Shihadeh
fc5aed10d5 Enable IFE linearization (#33852)
* enable linearization

* fixup

* gate that

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-22 15:14:39 -07:00
Adeeb Shihadeh
fc5f761fa8 camerad: setup IFE gamma correction (#33837)
* setup gamma

* ife happy

* config for sensor

* fill and clean up

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
2024-10-22 14:41:51 -07:00
Adeeb Shihadeh
b87a52a9a0 all raw for now 2024-10-21 20:13:29 -07:00
Adeeb Shihadeh
f7f15d63dc CSID cropping for IFE (#33844)
* ife csid crop

* fix reg processing

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-21 19:55:39 -07:00
ZwX1616
0d6baffcbf camerad: disable os HDR (#33838)
* revert hdr settings

* 12

* pv12

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-21 16:14:26 -07:00
Adeeb Shihadeh
89d5761329 camerad: setup IFE black level and color correction (#33834)
* black level

* enable cc

* seems to work

* doesnt do anything

* sensorinfo

* this is fine

* cleanup

* disable

* cleanup os

* revert

---------

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
2024-10-21 14:23:44 -07:00
Adeeb Shihadeh
66804173c1 Revert "AGNOS 11 (#33775)"
This reverts commit 8bf34d0dfb.
2024-10-18 13:53:53 -07:00
Adeeb Shihadeh
9ad2333546 athena: migrate old termux SSH port to new one 2024-10-16 10:59:58 -07:00
Adeeb Shihadeh
53f514cbd3 athena: update SSH port (#33804) 2024-10-16 09:57:57 -07:00
James
3e9127be06 Cleanup process config type annotations (#33782) 2024-10-14 09:35:35 -07:00
Adeeb Shihadeh
8bf34d0dfb Reapply "AGNOS 11 (#33775)"
This reverts commit d96a042722.
2024-10-13 13:40:18 -07:00
Adeeb Shihadeh
d96a042722 Revert "AGNOS 11 (#33775)"
This reverts commit 37ba899000.
2024-10-13 09:53:47 -07:00
Adeeb Shihadeh
37ba899000 AGNOS 11 (#33775)
* agnos 11

* prod manifest
2024-10-13 09:10:00 -07:00
Adeeb Shihadeh
7aa4ef5fd6 sentry: fix deprecation warning 2024-10-12 15:31:34 -07:00
Adeeb Shihadeh
8e8f61ad35 camerad: IFE debayer support (#33720)
* ife is up

* split out cdm, bps needs this too

* straight to vipc buffer

* start reducing the diff

* support both

* disable for now

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-12 13:07:30 -07:00
Adeeb Shihadeh
747acaac71 camerad: prep to unify IFE + BPS processing (#33770)
* unify

* fixup

* start porting over ife branch

* setup new bufs

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-11 20:49:30 -07:00
Adeeb Shihadeh
7150c145ae selfdrived: remove redundant sound card check (#33767)
rm
2024-10-11 09:30:53 -07:00
Dean Lee
48abdf825b sensord: Handle EINTR for GPIO event reading (#33715)
handle eintr
2024-10-09 13:42:53 -07:00
Adeeb Shihadeh
50baf37ddd camerad: fix CAM_SYNC requests (#33757)
* camerad: fix CAM_SYNC requests

* cast

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-09 11:56:46 -07:00
Adeeb Shihadeh
8cf1b79189 camerad: more ISP prep (#33752) 2024-10-08 14:07:13 -07:00
Adeeb Shihadeh
853febe21d visionipc: remove RGB support (#33739)
* visionipc: remove RGB support

* bump

* msgq master

* fix sim
2024-10-07 13:24:57 -07:00
Shane Smiskol
7556233cca Reapply "move car.capnp to opendbc (#33722)" (#33728)
* Reapply "move car.capnp to opendbc" (#33725)

This reverts commit 9d52a5b485.

* why can't i repro?!

* Revert "why can't i repro?!"

This reverts commit 0435d218f790faf7b7aaed27d05ab9ee67b087e6.

* does this cause card to try and read it?

* better place

* wtf

* Reapply "why can't i repro?!"

This reverts commit d24fd5a0abf454f47d5591e3b39039fdc4d0251c.

* also here
2024-10-03 22:47:03 -07:00
Shane Smiskol
9d52a5b485 Revert "move car.capnp to opendbc" (#33725)
Revert "move car.capnp to opendbc (#33722)"

This reverts commit 8149f7cb11.
2024-10-03 16:57:45 -07:00
Shane Smiskol
8149f7cb11 move car.capnp to opendbc (#33722)
* move car.capnp to opendbc

* bump

* do card

* fix some more tests

* rm helpers

* format fp

* more

* whoops

* bump

* bump to master
2024-10-03 16:40:24 -07:00
Dean Lee
f7c4aad8bd cameread: remove outdated 'm' and 'atomic' libraries (#33714)
remove unused libs
2024-10-03 10:53:05 -07:00
Dean Lee
3ca158ad3e camerad: remove Hardware::PC() check (#33713)
remove check for hardware::PC
2024-10-02 21:14:37 -07:00
Dean Lee
7fa8e3d8a6 sensord: fix redundant assignment (#33707)
fix redundant assignment
2024-10-02 10:10:26 -07:00
Dean Lee
2cb526a5a9 camerad: refactor gain index loop for clarity (#33613)
* Refactor Gain Index Loop for Clarity

* Update system/camerad/cameras/camera_qcom2.cc

* Update system/camerad/cameras/camera_qcom2.cc

---------

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-09-29 10:06:34 -07:00
ZwX1616
e5870dcf20 camerad: Replace ox LUT with function (#33659)
* fast eh

* need

* ;

* no chained

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-26 19:48:31 -07:00
ZwX1616
1d5b207974 Revert "camerad: Replace ox LUT with function" (#33658)
Revert "camerad: Replace ox LUT with function (#33653)"

This reverts commit 4851dacd06.
2024-09-26 17:32:06 -07:00
ZwX1616
876f192112 exec DM model with gpu (#33609)
* 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

* dspExecutionTime -> gpuExecutionTime

* ignore

* time ref

* ref commit

* last

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-26 16:40:44 -07:00
ZwX1616
4851dacd06 camerad: Replace ox LUT with function (#33653)
* fast eh

* need

* ;

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-26 09:51:04 -07:00
Adeeb Shihadeh
87b30b2911 tici: max GPU power (#33650) 2024-09-25 11:01:57 -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
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
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
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