Commit Graph

18 Commits

Author SHA1 Message Date
Adeeb Shihadeh a9626f95b6
add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
2023-08-20 20:49:55 -07:00
YassineYousfi 9858754a02
camera transformations: pass intrinsics to get_calib_from_vp (#29323) 2023-08-11 10:24:30 -07:00
HaraldSchafer 772b748689
Cleanup calibration code (#25119)
* First attempt

* worksish

* tests pass

* cleanup

* get rid of garbahe

* fix name

* Still used in xx

* add debug functions

* used

* Revert "used"

This reverts commit 276e8ebab06d2d4f0e9927ba32b7d8aca2bf88c3.

* Update ref
2022-08-01 20:35:14 -07:00
Willem Melching f49a9c9fd2
less TICI when not needed (#24698)
* less TICI when not needed

* fix process replay

* move reading voltages into hw abstraction layer

* Update selfdrive/hardware/tici/hardware.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/hardware/hw.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/hardware/base.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* rename init function

* Update selfdrive/athena/athenad.py

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>

* Update selfdrive/boardd/boardd.cc

* Apply suggestions from code review

* Update selfdrive/thermald/thermald.py

* update ref

* fix alert width if all cameras are bad

* add ecam to test_loggerd

* bump cereal

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
2022-06-02 15:20:51 +02:00
Harald Schafer dbef0a1cd4 Camera transforms: denormalize with no bounds at all 2022-01-06 18:23:40 -08:00
Harald Schafer ce998be706 Camera transforms: denormalize with no bounds 2022-01-06 16:37:34 -08:00
George Hotz cb01ef0919 transformations: preserve dtype in denormalize 2021-10-19 19:46:35 -07:00
Adeeb Shihadeh 8fdbbdef73
remove oneplus camera params (#21047)
* remove oneplus camera params

* align
2021-05-26 17:46:43 -07:00
Adeeb Shihadeh 8674b023ba
HW abstraction layer (#19530)
* start hw refactor

* move that

* pins

* put that back
2020-12-16 21:30:23 -08:00
ZwX1616 c0946c8bdb
generalize camera assumptions (#2423)
* clean up 1

* complain

* cleanup

* make models api generic

* clean up 2

* cleanup

* remove unused
2020-11-05 13:22:28 -08:00
Harald Schafer e03f9d7c73 needed in pipeline 2020-07-28 15:12:16 -07:00
Adeeb Shihadeh efd5dffb1e enable flake8 E231: missing whitespace after comma 2020-05-31 12:49:11 -07:00
Adeeb d9bf9f0a40
Enable more flake8 checks (#1602)
* enable some more flake8 checks

* some more quick ones

* bump opendbc

* e401

* e711 e712

* e115 e116

* e222

* e301

* remove that

* e129

* e701 e702

* e125 e131

* e227

* e306

* e262

* W503

* e713

* e704

* e731

* bump opendbc

* fix some e722
2020-05-30 20:14:58 -07:00
George Hotz da5cb1842a remove unused code 2020-04-24 08:58:28 -07:00
Willem Melching 8daef80bd7 fix linter 2020-04-23 10:46:39 -07:00
George Hotz aeb0a4af88 transform_img_M 2020-04-22 19:56:53 -07:00
Harald Schafer e4472d0d46 deprecated 2020-01-17 16:24:40 -08:00
George Hotz e8d888c45b common folder 2020-01-17 10:28:44 -08:00