Adeeb Shihadeh
878ca53d78
hw: remove unused function
2 months ago
Maxime Desroches
25463deeec
Disable IR switch before setting torch ( #34725 )
...
switch reset
2 months ago
Dean Lee
31ae8958ee
hardware/tici: simplify use of std::ofstream ( #34420 )
...
Simplify Use of std::ofstream
3 months ago
Adeeb Shihadeh
b36db7810c
tici: fix cpp device type ( #34315 )
...
fix cpp
4 months ago
Adeeb Shihadeh
ce4ebbde64
fix IR power scaling ( #34293 )
...
* fix IR power scaling
* Update system/hardware/tici/hardware.h
4 months ago
Adeeb Shihadeh
e317485200
tici: fix device types ( #34269 )
4 months ago
Adeeb Shihadeh
ba0e7c4719
hardware: add helper for setting IR power ( #34245 )
...
* hardware: add helper for setting IR power
* fix
4 months ago
Adeeb Shihadeh
f6732eca41
get name from kernel ( #31602 )
...
* get name from kernel
* revert that
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3c4e82f14a
1 year ago
Adeeb Shihadeh
4101f3d725
tici: log SOM ID ( #31440 )
...
* tici: log SOM ID
* no cat
old-commit-hash: 3cf845d952
1 year ago
Justin Newberry
817161f3ac
Soundd: move to python ( #30567 )
...
soundd python
old-commit-hash: abe39e5076
1 year ago
Justin Newberry
0c43599b93
allow onscreen cpu rendering ( #30510 )
...
* spinner POC cpu
* should be single threaded
* how tf did that get added
* allow non offscreen
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7f14bdfb22
1 year ago
Justin Newberry
40757d9d01
Mapsd: move on the CPU ( #30349 )
...
* mapsd -> cpu
* link directly to mesa
* Fix gitignore
* without launcher script
* dont change that
* dont need that
* add to files_common
* rename to configure cpu rendering
* without a symlink!
* update time refs
* update ref
* update ref
* remove duplicate include
* bump up again
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bdf2fa0f83
1 year ago
Dean Lee
97e9d55588
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e75
2 years ago
Dean Lee
004a097c95
cpplint: add `readability/braces` filter ( #29554 )
...
old-commit-hash: 363740a497
2 years ago
Adeeb Shihadeh
05d3b28bb6
tici: log disk info ( #28259 )
...
old-commit-hash: 4751d2b57c
2 years ago
Adeeb Shihadeh
2f8939dd0e
bootlog: log agnos partition hashes ( #28141 )
...
* bootlog: log agnos partition hashes
* full path
* trimming
* slot
* boot is big
* give some time to start
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1a3125bb8f
2 years ago
Adeeb Shihadeh
3689bd2e77
loggerd: log HW-specific extras ( #28084 )
...
* loggerd: log HW-specific extras
* fix value
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e24d28fd45
2 years ago
Robbe Derks
51576bdd30
Dynamic device type ( #28011 )
...
* tizi_device_type
* fix test
* also change it in the C versin
old-commit-hash: 21bcd7db63
2 years ago
Cameron Clough
0276badcc0
setup: add serial to request headers ( #27237 )
...
* setup: add dongle ID to request headers
* rename openpilot
* fix str
* hardware: get_serial
* set serial instead
* fix typo
* static
* fixes
old-commit-hash: 6fb5661abb
2 years ago
Adeeb Shihadeh
4641431306
tici: remove hardcoded max brightness ( #26859 )
...
* tici: remove hardcoded max brightness
* fix that one
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 922bedaf47
2 years ago
Cameron Clough
9bcf83f493
micd: scale sound volume with ambient noise level ( #26399 )
...
* test changing sound volume
* test changing sound volume
* create system/hardware/pc/hardware.h
* implement Hardware::set_volume using pactl
* soundd: use Hardware::set_volume
* add sounddevice dependency
* sounddevice example
* simple micd
* cleanup
* remove this
* fix process config
* add to release files
* hardware: get sound input device
* no more offroad
* debug
* calculate volume from all measurements since last update
* use microphone noise level to update sound volume
* fix scale
* mute microphone during alerts
* log raw noise level
* hardware: reduce tici min volume
* improve scale
* add package
* clear measurements on muted
* change default to min volume and respond quicker
* fixes
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* logarithmic scaling
* fix
* respond quicker
* fixes
* tweak scaling
* specify default device
* Revert "hardware: get sound input device"
This reverts commit 50f594f7a3bab005023482bc793147a8c8dae5d7.
* tuning
* forgot to update submaster
* tuning
* don't mute microphone, and clip measurement
* remove submaster
* fixes
* tuning
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746
.
* draft
* draft
* calculate sound pressure level in dB
* fix setting
* faster filter
* start at initial value
* don't run command in background
* pactl: use default sink
* use sound pressure db
* tuning
* bump up max volume threshold
* update filter slower
* fix divide by zero
* bump cereal
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 108ff15f5d
2 years ago
Cameron Clough
303b5532ad
soundd: change system sound mixer volume ( #26633 )
...
* test changing sound volume
* create system/hardware/pc/hardware.h
* soundd: use Hardware::set_volume
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746
.
* don't run command in background
* pactl: use default sink
old-commit-hash: 02b5b6fe1f
2 years ago
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b
3 years ago
Willem Melching
753045c73d
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>
old-commit-hash: f49a9c9fd2
3 years ago
Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb
3 years ago
Adeeb Shihadeh
b81a0ae865
tici: lower min volume
...
old-commit-hash: f71085484d
3 years ago
Adeeb Shihadeh
9c702c779e
whole new family ( #23157 )
...
* family two
* more volume
* repeating dm sound
* update tests
old-commit-hash: 1501c2e376
3 years ago
Adeeb Shihadeh
6c2182c026
Newer sounds ( #23091 )
...
* new prompt sound
* padding
* prompt distracted
* debug
* fix spelling
* lower min volume
* better volume at low speeds
* revert debug
* revert that
* fix tests
* update refs
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3b367e6872
3 years ago
Adeeb Shihadeh
dccb8b4010
New sounds ( #22652 )
...
* new engage/disengage + amp config
* first family
* cleanup audible alerts
* tici isn't special
* fix up debug cycle alerts
* these were better
* extend range
* use distracted sound
* log scaling
* getting closer
* slightly louder
* prompt
* update tests
* update refs
* fix c2 test
* resolve todo
* adjust tolerance
* revert for now
* should work
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e679d05d9e
3 years ago
sshane
1f2fe189bd
implement display power ( #21731 )
...
* implement display power
* FB_BLANK_POWERDOWN
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f48064c4d7
4 years ago
robbederks
e31f004593
Tici sound improvements ( #21722 )
...
* tune amp config and add EQed sounds
* fix release files
* bump up max
* cleanup
* more volume
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cebddc94c4
4 years ago
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7222d0f20d
4 years ago
Willem Melching
78bf4f5867
Replace ifdef with hw abstraction layer ( #20843 )
...
* Replace ifdefs with hardware abstraction layer (#20801 )
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
* Fixes after ifdef clenaup (#20842 )
* inheritance doesnt work with static
* fix debayer
* small cleanup
* Update selfdrive/camerad/cameras/camera_common.cc
* Update selfdrive/ui/qt/offroad/settings.cc
* Update selfdrive/common/modeldata.h
* flip conditions
* fix comment
Co-authored-by: Dean Lee <deanlee3@gmail.com>
old-commit-hash: ab319d4f54
4 years ago
Willem Melching
39c18d4c5a
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.
old-commit-hash: 3a95d3ccaa
4 years ago
Dean Lee
e0282ced49
Replace ifdefs with hardware abstraction layer ( #20801 )
...
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
old-commit-hash: 757d2923d2
4 years ago
Willem Melching
535621bc52
Revert "Add device_type to class Hardware ( #20535 )"
...
This reverts commit 2d15844f518b4f606f61e788fc2d3d14fb21e70b.
old-commit-hash: 7372b9bba5
4 years ago
Dean Lee
75da59b835
Add device_type to class Hardware ( #20535 )
...
* add device_type to HadWare class
* always wake on PC
* use cereal::InitData::DeviceType
old-commit-hash: 9922688f8b
4 years ago
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
4 years ago
Comma Device
b156613b2f
split
...
old-commit-hash: d72855ecb8
4 years ago