Commit Graph

3109 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
Chris McCammon 26a5eddd53 fix order of Lexus ES Hybrids
old-commit-hash: 3686b117b61bfe6ad49bdef435b9112869bbf7e0
2021-01-19 15:25:54 -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
Chris McCammon 644ac243f2 2021 Pacifica Hybrid confirmed working
old-commit-hash: 348dc61c64ea1986d238060d3577a3bf6cbb4e62
2021-01-19 14:55:27 -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 668949dca7 params helpers (#19788)
* params helpers

* add validation
old-commit-hash: 1dd3a1e8614e9d045ad9a80ec065f49139e1b78b
2021-01-19 14:39:00 -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 0372aa500d bump cereal
old-commit-hash: d7532cf9814f8e315f3edca65cd315e1681c32d8
2021-01-19 14:46:35 +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 d37a4bc065 also unset here
old-commit-hash: f068ac32bcad6af32f267f989d64a2793593d0c9
2021-01-19 13:09:35 +01:00
Willem Melching 2326281066 OS version needs to be unset on script start
old-commit-hash: c732fd83ce0413ab9f7ce207a4f154ab2dc68ab1
2021-01-19 13:02:03 +01:00
Willem Melching 89ba987282 agnos v0.2
old-commit-hash: 692ffe25049ca6c5735c689174a53f377afda4e4
2021-01-19 12:51:33 +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
Adeeb Shihadeh 905105e94a fix mac CI (#19829)
* hopefully this isn't slow

* upgrade

* try this

* apparently this is the right way to do this
old-commit-hash: 14f9700f6af4e8139138a8272f6ccf2325f16b08
2021-01-18 17:28:30 -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
Willem Melching 90dda34c8b new macOS cache
old-commit-hash: 0a911a5e28834104d3322a4d79af2272ad51e5a5
2021-01-18 16:17:23 +01:00
Willem Melching 42ba637d9b Fix macOS CI (#19822)
* does this fix the hash

* this is not the solution

* restore key doesnt work
old-commit-hash: 667390701f8a74f55343d5c1d3a21ea2392affac
2021-01-18 15:08:11 +01:00
Dean Lee 5f6337f949 clutil.h: remove extern C (#19809)
old-commit-hash: 3381cd371c03393df5d01bc5a10b24105711ad89
2021-01-18 15:04:37 +01:00
Willem Melching 2bef6edc2d fix mac build
old-commit-hash: 4fa5b2091fe932a0fefc72511499860b4a28e2ba
2021-01-18 14:35:47 +01:00
robbederks a7b279ecf7 add option for external sconscript (#19821)
old-commit-hash: 88e8b8394e53d3421acc499f0a629ca3b66bf6d1
2021-01-18 14:32:29 +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