Commit Graph

3325 Commits

Author SHA1 Message Date
Dean Lee 0e1c994980 swaglog: use std::mutex & remove extern C (#19817)
old-commit-hash: 53b9d35fda
2021-01-18 13:35:11 +01:00
Willem Melching 8a187ec406 Linux tombstones: add stacktrace and upload (#19737)
* Add stacktrace to tombstones

* make sentry output prettier

* Refactor

* Generate upload filename

* Actually move file

* Fix spaces

* copy and upload

* dont delete just yet

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f3db94a0c4
2021-01-18 13:29:01 +01:00
grekiki 0c141e45aa Qt offroad: pairing (#19675)
* kind of works now

* QR code is now on screen

* testing is needed

* works, waiting for server update

* reduce diff

* refactoring part1

* refactor part2

* refactor part3

* works on PC

* fix build, annoying bug though...

* git is annoying

* more classes, still crashes after a while

* better style

* clearer qr code

* less code and test new ssh key

* no more AA

* rename and collect garbage

* no pairing widget without the internet connection

* No network connection

* more logs

* refactor the network calls

* no more leaking

* works

* cleanup

* spaces

* works on device

* fix merge

* don't run if screen is off

* always initialized

* stats updating, not running without scrren

* formatting

* nicer QR code

* ensure the registration

* no qr code if no IMEI or no HWSerial

* all works

* refactor

* better networking

* all functionality seems to work

* small cleanup

* get serial once

* Small cleanup

* No internet text

* Don't crash if private key not found

* no network should say so

* new qr code every 30 minutes

* 20FPS sidebar

* more responsive networking and QR

* more logs

* no log spam

* fix merge

* no running onroad

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 10bd761cd6
2021-01-18 12:07:55 +01:00
Dean Lee e59584fe7c gpio.h: remove extern "C" (#19799)
old-commit-hash: 210b52e622
2021-01-17 15:51:05 -08:00
Dean Lee 92c11baefb loggerd: make sure to print one statistics every 1000 times (#19803)
old-commit-hash: d085adb9ec
2021-01-17 15:50:13 -08:00
Dean Lee 339cb7b353 OmxEncoder: use std::vector to keep buffer (#19807)
old-commit-hash: e04cecd169
2021-01-17 15:48:06 -08:00
Adeeb Shihadeh 0c17887c12 don't need the client anymore
old-commit-hash: 297f59c0db
2021-01-17 14:32:44 -08:00
Dean Lee 603a21c1f4 loggerd: do not LOGW twice when logger.part == 0 (#19795)
* fix LOGW

* space
old-commit-hash: caf87c25dd
2021-01-16 18:34:11 -08:00
Adeeb Shihadeh 9e1f524965 On-device onroad CI test (#19792)
* start onroad test

* cpu usage test works

* nice print

* run in jenkins

* pretty reliable

* bump loggerd cpu usgae

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5a9769020d
2021-01-16 18:11:53 -08:00
Adeeb Shihadeh ebce6a6f56 athena fixups (#19791)
* fix leak

* assert raises

* no q

* guess the queue did something
old-commit-hash: 7c82bac27e
2021-01-16 15:36:10 -08:00
Adeeb Shihadeh 6a01983000 few fixes from LGTM
old-commit-hash: 758794dec5
2021-01-16 14:23:06 -08:00
Adeeb Shihadeh b5efa28b59 Toyota Avalon 2021 (#19790)
old-commit-hash: 876602ba91
2021-01-16 14:14:13 -08:00
Dean Lee f0fce01b85 use std::map for images (#19768)
* use std::map for fonts&images

* rebase master

* use std::string

* remove cmp_str

* Update selfdrive/ui/paint.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1796f63211
2021-01-16 13:50:06 -08:00
HaraldSchafer 94b1be1ec9 back to open loop (#19781)
old-commit-hash: bf5332c491
2021-01-16 13:43:30 -08:00
Dean Lee 9eb6648ec5 OmxEncoder: use macro to check error (#19785)
old-commit-hash: 0592c326ed
2021-01-16 12:43:59 -08:00
Dean Lee b6e19ce5ab Remove spaces (#19779)
old-commit-hash: d7fad16c20
2021-01-15 22:17:58 -08:00
Chris McCammon f296b9b0ac 2017 Civic Hatch fw (#19777)
old-commit-hash: 57d9562d7e
2021-01-15 17:22:08 -08:00
Comma Device dbb83cfdef replay improvements for testing closet
old-commit-hash: 523a73774a
2021-01-16 01:03:10 +00:00
Adeeb Shihadeh 386ca29c6a reenable cpu usage test
old-commit-hash: def24ae27a
2021-01-15 14:22:25 -08:00
Dean Lee c3043515d8 text.c->text.cc (#19734)
old-commit-hash: c5c9b6f712
2021-01-15 13:42:26 -08:00
vanillagorillaa 47d58291f1 Pacifica Fingerprint Addition (#19750)
* Pacifica: Should fix dashcam mode when remote start

* extra indent
old-commit-hash: f005fd0796
2021-01-15 13:40:23 -08:00
Willem Melching a04de5683e RecordFront remove ifdef (#19773)
old-commit-hash: 10790304c9
2021-01-15 13:21:39 -08:00
Dean Lee 4eebd421a5 CameraBuf::acquire : using a scoped lock (#19764)
* Using a scoped lock

* Trigger Build
old-commit-hash: 2072699719
2021-01-15 12:09:18 +01:00
Dean Lee fbca888d7e camera_qcom2: simplify camera_process_frame (#19763)
* simplify camera_process_frame

* Trigger Build

* Update selfdrive/camerad/cameras/camera_qcom2.cc

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c804059641
2021-01-15 12:05:31 +01:00
Dean Lee dc8a64227e qt/home.cc: set fb_w&fb_h in function framebuffer_init,same as android (#19765)
old-commit-hash: 7a6ec83a36
2021-01-15 11:57:26 +01:00
Dean Lee 3c9142a709 UI: refactor transform (#19658)
* refactor transform

* always draw chevron if there is a lead

* remove nvgSave&nvgRestore

* keep one point outside the screen

* zoom chevron

* more size

* still use margin

* still use margin
old-commit-hash: cc2d62a938
2021-01-15 11:41:20 +01:00
Dean Lee a6e3036aea Use Rect as the parameter of draw_rect (#19696)
* Use rect as the parameter of draw_rect

* add function ui_fill_rect

* simplify

* rebase master

* apply review
old-commit-hash: fcfba42c59
2021-01-15 11:15:48 +01:00
Dean Lee bc232d4346 ui.cc: rename update related functions (#19761)
* rename functions

* Trigger Build
old-commit-hash: 64d224b16c
2021-01-15 11:14:18 +01:00
Dean Lee b5d575eb9f fill_frame_image: reduce function parameters (#19736)
* reduce function paramaters

* add assert

* Trigger Build
old-commit-hash: ea9835f293
2021-01-15 11:12:56 +01:00
Dean Lee 8b2b835e62 camerad use std::thread (#19771)
old-commit-hash: 1b3c93813d
2021-01-15 11:10:52 +01:00
Harald Schafer f4b4c9556e changing lag changes this
old-commit-hash: 5333e64233
2021-01-14 22:33:43 -08:00
Harald Schafer 110605a723 fix tests
old-commit-hash: 61b7527b95
2021-01-14 21:46:01 -08:00
Adeeb Shihadeh 5839e89174 update prebuilt docker container (#19767)
* update prebuilt container

* fix build

* revert that
old-commit-hash: b2f82717f4
2021-01-14 21:31:51 -08:00
Harald Schafer 2e7627e2ed matches real data better
old-commit-hash: 1a14cca2a5
2021-01-14 21:24:57 -08:00
ZwX1616 744d263288 compensate for tilt
old-commit-hash: 78cd373c4b
2021-01-14 21:23:52 -08:00
Harald Schafer f9b9253a6d fix init
old-commit-hash: 90216ce620
2021-01-14 20:52:39 -08:00
HaraldSchafer c6d9b9565a Mpc rework2 (#19660)
* start again

* need that too

* this actually works

* not needed

* do properly

* still works

* still works

* still good

* all G without ll

* still works

* all still good

* cleanup building

* cleanup sconscript

* new lane planner

* how on earth is this silent too....

* update

* add rotation radius

* update

* pathplanner first pass

* misc fixes

* fix

* need deep_interp

* local again

* fix

* fix test

* very old

* new replay

* interp properly

* correct length

* another horrible silent bug

* like master

* fix that

* do doubles

* different delay compensation

* make robust to empty msg

* make pass with hack for now

* add some extra

* update ref for increased leg

* test cpu usage on this pr

* tiny bit faster

* purge numpy

* update ref

* not needed

* ready for merge

* try again after recompile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 158210cde8
2021-01-14 18:43:50 -08:00
Adeeb Shihadeh d66a310f3e fix import error
old-commit-hash: 413e0fa40a
2021-01-14 18:02:13 -08:00
Adeeb Shihadeh 0e78d18950 better can replay script
old-commit-hash: e6478c6b35
2021-01-14 17:49:17 -08:00
Chris McCammon c2d52ab9b7 2020 Corolla Hybrid fw (#19759)
old-commit-hash: dc63a6ff6a
2021-01-14 17:09:23 -08:00
Adeeb Shihadeh 781accd0b3 fix camera malfunction alert (#19757)
* fix camera alert malfunction

* remove old alert
old-commit-hash: 40830a216b
2021-01-14 16:03:16 -08:00
Adeeb Shihadeh a633eaf660 GPS malfunction alert (#19756)
* GPS malfunction alert

* fix process replay

* fix long tests

* fix long tests again
old-commit-hash: c114316d94
2021-01-14 14:45:10 -08:00
Comma Device 25dbb18f73 fix rounding error
old-commit-hash: 451d4590cf
2021-01-14 21:59:26 +00:00
Chris McCammon 9b4b660796 whoops, wrong car. fixed!
old-commit-hash: be1b89c1bb
2021-01-14 13:53:47 -08:00
Chris McCammon 0f5ac9919c Add 2020 Santa Fe to readme
old-commit-hash: 1eccec4996
2021-01-14 13:52:15 -08:00
Greg Hogan e712e6d3af hyundai: increase steering angle limit for custom eps fw (#19744)
* hyundai: increase steering angle limit for custom eps fw

* update commit_ref
old-commit-hash: 2da6bb482e
2021-01-14 13:09:23 -08:00
Dean Lee b1ccf416c7 CameraBuf: removed unused variables (#19735)
old-commit-hash: c28ba97e67
2021-01-14 18:49:52 +01:00
Willem Melching 3e5faa1359 bump cereal
old-commit-hash: 42d7e63d86
2021-01-14 18:45:41 +01:00
baldwalker a6655c7cee Update values.py (#19740)
old-commit-hash: 39500c74d1
2021-01-14 18:44:01 +01:00
newstackdevelopment 39ca7f93c1 added Hyundai Santafe limited 2020 FP in hyundai values and updated description for SANTA_FE (#19746)
* Update Hyundai Santa fe FP and constant

Added fingerprint for hyundai santafe limited 2020 and updated the constant description for class

* Update values.py

* removed duplicate from santafe fwdCamera
old-commit-hash: e07f82ac4f
2021-01-14 18:42:58 +01:00