Commit Graph

702 Commits

Author SHA1 Message Date
Willem Melching 6e0a4aff4d bump cereal
old-commit-hash: 9520c90a8841058140f1e660191296fbf20e190e
2021-01-29 13:02:30 +01:00
Willem Melching 9d1220b117 manager.py broadcast process states (#19880)
* broadcast managerstate

* Remove boardd

* show alert

* only trigger on actually receiving a manager state

* add managerstate to simulation exclude for longitudinal test

* broadcast managerState in process replay

* update alert text

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b6a220a133640c24fc596f6c3b181f5d0dd921a2
2021-01-26 14:49:55 +01:00
ZwX1616 d0726d1f7d 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>
old-commit-hash: 88430f12f426ada4691de93e0193ab1873df4eb4
2021-01-19 15:11:15 -08:00
Willem Melching 0372aa500d bump cereal
old-commit-hash: d7532cf9814f8e315f3edca65cd315e1681c32d8
2021-01-19 14:46:35 +01:00
HaraldSchafer 7af6dab1e8 Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
old-commit-hash: 0e49919ab99b9cb85c5df271de5145e388d756ad
2021-01-19 00:02:53 -08:00
Adeeb Shihadeh a633eaf660 GPS malfunction alert (#19756)
* GPS malfunction alert

* fix process replay

* fix long tests

* fix long tests again
old-commit-hash: c114316d94d91f09a759f575ed915436425dd177
2021-01-14 14:45:10 -08:00
Willem Melching 3e5faa1359 bump cereal
old-commit-hash: 42d7e63d8611282145b2cb1546be6feb34ea7173
2021-01-14 18:45:41 +01:00
Adeeb Shihadeh 824c3a6eab bump cereal and opendbc
old-commit-hash: 9ca8f1a357a163ea38be95e417303bb573e54444
2021-01-11 14:18:55 -08:00
Willem Melching 2fe0c2aafe bump cereal
old-commit-hash: f1d356af6ad9b47c1bdf6711833bf9ce56a47043
2021-01-11 16:07:40 +01:00
Willem Melching 3a9eb1381c bump cereal
old-commit-hash: f87514687cc1eb69cf301c53b17c5ef3dbbbdd8f
2021-01-08 14:55:02 +01:00
Willem Melching 3f950832b9 VisionIPC 2.0 (#19641)
* Squashed vipc

* Update release files

* Remove else

* add visionipc to release files

* use poller in vipc receive

* opencl framework instead of lib on macos

* Fix camera webcam

* Fix opencl on mac in ui

* more webcam fixes

* typo in ui sconsfile

* Use cur_yuv_buf

* visionbuf c++ class

* Camera qcom was still using visionbuf_allocate

* Turn loggerd back on

* fix snapshot

* No build needed

* update test camerad

* no more release callback

* make encoder c++

* Revert "no more release callback"

This reverts commit e5707b07002fee665d0483d90713154efc2d70d4.

* fix exit handlers

* No need to check errno

* move release callback call

* s/VIPCBufExtra/VisionIpcBufExtra/g

* use non blocking connect

* ui use non blocking connect

* Lower condition variable wait time

* Snapshot cleanup

* bump cereal

* bump cereal
old-commit-hash: fb496c692a9ebdcda15069a8d4eb95734b587d68
2021-01-08 14:54:25 +01:00
Willem Melching c4e9fd7244 bump cereal and update ref
old-commit-hash: 94801528586489a4da309018459230d761c0b41d
2021-01-07 15:56:29 +01:00
Adeeb Shihadeh 1694668c4b bump cereal
old-commit-hash: e7dfe260b34a637ccf5b493cb9ecfb0d120e2db0
2020-12-21 15:22:35 -08:00
Adeeb Shihadeh 2fa44ccbbe bump cereal
old-commit-hash: 5bd65338646d4aa29078ebdafbbb84f9c3ed6a05
2020-12-18 13:46:29 -08:00
Adeeb Shihadeh a6bff115c3 bump cereal
old-commit-hash: 8fb93c1e2a592a8ce14e67289055c3bbb98a3080
2020-12-17 13:12:13 -08:00
Adeeb Shihadeh d517426c4b bump cereal
old-commit-hash: 0f0efb0be2f46f0d3c00fe4122ea539a02aa7e1b
2020-12-17 12:18:51 -08:00
Willem Melching a5f9730c0e bump cereal: add startingBrakeRate
old-commit-hash: 3e8619ff64ee6704ba1e69044aeb05854c45e8b6
2020-12-16 12:19:58 +01:00
Adeeb Shihadeh 3e6abdd8bd oneplus deprecation (#2748)
* oneplus deprecation

* lowercase

* too long

* no udpates
old-commit-hash: 6a151dcd9c9f988301368312a7969aa9f413d346
2020-12-12 12:51:12 -08:00
Willem Melching ca0e8a6cde bump cereal: add stoppingBrakeRate
old-commit-hash: 31568461aa8a8d9ef5ddf1e0be31bea773c3532e
2020-12-11 13:57:20 +01:00
Adeeb Shihadeh 8809fc68e7 log DSP execution time (#2723)
* log dsp execution time

* don't need that
old-commit-hash: b3fd759fe83f0adb6be7f5a0d970fe4621cd24ff
2020-12-08 17:28:47 -08:00
Willem Melching 04dd15994e bump cereal: add minSpeedCan
old-commit-hash: 79040e085f605061cdea4140e359650e2c00bb8b
2020-12-03 19:49:57 +01:00
Willem Melching ec8a8ab494 bump cereal
old-commit-hash: 4836617762d6e74470cbbe40bf73b1d29d31b600
2020-12-03 15:56:09 +01:00
Adeeb Shihadeh 5447224a0b bump cereal again
old-commit-hash: 15456ad4a4d1421a796e60695db8696fdb98946a
2020-11-25 17:25:06 -08:00
Adeeb Shihadeh 39bdb14b06 bump cereal
old-commit-hash: 641df3ff5607116ef751af879e6fd9d827a290d1
2020-11-25 17:15:43 -08:00
George Hotz 8a35cce75f remove model lag warning, leave red alert at 20
old-commit-hash: 160fd207a5087754408d829f39b24d1f1c508df2
2020-11-24 13:02:56 -08:00
Adeeb Shihadeh d2710f2fcf model lag warning (#2608)
old-commit-hash: 2d7a194f9fd5e5b26b55e3aa9e33efc95c97be6e
2020-11-23 13:42:18 -08:00
Adeeb Shihadeh 1a99d77746 log DM model execution time (#2589)
old-commit-hash: 580589b2507bf344cd692a47b52edf85fa7bd784
2020-11-20 13:38:31 -08:00
Harald Schafer a20839abff bump cereal
old-commit-hash: c68e8ec3fcc362d79e60b91e5c3a77aa2d668e41
2020-11-19 15:17:12 -08:00
HaraldSchafer 008f37c749 Torch model (#2452)
* refactor draw model

* rebase master

* correct valid_len

* rename function

* rename variables

* white space

* rebase to master

* e16c13ac-927d-455e-ae0a-81b482a2c787

* start rewriting

* save proress

* compiles!

* oops

* many fixes

* seems to work

* fix desires

* finally cleaned

* wrong std for ll

* dont pulse none

* compiles!

* ready to test

* WIP does not compile

* compiles

* various fixes

* does something!

* full 3d

* not needed

* draw up to 100m

* fix segfault

* wrong sign

* fix flicker

* add road edges

* finish v2 packet

* Added pytorch supercombo

* fix rebase

* no more keras

* Hacky solution to the NCHW/NHWC incompatibility between SNPE and our frame data

* dont break dmonitoringd, final model 229e3ce1-7259-412b-85e6-cc646d70f1d8/430

* fix hack

* Revert "fix hack"

This reverts commit 5550fc01a7881d065a5eddbbb42dac55ef7ec36c.

* Removed axis permutation hack

* Folded padding layers into conv layers

* Removed the last pad layer from the dlc

* Revert "Removed the last pad layer from the dlc"

This reverts commit b85f24b9e1d04abf64e85901a7ff49e00d82020a.

* Revert "Folded padding layers into conv layers"

This reverts commit b8d1773e4e76dea481acebbfad6a6235fbb58463.

* vision model: 5034ac8b-5703-4a49-948b-11c064d10880/780  temporal model: 229e3ce1-7259-412b-85e6-cc646d70f1d8/430  with permute + pool opt

* fix ui drawing with clips

* ./compile_torch.py 5034ac8b-5703-4a49-948b-11c064d10880/780 dfcd2375-81d8-49df-95bf-1d2d6ad86010/450 with variable history length

* std::clamp

* not sure how this compiled before

* 2895ace6-a296-47ac-86e6-17ea800a74e5/550

* db090195-8810-42de-ab38-bb835d775d87/601

* 5m is very little

* onnx runner

* add onnxruntime to pipfile

* run in real time without using the whole CPU

* bump cereal;

* add stds

* set road edge opacity based on stddev

* don't access the model packet in paint

* convert mat.h to a c++ header file (#2499)

* update tests

* safety first

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: mitchell <mitchell@comma.ai>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: George Hotz <george@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 08846b5c0ec3a5299c8cb73904da15a18d3aaccf
2020-11-11 20:31:46 -08:00
Adeeb Shihadeh f25cec394e grey panda is unsupported (#2458)
old-commit-hash: 47c21f10f598639307994392e96f4d9293b295c7
2020-11-03 19:56:25 -08:00
Adeeb Shihadeh 2e5247056a ubuntu 16.04 -> 20.04 (#2378)
old-commit-hash: 719c5e3598846a6f3fa08c85bb811d197e0c6d0a
2020-10-29 16:51:09 -07:00
Adeeb Shihadeh 48e5211f23 grey panda deprecation (#2406)
old-commit-hash: d92ec9642e49f4e4681006c71e7d90cfc8bd7d1d
2020-10-26 23:09:06 -07:00
Adeeb Shihadeh b7c4c26012 camera malfunction alert (#2391)
* camera malfunction alert

* bump cereal

* fix process replay

* ugh, needs refactor
old-commit-hash: 88b956528e614dc7429d525d5d7e09b5431d7b38
2020-10-22 16:28:54 -07:00
Adeeb Shihadeh a4f4f1d828 Log last 1000 lines of tmux output in bootlog (#2149)
* log last 1000 lines of tmux output in bootlog

* add to bootlog

* fix tmux capture
old-commit-hash: 6b4957cba10985507c5ba2337ee08b6392f86ddb
2020-10-20 21:07:12 -07:00
Willem Melching 651d4ce031 --std=c++17 (#2330)
* switch to c++17

* more 17

* 1z

* use std::clamp

* Fix types in clamp

* bump submodules

* bump laika

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 339d1967cb1e8ca73aeb1f0066a23b0933706ae5
2020-10-17 13:33:12 -07:00
Adeeb Shihadeh aea2faaa98 Alert cleanup (#2274)
* no more focus recover active

* consistency

* more permanent

* dm alerts

* sanity check test

* no please

* clean that up

* update refs

* one more

* bump cereal
old-commit-hash: ae4b4bd1256c11153035e4236cd801738f135c51
2020-10-14 15:56:18 -07:00
Adeeb Shihadeh d13963e21b bump cereal
old-commit-hash: 4b61231999b797349fb5fa876ccd944cc0d69017
2020-10-06 17:25:14 -07:00
Willem Melching e0414892bb bump cereal
old-commit-hash: e087e374605973acce249183feb0d95566937823
2020-10-06 16:00:08 +02:00
Adeeb Shihadeh 69946508db bump cereal
old-commit-hash: 70bc935210c8b948ab20f1d72fd2c6a6884d4cfd
2020-10-05 18:43:21 -07:00
Adeeb Shihadeh e2cdab8d45 bump submodules
old-commit-hash: 14d056a14d2cd920f9edd5f52c86abe0e1a80cab
2020-10-01 14:11:44 -07:00
Willem Melching b1e01c8a5b bump cereal
old-commit-hash: 5965ab83342653a564fbc1a7d950e437b19d81cd
2020-09-25 11:32:38 +02:00
Adeeb Shihadeh 6f96ed3c59 remove unused alert
old-commit-hash: cdcf2350252059e937b032ea2448584ff3c512a9
2020-09-22 13:47:30 -07:00
Willem Melching e17440c9a7 bump cereal
old-commit-hash: afdb4ce61e2e4a209cf6d4a35b51bfafdbbf11e4
2020-09-22 10:35:23 +02:00
Willem Melching e9642080ac bump cereal
old-commit-hash: 861ef4a39781778c5d724dfd60db9538c074ef16
2020-09-21 16:00:45 +02:00
Adeeb Shihadeh ac3422fc0f message builder (#2161)
* use custom MessageBuilder from cereal

* use MesageBuilder.toBytes

* bump cereal

* unused

* another one

* fix ui msg

Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 4d5733924a2fdd8a3bbaf5f48869ac744b983401
2020-09-12 21:48:15 -07:00
Adeeb Shihadeh c3980a9cc2 bump cereal
old-commit-hash: 71562d6180e6e740fc154e983cb50d416f4cb08c
2020-09-12 20:06:18 -07:00
Willem Melching d8eb799948 bump cereal
old-commit-hash: f02ec4c68ed8514cb6d16c683ee75bdc86c096c3
2020-09-10 14:20:08 +02:00
Willem Melching 9da5303dc8 bump submodules
old-commit-hash: 9eca642c76bbd9c34a6f5f4aede89dd614533a7d
2020-09-09 17:41:17 +02:00
Adeeb Shihadeh 6eddfac1a6 Reduce plannerd and dmonitoringd CPU usage (#2108)
* fix wasted cycles in locationd and dmonitoringd

* bump cereal

* calibrationd

* Revert "calibrationd"

This reverts commit 580051a33bc96e1e83300629e9c04817928d0851.

* this is cleaner

* calibrationd

* paramsd is driven by liveLocationKalman

* only log params once a minute

* stricter CPU usage test

* revert locationd for now

* revert calibrationd too

* revert thresholds
old-commit-hash: 21fbe26980ccbc6893af4dfe64f58e2c875f2be6
2020-09-01 16:41:09 -07:00
Adeeb Shihadeh 91ac4efab2 driver monitoring cleanup (#2101)
* read rhd from param

* don't need that anymore

* fix build

* bump cereal

* read param from camerad too

* add read_db_bool helper

* bump model replay ref commit, IsRHD wasn't set
old-commit-hash: 349040d9580bf7c9b98273dd2745fc4b147d3254
2020-08-29 17:16:00 -07:00