Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
Adeeb
5e857427ba
Enable more flake8 checks ( #1602 )
...
* enable some more flake8 checks
* some more quick ones
* bump opendbc
* e401
* e711 e712
* e115 e116
* e222
* e301
* remove that
* e129
* e701 e702
* e125 e131
* e227
* e306
* e262
* W503
* e713
* e704
* e731
* bump opendbc
* fix some e722
old-commit-hash: d9bf9f0a40
5 years ago
Willem Melching
c0866d9edb
pre-commit pylint ( #1580 )
...
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
- pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344
* add pylint to pre-commit and make everything pass
* Remove uncommented stuff
Co-authored-by: J <user@4800.lan>
old-commit-hash: bd06434243
5 years ago
Willem Melching
91f1082394
-Werror ( #1567 )
...
* werror
* -Wno-inconsistent-missing-override
* Silence ffmpeg deprecation warnings
* add some more pragmas to ignore warnings
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 50f3f1d335
5 years ago
Willem Melching
7f0b3180a4
Use C++ version of SubMaster and PubMaster ( #1548 )
...
* add PubMaster & SubMaster
remove 'delete msg'
remove headers
* use constructor to initial all submster
* modify drain sockets
* fix typo in ssconscript.remove lines
no checkValid in loggerd
last modify
handle_message:event->&event
fix type
remove heads
event to auto
* new interface
* api changed
* Revert "use constructor to initial all submster"
This reverts commit 73be7ea46250a325ce41d3a0445e34395a2ae692.
* change to new api
* revert loggerd
* dd
* use new PubSub api
* update to new interface
don't modify loggerd
reset panda
reset opendbc
remove empty lines
* switch to new pubMaster
* update to the new inteface
change
remove error code
. to ->
merge paramsd.cc
update panda
fix typo
simplify
fix typo
* Fix build
* always conflate
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: ab5af232b2
5 years ago
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: 71bebc4fca
5 years ago
Adeeb Shihadeh
7bc6491502
these don't need json
...
old-commit-hash: 9670f8fb9f
5 years ago
George Hotz
16cbb5e255
Revert "Bypass alignment related copy whenever possible ( #1443 )"
...
This reverts commit 235d4f8957ee4566d6217783638fa58a586bb35a.
old-commit-hash: d5ca841b0f
5 years ago
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: 1295cfe06c
5 years ago
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: b225016628
5 years ago
Willem Melching
39cce620d4
Revert "fix memory leak in encoder_close ( #1366 )"
...
This reverts commit 62f812dca8fda5da7e14252cfcdd8c1ebef38c2c.
old-commit-hash: 9ad6cbbe6d
5 years ago
Comma Device
92235612a2
mark unuploaded
...
old-commit-hash: cead4c6e85
5 years ago
Dean Lee
f01bf14ba4
cleanup visionipc when recovering from fault in dmonitoringd and loggerd ( #1402 )
...
old-commit-hash: 2928c53e4f
5 years ago
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: 02e474580e
5 years ago
Dean Lee
68578673ff
fix memory leak in encoder_close ( #1366 )
...
* fix memory leak in encoder_close
* add &
old-commit-hash: 3b3eebb137
5 years ago
Dean Lee
cdda637936
remove buggy pthread_mutex_unlock in event_handler ( #1369 )
...
old-commit-hash: a4ad9d1f46
5 years ago
Greg Hogan
9cc5c41773
update tests
...
old-commit-hash: 337fb1a273
5 years ago
Greg Hogan
8be9cddc62
handle ignored uploads more gracefully
...
old-commit-hash: 85a09b3113
5 years ago
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: 434a2b0658
5 years ago
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: cfcf3f9368
5 years ago
Willem Melching
829a5a734d
One more BaseException in test_uploader.py
...
old-commit-hash: 3dad97a211
5 years ago
Greg Hogan
41ff9244c0
uploader: allow ctrl+c
...
old-commit-hash: 13ec384ea0
5 years ago
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: f21d0f325e
5 years ago
Shane Smiskol
682c866a55
initialize all messages in 1 line ( #1206 )
...
old-commit-hash: 6ff881f789
5 years ago
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: 2f2b85581c
5 years ago
Willem Melching
1d39b5a646
more generic catch in uploader and thermald
...
old-commit-hash: 891c4cabb8
5 years ago
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: e8cb6ea06a
5 years ago
Willem Melching
8a06202f53
Fix qlog decimation
...
old-commit-hash: 2f33e1e0b0
5 years ago
Willem Melching
d61e1e287c
Also keep 10% free so 64gb/128gb EON will still engage when full
...
old-commit-hash: de6d73599b
5 years ago
Adeeb
559d3e4f50
use services.h in loggerd ( #1056 )
...
* loggerd: use services.h
* don't need yaml-cpp anymore
* forgot that
old-commit-hash: 0ad5715255
5 years ago
Willem Melching
cd5f320192
Fix junk data in initParams
...
old-commit-hash: 393c4987c8
5 years ago
Willem Melching
0e5e604412
Add cloudlog for is_on_wifi fail
...
old-commit-hash: f6835e9490
5 years ago
Willem Melching
26d634d6c0
catch CalledProcessError in uploader wifi check
...
old-commit-hash: 6adbe24d4c
5 years ago
George Hotz
510b718f0f
logcatd, loggerd, mapd, modeld, proclogd
...
old-commit-hash: da079d47d7
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Willem Melching
46403dff2a
catch exception in uploader.py
...
old-commit-hash: 460a8e3189
5 years ago
Vehicle Researcher
fa4b6f33d1
openpilot v0.7.1 release
...
old-commit-hash: 8da8b6135c
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
b713eae9f8
openpilot v0.6.6 release
...
old-commit-hash: d7f0b402a8
6 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
dfe603c178
openpilot v0.6.4 release
...
old-commit-hash: 61229779e4
6 years ago
Vehicle Researcher
02cedeadd9
openpilot v0.6.3 release
...
old-commit-hash: d5f9caa82d
6 years ago
Vehicle Researcher
07aa8b1bf3
openpilot v0.6.1 release
...
old-commit-hash: 94053536b4
6 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago
Vehicle Researcher
e47a2e6e30
openpilot v0.5.13 release
...
old-commit-hash: dd34ccfe28
6 years ago
Nick Brown
f1e1b0a0ec
Detect toyota connected car wifi as a hotspot and not a normal home wifi network.
...
old-commit-hash: c0a3e48d94
6 years ago
Vehicle Researcher
0932b367bd
openpilot v0.5.12 release
...
old-commit-hash: 3f9059fea8
6 years ago
Vehicle Researcher
83dfc3ca1f
openpilot v0.5.11 release
...
old-commit-hash: 2f92d577f9
6 years ago
Vehicle Researcher
30f7a33535
openpilot v0.5.10 release
...
old-commit-hash: f74a201edc
6 years ago