Commit Graph

2537 Commits

Author SHA1 Message Date
Dean Lee aaac63689d CameraBuf: private variables (#19811) 2021-01-19 14:28:40 -08:00
Dean Lee a5be02c2c7 OmxEncoder: set s->of to nullptr after close (#19814) 2021-01-19 14:28:03 -08:00
Adeeb Shihadeh 2e64049ea4 fix loggerd after bootlog split (#19840)
* fix loggerd after bootlog split

* logger handles that

* unused

Co-authored-by: Comma Device <device@comma.ai>
2021-01-19 14:27:19 -08:00
Adeeb Shihadeh 13ea3ccf6d update VW and nissan test routes 2021-01-19 14:22:50 -08:00
Maksym Sobolyev a18c174b26 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>
2021-01-19 12:17:58 -08:00
Dean Lee f973c56a36 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
2021-01-19 12:16:12 -08:00
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 d7532cf981 bump cereal 2021-01-19 14:46:35 +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 f068ac32bc also unset here 2021-01-19 13:09:35 +01:00
Willem Melching c732fd83ce OS version needs to be unset on script start 2021-01-19 13:02:03 +01:00
Willem Melching 692ffe2504 agnos v0.2 2021-01-19 12:51:33 +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
Adeeb Shihadeh 14f9700f6a fix mac CI (#19829)
* hopefully this isn't slow

* upgrade

* try this

* apparently this is the right way to do this
2021-01-18 17:28:30 -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
Willem Melching 0a911a5e28 new macOS cache 2021-01-18 16:17:23 +01:00
Willem Melching 667390701f Fix macOS CI (#19822)
* does this fix the hash

* this is not the solution

* restore key doesnt work
2021-01-18 15:08:11 +01:00
Dean Lee 3381cd371c clutil.h: remove extern C (#19809) 2021-01-18 15:04:37 +01:00
Willem Melching 4fa5b2091f fix mac build 2021-01-18 14:35:47 +01:00
robbederks 88e8b8394e add option for external sconscript (#19821) 2021-01-18 14:32:29 +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