Commit Graph

6803 Commits

Author SHA1 Message Date
Cameron Clough 0830dc0277 Ford: Support for LCA vehicles (#23331)
* Ford: add Focus Mk4

Also removes support for the Ford Fusion.

* Ford: LKAS/LCA steering and UI CAN commands

* Ford: implement CarController w/ steering and lanes ui

* Ford: FPv2 firmware request

* Ford: Add FW for 2018 Ford Focus

* Ford: add Escape Mk4

* bump panda

* cleanup

* add that back

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: acd455ed3ae0ffbb82fe36dd6d9a1f4d16279823
2022-04-14 14:32:03 -07:00
George Hotz ebeadd9b41 fix csid map
old-commit-hash: b9e5ad8a646fbe383396aa54122557fd321c5bec
2022-04-14 13:17:32 -07:00
Adeeb Shihadeh 2b56bba1f4 test fw query: add nissan
old-commit-hash: 5b098a1db597ce44b2f6b33ecbc91f180140403a
2022-04-13 22:54:45 -07:00
Shane Smiskol 500034211d regen: check if regenerated route is enabled (#24207)
* check if regenerated route is enabled

* elif

* initialize CUDA runner before all other processes

* Revert "initialize CUDA runner before all other processes"

This reverts commit 124e3dd4d3408b6649f40b3e6e7f217ca347f59f.

* add back fixes

* fix typo
old-commit-hash: 1a5ddfaedd40d07db31a84f31e76bd5f684e3fd9
2022-04-13 18:01:16 -07:00
George Hotz d9a94cc785 body: web joystick
old-commit-hash: d7b849720cc6354543b60718414b2a07bf45a172
2022-04-13 14:29:17 -07:00
Lukas Petersson 93d0e6b65a Latencylogger optimization (#24166)
old-commit-hash: 3ea92f6cd3aeb76bbf02ae3332f13a42c2281dcf
2022-04-13 13:50:57 -07:00
Willem Melching 5a420cb9e6 updated: reduce data usage (#24204)
* reduce updated data usage

* Update selfdrive/updated.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0b2b1f3e566227915f9573b83ff940ca1c9e7f26
2022-04-13 13:48:38 -07:00
Adeeb Shihadeh b4d25060fa Subaru: remove rest of CAN fingerprints (#24195)
old-commit-hash: c8101988150609d79b9d9d9916aedeb95b92ba34
2022-04-13 11:48:14 -07:00
Gijs Koning 598ba913ae Fix camera error description (#24202)
* Fix camera error message

* Shorter
old-commit-hash: e0845752e3a1ac4a0fd47ac4e0400f3528f213fa
2022-04-13 09:56:37 -07:00
Shane Smiskol b19f30f229 fix regen: specify frame timestamps for modeld (#24200)
* grab main frames when not using extra

* the actual fix
old-commit-hash: 515987838908c1a4f5c822919ccf2d78ebac144b
2022-04-12 23:07:33 -07:00
Adeeb Shihadeh 3789587df1 add alert for CAN bus timeout (#24162)
* add alert for CAN bus timeout

* add alert

* set in interface

* cleanup

* cleanup

* add event

* fix mock

* bump

* bump opendbc

* update refs

* return reader
old-commit-hash: 49c2164814e07c1243ef2b979957760d64c9eb35
2022-04-12 22:58:34 -07:00
Shane Smiskol 32389d3293 Subaru: add missing Impreza fw versions (#24194)
* add missing impreza fw versions

* these are duplicate

* this fw version flipped on the 5th for michael and never switched back
old-commit-hash: 3ff14adbd67cb003506e735a1608e44b5f6b275d
2022-04-12 17:15:27 -07:00
Shane Smiskol 41785d339d regen: use setup_env from process replay (#24197)
* use setup_env from process replay

* rm line
old-commit-hash: 9f3245fea7d07cb5b7f6c80a7e897db9e7012f82
2022-04-12 16:36:02 -07:00
George Hotz 6d99a37d6f Power draw test (#24196)
* power draw test

* power draw measure

* fix cam power draw

* no star import

* fix static

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9318e02a52a01655c3fe98e4437b1d54b36e4b92
2022-04-12 15:33:27 -07:00
Shane Smiskol 9f4c123a14 car docs test: check car name (#24193)
old-commit-hash: f3bcbb1b505ec61737a950baa2b2f4779f463c2a
2022-04-12 12:45:31 -07:00
George Hotz 9720bb37b5 loggerd: broadcast encoder data (#24177)
* encode data try 1

* fix pc build

* low quality compressed streamer with pyav

* nvidia streamer

* timestamp support

* fix latency measurement

* refactor

* camerastream updates

* fix linter

* compressed to vipc, clean

* remove print

* touchups

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: dab978083b7014faa2aef2f43830e87323188578
2022-04-12 12:08:50 -07:00
Shane Smiskol 052b799262 Honda: resolve controls mismatch due to interceptor thresholds (#24173)
* make panda and openpilot thresholds match

* Revert "make panda and openpilot thresholds match"

This reverts commit dfcbd2058784de809564ada41e4cfbbfca7afe77.

* make panda and openpilot thresholds match

* remove interceptor scaling, compare int value

* remove honda exception

* bump panda

* bump opendbc

* add segment to check controls mismatch

* bump submodules
old-commit-hash: e8faf9f9853b445c6ddfd9ee1f1e44fbcfe3a96f
2022-04-12 11:20:55 -07:00
Shane Smiskol 453be8af86 test_models: support for specifying segment (#24185)
* support for specifying segment

* revert

* formatting

* revert

* Fix mypy

* raise exception if specified segment isn't available

oh, ndog param wasn't being set

* easier to read

* add to exception
old-commit-hash: 85c714e350b2445a78299fe6df8c06a36d80bcea
2022-04-11 22:03:23 -07:00
Lukas Petersson 9705604939 latency logger usable in testing closet (#24183)
old-commit-hash: 7034888cdbcc41a4bfb6c9ff14347bf48af8721a
2022-04-11 16:44:24 -07:00
mitchellgoffpc 44eaa8d88b CALMODEL frame is dead
old-commit-hash: 25fdc95ea86d79dbc73edff1a5ad741005cbd0ef
2022-04-11 16:33:24 -07:00
Adeeb Shihadeh ad8e58c250 comma three: correctly set initial EPS bearer settings for AT&T sim cards (#24175)
* 3g sunset

* only for blue prime

* pass

* full att code

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c1388636a28b880e5c9b07bcaa8fbf867e23f02a
2022-04-11 15:33:58 -07:00
Adeeb Shihadeh 5ff61e95ad controlsd: fix soft disable while overriding (#24178)
old-commit-hash: 37fc027e98b6a0a56e430b14ca4610c22280a068
2022-04-11 10:50:00 -07:00
Adeeb Shihadeh 9ce9e38cf7 tici IRQ tuning (#24170)
* first pass

* move that back

* move that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cf6c0ef19a20026c7cf3ac057e652b517ed82578
2022-04-11 10:49:27 -07:00
Robbe Derks 1e3ae0a704 Panda interrupt load (#24180)
* bump panda

* add to pandaState

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 863fed8fecbfbc0c8ce53c1c368b090b4a15fe62
2022-04-11 12:35:14 +02:00
Adeeb Shihadeh b747791691 nav: better reroute backoff policy (#24179)
* nav: reduce max reroute backoff

* remove that too
old-commit-hash: fcf657763d7fbf7a1435fb45aa3b22e16ea6c21c
2022-04-10 20:53:07 -07:00
George Hotz 0681a415e9 broadcast encode idx packets (#24176)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cc8430b66866ba127ac0d753cee9168240d23102
2022-04-10 15:12:58 -07:00
HaraldSchafer b0444b39d2 Body cleanup + 100Hz locationd (#24168)
* use PID

* 100hz on the branch

* Better defaults

* fix int clip

* More cleanup

* Fix pid comments

* only notcar gets 100hz

* cleanup

* fix tests

* ignore

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f54e724b5dd8b95e03dd4f46676c5e854bafaea6
2022-04-09 15:22:29 -07:00
Adeeb Shihadeh 83f32537de bump opendbc
old-commit-hash: 69368cce5433b7e890e3f0647698614623dee480
2022-04-08 22:11:27 -07:00
Jason Wen c1771aba84 Hyundai: Car Port for Tucson Diesel 2019 (#24082)
* Add car port: Hyundai Tucson Diesel 2019

* SCC + LKAS trims only

* Add test route

* Update CARS.md

* remove from legacy safety mode

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6214991d9861fd3bb425fa1133a847c3a24342d4
2022-04-08 11:32:18 -07:00
Shane Smiskol f49522474c GM: resolve cruise faults (#24167)
* these should be enabled

* bump panda

* bump

* allow in pre-enabled state

* bump panda

* add comment

* bump and update refs

* bump panda

* bump panda
old-commit-hash: 0f61a388c394ad5b6f25446c1e76558c1f4cead7
2022-04-07 20:44:09 -07:00
ZwX1616 eeeec4c2f4 DM: reduce model error on dsp by another 3.5x (#24159)
* a8236e30

* match

* update model ref
old-commit-hash: 720adbc49f3a849394b8139d91be906d771f24d7
2022-04-07 16:53:06 -07:00
Lukas Petersson 156234ced3 latencylogger graph design (#24165)
* latencylogger graph design

* Update tools/latencylogger/latency_logger.py

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

* quotes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fecaac8edaa954a2ef9d93bde8c836f36617e859
2022-04-07 13:18:26 -07:00
HaraldSchafer 305a7a6bc9 Make PI into a PID (#24151)
* Make PI into a PID

* Cast like before
old-commit-hash: 634f7cebef415cda913517c157c0a1d025b6f2b4
2022-04-07 11:34:45 -07:00
George Hotz b19c75d189 camerad: cleanups, support running only one camera (#24157)
* support disabling the cameras

* disable instead of only. reduce camera startup time

* cleanups

* make all disables work

* add more logging to buffer creation

* make disable work

* disable on sensor probe failed

* tested, fix print

* tolerate sensor failure onroad

* enables should be honored in public methods only

* comments and whitespace

* debug starting sensor

* bring clear_req_queue into c++, add logging for error cases

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 10d4766f76ae841b702ad88680bc3e5b7e4bf9e5
2022-04-07 10:43:14 -07:00
Adeeb Shihadeh 7489a7d739 bump cereal
old-commit-hash: 6c0fa7775ccd2fd69b0094ef7dc385f32f4d7af4
2022-04-06 22:27:29 -07:00
Adeeb Shihadeh e04e6fea87 bump cereal
old-commit-hash: 162e47456cf88dab27db8f86474b0d41a52c03e5
2022-04-06 22:25:59 -07:00
Chris Souers c191b60363 More Accord 2021 FW (#24154)
old-commit-hash: 12ff38196d74e0abf278877629f39901177c2848
2022-04-06 22:06:26 -07:00
Chris Souers 01f31920e3 Honda Bosch: fix undefined signal in can packing (#24155)
old-commit-hash: 7cea1ed6d972f223f2e6fc849cfa0ee5ac34dd8a
2022-04-06 22:04:45 -07:00
Adeeb Shihadeh 3683360f86 controlsd: fix long press set speed increment (#24161)
old-commit-hash: 1ea66ee244f604b8da898c584e849c0d568235ee
2022-04-06 22:03:40 -07:00
Adeeb Shihadeh db51455f0b bump opendbc
old-commit-hash: 9ec0378842471c81e3ec99acc4b6045e8f098f14
2022-04-06 21:57:26 -07:00
Willem Melching 83c103e46a update camera CRC alert text (#24156)
old-commit-hash: fb344021aa2e69408b32f7878f1c705691640330
2022-04-06 17:46:56 -07:00
Willem Melching c989d62704 panda: use PWM for camera strobe (#24149)
* bump panda; pwm-clock-source

* bump panda
old-commit-hash: e42ba704e35ba2ce3b01e95431887d156e66a03b
2022-04-06 17:20:36 -07:00
Willem Melching a47666d1fd add cameraFrameRate alert (#24152)
* add cameraFrameRate alert

* bump cereal
old-commit-hash: 1848050fd980a04dfc70454547ab7b52affe2917
2022-04-06 17:11:39 -07:00
Willem Melching 871ecc451b commIssueAvgFreq: separate alert for avg freq check (#24150)
* commIssueAvgFreq: separate alert for avg freq check

* bump cereal

* bump cereal

* bump cereal

* freq_ok separate from alive

* bump cereal to master

* update_ref

* fix profiler
old-commit-hash: eaa581921161b2643b10ad72da0708dff14367aa
2022-04-06 16:43:32 -07:00
George Hotz 758d423b86 body: control with joystick (#24143)
* control with joystick

* slow it down

* always joystick for not car

* clean ups

* not stateful

* move submaster

* only if we aren't in test mode

* update refs

* double ki speed, update ref

* this ref

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7dd71cc63db66d56de069d35544be607ac1ab5b5
2022-04-06 11:31:31 -07:00
Adeeb Shihadeh bba7aafaca jenkins: add new devices (#24144)
old-commit-hash: 84aff56de6c7f12e4a5ca9560425f3316c5f95b6
2022-04-06 10:34:46 -07:00
Willem Melching d8ade5e21c camera processing time: float -> double
old-commit-hash: 03257bb0d8cfb04e4e8c00ab7f430178415be867
2022-04-06 10:08:44 -07:00
Willem Melching 6cafad7e30 route.cc: include <array>
old-commit-hash: b379fca0ae9d6046658d2a11f71462090aadfcbc
2022-04-06 07:34:11 -07:00
Igor Biletskyy 4ded7b99f6 body: add battery percentage and charger status to signals and opendbc (#24145)
* bump opendbc

* add signals

* bump opendbc
old-commit-hash: 102738e4e0dd1702ab01b849e444bd1dfc2ddd1c
2022-04-06 00:07:36 -07:00
Shane Smiskol 5a9c45b6e3 Clean up CarInterface.apply and CarControllers (#24060)
* do tesla

* parentheses

* Do Chrysler

* Make sure Hyundai long never actuates when long inactive

.

* clean up Hyundai

* more clear

* formatting

* Stock sets these to zero

* fix params

* move jerk logic into CC

clean up
old-commit-hash: c8f5b217443036333bc18c29085a1c8ae8bd39f3
2022-04-05 23:38:45 -07:00