Commit Graph

2652 Commits

Author SHA1 Message Date
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
Dean Lee 064bcbe80b CameraBuf::acquire : release on failure (#19935) 2021-01-27 12:08:38 +01:00
grekiki 7408569c1b Add Github SSH keys (#19879) 2021-01-27 12:07:17 +01:00
Dean Lee 80799c7272 fill_frame_data: remove unused paramater cnt (#19936) 2021-01-27 12:03:12 +01:00
Chris McCammon 12a1121131 2021 Toyota Highlander engine fw (#19930) 2021-01-27 00:04:31 -08:00
Chris McCammon f9d6e8bf0a Civic Hatch Diesel fw (#19929) 2021-01-27 00:04:15 -08:00
Mitchell Goff 608f00f814 Split planner and pathplanner publishing into separate 'publish' methods (#19860)
* Split planner and pathplanner publishing into separate 'publish' methods

* Updated test_following_distance.py

* Combined publish+send_mpc_solution methods
2021-01-26 20:27:24 -08:00
Harald Schafer 39e3672e82 new ref for rateSteers fix 2021-01-26 15:33:31 -08:00
Adeeb Shihadeh 6e70baa306 actually wait for boardd to start 2021-01-26 15:09:09 -08:00
Dean Lee 511bad6a9f fix indentation (#19925) 2021-01-26 14:43:37 -08:00
HaraldSchafer d628352098 important for indi (#19926)
* important for indi

* dont change that in this pr
2021-01-26 14:26:27 -08:00
Adeeb Shihadeh 144227d3d3 wait for pandad to start boardd 2021-01-26 13:39:15 -08:00
Adeeb Shihadeh 59f4ea9fe5 fix boardd loopback test after #19880 2021-01-26 12:12:10 -08:00
Dean Lee 4ac08ce05e TTYPigeon::send : delete unnecessary temporary variables (#19898)
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-01-26 17:33:53 +01:00