Commit Graph

6732 Commits

Author SHA1 Message Date
Shane Smiskol 20d823d18a controlsState: add override state with grey border (#24030)
* Squashed commit of the following:

commit f0cf822666fb8f78a486d721fe474e8f37da6970
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Apr 4 17:24:00 2022 -0700

    clean up

commit 4364bdb79b1b055daa7542267eb3f37740723fd4
Merge: d448664cf e85f82af3
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Apr 4 17:21:41 2022 -0700

    Merge remote-tracking branch 'upstream/master' into override-alert-type

commit d448664cfdacbdfd3c99f8e12d96f2ba7b24abb5
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Apr 4 17:20:44 2022 -0700

    revert tests changes

commit 40ab8c2d912ccbeb12286ca272e3737656388ac8
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Apr 1 19:03:39 2022 -0700

    sort

commit 5abd4448b420e91eda57e3c4edb6794893dab42f
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Apr 1 19:02:59 2022 -0700

    bump cereal

commit fcffc42082b1460676554924461c63c881c31501
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Apr 1 19:02:25 2022 -0700

    pass in CI

commit f47dd63bc597e18c05d2d9365eb996c13ec70c17
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Apr 1 12:06:00 2022 -0700

    update refs

commit f1c54e16ccfa37f770b422ad77e2fc940f8ea7f2
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Apr 1 11:51:04 2022 -0700

    move to tuple

commit bebafc6ed223a67e59daa7c2105f8cb28c4f9c5f
Merge: b0578dc54 0e983562d
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Apr 1 11:45:19 2022 -0700

    Merge remote-tracking branch 'upstream/master' into override-alert-type

commit b0578dc54f9d943e0ab2182b0b79d076129468a7
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Apr 1 11:44:37 2022 -0700

    make global variables of states in controlsd

    make global variables of states in controlsd

commit 32b7e293e88f001ef44c9197dfc68b7240ae129e
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 23:41:41 2022 -0700

    test individual event types

    fix

commit 1fbf66fc8ba7e5a0a25d34a1f30a2cb3ccb86a02
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 23:03:09 2022 -0700

    clean up

    test state machine

    test state machine

commit 33856bef69b1c2e637e58032b1358f275a6cd6bb
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 22:59:05 2022 -0700

    clean up

commit d64cd664980edd6cff0038379a5c3965409ebda0
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 22:40:25 2022 -0700

    test few more things

commit 72a3e57a9a8813b348a8ae9648e283983f7ba56b
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 22:17:22 2022 -0700

    default transitions

commit ce0051fde8296dab6417d9ef175fdf039d09a8f3
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 22:05:21 2022 -0700

    remove

commit 56de4f8a87e9b96dd99739772da1dddaa873ceb1
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 22:05:15 2022 -0700

    this way we can test any combo of event types

commit bdfd47738e5a3c0e22817047cc2d804ca0fe2785
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 21:36:33 2022 -0700

    add some state machine tests

commit 81a72d1773b204cc984fb0631ac30fb00555962d
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 17:43:03 2022 -0700

    update refs

commit 00018708714b156c29f963011a6193fa9028b308
Merge: fa97ffa67 fa934d846
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 17:31:51 2022 -0700

    Merge remote-tracking branch 'upstream/master' into override-alert-type

commit fa97ffa67eec1556b2b255ee68bdf46fc101596e
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 31 17:30:23 2022 -0700

    revert todo

commit b0dcd49b0b0254a4754ddc5ea61618246686327d
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Mar 30 00:07:11 2022 -0700

    move back

commit ef12853ceed8c8aa37b16af406e510d172269226
Author: Shane Smiskol <shane@smiskol.com>
Date:   Tue Mar 29 23:09:05 2022 -0700

    bump cereal

commit 2658f557e2fac79563b74385b8676a659f31f7dc
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Mar 28 20:54:48 2022 -0700

    fix

commit ed2db85acd34cd78017c6bae0db5df3356c2c19c
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Mar 28 20:47:18 2022 -0700

    add alert to pass unit tests

commit dc970f55f5f69ecbca7095099bd50ff21ba02610
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Mar 28 20:26:18 2022 -0700

    bump

commit e9a3c73d61590120cc5e5c16a3d1a0bbbd51e19d
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Mar 28 20:25:33 2022 -0700

    normal

commit 4ecfbf18d5e6436f9be6bd3b1c4ea3bca8c1a572
Merge: 47e0ad3cb 02b968ed9
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Mar 28 20:14:08 2022 -0700

    Merge remote-tracking branch 'upstream/master' into override-alert-type

commit 47e0ad3cbe4fee81b7a6e4c284973c25b144ddf7
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 24 10:50:34 2022 -0700

    only rename

commit 8c46435630c1bfba5c5b911bc1d3c8d4b24c9fdd
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 24 10:49:26 2022 -0700

    bump cereal

commit eb48440843d6a4b09e1f34d8eb2ed4c7f7a8274c
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 24 10:29:49 2022 -0700

    fix

commit 231afe3e6f211e866216a557f2ec2787760d2607
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Mar 23 23:57:40 2022 -0700

    clean up

commit 7a3f49db1bdb58c8ef59a9376306ef1157ba2e57
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Mar 23 23:57:10 2022 -0700

    fix logic

commit eab4f8b46e6c22033ac4ae433b6ba94e6a4ff322
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Mar 23 21:05:05 2022 -0700

    clean up

commit 51e189a27268364e051c6d9231ae6f181ec7f95b
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Mar 23 20:51:23 2022 -0700

    override state testing

* clean up
old-commit-hash: 2624b4cb27f7f2bd184bac5dd7b2c718767da583
2022-04-04 18:02:27 -07:00
Shane Smiskol 8e11fbe2db controlsd: add state machine tests (#24107)
* Handle NO_ENTRY in PRE_ENABLED

* add test

* add preEnabled NO_ENTRY test

* stash

* test soft disable

* tuples

* remove overriding until it's merged in

* use Events class

* fix tests and split out

* don't rely on controlsd's counter
old-commit-hash: d4f330447aaab134068585705fd5dd7f28fa8a2f
2022-04-04 17:13:29 -07:00
Adeeb Shihadeh 56bfed0c15 calibrationd: support for not cars (#24115)
* calibrationd: support for not cars

* update refs
old-commit-hash: 7dffd0ac0bd05379edd56dcdde1ac976ffa17137
2022-04-04 17:04:15 -07:00
Shane Smiskol bacfb41d63 car docs: enforce naming conventions (#24116)
* assert car docs naming conventions

* fix static analysis

* It's actually Plug-in according to Hyundai (Google capitalizes it)

* fix docs
old-commit-hash: 433f649faaeb9b605827a2e898079fb6cf0b1279
2022-04-04 15:50:27 -07:00
HaraldSchafer b199e26dc1 Body leash tune (#24105)
* Cleanup variables

* Add clips

* Add good standstill for localizer

* Need abs

* Only on startup

* Cleanup more

* remove violence

* Unused variable

* Update ref

* Not good idea for now

* Update refs again
old-commit-hash: b2b6205e252b5291a953dd94c5524715b1f8f444
2022-04-04 14:41:18 -07:00
George Hotz d359310631 alerts: Don't use Malfunction twice
old-commit-hash: 8031a68e55b42d1a80303f00a3aecd646e3c2359
2022-04-04 12:45:57 -07:00
Shane Smiskol 266d80f88c Optima 2019: allow max torque of 384 (#24109)
old-commit-hash: d614ddeafe33fe4eb637fca0436df1fe3e6f51c0
2022-04-04 10:58:31 -07:00
Shane Smiskol d8d1229580 Hyundai: always update set speed (#24104)
* don't reset set speed

* update refs
old-commit-hash: 18e7f85f70cd14938be7c7498d0bb3d907ae0d94
2022-04-04 10:51:58 -07:00
Adeeb Shihadeh 69bfa59a81 sim: write params to enable in Dockerfile (#24113)
old-commit-hash: d1c3b7a20d0bd62dfb2a4c16d54b9e83b131055b
2022-04-04 09:05:20 -07:00
Jason Young 0a3d2137bb VW MQB: Add FW for 2022 Volkswagen Tiguan (#24111)
* VW MQB: Add FW for 2022 Volkswagen Tiguan

* sort consistently
old-commit-hash: eaf66b7e083c821ecbf9613c834dca9e24ccf1de
2022-04-03 11:32:18 -07:00
Shane Smiskol 01d005c322 update refs
old-commit-hash: a4353303d4f7a1faef88918dc83a2f08d412460d
2022-04-01 22:39:08 -07:00
Shane Smiskol 53fff66742 bump cereal
old-commit-hash: ca3171c0f912afec3a349ce8ca0a4d7e41cd7127
2022-04-01 20:59:15 -07:00
Adeeb Shihadeh 78bb03345e better support non-car robots (#24106)
* better support non-car robots

* bump cereal

* update refs
old-commit-hash: e40c36f22ba93200a5fc83211005b28fca3fa728
2022-04-01 20:03:20 -07:00
Dean Lee a013a5718a boardd/safety_setter_thread: use check_all_connected (#24102)
old-commit-hash: 333257badfd2d322464ede273a4a81fb1e74998a
2022-04-01 16:20:43 -07:00
Adeeb Shihadeh 01676c0707 update car docs
old-commit-hash: 3fc4f8dfcf8a543325cf784b88487f53afb5b02f
2022-04-01 16:07:24 -07:00
Shane Smiskol 0910ad09f9 CARS.md: sort cars in lowercase (#24086)
* sort cars in lowercase

* nicer name

* skoda deserves better

* lock
old-commit-hash: 9d44f790b3fdbdc2c7742d1e4fc603bae0364bda
2022-04-01 15:43:54 -07:00
Jonathan Frey 059dbf57e7 longitudinal MPC: use reset() function instead of recreating the solver in (#24091)
* scons: add acados_template as dependency for lat and long mpc

* long MPC: use acados reset instead of recreating the solver

* long MPC: print timings and reset commented

* update acados x86_64

* update acados include folder

* update acados Python interface

* update acados reference commit to latest acados/master

* update x86 libs

* update comma two

* update acados again with commit 8ea8827fafb1b23b4c7da1c4cf650de1cbd73584

* update comma two

* update comma three

* update x86

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a9bac5acf82bcd9d3e161f829c7d446fdbdb7d2f
2022-04-01 15:39:41 -07:00
Adeeb Shihadeh 1ce647b0a6 UI: body support (#24079)
* body ui template

* faces

* abs

* not raw

* auto switch

* check that

* no smoosh

* cmath
old-commit-hash: b51deb97d162f724df5e7469cdef2615a0a23a0e
2022-04-01 15:12:54 -07:00
Adeeb Shihadeh abdcce3ad5 locationd: body support (#24098)
* body: locationd support

* fewer hacks

* my body is never still

* body on localizer

* minor change

* move wait back to 5 secs

* update refs

* try again

Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0b9790dd24d7824746aac42cd06f7fe3a331b3c2
2022-03-31 23:02:47 -07:00
George Hotz 05be126142 sidebar: the word SEARCHING didn't fit
old-commit-hash: f3d390bdfa03098efe9465796db10e32ec3b1452
2022-03-31 18:57:00 -07:00
Adeeb Shihadeh 6a101521ea flip that
old-commit-hash: d932cb067bc3b642db22155e2c2f3a48c80bc16e
2022-03-31 17:20:10 -07:00
Igor Biletskyy df806cdbeb car port: comma body (#24019)
* body FPv2

* ..

* ..

* ..

* Temp, REVERT!

* more cleanup

* typo

* ..

* del eyes

* should work?

* fix

* new dbc

* ..

* fixes

* static analysis

* cln balancing code

* no test route

* excluded_interfaces

* THE DOCS!

* comments on steer/speed mixin

* switch to bus 0

* less UDS

* FAKE bus 0 vin and fingerprint

* FAKE locationd

* Keep steady and remove handcoded offset

* Improve startup sequence, get closer to stock openpilot

* Forgot to define angle

* lowercase

* revert that

* little cleanup

* change safety model

* update refs

* body is gold

* handle no llk

* oops

* litte more

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 031f79ba88c58f9fbc087df0a1e2ba5ddc3f80db
2022-03-31 17:16:15 -07:00
George Hotz 4b6cb2e9f3 add more logging to camera sensor probe
old-commit-hash: ab9c0173113e2eb058d9940a675d93c6a1090667
2022-03-31 16:58:07 -07:00
Shane Smiskol d6fb92825b LongitudinaPlanner: add comment about lateral accel calculation (#24096)
* space

* if
old-commit-hash: 5a8b4bbcaa1fdf2555ff4f60c451baa574123082
2022-03-31 14:17:22 -07:00
Igor Biletskyy 56ca717731 bump panda and opendbc (#24095)
* bump opendbc

* bump panda
old-commit-hash: f7e59b474c1ba0be465e75bc74c03b1e7f655000
2022-03-31 12:50:17 -07:00
Willem Melching 7541553c4e sensor2_i2c.h: remove unusedc B context (#24092)
old-commit-hash: 94b8a3f08bf649f750c824e12a88e5c947c6ddf1
2022-03-31 16:28:06 +02:00
Igor Biletskyy ab31f826e7 bump opendbc
old-commit-hash: 8a9f705959cc5bc5f044d4cbce960702d7628b9b
2022-03-30 21:35:15 -07:00
Igor Biletskyy dd2f3388f1 bump cereal
old-commit-hash: 875111ea9a6fb26a50ead75b6267441d451385e0
2022-03-30 21:34:33 -07:00
Adeeb Shihadeh bb9dd45677 Contact Support -> Hardware Malfunction (#24076)
* Contact Support -> Hardware Malfunction

* missed that one
old-commit-hash: f1719aab84d2a4e62ef0529f8bb1cd5bef3f37e7
2022-03-30 16:13:28 -07:00
George Hotz 1dc3805193 rawgps: add oemdre support (#24059)
* oemdre works

* fast receive

* parse oemdre

* parsing dre

* parsing oemdre

* unused import

* remove unparsed msgs

* import, don't redefine

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5af52627de05ab62594abb703eb076765bc045c2
2022-03-30 16:12:24 -07:00
Adeeb Shihadeh 2229d4b02b jenkins: kill potentially leftover processes (#24078)
* jenkins: kill potentially leftover processes

* cleaner

* oops

* escape

* might already be dead
old-commit-hash: d14791525d9db23572f90dc7d1e10b554db2ff85
2022-03-30 15:43:47 -07:00
Comma Device 75069b1ece camerad: improve DEBUG_FRAMES message
old-commit-hash: a688811aa8aab10ea0d50a9b53961c8244731092
2022-03-30 14:28:22 -07:00
Adeeb Shihadeh 309cf89d90 FW query: specify bus in request (#24080)
old-commit-hash: 5550aa6f57698f8cb8dac358ba5f603294be02f5
2022-03-30 13:39:17 -07:00
HaraldSchafer d2f1c5e1b2 bump laika (#24084)
old-commit-hash: 8a98c078af768764a96dccb277063b7ffe93772b
2022-03-30 12:09:38 -07:00
Willem Melching 619b88c1f4 api.cc: expose error type in requestDone signal (#24064)
* put error in requestDone

* only check in tools
old-commit-hash: 34a8a5ea76d05432ee24f5d2a2307b74ad755971
2022-03-30 12:12:33 +02:00
Andrew 88c178342f Sonata Hybrid 2020: add fw versions (#23988)
* add fingerprints. rename some things

* undo

* fix fuzzy fp

* minor formatting

* generate docs

* these are the same

* this is also duplicate

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 81862fce76b46927eeb8a9c90ecedac706212639
2022-03-30 00:14:12 -07:00
Kento Tokuhiro 7a822ff27d Toyota: add FW for 2019 Toyota Corolla (#24061)
old-commit-hash: c48f2bfb8ccc7656d52ae5debc6732b5238857ea
2022-03-29 23:55:28 -07:00
lillobby6 deee04c7fa Fixed README typo (#24075)
interace.py -> interface.py
old-commit-hash: 5993367314e83baaef1833e1b7d91df9abac8563
2022-03-29 21:45:23 -07:00
Jason Young 4ca70ea5f9 VW MQB: Add FW for 2021 Volkswagen Golf GTI (#24074)
old-commit-hash: b217c8f623ee99cd49b95209bb0e89df2bd1f902
2022-03-29 20:21:17 -07:00
Robbe Derks f6ebc8993b Add power usage stat (#24055)
old-commit-hash: 68f86d815ecd4573419b027df818a0a3f9442dbd
2022-03-29 11:30:13 +02:00
Shane Smiskol 5f4ac6cb96 ui: grey border and alert when pre-enabling (#24057)
* make border and alert grey when overriding

revert cereal

* no state machine changes

* typo
old-commit-hash: 8e34ddc70e988e5ee142e0749c2e4cf5052237a0
2022-03-28 20:03:52 -07:00
Shane Smiskol 5cbc382e46 docs: link to footnotes without visible header
old-commit-hash: 7c8e8bfd5f43f8569a9258067e3fcb0bd0d9ffc2
2022-03-28 16:32:21 -07:00
Comma Device 071c9f585d rawgps: add comments to satelite struct
old-commit-hash: c095e7b153a7e8c2af02ee15afc5d914f9fa3fff
2022-03-28 15:21:49 -07:00
Comma Device a014a4b18e rawgps: fix crash, disable DPO
old-commit-hash: 98cde5848ef71f4f933768589f64854c3d993cb3
2022-03-28 14:41:21 -07:00
Robbe Derks af38179430 Add sample metric type to statsd (#23557)
* add sample stat, and make current power draw work on eon/c2

* fix power monitoring test

* little cleanup

* add type hinting to dict

* save as different values

* duh

* rip out power stat

* small fix

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

* cleanup this too

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d60c44e03c607f27ee864543177f007cf0f39939
2022-03-28 17:00:09 +02:00
Adeeb Shihadeh c319dfd924 controlsd: no cruise speed while main off (#24052)
* controlsd: no cruise speed while main off

* probably more accurate

* update refs
old-commit-hash: 49498aa7b5c7e5aed7a6ea767a0a9f10cb7dfdc7
2022-03-27 18:06:28 -07:00
Erich Moraga 336c15d60d Add missing CAMRYH_TSS2 fwdRadar (#24047)
`@SloshyZebra#8815` 2022 Toyota Camry Hybrid  DongleID/route 34c6eea208b2f059|2022-03-26--13-14-41
old-commit-hash: f7e9f93c38115c0b78caf4d8a6f651056d1d8fa5
2022-03-27 15:42:58 -07:00
locosux ca63f541b4 HKG: Add FW for 2022 Hyundai Santa Fe PHEV (#24048)
old-commit-hash: c32e92d08c447971ddb80692f0ac6886657265e4
2022-03-27 15:42:46 -07:00
Jason Young 71a1e9fca1 VW MQB: Add FW for 2019 Volkswagen Golf (#24051)
old-commit-hash: b5422a268e970ce1c64211bbf98fce8bad1fbe66
2022-03-27 15:11:33 -07:00
Jason Young 527a7585ae VW MQB: Add FW for 2018 Volkswagen Arteon (#24050)
old-commit-hash: bf6a7a7da393964b47fa8897df7bbe9d27ed7aea
2022-03-27 11:59:39 -07:00