Commit Graph

2083 Commits

Author SHA1 Message Date
Willem Melching cb4cc2ffa6 qt ui: slow frame warning
old-commit-hash: e11b677e0192dec29b75471f70c3476cb22d9cb8
2021-01-22 14:26:35 +01:00
grekiki eea78cd686 Qt parents3 (#19870)
Not just parents, we also made the UI look nicer. 
old-commit-hash: 2eb81aa1d33887bd11083bc4f57e6f51271198f9
2021-01-22 13:51:26 +01:00
Willem Melching 7bf38e240c Don't clean scons build on dirty branches
old-commit-hash: 02e5cd5dd54a613c8f8320118134c8b7475f0eec
2021-01-22 13:13:45 +01:00
Adeeb Shihadeh 05737dd550 move Qr code lib to phonelibs (#19871)
old-commit-hash: e54db636f7453665d5e8317d9c9fb4c54196dc3e
2021-01-21 11:17:21 -08:00
Adeeb Shihadeh cfdeda3393 OMX encoder stability (#19758)
* cleanup test first

* wait for other encoder threads

* fixes initial crash

* no print

* unused

* fix up tests

* need that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d4489fbf91588ea609041bc6bb2899c7de0a3c3c
2021-01-21 10:40:08 -08:00
Shane Smiskol d328f2a928 INDI: Time constant is used based on breakpoints (#19858)
* Time constant is used based on break points

* no need for alpha class variable
old-commit-hash: 76cf50066936e60a9a6c0fd144d48f33728e12c6
2021-01-21 15:14:50 +01:00
grekiki ded5d24781 Hotspot password (#19854)
Now there is a possibility of changing a tethering password. The WiFi UI was also modified, so it should look nicer now. 
old-commit-hash: 24356b4a1e972bb516ce837439df4ff7bc2a876f
2021-01-21 13:00:03 +01:00
grekiki ff0c87d63c fix LGTM issues (#19868)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: efe8c54a2ed507ae1d8bf0f87bfeb4409babe661
2021-01-21 12:02:29 +01:00
Dean Lee 52e1efffd5 modeld: remove template from fill_meta (#19862)
old-commit-hash: 1e617a3931608d38d37180c19eeb5f6f39b50efd
2021-01-20 20:50:24 -08:00
Chris McCammon c2ad266024 2021 Lexus RX Hybrid fw (#19861)
old-commit-hash: 28c20b49cf91fe1a972e5b5879b43ffdf2c862d6
2021-01-20 15:06:58 -08:00
Chris McCammon 4e8130235d 2021 Pacifica Hybrid fingerprint (#19846)
* Merge fingerprint of 2021 Pacifica Hybrid from b66bf349eecf2fda

* add route information

* remove comment
old-commit-hash: 332e01ee91d771e577befd51f95b071eaefe2f7e
2021-01-20 13:48:48 -08:00
Chris McCammon 1423812103 2021 Corolla Hybrid camera fw (#19859)
old-commit-hash: c85cad7a942992c4f2d5840a5855e9b29df824a7
2021-01-20 12:22:53 -08:00
Willem Melching 72a7535e1b fix /dev/shm permisisons, fixes offroad
old-commit-hash: 3a13c45c7f4efb6631bd9479be8c59395971f841
2021-01-20 14:30:59 +01:00
robbederks 46191df6bb Change qcom2 fserial and readout timing (#19820)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5eb16b11932c6fc6fc57eab1464eba141172089a
2021-01-20 12:54:20 +01:00
George Hotz 3484683199 Thneed load/save (#19700)
* start thneed load/save

* compiling

* fix loading

* build thneed model in scons

* don't hardcode /data/openpilot

* release files

* those too

* support for loading/saving binary kernels

* save binaries out of json band

* make binary a command line flag to the compiler

* need include assert

* fix shadowed common in SConscript

* cleanup run.h

* hmm, the recurrent buffer wasn't 0ed

* ugh, unique ptr

* remove power constraint, refactor record

* Revert "remove power constraint, refactor record"

This reverts commit bb6fa52db6df59cd9d6420a6f630430e35af8a5e.

* print on thneed stop

* fingers crossed for this one

* recorded

* just curious

* okay okay, pass tests?

* cleanups

* refactor wait

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 59fac9fdc630fa78f520fc9a244f9f9cd39fa562
2021-01-19 18:08:31 -08:00
HaraldSchafer 5c2c6691b2 remove old model packet (#19769)
* remove publisher

* move to V2

* radard new model

* fix plant

* change packety

* need hack here too

* change to new

* this has been wrong all along

* no more model msg

* subscribe to new model

* not needed anymore

* make work

* need to ignore that too

* should pass tests, needs car test

* fix process replay

* no more poly

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 124100d0fa42485edaf86cb25f77f27e8917eed1
2021-01-19 17:15:16 -08:00
Chris McCammon eb34e08426 Remove incorrect esp fw in engine (Rav4_TSS2) (#19841)
old-commit-hash: 63f351d2fcadc3b3514393bd0353428f1b33a47a
2021-01-19 16:12:13 -08:00
Adeeb Shihadeh 2f6d59f92a remove sidebar gps text, we have alerts for this
old-commit-hash: 1d98ec8ef93463cf2803bb5d859daa3361c063c1
2021-01-19 15:55:09 -08:00
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