Commit Graph

11597 Commits

Author SHA1 Message Date
Dean Lee ed31f8aaa5 Remove unnecessary string copy (#2067)
old-commit-hash: 71eedbce44b9239d05c3309a6f85c3c8abbb3908
2020-08-24 09:25:16 -07:00
Willem Melching 22e0a2474a Pandad: turn on panda power (#2073)
* pandad turn on panda power

* Add gpio.py

* needs bytes

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6bb2630eba1bff2db745e56d639fce8b85ec6d0d
2020-08-24 16:56:29 +02:00
Willem Melching d8b7f6f4e3 fix prebuilt container
old-commit-hash: 39c7dc2072a2bf512afd7ac11ebe601ba754ad1d
2020-08-24 14:43:24 +02:00
Willem Melching ac4e0e59df bump cereal
old-commit-hash: b731b1b99ed60e7b7482946e542c3a2c31f5a9c0
2020-08-24 14:18:42 +02:00
Willem Melching cb21237c26 Thermald cleanup (#2049)
* Thermald cleanup

* no Temps, fix ui formatter

* Fix scaling

* Don't touch that

* typo

* Fix fan control

* Fix if

* change cereal

* Update comment
old-commit-hash: 9eb3d89ca273bf9960890c9e60687960b552346d
2020-08-24 14:17:41 +02:00
Dean Lee 205a47abaa paint.cc: deleted two meaningless lines (#2043)
old-commit-hash: 08d6fe18805c3e7e9fe512b1b343ab69d49f12da
2020-08-24 14:15:34 +02:00
eFini ddc5732562 fingerprint for China 2019 CRV Hybrid (#2056)
old-commit-hash: c7904cdec3eefb0cb01f77b594a1a11f0423e019
2020-08-24 14:09:30 +02:00
Dean Lee 4c0da02183 visionstream: fix doube fd close (#2057)
* s->ipc_fd counld be closed twice

* white space
old-commit-hash: 17dd07e751a7fd3f4fe62811614b41ce9650811a
2020-08-24 14:07:27 +02:00
Dean Lee aa41930178 remove device_id&context from ModelFrame (#2064)
old-commit-hash: 727055e0a077ceb4ea9ff55de9fd795cf675b48a
2020-08-24 14:04:52 +02:00
Dean Lee eb4d487000 move matmul3 into live_thread (#2069)
old-commit-hash: de7b901dc1518bf6e1dff0534f02be223d0e175f
2020-08-24 14:00:00 +02:00
Adeeb Shihadeh 993b6b43ac split dockerfile into base image and CI image (#2066)
* split dockerfile into base image and CI

* doesn't exist yet

* fix path

* cache on this branch

* latest

* use cache

* don't double pull
old-commit-hash: a3f56430195d5b2d0119f8bbf929f07c9a625959
2020-08-23 18:18:19 -07:00
Adeeb Shihadeh 8f2111b889 type hints for messaging (#2061)
* bump cereal

* fix bugs found by mypy

* bump cereal
old-commit-hash: 520c2676b682903d2be8f661ce98ac85fa50c439
2020-08-23 00:33:19 -07:00
George Hotz d3b9aff4e2 update code stats script
old-commit-hash: 8c4c8e6bbee7cc73a94a566e2a89829e737ddc52
2020-08-22 14:48:01 -07:00
BrettLynch 16b3187ee4 2020 Corolla Hybrid Sx sedan FW (#2059)
Co-authored-by: BrettLynch <metalworer@live.com.au>
old-commit-hash: cedbdacd0dc91cb61b1c62e2b1171c16c688eaf3
2020-08-21 18:16:03 -07:00
Erich Moraga 8464860002 Add 2020 RAV4 LE Hybrid engine f/w (#2058)
C0mpl3t3N00b#0074 DongleID bdad50b8a1f9fa8e...
https://discord.com/channels/469524606043160576/524592892627517450/746500256178372678
old-commit-hash: 1bfeacdeafc41cc74f46695e32fe7c0722ff11ba
2020-08-21 16:17:34 -07:00
cydia2020 f40ece1dbf Prius 2018 Engine FW (#2054)
old-commit-hash: 97bb55703e0034099c3c05a48785616f879a1f90
2020-08-21 16:02:30 -07:00
Adeeb Shihadeh cadf1a08f5 small dmonitoringd cleanup
old-commit-hash: 732df68d8406d1924b984324ad10af6c13423fec
2020-08-21 14:55:12 -07:00
BrettLynch d14d7ab667 Added fingerprint for my 2020 Corolla Hybrid Sx sedan (#2052)
Co-authored-by: BrettLynch <metalworer@live.com.au>
old-commit-hash: 1f4e16be3c7bd93ea073cd373583c0a28e9ca98e
2020-08-21 11:10:27 -07:00
Willem Melching 698d4e4af1 ui: larger font size
old-commit-hash: d7f3690e85b2712cadaa8da2a1d153d5d915393f
2020-08-20 21:37:28 +02:00
Willem Melching 191d2e55d0 ui: force GLES context
old-commit-hash: 2410c7e26bbf60dda83792d273f049586c1aa001
2020-08-20 21:33:32 +02:00
Robert Hanna 7525b2e4f6 Add Lexus RX esp FW (#2050)
Add new Ecu.esp FW version to LEXUS_RX_TSS2
old-commit-hash: 85ba6e0e2f01794a2ddf3534c3fd5a912b574d4e
2020-08-20 10:55:35 -07:00
Willem Melching 92e3ed2e10 boardd: return early from usb functions if not connected
old-commit-hash: e03044530cabc8bf8947b42fb394ac02ea69557d
2020-08-20 17:36:02 +02:00
Willem Melching d0b9a57525 Fix qt env in SConstruct
old-commit-hash: 53f920bcca43fcf5470e675a18ea04e51edb07a2
2020-08-20 17:29:29 +02:00
Willem Melching 81ce0be48f Don't build by default
old-commit-hash: 93ae459d967a9c7bd07e9345beec6aad71510142
2020-08-20 17:23:58 +02:00
Willem Melching 6fbb4e18ec Revert "more init time in cpu test"
This reverts commit 76dcc65b31a7b03c8f48b92e5bc537397f847f3e.

old-commit-hash: b29d9da875271c719ef6edd6d33a51a11c66d227
2020-08-20 17:18:03 +02:00
Willem Melching 473fb11d34 Qt ui for PC (#2023)
* qt ui boilerplate

* this kinda works

* cleanup

* render inside other widget

* cleanup

* more cleanup

* Not needed

* Handle click

* Draw at 20Hz

* create paint.hpp

* move stuff around

* update sidebar

* Draw vision

* this works again

* add clickable settings button

* Only collapse sidebar when started

* always use qt on linux

* fix width

* scrollable area

* talk to NetworkManager

* code to add a connection

* params toggles

* small cleanup

* add qt5 to dockerfile

* Qt on mac

* Add qt to release files

* fix macos build

* nore more ifdefs needed

* add icons

* make a bit nicer

* Hide scrollbar

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e115c514521c7705112bd0cb2e4bf865b536501a
2020-08-20 17:16:44 +02:00
Willem Melching 4fd9d6467b more init time in cpu test
old-commit-hash: 03ec6af300d1d051436514b194e430fb54d16c6c
2020-08-20 15:20:59 +02:00
Adeeb Shihadeh a219cc17e9 clip carBatteryCapacity to 0
old-commit-hash: 2476ea213c24dac16531c8798761e34f96e0ded2
2020-08-19 12:34:49 -07:00
Adeeb Shihadeh 00e61c5f1e add a sleep after cloudlog
old-commit-hash: 266ef886dd778cc7d486349b72279c89c03dad06
2020-08-18 11:52:01 -07:00
Adeeb Shihadeh 83faaf2906 log when thermald shuts down device
old-commit-hash: a46d2f5b17cc24102f26674a2102a0044b3e84e6
2020-08-18 07:45:20 -07:00
Dean Lee ebd4f68cba ui: refactor model related functions (#2026)
* remove read_model

* remove structs for c-capnp

* remove duplicate #define from modeld

* add function fill_path_points

* fix Indentation

* use MODEL_PATH_DISTANCE instead of 192

* fix type

use validLen

* rename left_path_points&right_path_points to xxx_lane_points
old-commit-hash: f8ab6bd009410a9f7ab9c30ce7b72a82c6d2507b
2020-08-18 15:26:43 +02:00
Dean Lee bccaaeb3fa fd should be initialized as -1 (#2041)
old-commit-hash: 963c00db09554e71264b699a99c9a705c80c99d8
2020-08-18 15:22:26 +02:00
Adeeb Shihadeh 41a6c716d5 remove old tests (#2040)
old-commit-hash: 744fe7180187507f9dc8d455b961f882992d0684
2020-08-18 15:21:47 +02:00
Adeeb Shihadeh b2e40a7487 remove dead code in updated
old-commit-hash: 21a1792f895e006fd70883b5621989e01b539693
2020-08-17 16:21:55 -07:00
Adeeb Shihadeh 0fac431c58 bump version to 0.7.9
old-commit-hash: 86dc54b836a973f132ed26db9f5a60b29f9b25b2
2020-08-17 12:49:08 -07:00
robbederks 030570736c more panda fault types (#2036)
old-commit-hash: c624b408428c09723eb8d02f19a6051f325b7187
2020-08-17 13:02:06 +02:00
Dean Lee fb8c67ba1f paint.cc: remove redundant calls (#2025)
* remove redundant calls

* set MODEL_LANE_PATH_CNT=2
old-commit-hash: fe43d51686da19063c4ee3ebdb09eadfdd3a56ad
2020-08-17 12:06:09 +02:00
Dean Lee 00e8238b78 fix two little bugs (#2033)
old-commit-hash: 934506e1545acd30bf65e9544e565005d6c56fc6
2020-08-17 11:59:27 +02:00
robbederks bcaf2a36af Car power integrator + power management refactor (#1994)
* wip, ready to test

* tweaks

* fix

* fix

* fix power monitoring

* fix param writing

* no forced charging on high voltage

* reset capacity on reboot

* don't shutdown unless started seen

* fix unused var warning

* fix linting errors

* time is always valid

* QCOM gate

* Local params

* decimate saving

* fix linting

* rename param

* Log car battery capacity

* fix put_nonblocking

* Added some unit tests

* Add test to docker test list

* fix precommit

* cleanup

* run tests in CI

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7555379b2b1da2f800e98963ad4436b7fb91cce9
2020-08-17 11:56:27 +02:00
Dean Lee bf750511a1 add function cl_get_device_id (#1948)
* add func cl_get_device_id

cleanup

* add fix from review
old-commit-hash: d1588376171d8ba1d2ec1b670e085d6e15bd26c1
2020-08-17 11:24:39 +02:00
Chris 42538fd54b Kilometers per hour now displayed as km/h (#2032)
Fixes #2031

Signed-off-by: Christopher Rabotin <christopher.rabotin@gmail.com>
old-commit-hash: 1b52930a52828b1423c59c677c9b42a5ff76125c
2020-08-17 11:16:52 +02:00
Adeeb Shihadeh 34da7ee9c8 remove old test runner
old-commit-hash: 160c89cde619b0eeeacda22eedb55e09d0d8ace5
2020-08-16 20:13:15 -07:00
Dean Lee 681a50640e init and destroy transform_lock (#2003)
old-commit-hash: 36801a70eb8f599baee8e07aed0ec9c3b6385595
2020-08-16 16:31:53 -07:00
Adeeb Shihadeh 44467a376f exit camerad cleanly on PC (#2035)
old-commit-hash: 862259a94b6c6c8fa758c0656cbfbc9ec08d4f54
2020-08-16 16:11:09 -07:00
Erich Moraga 68fc79ac93 Add fwdCamera f/w for CAR.COROLLA_TSS2 (#2028)
Nv#6820 DongleID 4dc9a71c543a576f  2020 Corolla LE ICE
https://discord.com/channels/469524606043160576/524327905937850394/744254107874885652
old-commit-hash: 70c7a72d4a4201cc649389d553b064c13873d1c0
2020-08-15 11:48:27 -07:00
Erich Moraga 0b05507563 EU Corolla Hybrid TSS2 EPS f/w (#2027)
@Lexdaadler#0295 DongleID 940e337f5fcf4d4e
https://discord.com/channels/469524606043160576/524327905937850394/744162927954755615
old-commit-hash: d99aa16b7d92c1fb37f683c2375dbd4629025a9c
2020-08-15 10:55:26 -07:00
Michael Honan df26e99856 Setup script improvements to MacOS / Ubuntu (#2012)
* Setup script improvements to MacOS / Ubuntu

scons isn't actually required from brew install

pyenv init on all envs

added installation to .zshrc on macos with better dir logic

Using git to detect project root for ubuntu bashrc install

Check shell and determine correct RC file

Update tools/mac_setup.sh

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

Sourcing RC file only if it's found

Removed unnecessary source of rc file

Submodules should never have been bumped...

Output the $RC_FILE when successfully installed

pyenv init every time, and skip RC install on CI

Confused bash conditionals, opposite of what I meant

* Was missing libusb on a fresh MacOS 10.15.6 install

Co-authored-by: Michael Honan <michaelhonan@Michaels-MacBook-Pro.local>
old-commit-hash: 4a9228fcc776d898287ebc015cab0a11fd3cdc64
2020-08-14 18:03:55 -07:00
Adeeb Shihadeh 2f3942bb11 increase CPU test timeout to allow for installing new APKs
old-commit-hash: 5641aeee7ae896e2ee4e24f68e24d47e497031ea
2020-08-13 15:10:00 -07:00
Adeeb Shihadeh a3fe09eb81 bump panda
old-commit-hash: 09e7d17acf91944dec364e4e0c2d8569cb042045
2020-08-13 15:02:17 -07:00
Willem Melching 938ce91d02 Pigeon abstraction layer (#1977)
* pigeon abstraction layer

* Fix string literals

* more generic pigeon class

* add TTYpigon

* nicer tty error handling

* close tty fd on pigeon delete

* pigeon receive return std::string

* use sizeof

* max receive size to prevent infinite loop

* remove namespace

* add unistd include for usleep

* fix is pigeon

* Handle tty error in opening

* fix printing binary strings with dump.py

* fix pigeon build on macos

* Handle errors seperately

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 502cc665e0bad89eba0b1c344c2f4f580b153ae1
2020-08-13 10:10:50 +02:00