Commit Graph

1806 Commits (2b6149572a78874176340a9363db9e50f4839811)

Author SHA1 Message Date
ZwX1616 2b6149572a fill sof 2021-01-22 13:24:51 -08:00
Dean Lee 8b4731ffc8
UI: cleanup draw_alerts condition (#19875) 2021-01-22 12:16:45 -08:00
Dean Lee 9efc499ed9
ui: remove satelliteCount (#19878) 2021-01-22 15:40:53 +01:00
Willem Melching c9aa9b0178 qt ui: remove line between poweroff/reboot 2021-01-22 14:38:16 +01:00
grekiki 621a6c16a4
qt ui: don't refresh wifi widget if it is not visible (#19876)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-22 14:36:42 +01:00
Willem Melching cafb19d375 qt ui: fix segfault if networkmanager is not running 2021-01-22 14:34:49 +01:00
Willem Melching e11b677e01 qt ui: slow frame warning 2021-01-22 14:26:35 +01:00
grekiki 2eb81aa1d3
Qt parents3 (#19870)
Not just parents, we also made the UI look nicer.
2021-01-22 13:51:26 +01:00
Willem Melching 02e5cd5dd5 Don't clean scons build on dirty branches 2021-01-22 13:13:45 +01:00
Adeeb Shihadeh e54db636f7
move Qr code lib to phonelibs (#19871) 2021-01-21 11:17:21 -08:00
Adeeb Shihadeh d4489fbf91
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>
2021-01-21 10:40:08 -08:00
Shane Smiskol 76cf500669
INDI: Time constant is used based on breakpoints (#19858)
* Time constant is used based on break points

* no need for alpha class variable
2021-01-21 15:14:50 +01:00
grekiki 24356b4a1e
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.
2021-01-21 13:00:03 +01:00
grekiki efe8c54a2e
fix LGTM issues (#19868)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-21 12:02:29 +01:00
Dean Lee 1e617a3931
modeld: remove template from fill_meta (#19862) 2021-01-20 20:50:24 -08:00
Chris McCammon 28c20b49cf
2021 Lexus RX Hybrid fw (#19861) 2021-01-20 15:06:58 -08:00
Chris McCammon 332e01ee91
2021 Pacifica Hybrid fingerprint (#19846)
* Merge fingerprint of 2021 Pacifica Hybrid from b66bf349eecf2fda

* add route information

* remove comment
2021-01-20 13:48:48 -08:00
Chris McCammon c85cad7a94
2021 Corolla Hybrid camera fw (#19859) 2021-01-20 12:22:53 -08:00
Willem Melching 3a13c45c7f fix /dev/shm permisisons, fixes offroad 2021-01-20 14:30:59 +01:00
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
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
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
Adeeb Shihadeh eae7a6ed22
camera frame stream cleanup (#19741)
* clean up

* more clean up first
2021-01-19 14:40:47 -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 18a587023d.

* 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 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 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
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
Dean Lee 3381cd371c
clutil.h: remove extern C (#19809) 2021-01-18 15:04:37 +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