Commit Graph

3781 Commits

Author SHA1 Message Date
Adeeb Shihadeh 10ae22a192 delete unused lines 2020-05-10 11:25:42 -07:00
Jason Young 09d465013c Fix hardcoded path in sensor test script (#1481)
* Fix hardcoded path to sensor test script

* Rename the other place too
2020-05-09 22:17:24 -07:00
Adeeb Shihadeh 48dec51f0e fix circular import reported by LGTM 2020-05-09 16:47:36 -07:00
Adeeb 008700a6b3 LGTM fixes (#1480) 2020-05-09 16:40:43 -07:00
Willem Melching f7c8707bf8 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
2020-05-08 21:04:55 -07:00
George Hotz 7c71a14a89 remove locationd from car started processes for now 2020-05-08 20:30:57 -07:00
robbederks 71bebc4fca 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
2020-05-08 19:39:18 -07:00
William aef01f4bdf 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
2020-05-08 18:08:11 -07:00
HaraldSchafer 65fcc7c45f Better poly (#1437)
- better polyfitting
- no mpc cost change during lane change
- model trained with better ll gt, sim noise and guaranteed memories
2020-05-08 17:14:43 -07:00
Adeeb 46f3665279 Move swaglog to cpp + remove another lib (#1470) 2020-05-08 14:46:10 -07:00
Adeeb Shihadeh 27303c2d5d don't need c capnp any more 2020-05-07 21:07:18 -07:00
Dean Lee b6d6f52032 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
2020-05-07 20:14:30 -07:00
Patrick Violette 28128cbbeb [Honda FW Versions] Add values for combinationMeter and programmedFuelInjection. (#1463)
Honda Civic Hatchback, 2019 shows these in the carParams.
2020-05-06 13:33:07 -07:00
Dean Lee ee725534bb 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
2020-05-06 08:38:26 -07:00
Adeeb Shihadeh 9670f8fb9f these don't need json 2020-05-04 23:37:07 -07:00
George Hotz d5ca841b0f Revert "Bypass alignment related copy whenever possible (#1443)"
This reverts commit b225016628.
2020-05-04 09:54:05 -07:00
Adeeb Shihadeh ad2c54e991 fake less of PubMaster and SubMaster when profiling 2020-05-03 17:41:26 -07:00
Dean Lee 75abfe28d5 fix wrong order of cleanup calls (#1461) 2020-05-03 08:28:10 -07:00
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