Commit Graph

6471 Commits

Author SHA1 Message Date
Igor Biletskyy 7df1c025ae body: add crc and counter (#24120)
* add crc and counter for body

* add msg

* move counter

* whitespace

* ..

* bump opendbc

* update_refs
2022-04-04 19:19:30 -07:00
Greg Hogan 468f0efbef bump panda 2022-04-04 18:35:55 -07:00
Greg Hogan 13080ee952 script to read DTC status 2022-04-04 18:15:44 -07:00
Shane Smiskol 2624b4cb27 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 d4f330447
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 0b9790dd2
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 d932cb067
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 8e34ddc70
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
2022-04-04 18:02:27 -07:00
Shane Smiskol d4f330447a 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
2022-04-04 17:13:29 -07:00
Adeeb Shihadeh 7dffd0ac0b calibrationd: support for not cars (#24115)
* calibrationd: support for not cars

* update refs
2022-04-04 17:04:15 -07:00
Shane Smiskol 433f649faa 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
2022-04-04 15:50:27 -07:00
HaraldSchafer b2b6205e25 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
2022-04-04 14:41:18 -07:00
George Hotz 8031a68e55 alerts: Don't use Malfunction twice 2022-04-04 12:45:57 -07:00
Shane Smiskol d614ddeafe Optima 2019: allow max torque of 384 (#24109) 2022-04-04 10:58:31 -07:00
Shane Smiskol 18e7f85f70 Hyundai: always update set speed (#24104)
* don't reset set speed

* update refs
2022-04-04 10:51:58 -07:00
Adeeb Shihadeh d1c3b7a20d sim: write params to enable in Dockerfile (#24113) 2022-04-04 09:05:20 -07:00
Jason Young eaf66b7e08 VW MQB: Add FW for 2022 Volkswagen Tiguan (#24111)
* VW MQB: Add FW for 2022 Volkswagen Tiguan

* sort consistently
2022-04-03 11:32:18 -07:00
Shane Smiskol a4353303d4 update refs 2022-04-01 22:39:08 -07:00
Shane Smiskol ca3171c0f9 bump cereal 2022-04-01 20:59:15 -07:00
Adeeb Shihadeh e40c36f22b better support non-car robots (#24106)
* better support non-car robots

* bump cereal

* update refs
2022-04-01 20:03:20 -07:00
Dean Lee 333257badf boardd/safety_setter_thread: use check_all_connected (#24102) 2022-04-01 16:20:43 -07:00
Adeeb Shihadeh 3fc4f8dfcf update car docs 2022-04-01 16:07:24 -07:00
Shane Smiskol 9d44f790b3 CARS.md: sort cars in lowercase (#24086)
* sort cars in lowercase

* nicer name

* skoda deserves better

* lock
2022-04-01 15:43:54 -07:00
Jonathan Frey a9bac5acf8 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>
2022-04-01 15:39:41 -07:00
Adeeb Shihadeh b51deb97d1 UI: body support (#24079)
* body ui template

* faces

* abs

* not raw

* auto switch

* check that

* no smoosh

* cmath
2022-04-01 15:12:54 -07:00
Adeeb Shihadeh 0b9790dd24 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>
2022-03-31 23:02:47 -07:00
George Hotz f3d390bdfa sidebar: the word SEARCHING didn't fit 2022-03-31 18:57:00 -07:00
Adeeb Shihadeh d932cb067b flip that 2022-03-31 17:20:10 -07:00
Igor Biletskyy 031f79ba88 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>
2022-03-31 17:16:15 -07:00
George Hotz ab9c017311 add more logging to camera sensor probe 2022-03-31 16:58:07 -07:00
Shane Smiskol 5a8b4bbcaa LongitudinaPlanner: add comment about lateral accel calculation (#24096)
* space

* if
2022-03-31 14:17:22 -07:00
Igor Biletskyy f7e59b474c bump panda and opendbc (#24095)
* bump opendbc

* bump panda
2022-03-31 12:50:17 -07:00
Willem Melching 94b8a3f08b sensor2_i2c.h: remove unusedc B context (#24092) 2022-03-31 16:28:06 +02:00
Igor Biletskyy 8a9f705959 bump opendbc 2022-03-30 21:35:15 -07:00
Igor Biletskyy 875111ea9a bump cereal 2022-03-30 21:34:33 -07:00
Adeeb Shihadeh f1719aab84 Contact Support -> Hardware Malfunction (#24076)
* Contact Support -> Hardware Malfunction

* missed that one
2022-03-30 16:13:28 -07:00
George Hotz 5af52627de 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>
2022-03-30 16:12:24 -07:00
Adeeb Shihadeh d14791525d jenkins: kill potentially leftover processes (#24078)
* jenkins: kill potentially leftover processes

* cleaner

* oops

* escape

* might already be dead
2022-03-30 15:43:47 -07:00
Comma Device a688811aa8 camerad: improve DEBUG_FRAMES message 2022-03-30 14:28:22 -07:00
Adeeb Shihadeh 5550aa6f57 FW query: specify bus in request (#24080) 2022-03-30 13:39:17 -07:00
HaraldSchafer 8a98c078af bump laika (#24084) 2022-03-30 12:09:38 -07:00
Willem Melching 34a8a5ea76 api.cc: expose error type in requestDone signal (#24064)
* put error in requestDone

* only check in tools
2022-03-30 12:12:33 +02:00
Andrew 81862fce76 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>
2022-03-30 00:14:12 -07:00
Kento Tokuhiro c48f2bfb8c Toyota: add FW for 2019 Toyota Corolla (#24061) 2022-03-29 23:55:28 -07:00
lillobby6 5993367314 Fixed README typo (#24075)
interace.py -> interface.py
2022-03-29 21:45:23 -07:00
Jason Young b217c8f623 VW MQB: Add FW for 2021 Volkswagen Golf GTI (#24074) 2022-03-29 20:21:17 -07:00
Robbe Derks 68f86d815e Add power usage stat (#24055) 2022-03-29 11:30:13 +02:00
Shane Smiskol 8e34ddc70e ui: grey border and alert when pre-enabling (#24057)
* make border and alert grey when overriding

revert cereal

* no state machine changes

* typo
2022-03-28 20:03:52 -07:00
Shane Smiskol 7c8e8bfd5f docs: link to footnotes without visible header 2022-03-28 16:32:21 -07:00
Comma Device c095e7b153 rawgps: add comments to satelite struct 2022-03-28 15:21:49 -07:00
Comma Device 98cde5848e rawgps: fix crash, disable DPO 2022-03-28 14:41:21 -07:00
Robbe Derks d60c44e03c 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>
2022-03-28 17:00:09 +02:00
Adeeb Shihadeh 49498aa7b5 controlsd: no cruise speed while main off (#24052)
* controlsd: no cruise speed while main off

* probably more accurate

* update refs
2022-03-27 18:06:28 -07:00
Erich Moraga f7e9f93c38 Add missing CAMRYH_TSS2 fwdRadar (#24047)
`@SloshyZebra#8815` 2022 Toyota Camry Hybrid  DongleID/route 34c6eea208b2f059|2022-03-26--13-14-41
2022-03-27 15:42:58 -07:00