Commit Graph

513 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
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
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
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
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
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
Willem Melching
5777701b42 Cleanup redundant min steer speed in hyundai 2020-04-30 10:36:34 -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
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
8db89a6b04 Return avg angle offset 2020-04-28 17:47:04 -07:00
Willem Melching
9159a8d701 Retune stiffness 2020-04-28 15:30:11 -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
Erich Moraga
009c32d516 Add HIGHLANDERH_TSS2 Support (#1425)
* exclude HIGHLANDERH_TSS2

* add HIGHLANDERH_TSS2 support

* Add HIGHLANDERH_TSS2 Support

* Add HIGHLANDERH_TSS2 Support

* Added to IGNORED_FINGERPRINTS per @pd0wm
2020-04-27 14:56:30 -07:00
Willem Melching
09ac646abd Unblock stdout in testing slave script 2020-04-27 14:11:38 -07:00
Willem Melching
f7f0a81d13 Remove fake yaw rate from carstate (#1426)
* remove fake yaw rate from carstate

* update ref
2020-04-27 14:10:07 -07:00
HaraldSchafer
368b65e29b angles instead of vp (#1421)
* angles instead of vo

* clean migration
2020-04-27 13:58:36 -07:00
Willem Melching
d837b68a76 Add CRV_5G FW versions 2020-04-27 10:44:36 -07:00
Chris Souers
17a743f5a7 Add FW IDs for 2018 Civic Sedan 1.5 Executive (Euro) (#1417) 2020-04-24 14:51:17 -07:00
Willem Melching
cbef7b3e71 remove more unused debug scripts 2020-04-24 14:21:41 -07:00
Willem Melching
2d944e4042 msgq is done, messaging bechmarks can go 2020-04-24 14:12:41 -07:00
Willem Melching
ca690e6ff9 fake processes that are not used 2020-04-24 14:12:14 -07:00
Willem Melching
aa84d05c6c We dont need toyota debug folder 2020-04-24 14:10:56 -07:00
Willem Melching
70ae01e3cd remove yet another reverse geocoder 2020-04-24 14:07:36 -07:00
Willem Melching
267ee4d73b no more geofence 2020-04-24 14:06:17 -07:00
Willem Melching
42f741d6ff No more line following robots 2020-04-24 14:05:19 -07:00
Willem Melching
d0d117a999 this is now in the panda repo 2020-04-24 14:04:26 -07:00
Willem Melching
90eb7aadf2 move sensor bootloop script 2020-04-24 14:03:55 -07:00
Willem Melching
035d461fdf that is not a test 2020-04-24 14:02:35 -07:00
George Hotz
abad49110e delete more unused, now under 40k lines of python. framereader needs to be ported to C++ 2020-04-24 13:45:34 -07:00
George Hotz
8b448a7c16 delete unused code 2020-04-24 12:10:35 -07:00
Dean Lee
35362965d6 cltuil.c:fix build warning (#1419) 2020-04-24 07:13:43 -07:00