Commit Graph

86 Commits

Author SHA1 Message Date
robbederks
5a12fc32e7 Ambient light calibration parameters on persist partition (#1429)
* WIP: light sensor persistent params

* fix params writing

* Persistent params argument in C params lib. Fixed symlink flow

* Removed debug prints

* fix boardd

* fix ui

* remove debug print
old-commit-hash: 71bebc4fca91681669c86b5600b67bf2b7f899bf
2020-05-08 19:39:18 -07:00
Adeeb Shihadeh
7bc6491502 these don't need json
old-commit-hash: 9670f8fb9f081a14d1de24f92e0800ebffbb123b
2020-05-04 23:37:07 -07:00
George Hotz
16cbb5e255 Revert "Bypass alignment related copy whenever possible (#1443)"
This reverts commit 235d4f8957ee4566d6217783638fa58a586bb35a.

old-commit-hash: d5ca841b0f18d2e707eb1f73afac842ede9be7e8
2020-05-04 09:54:05 -07:00
George Hotz
6fbcde48e5 Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
Dean Lee
f2932aadfd Bypass alignment related copy whenever possible (#1443)
remove blank lines

add file messagehelp.h

remove blank line

simplify

after review
old-commit-hash: b2250166281406853de9901271d69a9e64b3b74e
2020-05-01 19:21:00 -07:00
Willem Melching
39cce620d4 Revert "fix memory leak in encoder_close (#1366)"
This reverts commit 62f812dca8fda5da7e14252cfcdd8c1ebef38c2c.

old-commit-hash: 9ad6cbbe6dd2b5367039f2774892021a4c27034f
2020-04-29 16:14:51 -07:00
Comma Device
92235612a2 mark unuploaded
old-commit-hash: cead4c6e8508f1504c57e3dfdc919ee88ee4cbbb
2020-04-21 11:11:43 -07:00
Dean Lee
f01bf14ba4 cleanup visionipc when recovering from fault in dmonitoringd and loggerd (#1402)
old-commit-hash: 2928c53e4fbf4be17f760f98c6b1dc3175f754bc
2020-04-20 13:15:11 -07:00
Willem Melching
93a539e7ff Release messaging sockets and context on shutdown (#1391)
* release resources when thread is done

* add white space

* add white space

Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 02e474580ee90713bc3426ea512278c5eb1c6b15
2020-04-17 16:37:34 -07:00
Dean Lee
68578673ff fix memory leak in encoder_close (#1366)
* fix memory leak in encoder_close

* add &
old-commit-hash: 3b3eebb1373290816f2c49d221883420aabe4d8f
2020-04-15 18:06:22 -07:00
Dean Lee
cdda637936 remove buggy pthread_mutex_unlock in event_handler (#1369)
old-commit-hash: a4ad9d1f463743fd77c27bf5cc400c061f5ba1d6
2020-04-15 18:04:28 -07:00
Greg Hogan
9cc5c41773 update tests
old-commit-hash: 337fb1a273c4ac57c2a2a17ae68499eb8b49f37b
2020-04-10 09:46:03 -07:00
Greg Hogan
8be9cddc62 handle ignored uploads more gracefully
old-commit-hash: 85a09b3113fe45b5feee7c1c421e2c43cb2ac03a
2020-04-09 21:59:26 -07:00
Dean Lee
24a729dca8 improve loggerd error handling (#1332)
* call BZ2_bzWriteClose after fail

* set closed file handles to NULL

* move fclose after BZ2_bzWriteClose
old-commit-hash: 434a2b06584652ef82b393fcbc2986b598736030
2020-04-08 14:05:19 -07:00
George Hotz
860930b198 tici: fix loggerd (#1302)
* loggerd builds

* codec

* add frame_id cams

* working

* no qcam on tici

* pthread always

Co-authored-by: Tici <robbe@comma.ai>
old-commit-hash: cfcf3f9368eacacc7844b53b37842bd7419d42f9
2020-03-31 18:25:05 -07:00
Willem Melching
829a5a734d One more BaseException in test_uploader.py
old-commit-hash: 3dad97a2110d2f970fcb25b190d5a1afaa91a489
2020-03-30 12:30:21 -07:00
Greg Hogan
41ff9244c0 uploader: allow ctrl+c
old-commit-hash: 13ec384ea0bce744a8fffaa1d7a977b91f06cfb7
2020-03-30 12:27:39 -07:00
Greg Hogan
004c181167 uploader: do not delete files after uploading (#1253)
* cffi xattr function wrapper

* xattr wrapper error handling

* xattr tests

* use xattr for tracking files uploaded

* uploader xattr exception handling

* update uploader tests

* remove unused import

* update release build

* xattrs.py -> xattr.py
old-commit-hash: f21d0f325e1304b08a4e05ccc6b0fe439a7e3928
2020-03-19 18:09:26 -07:00
Shane Smiskol
682c866a55 initialize all messages in 1 line (#1206)
old-commit-hash: 6ff881f7894d0117099787e56ec0966bfc63fa7c
2020-03-05 17:32:52 -08:00
George Hotz
640c41a3ff Add sentinels to logs and qlogs (#1205)
* sentinel WIP

* logger is now a cc, not a c

* simpler code doesn't touch loggerd.cc

* oops, double lock. and logreader is nicer

old-commit-hash: 2f2b85581c1e2f6a770580b2db88a5e71f5a697a
2020-03-05 14:29:34 -08:00
Willem Melching
1d39b5a646 more generic catch in uploader and thermald
old-commit-hash: 891c4cabb8c1909e981d902b36b0f3bfb529ad16
2020-02-21 15:02:24 -08:00
Adeeb
65a2c62114 Abstract common events + event cleanup (#1129)
* too many if

* unused

* whitespace

* key

* sefldrive/car/*

* no more gctx

* lower

* start abstracting common events

* all cars

* start small

* all cars

* reverse gear

* wrongCarMode

* wrongGear

* espDisabled

* steerUnvailable

* make linter happy

* c isn't used

* fix esp_disabled in VW

* update ref

* more red

* more cleanup

* fix subaru

* update ref

old-commit-hash: e8cb6ea06a2470dd89a6ad8fd17bd1d1b62034cc
2020-02-20 16:22:25 -08:00
Willem Melching
8a06202f53 Fix qlog decimation
old-commit-hash: 2f33e1e0b09ac0ad2f368d231c2733a212f3a7d6
2020-02-14 13:51:24 -08:00
Willem Melching
d61e1e287c Also keep 10% free so 64gb/128gb EON will still engage when full
old-commit-hash: de6d73599bc0b57688870b3d16d87dff47dff7f3
2020-02-10 18:35:10 -08:00
Adeeb
559d3e4f50 use services.h in loggerd (#1056)
* loggerd: use services.h

* don't need yaml-cpp anymore

* forgot that

old-commit-hash: 0ad57152559fc44d97a9defe5e4dfea5c611e7f0
2020-02-06 10:56:01 -08:00
Willem Melching
cd5f320192 Fix junk data in initParams
old-commit-hash: 393c4987c8f1f8744cf2315f04ce9f14a5efc116
2020-01-27 17:08:57 -08:00
Willem Melching
0e5e604412 Add cloudlog for is_on_wifi fail
old-commit-hash: f6835e949061abb3509df0e857150d9532a54f06
2020-01-20 11:25:16 -08:00
Willem Melching
26d634d6c0 catch CalledProcessError in uploader wifi check
old-commit-hash: 6adbe24d4c9fa79ac11c3cfa9060135046aad623
2020-01-20 10:57:08 -08:00
George Hotz
510b718f0f logcatd, loggerd, mapd, modeld, proclogd
old-commit-hash: da079d47d7d9496723117700ae1bb51c1f1abc38
2020-01-17 11:20:17 -08:00
George Hotz
81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
2020-01-17 10:02:52 -08:00
Willem Melching
46403dff2a catch exception in uploader.py
old-commit-hash: 460a8e318995e0d0aa39112aa609cb3fb6add933
2020-01-20 11:30:04 -08:00
Vehicle Researcher
fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c600ec653c16606239364ab9324fd98
2020-01-15 14:05:04 -08:00
Vehicle Researcher
99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a15640ee4d6e4d513fada6ed101afe5
2019-12-13 13:03:08 -08:00
Vehicle Researcher
b713eae9f8 openpilot v0.6.6 release
old-commit-hash: d7f0b402a878b185dbf65d0a7819f5959dd9b8c2
2019-11-04 15:13:52 -08:00
Vehicle Researcher
89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28bc737f50e096b21dea2dd2d6d4a1621
2019-10-09 18:43:53 +00:00
Vehicle Researcher
dfe603c178 openpilot v0.6.4 release
old-commit-hash: 61229779e4a38431e934cabe700a93e120dfa468
2019-09-09 23:03:02 +00:00
Vehicle Researcher
02cedeadd9 openpilot v0.6.3 release
old-commit-hash: d5f9caa82d80cdcc7f1b7748f2cf3ccbf94f82a3
2019-08-13 01:36:45 +00:00
Vehicle Researcher
07aa8b1bf3 openpilot v0.6.1 release
old-commit-hash: 94053536b4bfa7a8c4760db99063093aae69374d
2019-07-22 19:17:47 +00:00
Vehicle Researcher
9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f33faf282b1918ebe2c37f06cef74e6
2019-06-28 21:11:30 +00:00
George Hotz
3c3ecc29d4 Merge pull request #679 from njbrown09/entunehotspot
Add Toyota Entune Wifi hotspot to hotspot check.
old-commit-hash: 16d0c4a3e7bf2551dca6ac5a415a30029cb8df17
2019-06-06 23:11:43 -07:00
Vehicle Researcher
e47a2e6e30 openpilot v0.5.13 release
old-commit-hash: dd34ccfe288ebda8e2568cf550994ae890379f45
2019-06-06 04:38:45 +00:00
Nick Brown
f1e1b0a0ec Detect toyota connected car wifi as a hotspot and not a normal home wifi network.
old-commit-hash: c0a3e48d9413710db8d6181183117b8caf5c05f2
2019-06-02 00:18:00 -04:00
Vehicle Researcher
0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea886f1fa3b0c19a62a981d891dcc84eb
2019-05-16 13:20:29 -07:00
Vehicle Researcher
83dfc3ca1f openpilot v0.5.11 release
old-commit-hash: 2f92d577f995ff6ae1945ef6b89df3cb69b92999
2019-04-23 01:41:19 +00:00
Vehicle Researcher
30f7a33535 openpilot v0.5.10 release
old-commit-hash: f74a201edcce4a81ae9e1ba388039a982a68f2fa
2019-03-26 01:09:18 -07:00
Vehicle Researcher
2cc4edde68 openpilot v0.5.9 release
old-commit-hash: 0207a970400ee28d3e366f2e8f5c551281accf02
2019-02-20 01:39:02 +00:00
eFini
ce1c9143b6 Allow uploader.py to compress rlog without upload permission (#471)
* Always Compress - Make sure uploader to bzip2 rlog once it's completed without any upload permission.

old-commit-hash: 88246af4c7bc7be16fe3f72040dda0e51c42388c
2019-02-13 20:39:24 -08:00
Vehicle Researcher
3bde47d556 openpilot v0.5.8 release
old-commit-hash: b967da5fc1f7a07e3561db072dd714d325e857b0
2019-01-23 15:34:52 -08:00
Vehicle Researcher
f8ce921247 openpilot v0.5.7 release
old-commit-hash: 210db686bb89f8696aa040e6e16de65424b808c9
2018-12-10 14:13:12 -08:00
Vehicle Researcher
fdbf213be8 openpilot v0.5.6 release
old-commit-hash: 860a48765d1016ba226fb2c64aea35a45fe40e4a
2018-11-17 02:08:34 -08:00