Commit Graph

553 Commits

Author SHA1 Message Date
Adeeb Shihadeh
7e53a42984 Car Port: 2021 Accord 2.0 Touring & Hybrid Touring (#22007)
* Add 2021 Accord 2.0 Touring & Hybrid Touring

- Create the HONDA_BOSCH_EXT set for HONDA_BOSCH cars that utilize the new extended IDs for LKAS_HUD

* Remove ids added to the wrong car

* add comment

* fix undefined signal

* fix tests

Co-authored-by: Chris Souers <csouers@gmail.com>
2021-08-22 12:50:58 -07:00
Adeeb Shihadeh
c8ca56dddd android health daemon (#21965)
* androidd

* three strikes

* better logging

* persistent

* add to release files

* cleanup

* no cpu usage

* colon

Co-authored-by: Comma Device <device@comma.ai>
2021-08-19 16:00:05 -07:00
Adeeb Shihadeh
0415d5ace7 raise thresholds for now 2021-08-18 22:38:44 -07:00
HaraldSchafer
da73249fc2 Retune nidec long (#21941)
* retune civic

* add a deadzone

* large diffs may not be ok

* typo

* seems smooth

* improve pedal

* back to normal

* new ref

* new ref
2021-08-16 17:06:19 -07:00
ZwX1616
00ea7c1c82 DM 0.8.8 (#21897)
* update threshs

* e392

* 40% less

* ref
2021-08-16 12:44:45 -07:00
Adeeb Shihadeh
196f1c364c update tici controlsd cpu usage 2021-08-13 14:52:27 -07:00
Mitchell Goff
05b37552f3 Retuned desire model (#21919)
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950

* Updated process replay refs

* Updated model replay ref
2021-08-12 21:06:26 -07:00
Greg Lincoln
1bb46d0cc8 Kia Niro HEV 2021 port (#21779)
* Initial Niro HEV 2021 port.

* Add test route and update readme.

* Tweak configuration.
2021-08-12 10:45:37 -07:00
Adeeb Shihadeh
e598b78b5d Car Port: Kona Hybrid 2020 (#21912)
* Update carcontroller.py

* Update hyundaican.py

* Update interface.py

* Update interface.py

* Update values.py

* add test route

* merge the konas

* add to readme

Co-authored-by: haram-KONA <88036668+haram-KONA@users.noreply.github.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-11 22:48:12 -07:00
Matthew Washburn
e364084fa6 Sonata Hybrid 2021 (#21850)
* Add support for Hyundai Sonata Hybrid

* Update test_routes.py

* whitespace

* same params as sonata

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-11 22:03:49 -07:00
HaraldSchafer
a8f3e2b3c2 Change long control honda pilot, ridgeline, honda fit, civic, ilx (#21886)
* not used

* just use gas

* allow gas

* try 0

* typo

* set to default

* set default

* makes more sense

* downtune and cleanup

* max accel always

* that is needed to smooth gas to brake

* try downtuning low speed

* try from default

* nidec is not bosch

* air resistance exists

* more smoothing

* wind brake sooner

* Civic experiments2 (#21862)

* control on throttle

* throttle modifier

* get acura in line

* try set speed control again (#21870)

* new acura function

* put back

* put back

* make linter happy

* define wind_brake once

* Civic experiments (#21908)

* remove civic

* start from scratch

* data drivenm

* the data does not lie

* data collection

* data driven

* limit

* final candidate

* fix windbrake

* Civic experiments (#21910)

* remove civic

* start from scratch

* data drivenm

* the data does not lie

* data collection

* data driven

* limit

* final candidate

* fix windbrake

* add acura control

* more cleanup

* cleanup

* update ref

* clip

* seems to fault

* always continuous

* new ref
2021-08-11 18:32:37 -07:00
Willem Melching
fb0d099362 Revert "test_onroad: increase driverState timing to avoid random failures"
This reverts commit aa89bb727e.
2021-08-09 19:25:16 +02:00
Willem Melching
aa89bb727e test_onroad: increase driverState timing to avoid random failures 2021-08-09 11:53:11 +02:00
HaraldSchafer
e0087fc313 Fix orientation in map (#21863)
* fix calibrated orientation

* update ref

* cleaner

* update ref

* master

* update again

* update ref again again

* actually compiled this tim,e
2021-08-05 21:06:46 -07:00
ZwX1616
0066523b88 DM model with better noise performance (#21733)
* smooth 3d4f

* update thresholds

* update ref commt

* update
2021-08-05 16:29:37 -07:00
Adeeb Shihadeh
d68b0bd104 process replay: fix hang after process time out 2021-08-05 14:26:15 -07:00
HaraldSchafer
aa689176fc Cleaner lane change alerts (#21857)
* less is more

* small

* remove HUD warnings

* update ref

* safe

* update refs

* update again

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-05 14:23:27 -07:00
arfy slowy
d74def61f8 fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-05 12:05:49 -07:00
Adeeb Shihadeh
036bc034b8 fix cpu usage test for soundd 2021-08-05 11:58:53 -07:00
Willem Melching
25de93d133 C3 AE improvements (#21698)
* AE improvements

* boardd: also use gain to compute IR brightness

* use default rect for DM autoexposure

* more smooth

* whitespace

* camerad cpu usage

* hcg on is slightly better for noise

* hysteris around high conversion gain

* improve i2c timing

* use AB contexts

* HCG default off

* run at 10 hz

* stay in context A for now

* remove ae thread

* wait till next frame is started before sending i2c

* back at 20fps

* add comment and filter across 3 evs

* remove context switch code

* tuning

* recomened without HCG is 0.8x
2021-08-05 16:34:36 +02:00
Harald Schafer
e63d94d8d2 Revert "nav: use calibrated orientation (#21853)"
This reverts commit 4b209f31a1.
2021-08-04 10:41:49 -07:00
HaraldSchafer
4b209f31a1 nav: use calibrated orientation (#21853)
* calibrate map

* msg added
2021-08-04 09:58:04 -07:00
Mitchell Goff
15d6bbb47c Revert "New desire model (#21729)" (#21805)
* Revert "New desire model (#21729)"

This reverts commit e83973b9b3.

* Updated process replay ref and reverted release notes
2021-07-30 14:34:29 -07:00
Adeeb Shihadeh
f7dc898853 update prius test route (#21791) 2021-07-29 20:04:07 -07:00
Mitchell Goff
e83973b9b3 New desire model (#21729)
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900

* Enable keeps

* use new packet

* Send keep pulses once per second

* Updated model_replay_ref_commit

* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac

* Bump model_replay_ref_commit

* Bump submodules

* New model: fd904bf9-5dd8-4619-8997-c5668400e078/550

* New model: fd904bf9-5dd8-4619-8997-c5668400e078/950

* No keeps

* Bumped model replay ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2021-07-26 21:11:09 -07:00
HaraldSchafer
4bd4ed4999 safer low speed (#21705) 2021-07-25 15:15:50 -07:00
Jason Young
b764261db2 VW MQB: Volkswagen T-Cross Mk1 (#21709)
* add support for 2021 VW T-Cross

* revert laika change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-25 13:38:33 -07:00
Adeeb Shihadeh
2f18715f76 debug message for process replay 2021-07-21 17:21:37 -07:00
Adeeb Shihadeh
507cfc8910 jenkins: rm everything except git dir (#21658) 2021-07-19 14:44:16 -07:00
Adeeb Shihadeh
a612cce0b7 fix soundd tests 2021-07-16 20:35:20 -07:00
Adeeb Shihadeh
12948e661a soundd (#21619)
* refactor alerts

* doesn't go here anymore

* soudd

* handle controls unresponsive

* same check

* fix path

* update sound test

* nice

* fix c2

* add script

* update tests

Co-authored-by: Comma Device <device@comma.ai>
2021-07-16 17:30:00 -07:00
HaraldSchafer
9e8d99b530 Extra longitudinal unit tests (#21601)
* linter needs this

* unit test radar override
2021-07-14 12:38:47 -07:00
HaraldSchafer
ef0b120a9a add jerk to longitudinal plan (#21598)
* add jerk output, so its like lateral

* typo

* add to packet

* update cereal and ref
2021-07-14 11:51:48 -07:00
HaraldSchafer
5d07819084 Taper off high speed accel (#21599)
* max 0.2 diff from before to preserve bad tuned cars

* update ref
2021-07-14 10:53:14 -07:00
HaraldSchafer
6a93346729 fix low speed override bug and cut-in bug (#21593)
* fix low speed bug and cutin bug

* update ref
2021-07-13 23:36:25 -07:00
HaraldSchafer
fd41e9f01b Lower speed for lowest planned acceleration (#21578)
* 55mph sounds about right

* update refs
2021-07-13 14:22:06 -07:00
Adeeb Shihadeh
88424ede2c Revert model (#21571)
* Revert "New desire model (#21458)"

This reverts commit 4230d5d212.

* revert rel notes
2021-07-12 19:26:50 -07:00
HaraldSchafer
a42d8f3a14 less accel (#21565)
* less accel

* new refs

* Update longitudinal_planner.py

* update refs
2021-07-12 18:30:56 -07:00
Adeeb Shihadeh
af9091c8c4 unmount overlay in jenkins setup 2021-07-12 17:32:12 -07:00
Adeeb Shihadeh
6d9dc9945a Honda: keep braking after PCM disables cruise (#21510)
* Honda: keep braking after PCM disables cruise

* update refs
2021-07-11 19:31:09 -07:00
Jafar Al-Gharaibeh
ff704e18b7 Car Port: Mazda CX-9 2021 (#20864)
* Mazda CX-9 no steer lockout, and newer cars can use more torque

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda CX-9 2021 test route

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* cleanup

* more cleanup

* don't show community features alert if dashcam only

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-10 23:50:03 -07:00
Harald Schafer
8c4582c87a new refs 2021-07-09 16:38:23 -07:00
Harald Schafer
f60d169bb4 upload original 2021-07-09 16:32:04 -07:00
Harald Schafer
1979005e82 update 2021-07-09 16:31:34 -07:00
Harald Schafer
472442111b fix exclude pattern 2021-07-09 15:51:08 -07:00
Harald Schafer
0cbb3b44e2 rm debug print 2021-07-09 15:14:05 -07:00
Adeeb Shihadeh
22a8433a84 send real frames in regen 2021-07-09 15:11:47 -07:00
HaraldSchafer
4230d5d212 New desire model (#21458)
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900

* Enable keeps

* use new packet

* Send keep pulses once per second

* Updated model_replay_ref_commit

* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac

* Bump model_replay_ref_commit

Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
2021-07-07 19:44:17 -07:00
HaraldSchafer
be5ddd25cd Refactor long (#21433)
* refactor

* needs casting

* tests pass

* fix that test

* refactor in controls

* lets not go crazy

* change of names

* use constants

* better naming

* renamed

* soft constraints

* compile slack variables

* rm git conflict

* add slack variables

* unused

* new edition

* fcw

* fix tests

* dividing causes problems

* was way too slow

* take a step back

* byeeee

* for another time

* bad idxs

* little more cpu for cruise mpc

* update refs

* these limits seem fine

* rename

* test model timings fails sometimes

* add default

* save some cpu

* Revert "little more cpu for cruise mpc"

This reverts commit f0a8163ec90e8dc1eabb3c4a4268ad330d23374d.

* Revert "test model timings fails sometimes"

This reverts commit d259d845710ed2cbeb28b383e2600476527d4838.

* update refs

* less cpu

* Revert "Revert "test model timings fails sometimes""

This reverts commit e0263050d9929bfc7ee70c9788234541a4a8461c.

* Revert "less cpu"

This reverts commit 679007472bc2013e7fafb7b17de7a43d6f82359a.

* cleanup

* not too much until we clean up mpc

* more cost on jerk

* change ref

* add todo

* new ref

* indentation
2021-07-07 19:42:26 -07:00
Jason Young
cfe97fcc49 HKG: 2019 Kia Niro PHEV (#21481)
* Testing addition of 2019 Kira Niro PHEV

* Testing addition of 2019 Kia Niro PHEV

* Fix typos

* Remove bad Optima fw, switch Niro to FPv2

* Set minimum steer speed for 2019 Kia Niro HEV/PHEV

* Add 2019 Kia Niro PHEV to README

* Fix typo

* apparently we get trailing garbage sometimes

* No FCA11 message, also use ELECT_GEAR

* i am not good with alphabet

* Add test route for Niro HEV

* Remove LFA for 2019; no legacy safety

* minSteerSpeed handling

* vehicle disengages SCC below 10mph

* no longer need Genesis specific code for minSteerSpeed

* simplify
2021-07-07 19:24:13 -07:00