Commit Graph

109 Commits

Author SHA1 Message Date
Willem Melching
3e44be1461 Add sonata firmware version
old-commit-hash: 6e476e06676bdc6da9f6f3e1a865d6568a199b49
2020-11-18 12:48:21 +01:00
Jon Ander Oribe
9f61dd6254 Simple improvements for quality gate (#2517)
* Improvements for quality gate

* Update test_xattr.py

* Update test_mpc_wobble.py

* python

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 887d67eb8d8d2da8e07ff3a74517b620afa9542a
2020-11-12 14:48:45 -08:00
Adeeb Shihadeh
f25cec394e grey panda is unsupported (#2458)
old-commit-hash: 47c21f10f598639307994392e96f4d9293b295c7
2020-11-03 19:56:25 -08:00
Adeeb Shihadeh
61fa53120d fix fingerprint script
old-commit-hash: 9a9e4ba45e000bbc496eeb624961a38ba833f708
2020-10-29 13:56:58 -07:00
Willem Melching
5c09e8e61b use iterator to loop over first 1000 entries (#2359)
old-commit-hash: 47dfa524565301969db32ab2bee4b089d985e87d
2020-10-19 13:44:36 +02:00
Adeeb Shihadeh
8abecea3db fix pylint import error
old-commit-hash: 6073610cb08e03e142b80dc7b1196ce359a1f55a
2020-10-18 16:12:39 -07:00
Adeeb Shihadeh
e2ae5774b8 quick toyota EPS scale factor script
old-commit-hash: 82c112dad067de5ea33ff8249f14ac6233439c85
2020-10-18 16:00:42 -07:00
Willem Melching
839b6af9ce Update 2020 Hyundai Palisade FW versions (#2322)
* add fw versions

* carParams is sometimes not in first segment

* Update can fingerprint
old-commit-hash: 0365db20d8853845dce79727e347b02ec07b472c
2020-10-12 15:57:06 +02:00
Adeeb Shihadeh
ea90a1e391 add offroad to cpu usage script
old-commit-hash: 38a23a55ec8b27851e4f5eb2d37717c7ada63053
2020-10-06 21:12:38 -07:00
Adeeb Shihadeh
747ca1d354 fix paths for waste3 debug script
old-commit-hash: 9060d3c87b717189350035603a791b47a16f8fc8
2020-09-29 15:51:58 -07:00
Adeeb Shihadeh
52ed05f68e add ECU disable script from #1459
old-commit-hash: 98fedff6b1f286c28a5beb12fd40b392b1d4ce65
2020-09-29 11:54:29 -07:00
Adeeb Shihadeh
864f32ce1b quick lgtm fixes
old-commit-hash: 4acc82604d456dc5280e62f946f3fdd1e0ce5810
2020-09-19 12:53:36 -07:00
Adeeb Shihadeh
2f8213f997 rt debug scripts (#2165)
* rt debug scripts

* bigger buffer

* cleanup

* move to internal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ebab66062248012fe6c1a25a6d789297849cb868
2020-09-16 17:42:37 -07:00
Adeeb Shihadeh
7bd98df410 add android procs to cpu usage sript
old-commit-hash: 33ad9d67eafa13f1c608368136a37e0a08a5bb68
2020-09-16 15:47:44 -07:00
Adeeb Shihadeh
0ce447e092 remove unused import in cycle_alerts
old-commit-hash: 8e249396138ff2c7c4e38f54aa01776a9d5e00e9
2020-09-10 15:24:09 -07:00
Adeeb Shihadeh
0ae5e7403e QT UI: sounds (#2078)
* move android into own dir

* fix name

* maybe this works? qt ui doesn't work on mac

* fix that

* pc sound works

* fix pc build

* lowercase

* that needs to be real_arch

* split into classes

* fix typo in lib

* Fix cycle alerts

* Add qt multimedia libs to install scripts

* Add ui/android folder

* Fix android build

* Raise exception if sound init fails

* add missing return

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: acd1bde496904fbc0d97f4d89e630358c4d11f7f
2020-09-09 19:04:28 +02:00
Shane Smiskol
80adb33924 Show lane lines and path while using uiview.py (#2104)
* add modeld and required calibd procs to uiview to display lane lines when debugging

* send radarState with empty message to show model path

* make uiview.py executable
old-commit-hash: dfdbf6e41607d793f4c7d38407978a28af0d2e28
2020-08-30 11:38:40 -07:00
Adeeb Shihadeh
8f2111b889 type hints for messaging (#2061)
* bump cereal

* fix bugs found by mypy

* bump cereal
old-commit-hash: 520c2676b682903d2be8f661ce98ac85fa50c439
2020-08-23 00:33:19 -07:00
Willem Melching
938ce91d02 Pigeon abstraction layer (#1977)
* pigeon abstraction layer

* Fix string literals

* more generic pigeon class

* add TTYpigon

* nicer tty error handling

* close tty fd on pigeon delete

* pigeon receive return std::string

* use sizeof

* max receive size to prevent infinite loop

* remove namespace

* add unistd include for usleep

* fix is pigeon

* Handle tty error in opening

* fix printing binary strings with dump.py

* fix pigeon build on macos

* Handle errors seperately

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 502cc665e0bad89eba0b1c344c2f4f580b153ae1
2020-08-13 10:10:50 +02:00
Adeeb Shihadeh
51c3619f99 add locationd, paramsd, dmonitoringd to CPU usage script
old-commit-hash: 4658df7a668fc5565d2f4665523586ffdc8a5373
2020-07-30 15:28:58 -07:00
Shane Smiskol
24ec522ef6 Add a minimal debugging tool to show the UI while device not in car (#1937)
* add a minimal uiview file with alias from selfdrive/ui

* make ui_debug executable

* minimize uiview.py; remove os and functions. the processes exit normally when ctrl+c'ing out of the loop

* violating E401 here, save 1 more line

* kill on exit

* forgot signal

* new record! 15 lines

* add comments and declare some common variables. don't need to redefine the messages every loop
old-commit-hash: 2e59349b2e4bda54942cb96ba6bba9661ee89b4b
2020-07-28 11:15:16 -07:00
Willem Melching
591dcc26ee skip 1st segment in debug replay
old-commit-hash: 74f95b8b26f39c61f91c83f46bbeb93bb43da968
2020-07-23 17:56:36 +02:00
Adeeb Shihadeh
d88134db74 default to a reasonable amount of segs in replay_drive_can.py
old-commit-hash: b17a6e8f315acfef79e893ea1d804f91bbb60403
2020-07-10 17:58:04 -07:00
Adeeb Shihadeh
b38c33cc47 Boardd loopback test (#1840)
* start boardd loopback test

* let's try this in CI

* fix jenkinsfile

* remove old

* rename

* check msgs

* should be reliable now

* send more
old-commit-hash: 3ab0b4965663bfae88885c503da0c7de2af37f74
2020-07-08 19:42:03 -07:00
Adeeb Shihadeh
1e6034aaf8 bump submodules
old-commit-hash: 491a02d5d6e991f4bf6f2cace7c83c13357a89ee
2020-06-27 17:46:59 -07:00
Adeeb Shihadeh
4c19a49586 Fix some alert sounds not repeating (#1763)
* fix sounds not repeating

* fix PC build

* 3 loop

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: af22b282ff20201914a462488700971cfe32cb20
2020-06-22 19:22:02 -07:00
Comma Device
46f4f3271d fix linter
old-commit-hash: d4e87853550db41f36bedeeb092d1b2de2deb7b4
2020-06-22 16:45:39 -07:00
Comma Device
e23dcec07d bring back cycle_alerts.py
old-commit-hash: c3171e66b35a5db2625bc15d5d82de31d5c2ff4e
2020-06-22 16:25:44 -07:00
Willem Melching
ac40387318 debug script to track droppped frames (#1749)
old-commit-hash: 0681fc04ad39e266dc3b7b621d6ab51c87020529
2020-06-19 16:56:56 -07:00
Willem Melching
9779b2cd8f Big batch of FW versions (#1682)
* wip big batch of fw versions

* Add the rest

* And two more
old-commit-hash: 66ae0854b4cdee8dbc763d365c6e10b57237cec7
2020-06-11 16:37:45 -07:00
Adeeb
9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a0c9fb698c8248a5c28c66c2987ae65
2020-06-03 16:13:34 -07:00
Willem Melching
dbdbef72d6 vehicle model types (#1631)
old-commit-hash: 240041708450d916bb49ee229ee4cff0e5f5ab59
2020-06-03 13:47:47 -07:00
Willem Melching
a56e2b01f8 Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
old-commit-hash: 843a64c72fb94397a1edf814fa66044c8d92acbf
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
8b3418b0f9 enable flake8 E251: unexpected spaces around keyword / parameter equals
old-commit-hash: ebed2d1dcc53f092696b61fd1e004045c9bde893
2020-05-31 17:34:47 -07:00
Adeeb Shihadeh
9823f1164c enable flake8 E303: too many blank lines
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d enable E261 in flake8: two spaces before inline comment
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Adeeb
7965569766 Flake8 E22X (#1607)
* e221

* e225

* bump opendbc
old-commit-hash: 6051061ff8e7809960cc1f2bad9a582801d5a83e
2020-05-31 00:48:47 -07:00
Willem Melching
2ac27def5a Running pre-commit in CI (#1590)
* Running pre-commit in CI

* fix dockerfile syntax

* dont run on submodule repo folders

* Fix some import errors in ci

* more stuff

* That should be the last one
old-commit-hash: ba2ac1207a554d277e01af5b9514de4500d4f66a
2020-05-28 15:40:48 -07:00
Willem Melching
2b60ee9531 Run mypy commit hook (#1591)
* run mypy commit hook

* fix mypy errors
old-commit-hash: 3d08dcc3b27936cb14c0eae63605be9a6c077380
2020-05-28 15:05:04 -07:00
Willem Melching
4022d92155 make pre-commit pass without xx present
old-commit-hash: bee15f8abef98b35d070e931d5b34fd01ca8128e
2020-05-28 13:20:28 -07:00
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: bd0643424357864287ae0485da03f66df85e1fb1
2020-05-27 20:00:14 -07:00
Willem Melching
b1a73d69ea add simple script to print controlsd alive and valid
old-commit-hash: e66c246f34fc1cfa87adb1157e2b44d8927cdd03
2020-05-14 20:16:24 -07:00
Jason Young
53fc3f1e7e Fix hardcoded path in sensor test script (#1481)
* Fix hardcoded path to sensor test script

* Rename the other place too
old-commit-hash: 09d465013c057762fee4c8c4a14a3837b2a9ec5b
2020-05-09 22:17:24 -07:00
Adeeb
64b69bda50 LGTM fixes (#1480)
old-commit-hash: 008700a6b39c3fefe1233fca9adf85cb3413b5b8
2020-05-09 16:40:43 -07:00
George Hotz
d47b2ef576 More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
2020-05-02 20:00:41 -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
Willem Melching
f135b7d4df remove more unused debug scripts
old-commit-hash: cbef7b3e71d708f885318aac3bce75c17bbc0048
2020-04-24 14:21:41 -07:00
Willem Melching
2325580259 msgq is done, messaging bechmarks can go
old-commit-hash: 2d944e404224163ae9fe3da221cc2d238bf74f70
2020-04-24 14:12:41 -07:00
Willem Melching
deecaf4b45 fake processes that are not used
old-commit-hash: ca690e6ff9113279bd0a8f98164fff0b4230019b
2020-04-24 14:12:14 -07:00