Commit Graph

7421 Commits

Author SHA1 Message Date
Andre Volmensky 135385c5fb Bugfix: Reset saturated_count if angle no longer saturated (#1522) 2020-05-16 01:14:10 -07:00
Chris Souers 7abcf71f92 These lines are an unlabeled duplicate of the 4 below it. (#1519) 2020-05-15 18:30:19 -07:00
Willem Melching c18891b936 Alert callback functions were returning tuples 2020-05-15 18:29:22 -07:00
Chris Souers b9b8e61e93 Add ECM ID for 2018 Civic Hatchback (#1518) 2020-05-15 16:36:07 -07:00
Willem Melching 896bd1b5c7 use base class in car_kf 2020-05-15 15:48:48 -07:00
Harald Schafer 273e81715a xRevert "way cleaner"
This reverts commit a4ffd8c226.
2020-05-15 14:29:34 -07:00
Harald Schafer a4ffd8c226 way cleaner 2020-05-15 14:24:11 -07:00
Willem Melching 2cc218e144 lane kf was not built 2020-05-15 14:22:36 -07:00
Willem Melching ed5284f9b3 turn locationd back on 2020-05-15 13:53:45 -07:00
George Hotz 302d06ee70 thneed saves 45% of a core (#1512)
* thneed runs the model

* thneed is doing the hooking

* set kernel args

* thneeding the bufferS

* print the images well

* thneeds with better buffers

* includes

* disasm adreno

* parse packets

* disasm works

* disasm better

* more thneeding

* much thneeding

* much more thneeding

* thneed works i think

* thneed is patient

* thneed works

* 7.7%

* gpuobj sync

* yay, it mallocs now

* cleaning it up, Thneed

* sync objs and set power

* thneed needs inputs and outputs

* thneed in modeld

* special modeld runs

* can't thneed the DSP

* test is weird

* thneed modeld uses 6.4% CPU

* add thneed to release

* move to debug

* delete some junk from the pr

* always track the timestamp

* timestamp hacks in thneed

* create a new command queue

* fix timestamp

* pretty much back to what we had, you can't use SNPE with thneed

* improve thneed test

* disable save log

Co-authored-by: Comma Device <device@comma.ai>
2020-05-15 13:53:01 -07:00
Willem Melching c85b174584 White panda is deprecated (#1516)
* Start white panda deprecation

* Unify alert text

* Add noentry

* Change to no longer supported

* panda is lowercase

* Capitalize

* rerun ci
2020-05-15 13:00:00 -07:00
Willem Melching 631d0d94d3 Fix two event names 2020-05-15 12:24:12 -07:00
Willem Melching e66c246f34 add simple script to print controlsd alive and valid 2020-05-14 20:16:24 -07:00
Paweł Goliński 8b0ab73fef Use Conversions in calibrationd (#1511) 2020-05-14 17:56:45 -07:00
Bruce Wayne f8a0eb0f7a make linter happy 2020-05-14 17:38:52 -07:00
Harald Schafer 013e49bf90 too complex 2020-05-14 16:30:00 -07:00
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