Commit Graph

4201 Commits

Author SHA1 Message Date
Adeeb Shihadeh 7c82bac27e athena fixups (#19791)
* fix leak

* assert raises

* no q

* guess the queue did something
2021-01-16 15:36:10 -08:00
Adeeb Shihadeh 758794dec5 few fixes from LGTM 2021-01-16 14:23:06 -08:00
Adeeb Shihadeh 876602ba91 Toyota Avalon 2021 (#19790) 2021-01-16 14:14:13 -08:00
Dean Lee 1796f63211 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>
2021-01-16 13:50:06 -08:00
HaraldSchafer bf5332c491 back to open loop (#19781) 2021-01-16 13:43:30 -08:00
Dean Lee 0592c326ed OmxEncoder: use macro to check error (#19785) 2021-01-16 12:43:59 -08:00
Dean Lee d7fad16c20 Remove spaces (#19779) 2021-01-15 22:17:58 -08:00
Chris McCammon 57d9562d7e 2017 Civic Hatch fw (#19777) 2021-01-15 17:22:08 -08:00
Comma Device 523a73774a replay improvements for testing closet 2021-01-16 01:03:10 +00:00
Adeeb Shihadeh def24ae27a reenable cpu usage test 2021-01-15 14:22:25 -08:00
Dean Lee c5c9b6f712 text.c->text.cc (#19734) 2021-01-15 13:42:26 -08:00
vanillagorillaa f005fd0796 Pacifica Fingerprint Addition (#19750)
* Pacifica: Should fix dashcam mode when remote start

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

* Trigger Build
2021-01-15 12:09:18 +01:00
Dean Lee c804059641 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>
2021-01-15 12:05:31 +01:00
Dean Lee 7a6ec83a36 qt/home.cc: set fb_w&fb_h in function framebuffer_init,same as android (#19765) 2021-01-15 11:57:26 +01:00
Dean Lee cc2d62a938 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
2021-01-15 11:41:20 +01:00
Dean Lee fcfba42c59 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
2021-01-15 11:15:48 +01:00
Dean Lee 64d224b16c ui.cc: rename update related functions (#19761)
* rename functions

* Trigger Build
2021-01-15 11:14:18 +01:00
Dean Lee ea9835f293 fill_frame_image: reduce function parameters (#19736)
* reduce function paramaters

* add assert

* Trigger Build
2021-01-15 11:12:56 +01:00
Dean Lee 1b3c93813d camerad use std::thread (#19771) 2021-01-15 11:10:52 +01:00
Harald Schafer 5333e64233 changing lag changes this 2021-01-14 22:33:43 -08:00
Harald Schafer 61b7527b95 fix tests 2021-01-14 21:46:01 -08:00
Harald Schafer 1a14cca2a5 matches real data better 2021-01-14 21:24:57 -08:00
ZwX1616 78cd373c4b compensate for tilt 2021-01-14 21:23:52 -08:00
Harald Schafer 90216ce620 fix init 2021-01-14 20:52:39 -08:00
HaraldSchafer 158210cde8 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>
2021-01-14 18:43:50 -08:00
Adeeb Shihadeh 413e0fa40a fix import error 2021-01-14 18:02:13 -08:00
Adeeb Shihadeh e6478c6b35 better can replay script 2021-01-14 17:49:17 -08:00
Chris McCammon dc63a6ff6a 2020 Corolla Hybrid fw (#19759) 2021-01-14 17:09:23 -08:00
Adeeb Shihadeh 40830a216b fix camera malfunction alert (#19757)
* fix camera alert malfunction

* remove old alert
2021-01-14 16:03:16 -08:00
Adeeb Shihadeh c114316d94 GPS malfunction alert (#19756)
* GPS malfunction alert

* fix process replay

* fix long tests

* fix long tests again
2021-01-14 14:45:10 -08:00
Comma Device 451d4590cf fix rounding error 2021-01-14 21:59:26 +00:00
Greg Hogan 2da6bb482e hyundai: increase steering angle limit for custom eps fw (#19744)
* hyundai: increase steering angle limit for custom eps fw

* update commit_ref
2021-01-14 13:09:23 -08:00
Dean Lee c28ba97e67 CameraBuf: removed unused variables (#19735) 2021-01-14 18:49:52 +01:00
baldwalker 39500c74d1 Update values.py (#19740) 2021-01-14 18:44:01 +01:00
newstackdevelopment e07f82ac4f 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
2021-01-14 18:42:58 +01:00
HaraldSchafer 95eb5b6fcb Extra test segs (#19749)
* new routes

* update refs

* new ref
2021-01-13 21:56:29 -08:00
Comma Device cf5b9a112f add prebuilt clpeak3 2021-01-14 04:18:01 +00:00
Adeeb Shihadeh 4cc99e5979 patch clpeak to run continuously 2021-01-13 20:13:14 -08:00
Adeeb Shihadeh a9c71a76f5 add clpeak to profiling tools 2021-01-13 19:41:56 -08:00
Harald Schafer 300602d6ba new ref commit 2021-01-13 15:32:17 -08:00
Dean Lee cf2585adf6 remove read_param from ui_init (#19745) 2021-01-13 09:53:45 -08:00
ZwX1616 9eb7688dfe fix tici dm 2021-01-12 21:17:54 -08:00
ZwX1616 f0cc78ea92 fix tici debayer GPU page faults 2021-01-12 20:53:51 -08:00
Adeeb Shihadeh 5221450f2d loggerd: another rotation test (#19742)
* another rotation test

* make encoder test fast

* fix pc

Co-authored-by: Comma Device <device@comma.ai>
2021-01-12 19:40:57 -08:00
Adeeb Shihadeh 92e4f04873 Loggerd for PC (#19730) 2021-01-12 16:28:22 -08:00
Greg Hogan f205f97be0 hyundai: support for controlling cruise speed via HDA (#19635) 2021-01-12 11:50:08 -08:00
Dean Lee cef469cbed convert glutil.c to gltuil.cc & add class GLShader (#19720)
* c++ glutil

* function getUniformLocation

* rebase master
2021-01-12 15:43:34 +01:00
Eric Dardet 6d11539c42 Hyundai Sonata 2021 transmission firmware (#19727)
Transmission firmware update for Hyundai Sonata 2021

dongle_ID 57205cbb3cb26844

Newest routes uploaded to my.comma.ai have newest transmission firmware
2021-01-12 15:31:56 +01:00