Commit Graph

781 Commits

Author SHA1 Message Date
ZwX1616
968e2585cc bad AF state logging (#1365) 2020-05-02 21:40:43 -07:00
George Hotz
e568d3cadc More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-02 20:00:41 -07:00
George Hotz
eb67c74a44 Add C++ support for LGTM (#1456)
* cpp analysis

* switch to index command

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-02 14:21:27 -07:00
Erich Moraga
cb5076b4b2 ESP f/w F152642521 for CAR.RAV4H_TSS2 (#1448)
DongleID 08ae2ec6875e165c
2020-05-02 12:11:11 -07:00
George Hotz
1295cfe06c 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>
2020-05-02 12:07:34 -07:00
Dean Lee
846a58507f 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
2020-05-02 11:27:03 -07:00
Erich Moraga
c30b3b9fc9 Line # 9 was a duplicate to # 5 (#1451)
Duplicate line...
#include <string.h>
2020-05-02 08:25:17 -07:00
Dean Lee
b225016628 Bypass alignment related copy whenever possible (#1443)
remove blank lines

add file messagehelp.h

remove blank line

simplify

after review
2020-05-01 19:21:00 -07:00
Dean Lee
4857f45d6a 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
2020-05-01 19:16:17 -07:00
Adeeb Shihadeh
3dd62c1021 bump opendbc 2020-05-01 13:55:55 -07:00
Adeeb
337529d5cb Add steerWarning and steerError to carState (#1444)
* Add steerWarning and steerError to carState

* fix gm and hyundai

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

* fix missed border

reduce code

remove white line
2020-04-30 12:11:35 -07:00
Greg Hogan
3e78705761 tensorflow-gpu==2.2.0rc4 2020-04-30 12:10:58 -07:00
Willem Melching
5777701b42 Cleanup redundant min steer speed in hyundai 2020-04-30 10:36:34 -07:00
ZwX1616
90c9073250 fix DLC for new SNPE 2020-04-29 20:01:38 -07:00
Willem Melching
9ad6cbbe6d Revert "fix memory leak in encoder_close (#1366)"
This reverts commit 3b3eebb137.
2020-04-29 16:14:51 -07:00
Willem Melching
8b65975925 bump opendbc 2020-04-29 13:52:00 -07:00
Chris Souers
000deb1842 Rename Honda Bosch RDM signal names 2020-04-29 13:51:44 -07:00
TK211X
db3864b6ca 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
2020-04-29 13:32:25 -07:00
Willem Melching
bb02a565b5 remove pyqt5 2020-04-29 13:11:12 -07:00
Harald Schafer
2a2d27b6fd newest 2020-04-29 12:03:00 -07:00
HaraldSchafer
03b6b2e9ed Sim noise model (#1433)
* 62cb2c3a-7c18-4b09-91ea-c69a1496a839/30

* epoch 90

* looks pretty good

* newest model

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

* remove unneeded declaration

* Update ref_commit
2020-04-28 14:12:46 -07:00
Dean Lee
b2be607974 replace duplicate codes with variable (#1431)
* eplace duplicate codes with variable

* remove space
2020-04-28 13:44:57 -07:00
Willem Melching
e1685b9019 Remove fault addr from tombstone title 2020-04-28 11:32:42 -07:00
Willem Melching
b2aefd252f Faster sR and stiffness factor 2020-04-27 16:39:27 -07:00
Willem Melching
94bba46d6d Hyundai: use same gas pressed bit as in panda (#1428)
* use same bit as in panda

* remove lines

* update ref

* switch gas pedal signal
2020-04-27 15:28:34 -07:00