Commit Graph

7421 Commits

Author SHA1 Message Date
Willem Melching
978d0c8964 qt ui: sync fps with camera 2021-01-19 14:56:56 +01:00
Willem Melching
b67fed87ba visionipc connect, make sure opengl context is current 2021-01-19 14:49:40 +01:00
Willem Melching
5812e09f23 tombstoned: fault address is also not unique due to ASLR 2021-01-19 14:17:26 +01:00
Willem Melching
7948653605 update pairing text 2021-01-19 13:47:36 +01:00
Willem Melching
06b974512a start timer only after ui init 2021-01-19 12:43:39 +01:00
Willem Melching
0897642a51 fix tombstoned path length 2021-01-19 11:13:58 +01:00
HaraldSchafer
0e49919ab9 Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
2021-01-19 00:02:53 -08:00
Marcos S
c03a95f7f9 Carla fixes (#19824)
* use carla provided frame_number

* fix carla comm issues error

* add minimal W-A-S-D keyboard controls

* fix window from carla docker not showing

* carla 0.9.7 uses `frame`, not `frame_number`

* set safetyModel on health for simulator

* safetyModel check now works with simulator

* ignore ubloxRaw and frontFrame when running sim

* Update selfdrive/controls/controlsd.py

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

* added WINDOW flag for optional show carla window

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-18 17:16:32 -08:00
HaraldSchafer
a4098d7bb0 Update Subaru and GM test routes (#19828)
* 2 more

* update refs

* note?

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-18 15:54:02 -08:00
Adeeb Shihadeh
56dfb3de2d no vehicle was more confusing 2021-01-18 15:51:32 -08:00
Dean Lee
3381cd371c clutil.h: remove extern C (#19809) 2021-01-18 15:04:37 +01:00
Dean Lee
53b9d35fda swaglog: use std::mutex & remove extern C (#19817) 2021-01-18 13:35:11 +01:00
Willem Melching
f3db94a0c4 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>
2021-01-18 13:29:01 +01:00
grekiki
10bd761cd6 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>
2021-01-18 12:07:55 +01:00
Dean Lee
210b52e622 gpio.h: remove extern "C" (#19799) 2021-01-17 15:51:05 -08:00
Dean Lee
d085adb9ec loggerd: make sure to print one statistics every 1000 times (#19803) 2021-01-17 15:50:13 -08:00
Dean Lee
e04cecd169 OmxEncoder: use std::vector to keep buffer (#19807) 2021-01-17 15:48:06 -08:00
Adeeb Shihadeh
297f59c0db don't need the client anymore 2021-01-17 14:32:44 -08:00
Dean Lee
caf87c25dd loggerd: do not LOGW twice when logger.part == 0 (#19795)
* fix LOGW

* space
2021-01-16 18:34:11 -08:00
Adeeb Shihadeh
5a9769020d 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>
2021-01-16 18:11:53 -08:00
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