Commit graph

2552 commits

Author SHA1 Message Date
robbederks 5eb16b1193
Change qcom2 fserial and readout timing (#19820)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-20 12:54:20 +01:00
Adeeb Shihadeh a08360c4d0
build openpilot prebuilt on schedule (#19847)
* build openpilot prebuilt on schedule

* test

* back to schedule

* rename
2021-01-19 21:16:06 -08:00
Adeeb Shihadeh c75b84e596 remove docker prebuilt CI job 2021-01-19 20:02:08 -08:00
George Hotz 59fac9fdc6
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>
2021-01-19 18:08:31 -08:00
HaraldSchafer 124100d0fa
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>
2021-01-19 17:15:16 -08:00
Chris McCammon 63f351d2fc
Remove incorrect esp fw in engine (Rav4_TSS2) (#19841) 2021-01-19 16:12:13 -08:00
Adeeb Shihadeh 1d98ec8ef9 remove sidebar gps text, we have alerts for this 2021-01-19 15:55:09 -08:00
Adeeb Shihadeh 9d11f3e3b5 update refs for new dMonitoringState field 2021-01-19 15:47:36 -08:00
Chris McCammon 3686b117b6
fix order of Lexus ES Hybrids 2021-01-19 15:25:54 -08:00
ZwX1616 88430f12f4
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>
2021-01-19 15:11:15 -08:00
Chris McCammon 348dc61c64
2021 Pacifica Hybrid confirmed working 2021-01-19 14:55:27 -08:00
Adeeb Shihadeh eae7a6ed22
camera frame stream cleanup (#19741)
* clean up

* more clean up first
2021-01-19 14:40:47 -08:00
Greg Hogan 1dd3a1e861
params helpers (#19788)
* params helpers

* add validation
2021-01-19 14:39:00 -08:00
Greg Hogan f81c3cd8ac
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
2021-01-19 14:37:58 -08:00
Adeeb Shihadeh 5cb6e69a78 camerad: remove duplicate set_realtime_priority 2021-01-19 14:35:46 -08:00
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