Commit Graph

3073 Commits

Author SHA1 Message Date
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: 10bd761cd6fb59f8113f88cc4dc764fbc4f5abf2
2021-01-18 12:07:55 +01:00
Dean Lee
e59584fe7c gpio.h: remove extern "C" (#19799)
old-commit-hash: 210b52e622e5d326dbbf02b3706955cb8b71c4c6
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: d085adb9ecd939467b2f7ac8db65aab8b906d250
2021-01-17 15:50:13 -08:00
Dean Lee
339cb7b353 OmxEncoder: use std::vector to keep buffer (#19807)
old-commit-hash: e04cecd169629e72b66408abf9a7f1dfc1517a89
2021-01-17 15:48:06 -08:00
Adeeb Shihadeh
0c17887c12 don't need the client anymore
old-commit-hash: 297f59c0db1f14bf5f9258dd5d3e555bde974725
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: caf87c25dd98a346d9024fe18507db6eaf7c584d
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: 5a9769020d7031e31a7b80bfea0245a0b0fa238d
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: 7c82bac27e2cdbf60ef735bc2d25e948c8381936
2021-01-16 15:36:10 -08:00
Adeeb Shihadeh
6a01983000 few fixes from LGTM
old-commit-hash: 758794dec5a886a8c3704d9e2ac191f8c208cc7e
2021-01-16 14:23:06 -08:00
Adeeb Shihadeh
b5efa28b59 Toyota Avalon 2021 (#19790)
old-commit-hash: 876602ba9132b3d4a323129a841be1cfd825fbeb
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: 1796f63211abfde48164bfebfcc99d35d8288e6d
2021-01-16 13:50:06 -08:00
HaraldSchafer
94b1be1ec9 back to open loop (#19781)
old-commit-hash: bf5332c4918c2340126cada543b9068fea731716
2021-01-16 13:43:30 -08:00
Dean Lee
9eb6648ec5 OmxEncoder: use macro to check error (#19785)
old-commit-hash: 0592c326ed4fceac1bdc347118c3fa7380b6bd00
2021-01-16 12:43:59 -08:00
Dean Lee
b6e19ce5ab Remove spaces (#19779)
old-commit-hash: d7fad16c20d79120d83feeee2c18f46efa3f4279
2021-01-15 22:17:58 -08:00
Chris McCammon
f296b9b0ac 2017 Civic Hatch fw (#19777)
old-commit-hash: 57d9562d7e6103746090570c6be200c54296c95f
2021-01-15 17:22:08 -08:00
Comma Device
dbb83cfdef replay improvements for testing closet
old-commit-hash: 523a73774a6e1112ce8889f15812138e9c7c5883
2021-01-16 01:03:10 +00:00
Adeeb Shihadeh
386ca29c6a reenable cpu usage test
old-commit-hash: def24ae27ad4cd5948731770745d5039f20ffcf2
2021-01-15 14:22:25 -08:00
Dean Lee
c3043515d8 text.c->text.cc (#19734)
old-commit-hash: c5c9b6f7123e573f6c3171c5d5843fcfc8af5dcd
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: f005fd07967e0a3a77d6171d28f4ce8bb9480b60
2021-01-15 13:40:23 -08:00
Willem Melching
a04de5683e RecordFront remove ifdef (#19773)
old-commit-hash: 10790304c9882d726962e2b801c7810939b2c144
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: 20726997199aedea1ee40e6891a450ae70d56717
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: c804059641d16dbb4d41b36afae1ba3ccc8a2dcc
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: 7a6ec83a367e1dd2bfc8dba7c17261b3cfbbe2b1
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: cc2d62a938349c2caea68510434f25aa368414d4
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: fcfba42c59126281204e1bd5bbd27d8164eca2e4
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: 64d224b16c42ae7fb38e2b418304f35e72bef043
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: ea9835f293e9c59715f794cd82474469965c1710
2021-01-15 11:12:56 +01:00
Dean Lee
8b2b835e62 camerad use std::thread (#19771)
old-commit-hash: 1b3c93813d37e09b0c695a9974cfc8789373352c
2021-01-15 11:10:52 +01:00
Harald Schafer
f4b4c9556e changing lag changes this
old-commit-hash: 5333e64233d97297c79c21f75570c9050cadeaf1
2021-01-14 22:33:43 -08:00
Harald Schafer
110605a723 fix tests
old-commit-hash: 61b7527b95d7a573a8c11ff8c260a4f01cc15113
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: b2f82717f481c4e8c77bc3c06a56fadec79c5612
2021-01-14 21:31:51 -08:00
Harald Schafer
2e7627e2ed matches real data better
old-commit-hash: 1a14cca2a5720b75c205137e7fc651148a9873df
2021-01-14 21:24:57 -08:00
ZwX1616
744d263288 compensate for tilt
old-commit-hash: 78cd373c4bae8190154639f6c5a42171c0f76b19
2021-01-14 21:23:52 -08:00
Harald Schafer
f9b9253a6d fix init
old-commit-hash: 90216ce620acce2f045221348dd292652ec20396
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: 158210cde8e689daa04bcaa1e502727cf7bfddb6
2021-01-14 18:43:50 -08:00
Adeeb Shihadeh
d66a310f3e fix import error
old-commit-hash: 413e0fa40a6ae6258675240d2f8dd9447eb1c498
2021-01-14 18:02:13 -08:00
Adeeb Shihadeh
0e78d18950 better can replay script
old-commit-hash: e6478c6b35db1707cebe21a75df9ffa816b6c313
2021-01-14 17:49:17 -08:00
Chris McCammon
c2d52ab9b7 2020 Corolla Hybrid fw (#19759)
old-commit-hash: dc63a6ff6a1d4e51c4aca8e3a2f51c44068285ae
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: 40830a216b70e4a68c0cb1d3495dde2f8e1eaa8b
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: c114316d94d91f09a759f575ed915436425dd177
2021-01-14 14:45:10 -08:00
Comma Device
25dbb18f73 fix rounding error
old-commit-hash: 451d4590cf99d2231e2705005ff05b884887b96c
2021-01-14 21:59:26 +00:00
Chris McCammon
9b4b660796 whoops, wrong car. fixed!
old-commit-hash: be1b89c1bb884f2e0035ad8c9be1b4bcae6bf52c
2021-01-14 13:53:47 -08:00
Chris McCammon
0f5ac9919c Add 2020 Santa Fe to readme
old-commit-hash: 1eccec4996b9f9795badbebde50759bb7d0666a0
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: 2da6bb482e37c3c75982521d7c4f6698034d9579
2021-01-14 13:09:23 -08:00
Dean Lee
b1ccf416c7 CameraBuf: removed unused variables (#19735)
old-commit-hash: c28ba97e67f55a8a5f9e7d8baa6030d6b36cd44a
2021-01-14 18:49:52 +01:00
Willem Melching
3e5faa1359 bump cereal
old-commit-hash: 42d7e63d8611282145b2cb1546be6feb34ea7173
2021-01-14 18:45:41 +01:00
baldwalker
a6655c7cee Update values.py (#19740)
old-commit-hash: 39500c74d1997844aaeaeee47e38a3eaffa5d2fa
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: e07f82ac4fb988320475e028d9bd25641eb3ca43
2021-01-14 18:42:58 +01:00
HaraldSchafer
3b911d61bc Extra test segs (#19749)
* new routes

* update refs

* new ref
old-commit-hash: 95eb5b6fcb17b89844f9f880b33f9be22d4ec7df
2021-01-13 21:56:29 -08:00
Comma Device
ccfe9cb923 add prebuilt clpeak3
old-commit-hash: cf5b9a112f65fc87e1af8afa231a3ec7aaa0d9d4
2021-01-14 04:18:01 +00:00