Commit Graph

11597 Commits

Author SHA1 Message Date
Adeeb Shihadeh 004c0e277b fake less of PubMaster and SubMaster when profiling
old-commit-hash: ad2c54e991
2020-05-03 17:41:26 -07:00
Dean Lee 0a3dfb0476 fix wrong order of cleanup calls (#1461)
old-commit-hash: 75abfe28d5
2020-05-03 08:28:10 -07:00
ZwX1616 aada0e9a66 bad AF state logging (#1365)
old-commit-hash: 968e2585cc
2020-05-02 21: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: e568d3cadc
2020-05-02 20:00:41 -07:00
George Hotz 0fcd08af91 Add C++ support for LGTM (#1456)
* cpp analysis

* switch to index command

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: eb67c74a44
2020-05-02 14:21:27 -07:00
Erich Moraga 601809cc21 ESP f/w F152642521 for CAR.RAV4H_TSS2 (#1448)
DongleID 08ae2ec6875e165c
old-commit-hash: cb5076b4b2
2020-05-02 12:11:11 -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: 1295cfe06c
2020-05-02 12:07:34 -07:00
Dean Lee c1641cc035 simplify drawing text and rect (#1446)
* add ui_draw_text

remove draw textbox

make draw_text static

add blank line

* add ui_draw_text

remove draw textbox

make draw_text static

add blank line

add ui_draw_rect

draw rounded rect

fx typo

* remove used variables

* reduce lines

fix typo

* resolve confilit
old-commit-hash: 846a58507f
2020-05-02 11:27:03 -07:00
Erich Moraga 9974fa017f Line # 9 was a duplicate to # 5 (#1451)
Duplicate line...
#include <string.h>
old-commit-hash: c30b3b9fc9
2020-05-02 08:25:17 -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: b225016628
2020-05-01 19:21:00 -07:00
Dean Lee 5da84ba511 simplify drawing circle images (#1445)
* simplify drawing circle images

add static

set default color to 0 0 0 0

remove lines

* fix img_weel_y

* use color macro
old-commit-hash: 4857f45d6a
2020-05-01 19:16:17 -07:00
Adeeb Shihadeh baa5f498b5 bump opendbc
old-commit-hash: 3dd62c1021
2020-05-01 13:55:55 -07:00
Adeeb 614adb569e Add steerWarning and steerError to carState (#1444)
* Add steerWarning and steerError to carState

* fix gm and hyundai

* update refs
old-commit-hash: 337529d5cb
2020-05-01 13:13:12 -07:00
Willem Melching f9a65e38b5 Less hardcoded values in profiling script
old-commit-hash: 5d69e97281
2020-05-01 11:38:30 -07:00
Willem Melching 730615c123 small cleanup of profiling script
old-commit-hash: 4301c5efb5
2020-05-01 10:49:02 -07:00
Willem Melching 46ab48372b run both deterministic and statistical profiler
old-commit-hash: b3e7d94303
2020-04-30 17:39:37 -07:00
Willem Melching 06012f4867 use proper cachegrind extension
old-commit-hash: 04bc4a0e45
2020-04-30 17:07:46 -07:00
Willem Melching fa6ec935e2 Remove comments from Sconstruct
old-commit-hash: c624edb57c
2020-04-30 16:42:34 -07:00
Willem Melching 6993b1ecca Build log_index using scons
old-commit-hash: 845abed5db
2020-04-30 16:26:11 -07:00
Willem Melching 1a825681b3 Write profiling result after running
old-commit-hash: 079c9e714b
2020-04-30 16:19:12 -07:00
Adeeb 2087fb940b Chrsyler: calculate checksum in CAN packer (#1438)
old-commit-hash: 6ff08f8dee
2020-04-30 15:43:59 -07:00
George Hotz 1a5a6640d5 add simple usage example to window.py
old-commit-hash: c4592e8547
2020-04-30 15:31:01 -07:00
Willem Melching 3314b9ee47 Run controlsd without sockets
old-commit-hash: 4d03b8536f
2020-04-30 15:15:19 -07:00
Willem Melching db8dd33efc Logreader can take car of downloading the files
old-commit-hash: 71589fc92e
2020-04-30 15:09:19 -07:00
Willem Melching 4ce92ab902 Handle loop and multiple publishers
old-commit-hash: e2493c2221
2020-04-30 14:33:58 -07:00
Willem Melching 9e9d359d62 Move minSteerSpeed to base interface
old-commit-hash: e1a2fbea51
2020-04-30 14:13:33 -07:00
Shane Smiskol eb99eae1f6 remove redundant ret.steerControlType line, fix indentation in toyota/carcontroller.py (#1442)
old-commit-hash: e7ae7b9850
2020-04-30 14:11:31 -07:00
Dean Lee 40dfc4874b better ui_draw() (#1432)
* better ui_draw()

* fix missed border

reduce code

remove white line
old-commit-hash: 3fe3afeede
2020-04-30 12:11:35 -07:00
Greg Hogan 22b70c7394 tensorflow-gpu==2.2.0rc4
old-commit-hash: 3e78705761
2020-04-30 12:10:58 -07:00
Willem Melching 406e13e6d0 Cleanup redundant min steer speed in hyundai
old-commit-hash: 5777701b42
2020-04-30 10:36:34 -07:00
ZwX1616 08e4f3b0f1 fix DLC for new SNPE
old-commit-hash: 90c9073250
2020-04-29 20:01:38 -07:00
Willem Melching 39cce620d4 Revert "fix memory leak in encoder_close (#1366)"
This reverts commit 62f812dca8fda5da7e14252cfcdd8c1ebef38c2c.

old-commit-hash: 9ad6cbbe6d
2020-04-29 16:14:51 -07:00
Willem Melching e95719f5e9 bump opendbc
old-commit-hash: 8b65975925
2020-04-29 13:52:00 -07:00
Chris Souers 3f7578d570 Rename Honda Bosch RDM signal names
old-commit-hash: 000deb1842
2020-04-29 13:51:44 -07:00
TK211X 7dc70a57e4 Update Elantra Values (#1430)
* Update Elantra Values one last time

I got the params learner values from EON. These are the values it settled on after driving over a week.

* Include Stiffness Params Value.

* Update interface.py
old-commit-hash: db3864b6ca
2020-04-29 13:32:25 -07:00
Willem Melching 66f55e9837 remove pyqt5
old-commit-hash: bb02a565b5
2020-04-29 13:11:12 -07:00
Harald Schafer f6c96a59ee newest
old-commit-hash: 2a2d27b6fd
2020-04-29 12:03:00 -07:00
HaraldSchafer ed76f95dc1 Sim noise model (#1433)
* 62cb2c3a-7c18-4b09-91ea-c69a1496a839/30

* epoch 90

* looks pretty good

* newest model

* 12570fba-bfe4-43f6-aed0-2078c4ae6dba/40
old-commit-hash: 03b6b2e9ed
2020-04-28 20:05:15 -07:00
Harald Schafer ea7e91ccac py3.8
old-commit-hash: 568036e42d
2020-04-28 17:48:47 -07:00
Willem Melching 548c4a805e Return avg angle offset
old-commit-hash: 8db89a6b04
2020-04-28 17:47:04 -07:00
andyh2 d78759fd80 offroad @ openpilot-apks#a2d5674b
old-commit-hash: ae37626ecd
2020-04-28 16:32:48 -07:00
Willem Melching d4f6703e3f No looping
old-commit-hash: c4f62b4b8e
2020-04-28 15:30:11 -07:00
Willem Melching 4d7d4dd627 Retune stiffness
old-commit-hash: 9159a8d701
2020-04-28 15:30:11 -07:00
George Hotz a89ff6873e remove unused overpy, bump ubuntu_setup to 3.8.2
old-commit-hash: 0a6d9a7bbd
2020-04-28 15:23:39 -07:00
Willem Melching 54cf07960f Also catch ValueError from framereader
old-commit-hash: 794cfcf043
2020-04-28 15:13:45 -07:00
Willem Melching 12101b1394 Unlog segments in a 100 lines
old-commit-hash: 8068fee939
2020-04-28 15:12:06 -07:00
Willem Melching d06812aad6 bump panda
old-commit-hash: 8cbe34a810
2020-04-28 14:13:42 -07:00
Chris Souers 28470d47f6 Static 0xe5 on Honda Bosch (#1420)
* Recreate a static 0xe5 and send to radar

* remove unneeded declaration

* Update ref_commit
old-commit-hash: 0f530be2b4
2020-04-28 14:12:46 -07:00
Dean Lee 4622ab2944 replace duplicate codes with variable (#1431)
* eplace duplicate codes with variable

* remove space
old-commit-hash: b2be607974
2020-04-28 13:44:57 -07:00
Willem Melching 4610143f9d Remove fault addr from tombstone title
old-commit-hash: e1685b9019
2020-04-28 11:32:42 -07:00