Commit Graph

2488 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh b2f82717f4 update prebuilt docker container (#19767)
* update prebuilt container

* fix build

* revert that
2021-01-14 21:31:51 -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
Chris McCammon be1b89c1bb whoops, wrong car. fixed! 2021-01-14 13:53:47 -08:00
Chris McCammon 1eccec4996 Add 2020 Santa Fe to readme 2021-01-14 13:52:15 -08: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
Willem Melching 42d7e63d86 bump cereal 2021-01-14 18:45:41 +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
Harald Schafer 366f8365f4 new laika 2021-01-13 14:07:12 -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
Adeeb Shihadeh cc2490bb12 build master-ci with the relase2 build device 2021-01-12 16:24:34 -08:00
Adeeb Shihadeh 10268b6669 use scons cache for QCOM replay build in CI 2021-01-12 16:10:18 -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
Willem Melching 0b79d0e12d CameraBuf::stop() is not used 2021-01-12 15:28:30 +01:00
Dean Lee 660abb79dc FIX: It is not safe to call cameras_close before all threads are done. (#19555)
* call cameras_close after all threads exited

* stop buffer before join

* remove buf->stop
2021-01-12 15:27:20 +01:00
Adeeb Shihadeh a1c7f19fe4 Video Encoder abstraction (#19729) 2021-01-12 00:03:31 -08:00
Adeeb Shihadeh 87e8ef1fca loggerd: fix double encoder open (#19703)
* fix double encoder open/close

* simplify rotation

* clean up

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-01-11 19:48:50 -08:00
Adeeb Shihadeh 9ca8f1a357 bump cereal and opendbc 2021-01-11 14:18:55 -08:00
vanillagorillaa f084507827 RDX FW (#19709) 2021-01-11 13:48:26 -08:00
vanillagorillaa c336b37173 2021 RAV4 ESP and Engine FW (#19707) 2021-01-11 13:47:52 -08:00