Commit Graph

555 Commits (28bf5d1dd8d08cd8998d2ee9d813b7e573858cf9)

Author SHA1 Message Date
Willem Melching 28bf5d1dd8
Rednose (#1503)
* add rednose

* update rednose

* This compiles

* Add rednose to release

* cleanup

* Extract generated dir as argument

* Add constants.py to release

* Add rednose to dockerfile

* Fix that
2020-05-14 15:36:56 -07:00
Adeeb d976233f69
Alerts + Events refactor (#1466) 2020-05-14 15:21:21 -07:00
Jason Young d8d490ef6d
Make timeout setting code reachable (#1509) 2020-05-14 13:03:47 -07:00
Willem Melching 49dd37b81b
Add code to steer using TSS2 LTA message (#1507)
* try again with toyota LTA

* Fix dbc and send at 50Hz

* Add commented code

* Remove unused import

* Remove that
2020-05-13 19:09:51 -07:00
Willem Melching ef33007813 Clip v_cruise to V_CRUISE_MAX 2020-05-13 18:05:24 -07:00
Willem Melching e7ec02e201 speed too high louder alert 2020-05-13 18:02:09 -07:00
Willem Melching add784a7df
remove eigen from phonelibs (#1505) 2020-05-13 16:41:52 -07:00
Willem Melching 69aacd9d17 bump version to 0.7.6 2020-05-13 16:13:38 -07:00
xps-genesis 2c39133c09
Split G80 from Hyundai Genesis (#1502)
Previous commit moved G80 from G90 grouping to Hyundai Genesis grouping.
Bug found as minSteerSpeed is 0 for G80 but 60 for Hyundai Genesis.
Taking @pd0wm recommendation and  ungrouping G80 to its own.
2020-05-13 15:31:30 -07:00
Chris McCammon b0aa834eaf
Remove Brazil Corolla (#1504) 2020-05-13 15:11:10 -07:00
Chris McCammon c1d892ec9b
Add more Lexus ES 2019 FW (#1500)
* Add more Lexus ES 2019 FW

* Found the other FW
2020-05-13 14:33:51 -07:00
xps-genesis 38cdc5777f
CAR.GENESIS_G80 has incorrect parameters (#1499)
Hyundai Genesis 2015-2016 is similar to Genesis G80. The Genesis G90 is the larger vehicle. These are grouped wrongly.
2020-05-13 13:14:52 -07:00
Chris McCammon af70256bc1
Add Brazil 2020 Corolla FW (#1492) 2020-05-13 08:24:05 -07:00
Willem Melching 516fa29738 Fix controlsd typo in refactor 2020-05-12 18:58:18 -07:00
Willem Melching 72db8d890d
Library cleanup (#1491)
* library cleanup

* remove fastcv

* Fix build step

* bump cereal

* bump cereal

* Install capnp

* bump

* no docker cache

* Update installation instructions

* Needs sudo

* Can we sudo?

* Cache was not the problem

* remove static libraries from boardd install script

* Update setup script

* Remove import

* No capnp install in lgtm

* Fix dockerfile
2020-05-12 18:50:07 -07:00
Willem Melching 2ae2c40b29
Fix steering wheel icon showing (#1497)
* this should fix steering wheel icon showing

* fix syntax
2020-05-12 18:17:04 -07:00
Adeeb 08832ff29d
Controlsd refactor (#1487)
* it's a class

* more refactor

* remove that

* car interface should create that

* that too

* not a dict

* don't create permanent events every iteration

* break up long lines

* fix honda

* small optimization

* less long lines

* dict is faster

* latcontrol less args

* longcontrol less args

* update profiling script

* few optimizations

* create events together

* clean up

* more clean up

* remove comment

* clean up

* simplify state transition

* more clean up

* update comments
2020-05-12 15:06:48 -07:00
Chris McCammon 6fb7199f33
Missing engine FW for Sienna (#1486) 2020-05-11 23:08:47 -07:00
Dean Lee 3349b5b3be
use test_bit to determining if a device is a touchscreen (#1389) 2020-05-11 15:30:22 -07:00
Chris Souers e37aaffaad
Add 2020 Honda CRV support (#1464) 2020-05-11 13:52:00 -07:00
Erich Moraga d18eb721ff
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
2020-05-11 13:49:36 -07:00
Harald Schafer ee10697d86 safer 2020-05-10 22:00:41 -07:00
Willem Melching 27ffa29f6c
Fix counter in HKG clu11 message (#1484)
* fix counter in clu11 message

* update ref
2020-05-10 20:13:35 -07:00
Willem Melching 5182da3100 fix update ref script 2020-05-10 18:55:53 -07:00
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