Commit Graph

3109 Commits

Author SHA1 Message Date
Adeeb Shihadeh
f79d64f98e update refs for new dMonitoringState field
old-commit-hash: 9d11f3e3b5
2021-01-19 15:47:36 -08:00
Chris McCammon
26a5eddd53 fix order of Lexus ES Hybrids
old-commit-hash: 3686b117b6
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: 88430f12f4
2021-01-19 15:11:15 -08:00
Chris McCammon
644ac243f2 2021 Pacifica Hybrid confirmed working
old-commit-hash: 348dc61c64
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: eae7a6ed22
2021-01-19 14:40:47 -08:00
Greg Hogan
668949dca7 params helpers (#19788)
* params helpers

* add validation
old-commit-hash: 1dd3a1e861
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: f81c3cd8ac
2021-01-19 14:37:58 -08:00
Adeeb Shihadeh
c3783d5005 camerad: remove duplicate set_realtime_priority
old-commit-hash: 5cb6e69a78
2021-01-19 14:35:46 -08:00
Dean Lee
09a9eba635 CameraBuf: private variables (#19811)
old-commit-hash: aaac63689d
2021-01-19 14:28:40 -08:00
Dean Lee
3a11061dce OmxEncoder: set s->of to nullptr after close (#19814)
old-commit-hash: a5be02c2c7
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: 2e64049ea4
2021-01-19 14:27:19 -08:00
Adeeb Shihadeh
77817dbd50 update VW and nissan test routes
old-commit-hash: 13ea3ccf6d
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: a18c174b26
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: f973c56a36
2021-01-19 12:16:12 -08:00
Willem Melching
ffeee5c91b qt ui: sync fps with camera
old-commit-hash: 978d0c8964
2021-01-19 14:56:56 +01:00
Willem Melching
749b4ab508 visionipc connect, make sure opengl context is current
old-commit-hash: b67fed87ba
2021-01-19 14:49:40 +01:00
Willem Melching
0372aa500d bump cereal
old-commit-hash: d7532cf981
2021-01-19 14:46:35 +01:00
Willem Melching
cac173bf17 tombstoned: fault address is also not unique due to ASLR
old-commit-hash: 5812e09f23
2021-01-19 14:17:26 +01:00
Willem Melching
b71615fc54 update pairing text
old-commit-hash: 7948653605
2021-01-19 13:47:36 +01:00
Willem Melching
d37a4bc065 also unset here
old-commit-hash: f068ac32bc
2021-01-19 13:09:35 +01:00
Willem Melching
2326281066 OS version needs to be unset on script start
old-commit-hash: c732fd83ce
2021-01-19 13:02:03 +01:00
Willem Melching
89ba987282 agnos v0.2
old-commit-hash: 692ffe2504
2021-01-19 12:51:33 +01:00
Willem Melching
8e13e2976e start timer only after ui init
old-commit-hash: 06b974512a
2021-01-19 12:43:39 +01:00
Willem Melching
42b958f0f0 fix tombstoned path length
old-commit-hash: 0897642a51
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: 0e49919ab9
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: 14f9700f6a
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: c03a95f7f9
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: a4098d7bb0
2021-01-18 15:54:02 -08:00
Adeeb Shihadeh
8227270769 no vehicle was more confusing
old-commit-hash: 56dfb3de2d
2021-01-18 15:51:32 -08:00
Willem Melching
90dda34c8b new macOS cache
old-commit-hash: 0a911a5e28
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: 667390701f
2021-01-18 15:08:11 +01:00
Dean Lee
5f6337f949 clutil.h: remove extern C (#19809)
old-commit-hash: 3381cd371c
2021-01-18 15:04:37 +01:00
Willem Melching
2bef6edc2d fix mac build
old-commit-hash: 4fa5b2091f
2021-01-18 14:35:47 +01:00
robbederks
a7b279ecf7 add option for external sconscript (#19821)
old-commit-hash: 88e8b8394e
2021-01-18 14:32:29 +01:00
Dean Lee
0e1c994980 swaglog: use std::mutex & remove extern C (#19817)
old-commit-hash: 53b9d35fda
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: f3db94a0c4
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: 10bd761cd6
2021-01-18 12:07:55 +01:00
Dean Lee
e59584fe7c gpio.h: remove extern "C" (#19799)
old-commit-hash: 210b52e622
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: d085adb9ec
2021-01-17 15:50:13 -08:00
Dean Lee
339cb7b353 OmxEncoder: use std::vector to keep buffer (#19807)
old-commit-hash: e04cecd169
2021-01-17 15:48:06 -08:00
Adeeb Shihadeh
0c17887c12 don't need the client anymore
old-commit-hash: 297f59c0db
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: caf87c25dd
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: 5a9769020d
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: 7c82bac27e
2021-01-16 15:36:10 -08:00
Adeeb Shihadeh
6a01983000 few fixes from LGTM
old-commit-hash: 758794dec5
2021-01-16 14:23:06 -08:00
Adeeb Shihadeh
b5efa28b59 Toyota Avalon 2021 (#19790)
old-commit-hash: 876602ba91
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: 1796f63211
2021-01-16 13:50:06 -08:00
HaraldSchafer
94b1be1ec9 back to open loop (#19781)
old-commit-hash: bf5332c491
2021-01-16 13:43:30 -08:00
Dean Lee
9eb6648ec5 OmxEncoder: use macro to check error (#19785)
old-commit-hash: 0592c326ed
2021-01-16 12:43:59 -08:00
Dean Lee
b6e19ce5ab Remove spaces (#19779)
old-commit-hash: d7fad16c20
2021-01-15 22:17:58 -08:00