Commit Graph

2065 Commits

Author SHA1 Message Date
Adeeb Shihadeh f79d64f98e update refs for new dMonitoringState field
old-commit-hash: 9d11f3e3b5540e0f40c5515603a4b64ea0afb708
2021-01-19 15:47:36 -08:00
ZwX1616 d0726d1f7d face icon reflects DM policy (#19842)
* send that

* draw icon based on whether active

* Update selfdrive/monitoring/dmonitoringd.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 88430f12f426ada4691de93e0193ab1873df4eb4
2021-01-19 15:11:15 -08:00
Adeeb Shihadeh a30859cf12 camera frame stream cleanup (#19741)
* clean up

* more clean up first
old-commit-hash: eae7a6ed22a96f792a5b6ca187a309505c3f249c
2021-01-19 14:40:47 -08:00
Greg Hogan f944e5306b hyundai: add fpv2 for palisade with power steering fw mod (#19789)
* hyundai: add palisade power steering fw mod fingerprint

* add comment for modified fw versions
old-commit-hash: f81c3cd8acf5c93495bc4688720d73bbc276ec3c
2021-01-19 14:37:58 -08:00
Adeeb Shihadeh c3783d5005 camerad: remove duplicate set_realtime_priority
old-commit-hash: 5cb6e69a78c9dadf0b12102e049fdb1feefa0295
2021-01-19 14:35:46 -08:00
Dean Lee 09a9eba635 CameraBuf: private variables (#19811)
old-commit-hash: aaac63689ddfd31c94ec490ef52faaa792ef3cb7
2021-01-19 14:28:40 -08:00
Dean Lee 3a11061dce OmxEncoder: set s->of to nullptr after close (#19814)
old-commit-hash: a5be02c2c75ef3e25779f69323a585c41ee15d07
2021-01-19 14:28:03 -08:00
Adeeb Shihadeh 5362097b37 fix loggerd after bootlog split (#19840)
* fix loggerd after bootlog split

* logger handles that

* unused

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2e64049ea4996af6bcd6fc1ff9338f5e20a5b393
2021-01-19 14:27:19 -08:00
Adeeb Shihadeh 77817dbd50 update VW and nissan test routes
old-commit-hash: 13ea3ccf6dd2108d16e2d520c8e1b3bf9bf7851d
2021-01-19 14:22:50 -08:00
Maksym Sobolyev ba72fdf804 Add fingerprint for Kia Forte GT 2021. (#19830)
o New fingerprint is a superset of the existing one, just drop the previous.

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a18c174b26415b0f2b6a865ff661447a9f425c04
2021-01-19 12:17:58 -08:00
Dean Lee 57b1b4c456 loggerd: split bootlog to a separate program (#19831)
* bootlog

* blank lines

* move file_exists to util.h

* src = ['loggerd.cc']

* log_init_data

* Revert "src = ['loggerd.cc']"

This reverts commit 18a587023d75b3a3a54f1ceaf9cb31a51640a067.

* add bootlog to .gitignore

* use s->has_qlog instead of true

* add blank lines & remove extern C
old-commit-hash: f973c56a3695525442ac6c3e89c644b27cbeb384
2021-01-19 12:16:12 -08:00
Willem Melching ffeee5c91b qt ui: sync fps with camera
old-commit-hash: 978d0c8964fb3cc0c3c1a9241b6c4bb1fdbad5c9
2021-01-19 14:56:56 +01:00
Willem Melching 749b4ab508 visionipc connect, make sure opengl context is current
old-commit-hash: b67fed87baaa093dd6b82ec9b9f3733d745865f6
2021-01-19 14:49:40 +01:00
Willem Melching cac173bf17 tombstoned: fault address is also not unique due to ASLR
old-commit-hash: 5812e09f23b0a0644a9130195ef813a97baa8baa
2021-01-19 14:17:26 +01:00
Willem Melching b71615fc54 update pairing text
old-commit-hash: 7948653605a2085015bfe599da79d15babba1be7
2021-01-19 13:47:36 +01:00
Willem Melching 8e13e2976e start timer only after ui init
old-commit-hash: 06b974512af7e5d5a0bead72f3c4ebe32f9d1815
2021-01-19 12:43:39 +01:00
Willem Melching 42b958f0f0 fix tombstoned path length
old-commit-hash: 0897642a513924d0f5c7bdd406228108f439b656
2021-01-19 11:13:58 +01:00
HaraldSchafer 7af6dab1e8 Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
old-commit-hash: 0e49919ab99b9cb85c5df271de5145e388d756ad
2021-01-19 00:02:53 -08:00
Marcos S 059bddf7fc 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>
old-commit-hash: c03a95f7f92ab3eda7fe3b3db9776062aae0cbac
2021-01-18 17:16:32 -08:00
HaraldSchafer 61c5e9e690 Update Subaru and GM test routes (#19828)
* 2 more

* update refs

* note?

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a4098d7bb0a0f82bad0c4ab78bade8eed413e6d7
2021-01-18 15:54:02 -08:00
Adeeb Shihadeh 8227270769 no vehicle was more confusing
old-commit-hash: 56dfb3de2dd23f56b96524aeec7fcd6943b10116
2021-01-18 15:51:32 -08:00
Dean Lee 5f6337f949 clutil.h: remove extern C (#19809)
old-commit-hash: 3381cd371c03393df5d01bc5a10b24105711ad89
2021-01-18 15:04:37 +01:00
Dean Lee 0e1c994980 swaglog: use std::mutex & remove extern C (#19817)
old-commit-hash: 53b9d35fdab96888ac76e902304ce86dbedea736
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: f3db94a0c480bc12df98ec679a2f84833e134ee3
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: 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