Commit Graph

577 Commits

Author SHA1 Message Date
Mitchell Goff 3fb1a1c746 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>
old-commit-hash: e83973b9b31199c1594b9be2371a7af0c589c2d9
2021-07-26 21:11:09 -07:00
HaraldSchafer dee5a3e9a0 safer low speed (#21705)
old-commit-hash: 4bd4ed4999ef86824ef2d3a9dfa86ba61ae24b4f
2021-07-25 15:15:50 -07:00
Jason Young c20fac6207 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>
old-commit-hash: b764261db22ddaf2ec43de14f6e357a36b6a6604
2021-07-25 13:38:33 -07:00
Adeeb Shihadeh 3f441b3627 debug message for process replay
old-commit-hash: 2f18715f7668b407cf752edbc0762726984bf371
2021-07-21 17:21:37 -07:00
Adeeb Shihadeh af1e998ba6 jenkins: rm everything except git dir (#21658)
old-commit-hash: 507cfc8910f74ddb8810039d68b880b426ff9ff9
2021-07-19 14:44:16 -07:00
Adeeb Shihadeh 199d522567 fix soundd tests
old-commit-hash: a612cce0b739219c3bbc3c2d28a8bbd92e3ec3a4
2021-07-16 20:35:20 -07:00
Adeeb Shihadeh 6eea281a19 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>
old-commit-hash: 12948e661a6b6424739082ee614d81b4549c2753
2021-07-16 17:30:00 -07:00
HaraldSchafer 7460689ec6 Extra longitudinal unit tests (#21601)
* linter needs this

* unit test radar override
old-commit-hash: 9e8d99b530709eb2a716692f2940fee63daf8803
2021-07-14 12:38:47 -07:00
HaraldSchafer 4455ae1b86 add jerk to longitudinal plan (#21598)
* add jerk output, so its like lateral

* typo

* add to packet

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

* update ref
old-commit-hash: 5d078190840adf2e6d50cdd3937ca407538886e6
2021-07-14 10:53:14 -07:00
HaraldSchafer 8fdfa3b97d fix low speed override bug and cut-in bug (#21593)
* fix low speed bug and cutin bug

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

* update refs
old-commit-hash: fd41e9f01b98e259f7c8431a79d71636075e4504
2021-07-13 14:22:06 -07:00
Adeeb Shihadeh 477e2e22d3 Revert model (#21571)
* Revert "New desire model (#21458)"

This reverts commit 9db03d2a3fefff50b738d288beadc2c2e7c3165e.

* revert rel notes
old-commit-hash: 88424ede2c5bdd2beade731717cbb0bb635034e9
2021-07-12 19:26:50 -07:00
HaraldSchafer 91d5b10426 less accel (#21565)
* less accel

* new refs

* Update longitudinal_planner.py

* update refs
old-commit-hash: a42d8f3a14132c3c0826ed106d61a617ce41936e
2021-07-12 18:30:56 -07:00
Adeeb Shihadeh 91a2f9041b unmount overlay in jenkins setup
old-commit-hash: af9091c8c4cb329d9e36b4a06ec684402b50f4a9
2021-07-12 17:32:12 -07:00
Adeeb Shihadeh 7c9ce25b05 Honda: keep braking after PCM disables cruise (#21510)
* Honda: keep braking after PCM disables cruise

* update refs
old-commit-hash: 6d9dc9945a9334cb8554fe6e1617f93a2415ae73
2021-07-11 19:31:09 -07:00
Jafar Al-Gharaibeh 26990b19b9 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>
old-commit-hash: ff704e18b7797d093191950825e8c76623b9f5a6
2021-07-10 23:50:03 -07:00
Harald Schafer 0e78640d36 new refs
old-commit-hash: 8c4582c87af00dc9d79d4e511f8543331f957669
2021-07-09 16:38:23 -07:00
Harald Schafer 6e8f439dce upload original
old-commit-hash: f60d169bb4fc56110ffc420395a1fb7d28b45094
2021-07-09 16:32:04 -07:00
Harald Schafer 6aca5f9f38 update
old-commit-hash: 1979005e8215990541170aaf6e1ae8c9f9cdbdbb
2021-07-09 16:31:34 -07:00
Harald Schafer 1ab68e18d3 fix exclude pattern
old-commit-hash: 472442111b6077ff758ad9e46828c7c97925927b
2021-07-09 15:51:08 -07:00
Harald Schafer f7e3c2eea9 rm debug print
old-commit-hash: 0cbb3b44e2f61f6a450fd4da692e874452edcf34
2021-07-09 15:14:05 -07:00
Adeeb Shihadeh f9a9899fbf send real frames in regen
old-commit-hash: 22a8433a84857c2398ea86a47e5d8af087a3abc4
2021-07-09 15:11:47 -07:00
HaraldSchafer 7fcdd04541 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>
old-commit-hash: 4230d5d2124577b86e69b136d846ca9cc3ecd746
2021-07-07 19:44:17 -07:00
HaraldSchafer 96d4bfbff3 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
old-commit-hash: be5ddd25cd3f4c8b7e46cdeecf303e2c73301003
2021-07-07 19:42:26 -07:00
Jason Young e306287b27 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
old-commit-hash: cfe97fcc49cf59d92ff715b62e98bba014a91f9d
2021-07-07 19:24:13 -07:00
Adeeb Shihadeh 78408b6460 jenkins: verbose fetch
old-commit-hash: 7d59129c2891f43a15c1f10bc43923de147a36db
2021-07-07 17:32:01 -07:00
Adeeb Shihadeh 691ea8553f deprecate CP.enableCamera (#21509)
* deprecate CP.enableCamera

* more removal

* one more

* update refs
old-commit-hash: c72d163e142d90edac5086892c0cd297bdc636fe
2021-07-07 14:59:18 -07:00
kennedyshead 48cba1bac0 Car port: AP1 Tesla Model S (#21444)
* Adding AP1 for tesla

* Remove safetyparams and added more extensive fingerprint

* merge interface for AP1 and AP2
old-commit-hash: d9c749c1187e0fe5cc838acf20cf1bc77150ff0d
2021-07-07 21:40:10 +02:00
Adeeb Shihadeh ff4c816abd update release build (#21482)
* update master-ci

* move to /data

* fix tests

* fix source dir

* prune

* trailing slash

* compile
old-commit-hash: 3a51a5c0f05c3274b8af7e5c2befa412156b597e
2021-07-04 20:26:38 -07:00
Adeeb Shihadeh 19bc1b7397 fast jenkins (#21472)
* speed up setup

* speedup onroad test

* .git doesn't like inplace

* tici2

* no inplace

* revert

* fix

* that one too
old-commit-hash: 0bfd994f73a73b321f0ac45e1f3f5d1e907e6962
2021-07-02 16:29:57 -07:00
Adeeb Shihadeh c457e9d130 increase dmonitoringmodeld execution time threshold
old-commit-hash: 9b9a2d7b89e03fe2af38f64380fc6ee2be2baa19
2021-06-30 19:02:21 -07:00
HaraldSchafer 7e87930a20 Refactor lateral lag compensation (#21334)
* add T_IDXS

* refactor

* fix test

* unused

* typo

* needs casting

* Update selfdrive/controls/lib/drive_helpers.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* deprecate field

* regen all

* new segs

* add todo

* split back

* clean

* bad names

* do in controls

* add arg

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6838e1c82c5abb9f347228006219d96744b3fbb5
2021-06-30 14:19:39 -07:00
Adeeb Shihadeh 59d54b2bfc exclude raw logger files from upload
old-commit-hash: 8f1fc93a5e69dfa55ae4f45dfb1256e918424b41
2021-06-30 00:40:48 -07:00
Adeeb Shihadeh 0385f695f8 segment regen: handle log rotation discrepencies
old-commit-hash: eb6552c83c8fa0a0d0774a2e6a8b5792b6fdb73d
2021-06-30 00:27:14 -07:00
Willem Melching c3cc9e8eeb Honda: emulate convenience blinker from stalk (#21387)
* Honda: emulate convenience blinker from stalk

* comment

* light->lamp

* reset on rising edge

* update ref
old-commit-hash: 6729e963c93f2d562021fc074e6fd26dd0b02a47
2021-06-29 12:10:35 +02:00
Adeeb Shihadeh d31397b84b segment regen (#21148)
* start seg regen

* send vipc

* fix up some paths

* set fp

* fix no entries

* engages

* seperate camera procs

* send real frames

* regen test routes

* nice argparser

* fix valgrind test

* move that

* fix that
old-commit-hash: 4a1aec27efb48bdba1d267c86ef66c8a044c4986
2021-06-28 21:44:40 -07:00
HaraldSchafer 34ca4a1a29 Simplify longitudinal tests (#21337)
* first pass

* passes!

* little more cleanup

* little more

* fix sim

* remove more plot stuff

* fix crash check

* fcw

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 234971203bbad057d85a61267e6ac7f2432394d6
2021-06-24 21:03:18 -07:00
John Belmonte 9944b6d98d Car port: Toyota Alphard (#21382)
old-commit-hash: 6d2069b76258c0a4db8548a9824f532b24d67fdd
2021-06-24 12:10:19 -07:00
robbederks a1157cc762 Tesla AP2 port (#20074)
* squashed the PR

* remove AP passthrough

* disengage on steer override

* bump panda

* add test routes

* bump panda

* tesla is still dashcam only

* dashcam only

* rerun CI

* add to release files
old-commit-hash: cdfba105ed86ec37bd41565cb95796d653ee53bc
2021-06-23 14:56:59 +02:00
Willem Melching 5bc0d28708 Honda Bosch longitudinal prerequisites (#21217)
* untested changes

* set compute_gb

* community feature for good measure

* add code for rolling backwards

* init needs CarParams

* stay in elm mode until carParams is written

* fix tester present bus number

* fix can errors

* fix enableCruise flag

* print when radar disable is done

* move retry logic to controlsd

* move lookup table into carcontroller params

* cleanup brake error values

* make init return

* that should be 1

* floats

* back to no failure handling

* try simplify knockout

* bump panda

* Move flags to panda

* add warnings

* Revert "try simplify knockout"

This reverts commit 4f496245791ea6bd041d4412b96035c6b434b91c.

* add note about LoC.long_control_state

* update ref
old-commit-hash: a8fac002ae8e7c6ab37e9b1a5deb8cfcea2a71ac
2021-06-22 16:28:11 +02:00
Andrew 7b3de0b866 2021 Hyundai Elantra Hybrid port (#21354)
* add support for hyundai elantra hev 2021

* add car to README. adjust tuning params.

* adjust weight

* update fingerprint with value from remote start

* update fingerprint to value of BEFORE getting in car (more reliable)

* add fingerprint v2

* remove fingerprint 1.0

* add test route

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/test/test_routes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9124a8390006c0dae05b7b0a6cf5986621bbc8cc
2021-06-21 16:03:19 -07:00
Willem Melching 1bd10695fb fixup profiler and add plannerd (#21292)
old-commit-hash: c0fff43bbf696361896a663b93cd0d086b335e2c
2021-06-16 12:10:05 +02:00
Jason Young 2b360ca270 VW MQB: Volkswagen Touran Mk2 (#21263)
* Add 2017 VW Touran (BIRB)

* Update README

* Autogratitude

* Add test route for VW Touran
old-commit-hash: 57cf9b1f39f8b8f862012c29d4d9b424faa81922
2021-06-15 12:09:04 -07:00
Greg Hogan d0e5f3fb92 default carParams.stoppingControl to True (#21248)
* hyundai has full brake control

* set default stoppingControl to True

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 8071111f59371c9aee16dee3d6fb87f42464894b
2021-06-15 14:00:57 +02:00
Jason Young 8dff553951 VW MQB: Switch to comfort blinker signal (#21253)
* Switch to comfort blinker signal

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f86f344ba506c037893c4c796c047da64a95d307
2021-06-13 22:21:23 -07:00
ShaneSmiskol 0ba3c1ada3 2020 Ioniq PHEV Support (#21147)
* use DriverOverride

* keep using EMS16 msg which is available on manuals, TCS13 is not

* Need to differentiate between hybrid ev and ev

* bump opendbc

* add to release files

* try this

* try this

* fixup

* shouldn't need multiple dbc's

* update comments

* combine phev into ev_hybrid

* clean up

* accel_pedal_pos is a percent

* bump

* bump

* update list name

* do this in another PR

* not 2020+

* explicitly set safety param

* full hyundai gas press test coverage

* bump

* bump

* bump

* bump

* like this convention better

* bump

* revert some null gas_signal changes for now

* revert style change

* Add Ioniq PHEV 2020

* Use appropriate signals

* can't verify this to be true

* defaults

* order should really be opposite...

* original style

* bump panda

* bump

* update releases

* bump panda

* Update test route

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e7df9adfe3fef777d4ec1143c758ca0501185130
2021-06-10 23:25:02 -07:00
Jason Young 6d9702f5bb VW MQB: Audi Q2 Mk1 (#21165)
* Add 2018 Audi Q2 (breckler)

* Update README

* Add test route

* Summarized autogratitude

* Revert "Summarized autogratitude"

This reverts commit e308e2afc1f4020528e1643f5da4976715a366da.
old-commit-hash: db83cd7f844e225f2b79d6a4e81c877351ffc135
2021-06-07 01:34:22 -07:00
Jafar Al-Gharaibeh 67f6bb5c9b Add Mazda 6 and new FW for other models (#21167)
* Add support for Mazda6

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

* New FWs and Mazda 6 test route

Change Mazda to MAZDA
Mazda6 test route
CX-5 2018 FW
CX-5 2019 Australia FW
CX-9 2016 FW
Mazda3 2014 FW

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 56fbf66c20d71ec53301f2297d88850964dfbf8b
2021-06-06 14:40:57 -07:00
Adeeb Shihadeh b700c1bda3 Update VW process replay route (#21142)
old-commit-hash: 7d8480cffec40f899ac78fab7e96cb74ccf024e1
2021-06-04 15:29:13 -07:00