Commit Graph

2686 Commits

Author SHA1 Message Date
Dean Lee b06da51892 Pigeon::receive: reserve 4kb+64b for std::string (#19951)
* receive: reserve 4kb+64b for std::string

* fix bug
2021-02-01 16:22:16 +01:00
Robbe Derks 0328f550bc bump panda 2021-02-01 15:55:10 +01:00
Robbe Derks 935b9ceb05 Add back replay_many script for unlogging over jungles 2021-02-01 15:54:19 +01:00
Willem Melching 480ebebc50 bump panda 2021-02-01 15:01:19 +01:00
Igor 745b91ee57 Longitudinal tune for Corolla TSS2 (#2746) 2021-02-01 13:43:42 +01:00
Adeeb Shihadeh 4dcb22f03f need to build from here since we link against the absolute paths 2021-01-31 20:05:53 -08:00
Comma Device 592f994c05 copy into installer/ 2021-02-01 03:31:55 +00:00
Comma Device e069e7ca98 copy continue.sh into release3 2021-02-01 03:09:40 +00:00
Adeeb Shihadeh a712a4bd9c build release3 (#19984)
* build release3

* copy agnos manifest

* build in jenkins

* nproc doesn't work

* no pandaextra

* revert that

* don't modify version from source

* build after tests

* restore the symlink

* only master

* remove apk

* revert that

Co-authored-by: Comma Device <device@comma.ai>
2021-01-31 18:49:34 -08:00
Dean Lee 7f5a1ce02d get_frame_image: moved the global variables into function static (#19982) 2021-01-31 18:16:12 -08:00
Jack Davison 5bebc32fb1 Add ESP FW for 2021 Hyundai Sonata SEL (#19980) 2021-01-31 13:00:17 -08:00
Dean Lee 3fde3a5f7d pigeon_thread: ensure the pigeon->init() will not be called twice (#19963)
* ensure init is not called twice

* add space
2021-01-31 12:55:11 -08:00
Dean Lee b0c8ce4863 pigeon_publish_raw: use capnp::Data::Reader instead of Builder (#19952) 2021-01-30 19:16:21 -08:00
Dean Lee 9a9641a296 OMXEncoder: remove pthread_mutex_t lock from member variables (#19948)
* remove mutex

* rebase master
2021-01-30 19:11:03 -08:00
Dean Lee 2d0c249f40 dmonitoring: use the same way as driving to build model output more clearly (#19933)
* Use the same way as driving to build model output more clearly

* rebase master
2021-01-30 18:49:44 -08:00
Dean Lee 16e259cadf loggerd: small cleanup (#19864) 2021-01-30 18:37:58 -08:00
Adeeb Shihadeh cfb0390183 move agnos manifest to selfdrive/hardware (#19889) 2021-01-30 18:31:28 -08:00
Adeeb Shihadeh 2d240717b3 bump opendbc 2021-01-30 18:23:19 -08:00
Dean Lee f54ecc2779 UI: function update_status (#19679)
* update_status

* reformat switch

* set s->started in update_status

* space

* rebase master
2021-01-30 18:21:54 -08:00
Adeeb Shihadeh afa1e69bc1 faster webcam CI (#19975)
* don't copy in openpilot

* need that

* try this

* reenable the condition
2021-01-30 17:56:54 -08:00
Adeeb Shihadeh 9fbac812e4 pin pre-commit hook versions 2021-01-30 16:55:07 -08:00
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