Commit Graph

464 Commits

Author SHA1 Message Date
Adeeb Shihadeh
cc4f53e6c6 manager: move to system/ (#32538)
* manager: move to system/

* one more
old-commit-hash: accdade4cfe73cdca41f5afa73cf4ad085802930
2024-05-25 12:41:17 -07:00
Adeeb Shihadeh
4356b74cca updated: finish system/ move (#32535)
* updated: finish system/ move

* add those back

* skip that

* skip whole file

* one more time
old-commit-hash: 73b02f2cda858d4ad08bc7fa4116d0d11ff79a02
2024-05-25 12:22:02 -07:00
Adeeb Shihadeh
14e7c7d260 thermald: move to system/ (#32494)
* thermald: move to system/

* fix path

* revert
old-commit-hash: b2cf9b35f68061587fd6ab7a94a58f7b433b2da2
2024-05-20 22:51:29 -07:00
Adeeb Shihadeh
7a3e454d27 move sentry/stats to system/ (#32490)
* move sentry/stats to system/

* fix
old-commit-hash: da6fd751257bcd3aa087ac4114e9f1529f7d3d12
2024-05-20 22:39:25 -07:00
Adeeb Shihadeh
70d14c99e1 ruff: enable TRY
old-commit-hash: 0e3df5ae4d673c3644f04861a73e3aa599dd03ae
2024-05-20 17:47:48 -07:00
Adeeb Shihadeh
3358745103 ruff: enable UP
old-commit-hash: b2e4c64cf8fe3256d1e411e8715c29e2eb6f4f00
2024-05-20 17:43:54 -07:00
Adeeb Shihadeh
18970afb0e athena: move to system/ (#32488)
* athena: move to system/

* slash
old-commit-hash: 3279dbeff7d4f696804c94de1573be2b5f3f2f9d
2024-05-20 14:59:43 -07:00
Dean Lee
46183bc11b encoderd: publish i-frame as thumbnail (#32202)
* pusblish i-frame as thumbnail

* generic

* disable for now

* fix

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b742776bffb3e49649c17b54197a993e9d547403
2024-05-18 17:46:34 -07:00
cl0cks4fe
639a634f7c Unittest to pytest (#32366)
* add pytest-asyncio

* switch common

* switch selfdrive

* switch system

* switch tools

* small fixes

* fix setUp and valgrind pytest

* switch to setup

* fix random

* switch mock

* switch test_lateral_limits

* revert test_ui

* fix poetry.lock

* add unittest to banned-api

* add inline ignores to remaining unittest imports

* revert test_models

* revert check_can_parser_performance

* one more skip

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528ff0a61c7699abc1b63ba8fd282632f
2024-05-17 11:01:44 -07:00
Adeeb Shihadeh
583fa3bfbf agnos 10.1 (#32373)
old-commit-hash: 7ff66986c1a7bcfc9b459a5bb635a9f394cf2fa1
2024-05-08 16:51:27 -07:00
Adeeb Shihadeh
de5f273a6b Revert "agnos 10.1 (#32348)"
This reverts commit 38c4557a88f3c7e43027f2f83eeba2375a0427dc.

old-commit-hash: 71832d651a8bbb23707df8c2001883c32af22876
2024-05-07 20:33:09 -07:00
Adeeb Shihadeh
7b634ee1b3 agnos 10.1 (#32348)
old-commit-hash: d0e5f42b684171854edc0ab8d4eef8c38aadbc78
2024-05-07 20:05:38 -07:00
Adeeb Shihadeh
df1314fbf7 agnos 10 (#32320)
old-commit-hash: b98ea81bdb744c73a42bb491a70909490994907b
2024-05-01 20:54:32 -07:00
Andrei Radulescu
1cbb26bcc7 camerad: cast ci->image_sensor to unsigned short (#32317)
fixes 24.04 build
old-commit-hash: 6a52507e3a7479cdb3e4626de164290d839b926c
2024-05-01 15:00:25 -07:00
Dean Lee
2772be8303 camerad: Localizing the variable "ret" (#32294)
Localizing the variable "ret"
old-commit-hash: edb683a62bf0944974d9c781b3fe1ab4daba739b
2024-04-25 11:08:27 -07:00
ZwX1616
616b048906 camerad: frame sync OS (#32155)
auto

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ee01be71e16f8d1c55663362c4f89489fff2c6a6
2024-04-19 13:51:09 -07:00
ZwX1616
cc3550df2a camerad: OS HDR (#32112)
* it's something

* backup

* 16:10

* cleanup

* this is fine

* close

* remove some junk

* no heck

* disos

* real 10

* for some reason this is flipped

* 20hz

* no return

* ae

* tear

* need curve laster

* correct real gains

* fix time

* cleanup

* why the scam

* disable for now

* 0.7

* hdr

* that doesnt work

* what

* hugeoof

* clean up

* cleanup

* fix regs

* welp cant

* is this corrent

* it is sq

* remove

* back

* stg10bit

* back2ten

* Revert "remove"

This reverts commit 18712ab7e103c12621c929cd0f772ecb9b348247.

* 20hz and swb

* correct height

* 10bit

* ui hack for now

* slight

* perfect

* blk64

* ccm

* fix page faults

* template

* set 4x

* is this fine

* try

* this seems to work

* Revert "this seems to work"

This reverts commit d3c9023d3f14bd9394fed2d6276dba777ed0e606.

* needs to be static

* close

* 64 is optimal

* 2

* take

* not 1

* offset

* whats going on

* i have no idea

* less resistence

* box defs

* no

* reduce blur artifacts

* simplify

* fix

* fake short is too much for bright

* can be subzero

* should not use lsvc

* no wasted bit

* cont no slow

* no less than 10bit

* it is based

* wrong

* right

* quart

* shift

* raise noise floor

* 4.5/4.7

* same ballpark

* int is fine

* shane owes me m4a4

* Revert "shane owes me m4a4"

This reverts commit b4283fee18efebedae628a6cfd926ff1416dcfe5.

* back

* Revert "4.5/4.7"

This reverts commit e38f96e90cb5370bd378f6b66def9e7e3ed0ce5d.

* default

* oof

* clean up

* simpilfy

* from sensorinfo

* no div

* better name

* not the wrong one

* not anymore relevant

* too

* not call it debayer

* cl headers

* arg is 2nd

* gone is is_bggr

* define

* no is hdr

* rgb_tmp

* p1

* clean up

* 4

* cant for

* fix somewhre else

* const

* ap

* rects

* just set staruc

* nnew tmp

* hmm

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 03d1c48017b2169dd3d559989e72c4925eafb264
2024-04-19 13:44:03 -07:00
ZwX1616
f466145f34 image processing refactor and test (#32249)
* it's something

* backup

* 16:10

* cleanup

* this is fine

* close

* remove some junk

* no heck

* disos

* real 10

* for some reason this is flipped

* 20hz

* no return

* ae

* tear

* need curve laster

* correct real gains

* fix time

* cleanup

* why the scam

* disable for now

* 0.7

* hdr

* that doesnt work

* what

* hugeoof

* clean up

* cleanup

* fix regs

* welp cant

* is this corrent

* it is sq

* remove

* back

* stg10bit

* back2ten

* Revert "remove"

This reverts commit 18712ab7e103c12621c929cd0f772ecb9b348247.

* 20hz and swb

* correct height

* 10bit

* ui hack for now

* slight

* perfect

* blk64

* ccm

* fix page faults

* template

* set 4x

* is this fine

* try

* this seems to work

* Revert "this seems to work"

This reverts commit d3c9023d3f14bd9394fed2d6276dba777ed0e606.

* needs to be static

* close

* 64 is optimal

* 2

* take

* not 1

* offset

* whats going on

* i have no idea

* less resistence

* box defs

* no

* reduce blur artifacts

* simplify

* fix

* fake short is too much for bright

* can be subzero

* should not use lsvc

* no wasted bit

* cont no slow

* no less than 10bit

* it is based

* wrong

* right

* quart

* shift

* raise noise floor

* 4.5/4.7

* same ballpark

* int is fine

* shane owes me m4a4

* Revert "shane owes me m4a4"

This reverts commit b4283fee18efebedae628a6cfd926ff1416dcfe5.

* back

* Revert "4.5/4.7"

This reverts commit e38f96e90cb5370bd378f6b66def9e7e3ed0ce5d.

* default

* oof

* clean up

* simpilfy

* from sensorinfo

* no div

* better name

* not the wrong one

* not anymore relevant

* too

* not call it debayer

* cl headers

* arg is 2nd

* gone is is_bggr

* define

* no is hdr

* rgb_tmp

* p1

* clean up

* 4

* cant for

* fix somewhre else

* const

* ap

* rects

* just set staruc

* nnew tmp

* pull it for now

* 12

* common rect

* Revert "not anymore relevant"

This reverts commit 1d574673a16cc31b7a255609e07775c3579eef15.

* Revert "too"

This reverts commit c2d4dcc52a859fe799362f9fcc2ffda99b264e50.

* Revert "Revert "too""

This reverts commit 0abbabe1fde51592f1619058638b4ac6a6dee4b3.

* no tol is fine

* rename

* sensor id

* unsgin

* flag

* some linalg

* cast

* should be h ref

* cap

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 331c7b103a7e4349c75be373589fc68161e69500
2024-04-18 21:45:59 -07:00
Justin Newberry
89f9181d6e casync build: remove channel from build metadata json (#32212)
* remove channel

* fix

* reset

* remove this

* no channel
old-commit-hash: cedf98de5a2a948bd7d19b23ac964cf845a4769d
2024-04-15 16:44:43 -07:00
Justin Newberry
933dd500c4 agnos casync script improvements (#32156)
* build agnos

* include path

* cleanup

* rm this

* test it

* all agnos partitions are AB

* fix that

* correct

* build agnos first

* better temp dir

* revert the order

* try it on pc

* test it

* upload and fix

* build

* pass in environemnt variable

* not in jenkins
old-commit-hash: ecb648a68ab86e053faff450f5bf0d2bfc221333
2024-04-11 09:46:27 -07:00
Adeeb Shihadeh
fd65dcae83 qcomgpsd: don't send bad time assistance (#32151)
old-commit-hash: bc4c39404ae006206787ca1b7f5b468c7bd0b374
2024-04-10 10:24:44 -07:00
Dean Lee
0147c559c0 loggerd/logger.cc: use std::stoul instead of std::stol (#32133)
old-commit-hash: 99285ef1f2da4ba3852c376f4cae0c50e5dc3c79
2024-04-09 10:46:07 -07:00
Dean Lee
fc1d2edf81 loggerd/logger.cc: fix typo (#32134)
old-commit-hash: cad7b96c3a12e58c17f0d80936a8b9e4c39e7365
2024-04-09 10:45:48 -07:00
YassineYousfi
75a69e12b3 disable navigate on openpilot (#32106)
* 2eedcd90-b7db-46cb-86be-740f48ded7ab/700

* noop ciao

* here too

* mapsd too

* update translations

* disable mapsd test from test onroad

* disable mapRenderState test from timings

* lint

* fix exp mode toggle panel

* update tr

* french done

* dont build mapd

* only no nav

* just comment

* deprecate nav fields

* rm not comment

* dont deprecate too much

* remove from services

* merge cereal
old-commit-hash: 754dd45ffa82bf3d7f2d3413c4132eb65551ebd5
2024-04-09 10:40:38 -07:00
Justin Newberry
b982781570 tool to create casync manifest (#32131)
* manifest tool

* newline

* add to jenkins
old-commit-hash: b331e4a15b4d720bba59adbda51e8f78ab127382
2024-04-08 16:54:14 -07:00
Justin Newberry
b63b302438 more helpers for e2e testing updated (#32128)
casync test prereq
old-commit-hash: 3c9bf992a5998dde51e626ddd6998611011e44ef
2024-04-08 14:05:18 -07:00
Justin Newberry
40d1e69efd add tool to create casync agnos updates from existing manifest (#32124)
* wip

* wip

* add agnos prefix

* add mkdir

* tool to create agnos updates
old-commit-hash: 44bb4eb521b3d0fcb00e9df5eb7c74741946ebe4
2024-04-08 11:34:05 -07:00
Justin Newberry
8a39433d7e add ui description helper to build_metadata (#32113)
add ui_description
old-commit-hash: c95404d564a9a8d168f8f587887e9c33f96db861
2024-04-05 16:28:21 -07:00
Justin Newberry
32b32c397a casync: larger chunk sizes and include file mode (#32110)
add mode
old-commit-hash: 910e32270bc0e216a3443803bb177e0f4963e00b
2024-04-05 11:06:11 -07:00
Justin Newberry
b33aef01b8 move casync release creation to use a tarball of files (#32089)
* tar archive instead

* fix

* move this here

* migrate these

* fix this

* update readme

* fix that

* try to build nightly

* Revert "try to build nightly"

This reverts commit 4ea680cb6a1f985c0490168724c99bcb45af9899.

* caexclude is no longer required

* finish up

* sorted

* need this

* and that

* context mnager

* path based
old-commit-hash: 69982d43cd61e9b085fbd19f1e3ac6c747a51793
2024-04-05 11:00:45 -07:00
Adeeb Shihadeh
91be24ae16 timed: set valid flag (#32061)
* timed: set valid flag

* oops
old-commit-hash: 43832335b8e44e40683ffe6afa226a2d2de0d6ff
2024-03-30 17:47:21 -07:00
Justin Newberry
f5c64a56ce casync: use xz compression (#31977)
use xz compression
old-commit-hash: 7cbf3a54f11c1b33627bb30eed3de38640b77fe2
2024-03-22 13:20:11 -07:00
Justin Newberry
f2baf77e02 casync build: caidx filename is canonical representation of build (#31964)
* canonical

* short commit

* channel

* cleanup

* let's do 9 characters

* fixes

* set the build style during release creation

* as a property
old-commit-hash: 33f9193c94d3afb9120369e6557ddcd71133c5ee
2024-03-21 16:41:40 -07:00
Justin Newberry
4637e77f38 add helper for creating build_metadata from a dict (#31958)
helper
old-commit-hash: c197b3f52c6c3698a0c917fe24caf4766b1f96a8
2024-03-21 13:00:30 -07:00
Justin Newberry
ad3ae98a19 build nightly casync build in jenkins (#31880)
* casync in jenkins

* rename some stuff, add a readme

* slightly better names

* clean

* more cleanup

* cleaner

* release3 staging too

* always rm the signed version

* cleanups

* in build dir

* better name

* simpler

* more

* divider

* built

* build

* and contains

* add channel description

* and git branches

* and build required

* move this up

* these are terms

* updates

* 3/3x

* bullets

* wording

* version metadata

* git type

* more channel -> release

* more build

* just release

* more channel to release

* also fix jenkins

* use build_metadata

* fix normailzed

* also normalized

* and here

* use build_metadata

* dont commit that

* don't touch the git stuff

* branch

* don't need that

* or that

* improved names

* build_metadata

* use this instead

* fix

* build

* test nightly build again

* fix

* fixes

* Revert "test nightly build again"

This reverts commit be5e7aa7089bfc0947c9b2b484d0277c109ee089.
old-commit-hash: c3bbc58a85f515c834e6f4eb92c2d0ec45c9317e
2024-03-21 11:55:54 -07:00
Justin Newberry
1548b673e0 use build_metadata everywhere we used to use get_version, get_commit, etc (#31941)
* use build_metadata

* fix normailzed

* also normalized

* and here

* fix diff

* and that one

* cleanup
old-commit-hash: effee900c4e9f3950b88a43b08da40bdbc47aed0
2024-03-21 10:15:29 -07:00
Justin Newberry
1e238a2163 git commands: more parameterization on path (#31942)
* more cwd

* here top

* and here

* basedir
old-commit-hash: 806f743e126b4bfcccec0b0b8458b5473da9c1b4
2024-03-21 09:47:26 -07:00
Justin Newberry
3ab117d599 add get_build_metadata function (#31923)
* version

* Get build metadata

* two lines

* channel

* cwd

* default to unknown

* dataclass
old-commit-hash: 38d03b997958effea805a6c3860d2c5edaf2ae65
2024-03-20 16:43:58 -07:00
Justin Newberry
1f218e4169 parameterize get_version and add get_release_notes function (#31922)
version
old-commit-hash: 018b6d0fae1660b4e2916d9ce834daad47503668
2024-03-19 12:58:30 -07:00
Justin Newberry
a5bc36ea9d move git commands to common/git.py (#31921)
move git into common/git.py
old-commit-hash: 4fbc8a389662f82018eeabd03294cc761b87ce75
2024-03-19 12:39:09 -07:00
James
b0c9545837 Remove duplicate TimezoneFinder declaration (#31901)
old-commit-hash: b122725a680f7c06a2396941ead1fdfe60143c77
2024-03-17 17:33:47 -07:00
Adeeb Shihadeh
bdc5477a75 unicore gps (#31852)
* ugpsd

* oops

* cleanup

* disable

* more docs

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4af932b74b95c99abc9d49c31dc0a023702a77d0
2024-03-12 22:33:45 -07:00
Adeeb Shihadeh
5733c516c3 move pigeond to system/ubloxd/ (#31848)
* move pigeond to system/ubloxd/

* update release

* more

* mv test
old-commit-hash: 147ccc7a582518e565755262e36799b540b5ddf7
2024-03-12 17:13:13 -07:00
Adeeb Shihadeh
da31ce154a refactor camera transformations (#31818)
* refactor camera transormations

* update users

* more stuff

* more fix

* swap

* tici

* lil shorter
old-commit-hash: e3589e4b5cc783001c95b52cce066647b4ae0c6c
2024-03-10 16:56:50 -07:00
Adeeb Shihadeh
050662fdd0 cgpsd: use a real source
old-commit-hash: 4d1b1001526970012364b843cbbb997bfd983842
2024-03-09 23:33:24 -08:00
ZwX1616
ec2d235c69 camerad: OS04C10 operational (#31674)
* it's something

* backup

* 16:10

* cleanup

* this is fine

* close

* remove some junk

* no heck

* disos

* real 10

* for some reason this is flipped

* 20hz

* no return

* ae

* tear

* need curve laster

* correct real gains

* fix time

* cleanup

* why the scam

* disable for now

* 0.7

* hdr

* that doesnt work

* what

* hugeoof

* clean up

* cleanup

* fix regs

* welp cant

* is this corrent

* it is sq

* remove

* back

* add base comment

* clean up

* make orders clear

* not abcd

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7eb1e958848c6fdb0865da95eaba991252ca9fd6
2024-03-08 16:43:18 -08:00
Adeeb Shihadeh
098f5943d0 update cavli config
old-commit-hash: 06ab3de4de18553c8dfba936f9cfb59885899aba
2024-03-08 14:11:08 -08:00
Adeeb Shihadeh
294e055d8b cgpsd: use hasFix
old-commit-hash: bfd6ab68b5fb65da10b4c5c70c5b5782c998d4fe
2024-03-08 13:29:42 -08:00
Adeeb Shihadeh
6bf5c62155 add hasFix field to gpsLocation (#31778)
* add hasFix field to gpsLocation

* migration

* update refs for ubloxd

* cereal master
old-commit-hash: a0389d7120624b35fb169d680889ae56e1adb10a
2024-03-08 11:32:38 -08:00
Adeeb Shihadeh
b73a5fba4c fix old route sorting (#31787)
* fix old route sorting

* cleanup

* Update system/loggerd/uploader.py

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 158e36976b8793610ac1f39f51d82f5eeeb099b2
2024-03-07 19:22:06 -08:00