Commit Graph

820 Commits

Author SHA1 Message Date
Dean Lee
b53eaeffce use test_bit to determining if a device is a touchscreen (#1389)
old-commit-hash: 3349b5b3be
2020-05-11 15:30:22 -07:00
Chris Souers
bfdf06206e Add 2020 Honda CRV support (#1464)
old-commit-hash: e37aaffaad
2020-05-11 13:52:00 -07:00
Erich Moraga
229a72ef3e DSU firmware for CAR.RAV4H (#1474)
* DSU firmware for CAR.RAV4H

@csullivan#3202 944e3f96fd78a72f``944e3f96fd78a72f|2020-04-25--12-03-43

* Additional CAR.RAV4H DSU firmware

Pulled 881514202200 from @zerofinalblue#3567's 2017 RAV4 hybrid FPv2 output. 
79a302dcf774b7a4|2020-05-08--12-38-57
old-commit-hash: d18eb721ff
2020-05-11 13:49:36 -07:00
Harald Schafer
02eeef5f2b safer
old-commit-hash: ee10697d86
2020-05-10 22:00:41 -07:00
Willem Melching
c77e9b1f59 Fix counter in HKG clu11 message (#1484)
* fix counter in clu11 message

* update ref
old-commit-hash: 27ffa29f6c
2020-05-10 20:13:35 -07:00
Willem Melching
587d00d24a fix update ref script
old-commit-hash: 5182da3100
2020-05-10 18:55:53 -07:00
Adeeb Shihadeh
bd980f6048 delete unused lines
old-commit-hash: 10ae22a192
2020-05-10 11:25:42 -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: 09d465013c
2020-05-09 22:17:24 -07:00
Adeeb Shihadeh
0a5273bf46 fix circular import reported by LGTM
old-commit-hash: 48dec51f0e
2020-05-09 16:47:36 -07:00
Adeeb
64b69bda50 LGTM fixes (#1480)
old-commit-hash: 008700a6b3
2020-05-09 16:40:43 -07:00
Willem Melching
83d02c8c4a Don't show "no gps" when ubloxd is not running (#1479)
* dont show no gps when ubloxd is not running

* Just s

* Dropped that

* Connected is too long
old-commit-hash: f7c8707bf8
2020-05-08 21:04:55 -07:00
George Hotz
d7fcbc9c4b remove locationd from car started processes for now
old-commit-hash: 7c71a14a89
2020-05-08 20:30:57 -07:00
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
2020-05-08 19:39:18 -07:00
William
798e1a8908 Shebang Fix (#1477)
* Shebang Fix

Per George's "I'd merge a PR replacing the 4 python3.7 with python3" on Discord. George updated Python to 3.8.2 for webcam tools, which broke manager from launching. Instead of chasing the exact version, it seems more reasonable to fall back to 3.

* More Python3.7's
old-commit-hash: aef01f4bdf
2020-05-08 18:08:11 -07:00
HaraldSchafer
f3747d2fe5 Better poly (#1437)
- better polyfitting
- no mpc cost change during lane change
- model trained with better ll gt, sim noise and guaranteed memories
old-commit-hash: 65fcc7c45f
2020-05-08 17:14:43 -07:00
Adeeb
b1cbd898f1 Move swaglog to cpp + remove another lib (#1470)
old-commit-hash: 46f3665279
2020-05-08 14:46:10 -07:00
Adeeb Shihadeh
45b9284fd0 don't need c capnp any more
old-commit-hash: 27303c2d5d
2020-05-07 21:07:18 -07:00
Dean Lee
0b0674ef20 camerad: move c-capnp to c++ (#1472)
* convert c-capnp to c++

change paramater type

* remove c-capnp header from commonmodel.c

* unsigned short -> uint16_t

* MSM_CAMERA_I2C_ADDR_TYPE_MAX->4
old-commit-hash: b6d6f52032
2020-05-07 20:14:30 -07:00
Patrick Violette
8decbd547a [Honda FW Versions] Add values for combinationMeter and programmedFuelInjection. (#1463)
Honda Civic Hatchback, 2019 shows these in the carParams.
old-commit-hash: 28128cbbeb
2020-05-06 13:33:07 -07:00
Dean Lee
90af65c41c UI: move c-capnp to c++ (#1455)
* ui:move c-capnp to c++

* move Subsockets into vector

* rename reader to msg

include cereal/gen/cpp/log.capnp

* fix some errors

restore some changes

restore previous

* cleanup codes

cleanup codes

* remove unused variable alert_size

* handle capnproto's enum in a robust way

add break to default

* switch -> std:map

* use static std::map instead of switch

do cleanup

* fix wrong variable name

* use FlatArrayMessageReader instead of custom MessageReader

remove messagehelp.h

Revert "use FlatArrayMessageReader instead of custom MessageReader"

This reverts commit 57d8b6b1e2b4bad908246f35eb068535b1627167.

use FlatArrayMessageReader instead of custom MessageReader

add header file

remove capnp_c lib,add kj lib

include serialize.h

fix

remove duplicate includes
old-commit-hash: ee725534bb
2020-05-06 08:38:26 -07:00
Adeeb Shihadeh
7bc6491502 these don't need json
old-commit-hash: 9670f8fb9f
2020-05-04 23:37:07 -07:00
George Hotz
16cbb5e255 Revert "Bypass alignment related copy whenever possible (#1443)"
This reverts commit 235d4f8957ee4566d6217783638fa58a586bb35a.

old-commit-hash: d5ca841b0f
2020-05-04 09:54:05 -07:00
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
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
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
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
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
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
Willem Melching
406e13e6d0 Cleanup redundant min steer speed in hyundai
old-commit-hash: 5777701b42
2020-04-30 10:36:34 -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
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
548c4a805e Return avg angle offset
old-commit-hash: 8db89a6b04
2020-04-28 17:47:04 -07:00
Willem Melching
4d7d4dd627 Retune stiffness
old-commit-hash: 9159a8d701
2020-04-28 15:30:11 -07:00