Commit Graph

2715 Commits (1744076514a9aa5bf9d7e7940ddbd9c431c551bf)

Author SHA1 Message Date
Adeeb Shihadeh 229395e15b fix static analysis checks after mypy update 2021-01-30 16:53:48 -08:00
Dean Lee 4d6584a315
boardd: remove global variables spoofing_started&fake_send (#19966) 2021-01-31 00:02:03 +01:00
Dean Lee edc2b3f67c
fix panda: remove uninitialized err and check after (#19974) 2021-01-30 23:59:49 +01:00
ZwX1616 6d16bfab82
tici dcam AE (#19970)
* tici_ae_front

* not const
2021-01-29 19:11:27 -08:00
Adeeb Shihadeh 4a03d1cb64 blue bg in training guide 2021-01-29 13:41:48 -08:00
Adeeb Shihadeh d3756bc475 cleanup training guide 2021-01-29 13:21:10 -08:00
grekiki c5762456e1
Qt training guide (#19953)
* initial commit

* background kind of works

* checkpoint

* temp

* add images

* all works

* remove some files

* rename

* enable restart

* remove first

* lfs try1

* refactor labels

* remove nonneeded code

* centered

* more centering

* don't hardcode the training version

Co-authored-by: Comma Device <device@comma.ai>
2021-01-29 17:54:00 +01:00
grekiki 82b894c645
Wifi correct ip (#19961) 2021-01-29 16:22:35 +01:00
Dean Lee dd3a260676
boardd: refactor usb_connect, delete panda on failure (#19956) 2021-01-29 13:10:56 +01:00
Willem Melching 9520c90a88 bump cereal 2021-01-29 13:02:30 +01:00
Dean Lee c723bbd6be
Panda: add check for connected in usb_read (#19957) 2021-01-29 13:00:49 +01:00
ZwX1616 1a95127b0e
camerad frame lag/drop jenkins tests (#19945)
* clean up test

* not needed for now

* this be enough

* comment this out

* clean up

* adjust tolerance

* use sof on tici

Co-authored-by: Comma Device <device@comma.ai>
2021-01-28 14:21:59 -08:00
ZwX1616 8605ba8ab9
pyTorch DM (#19760)
* new model files

* no more rot

* no rot no diag switch

* should be correct and cache aware

* 405d7aeb

* parse new outputs

* change uncertain policy accordingly

* 1bdbd9ed

* adjust

* 0.5 is fine

* 3d4f9cab

* no face prob no loss

* clean up

* clean up test

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-28 14:02:58 -08:00
Comma Device 75d0802804 match driverView with new model 2021-01-28 13:44:12 -08:00
Maksym Sobolyev b2cc6f473c
Set "use_bsm" on KIA_NIRO_EV, I've tested it seems to be generating (#19955) 2021-01-28 13:10:17 -08:00
Adeeb Shihadeh 20a2bfdd31 Revert "OmxEncoder: new function set_state, set and wait state changed (#19906)"
This reverts commit 36a596eb1e.
2021-01-28 11:57:29 -08:00
Dean Lee 36a596eb1e
OmxEncoder: new function set_state, set and wait state changed (#19906)
* free buffers after state is loaded

* set_data_blocking

* fix indentation

* Empty commit,trigger Build
2021-01-28 11:45:44 -08:00
Dean Lee a48ab6130c
keyboard.cc: get value by reference in ranged based loop (#19950) 2021-01-28 11:35:38 -08:00
Dean Lee 0b75a85adc
Panda: use 'std::atomic<bool> connected' to ensure thread-safety (#19954) 2021-01-28 11:35:13 -08:00
Dean Lee c4215d8476
Panda: refactor get_firmware_version, return std::optional<std::vector> (#19896)
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-01-28 16:25:05 +01:00
Dean Lee 96cc633d91
panda: refactor get_serial, return std::optional<std::string> (#19895) 2021-01-28 16:21:18 +01:00
Dean Lee 6bd9e5ca6a
draw lead indicator in 3D (#19793)
* lead indicator in 3D

* more

* Update selfdrive/ui/ui.cc

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-01-28 15:53:24 +01:00
Willem Melching 5693773ae1 fix safequeue import 2021-01-28 15:25:24 +01:00
Dean Lee e6783f4d9f
remove cqueue, use class SafeQueue (#19774)
* class SafeQueue

* cleanup includes

* space

* add timeout

use try_poll

* add function empty() & size()

* class SafeQueue

* add timeout

use try_poll

* add function empty() & size()

* rebase master

* rebase master

* for loop

* fix bug
2021-01-28 15:12:45 +01:00
Dean Lee 6583206ed4
convert framebuffer to class (#19800)
* class FrameBuffer

* fix build error

* remove bootlog
2021-01-28 14:47:05 +01:00
Willem Melching 4f995b35d5 fix valgrind complaints about swaglog 2021-01-28 14:03:46 +01:00
Dean Lee c283be24d3
C++ swaglog (#19825)
* c++ swaglog

* dd

* continue
2021-01-28 13:52:18 +01:00
Dean Lee 79e05965c4
bootlog: fix dangling pointer problem in logger_build_boot (#19942)
* fix  dangling pointer problem

* logger_build_init_data() has same problem

* return kj::Array<capnp::byte>

* Revert "return kj::Array<capnp::byte>"

This reverts commit 4df4685bfcaba0c5400e2690440a74c32ff75afa.

* Empty commit,trigger Build

* fix each segment in a route having a different initial logMonoTime
2021-01-28 13:34:07 +01:00
Adeeb Shihadeh b2bc9dcc1e fix qt UI after #19762 2021-01-27 23:00:14 -08:00
HaraldSchafer d1b31d3697
not relevant at high speed (#19946)
* not relevant at high speed

* update ref
2021-01-27 20:28:17 -08:00
Adeeb Shihadeh ea74f558f4 Revert "OMXEncoder: add calls to OMX_Init()&OMX_Deinit() (#19905)"
This reverts commit 8f00813089.
2021-01-27 20:17:35 -08:00
Adeeb Shihadeh c95c4df51d
don't reflash agnos update if already flashed (#19944)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-27 17:10:54 -08:00
Adeeb Shihadeh 09ee2a8c51
fix updated bug that allows for mismatch openpilot/agnos (#19943) 2021-01-27 15:39:14 -08:00
Dean Lee 8bb3c41cfd
dmonitoring_publish: use kj::ArrayPtr<const float> raw_pred as paramater instead of float (#19916) 2021-01-27 14:30:12 -08:00
Adeeb Shihadeh 0411015103
fix up encoder test for tici rotation (#19941)
* fix encoder test

* revert for c2

Co-authored-by: Comma Device <device@comma.ai>
2021-01-27 14:20:48 -08:00
Dean Lee af4ac70cb8
UI: handle alert in function update_alert (#19762)
* handle alert in function update_alert

* use sm->updated

* typo
2021-01-27 14:16:51 -08:00
newstackdevelopment 3b9ae9a959
Fix BSM signal for Hyundai Santa Fe (#19855)
* Update Hyundai Santa fe FP and constant

Added fingerprint for hyundai santafe limited 2020 and updated the constant description for class

* Update values.py

* removed duplicate from santafe fwdCamera

* add bsm to santa fe for lane change

* added allow nudgeless bypass

* Revert "added allow nudgeless bypass"

This reverts commit f1a3ede920d3e34336fa18ae3c888041d4d9d4f6.
2021-01-27 14:05:57 -08:00
Dean Lee 8f00813089
OMXEncoder: add calls to OMX_Init()&OMX_Deinit() (#19905)
* add calls to OMX_Init()&OMX_Deinit()

* fix indentation
2021-01-27 13:37:42 -08:00
Willem Melching 87119aebe2
Put bootlog in own folder (#19939)
* put bootlog in own folder

* fix uploader

* remove print statements

* update test

* remove comment

* also write initddata

* remove sentinels from test
2021-01-27 13:36:40 -08:00
Greg Hogan 92754cc808
hyundai: add follow distance button (#19852) 2021-01-27 07:25:51 -08:00
Greg Hogan 32b89fe30a
hyundai: car state with longitudinal control support (#19851) 2021-01-27 07:25:23 -08:00
Greg Hogan 7c0cb9a008
hyundai: ability to create ACC messages (#19850) 2021-01-27 07:24:15 -08:00
Willem Melching 4cd17555c1 tombstoned: fix address offset in string 2021-01-27 16:16:17 +01:00
Willem Melching 39615f9108 remove temporary fixes 2021-01-27 16:08:49 +01:00
Adeeb Shihadeh 8c31ab3cee
remove legacy reset line support (#19770) 2021-01-27 14:19:49 +01:00
Greg Hogan 767ada98c7
vision-only radar toggle (#19849) 2021-01-27 14:15:59 +01:00
Comma Device e0b38c0278 wifi connecting is not hidden any more 2021-01-27 12:56:11 +00:00
grekiki ea642aa0cb
minor wifi improvements (#19938)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-27 13:43:28 +01:00
Dean Lee 316f475544
util.h: re-indent function string_format and use const std::string & for read_file (#19931) 2021-01-27 12:10:03 +01:00
Dean Lee 21f45e3ef4
Thneed::clinit() : use cl_get_device_id helper(#19934) 2021-01-27 12:09:28 +01:00