Commit Graph

6223 Commits

Author SHA1 Message Date
Shane Smiskol e8faf9f985 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
2022-04-12 11:20:55 -07:00
Shane Smiskol 85c714e350 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
2022-04-11 22:03:23 -07:00
Lukas Petersson 7034888cdb latency logger usable in testing closet (#24183) 2022-04-11 16:44:24 -07:00
mitchellgoffpc 25fdc95ea8 CALMODEL frame is dead 2022-04-11 16:33:24 -07:00
Adeeb Shihadeh c1388636a2 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>
2022-04-11 15:33:58 -07:00
Adeeb Shihadeh 37fc027e98 controlsd: fix soft disable while overriding (#24178) 2022-04-11 10:50:00 -07:00
Adeeb Shihadeh cf6c0ef19a tici IRQ tuning (#24170)
* first pass

* move that back

* move that

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

* add to pandaState

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

* remove that too
2022-04-10 20:53:07 -07:00
George Hotz cc8430b668 broadcast encode idx packets (#24176)
Co-authored-by: Comma Device <device@comma.ai>
2022-04-10 15:12:58 -07:00
HaraldSchafer f54e724b5d 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>
2022-04-09 15:22:29 -07:00
Adeeb Shihadeh 69368cce54 bump opendbc 2022-04-08 22:11:27 -07:00
Jason Wen 6214991d98 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>
2022-04-08 11:32:18 -07:00
Shane Smiskol 0f61a388c3 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
2022-04-07 20:44:09 -07:00
ZwX1616 720adbc49f DM: reduce model error on dsp by another 3.5x (#24159)
* a8236e30

* match

* update model ref
2022-04-07 16:53:06 -07:00
Lukas Petersson fecaac8eda 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>
2022-04-07 13:18:26 -07:00
HaraldSchafer 634f7cebef Make PI into a PID (#24151)
* Make PI into a PID

* Cast like before
2022-04-07 11:34:45 -07:00
George Hotz 10d4766f76 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>
2022-04-07 10:43:14 -07:00
Adeeb Shihadeh 6c0fa7775c bump cereal 2022-04-06 22:27:29 -07:00
Adeeb Shihadeh 162e47456c bump cereal 2022-04-06 22:25:59 -07:00
Chris Souers 12ff38196d More Accord 2021 FW (#24154) 2022-04-06 22:06:26 -07:00
Chris Souers 7cea1ed6d9 Honda Bosch: fix undefined signal in can packing (#24155) 2022-04-06 22:04:45 -07:00
Adeeb Shihadeh 1ea66ee244 controlsd: fix long press set speed increment (#24161) 2022-04-06 22:03:40 -07:00
Adeeb Shihadeh 9ec0378842 bump opendbc 2022-04-06 21:57:26 -07:00
Willem Melching fb344021aa update camera CRC alert text (#24156) 2022-04-06 17:46:56 -07:00
Willem Melching e42ba704e3 panda: use PWM for camera strobe (#24149)
* bump panda; pwm-clock-source

* bump panda
2022-04-06 17:20:36 -07:00
Willem Melching 1848050fd9 add cameraFrameRate alert (#24152)
* add cameraFrameRate alert

* bump cereal
2022-04-06 17:11:39 -07:00
Willem Melching eaa5819211 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
2022-04-06 16:43:32 -07:00
George Hotz 7dd71cc63d 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>
2022-04-06 11:31:31 -07:00
Adeeb Shihadeh 84aff56de6 jenkins: add new devices (#24144) 2022-04-06 10:34:46 -07:00
Willem Melching 03257bb0d8 camera processing time: float -> double 2022-04-06 10:08:44 -07:00
Willem Melching b379fca0ae route.cc: include <array> 2022-04-06 07:34:11 -07:00
Igor Biletskyy 102738e4e0 body: add battery percentage and charger status to signals and opendbc (#24145)
* bump opendbc

* add signals

* bump opendbc
2022-04-06 00:07:36 -07:00
Shane Smiskol c8f5b21744 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
2022-04-05 23:38:45 -07:00
George Hotz 596417da37 update ref commit for body tune change 2022-04-05 21:40:13 -07:00
Lukas Petersson 65fca83abe Latency logging 2 (#24058)
* msg_order and gantt

* frameId in long/lat planner

* track frame id

* controls frame id

* graph tracked events

* graph json

* cloudlog timestamp

* c++ cloudlog

* add frame id

* bug fixes

* bug fixes

* frame id visionicp

* bug fixes and debug level

* timestamp log placement

* print timestamps in table

* translate events

* more logging

* bug fixes

* daemon boardd

* print logs with boardd

* more timestamp logs

* cleanup

* remove publish logs

* bug fix

* timestamp received

* timestamp received

* bug fixes

* use json lib

* ignore driver camera

* prep for new timestamp pipeline

* bug fix

* read new pipeline unfinnished

* read new pipeline

* bug fix

* add frame to controlsstate

* remove controlsstate

* print

* cleanup

* more cleanup + bug fix

* clock build issue

* remove unused imports

* format durations

* increase speed

* pr comments fixes

* conflicts

* set MANAGER_DAEMON for boardd

* clean script code

* bug fix + argparse

* remove rcv time

* bug fixes

* print without tabulate

* fix pre-commits

* plot gnatt

* color bug fix

* read without timestampextra

* bump panda

* mono time instead of frame id

* finnish script

* clean unused

* clean unused logging

* monotonic + json fixes

* del test

* remove whilelines

* bump laika

* cleanup

* remove deps

* logs nicer strings

* remove plotting from scirpt

* reset pipfile

* reset pipfile

* nicer strings

* bug fix

* bug fix

* pr comments cleaning

* remove plotting

* bug fix

* new demo route

* bump opendbc and panda

* cereal master

* cereal master

* script less komplex

* assertions

* matplotlib

* readme

* Update README.md

* graph html

* design fixes

* more code design

* Update common/logging_extra.py

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

* whitespace

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

* Update tools/latency_logger/latency_logger.py

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

* pr comments

* bug fix

* readme + env once

* clean swaglog

* bug fix

* Update tools/latencylogger/README.md

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

* revert

* revert

* clean swaglog with error

* remove typo file

* revert graph

* cereal

* submodules

* whitespaces

* update refs

Co-authored-by: Bruce Wayne <batman@workstation-openpilot2.internal>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-04-05 21:05:45 -07:00
Willem Melching e7f23ceca2 uploader: azure returns 401 for files already uploaded (#24141) 2022-04-05 20:09:05 -07:00
Igor Biletskyy 7908fb8829 body: add debug ECU for git hash logging + fw version (#24128)
* non-essential ECU for logging

* bump cereal

* debug ECU

* match_fw_to_car_exact

* comment

* version instead of board date

* add old compatible value

* update_refs
2022-04-05 18:24:06 -07:00
Willem Melching 714efe828a athena.upload_handler.upload_start log retry count (#24139) 2022-04-05 17:57:01 -07:00
Adeeb Shihadeh 06d02b4829 add body to release notes 2022-04-05 15:12:50 -07:00
Brett Sanderson 61d987f630 UI: improved disengage on gas toggle description (#24132)
* Update settings.cc

Should be depressed as standard in automotive industry.

Pressed implies state change from down -> up, depressed means the state is down

* Update selfdrive/ui/qt/offroad/settings.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-04-05 15:07:28 -07:00
Adeeb Shihadeh 6013d733a3 add mpld3 python pacakge (#24138)
* add mpld3 python pacakge

* move to dev

* fix for new pylint
2022-04-05 15:00:35 -07:00
Willem Melching be35caca61 Log modem version and some NV values (#24137)
* add back modem version number logging

* tici only

* log nv

* make event

* str cast
2022-04-05 14:29:07 -07:00
martinl 5e1095e881 Subaru: update supported model years and steering torque (#24118)
* Subaru: update carinfo supported model years and good steering torque

* update torque

* model year 2020 was added to IMPREZA_2020, split out

update docs

* order

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-04-05 13:04:46 -07:00
Shane Smiskol d7a708d6da tests: add overriding to state machine test (#24131)
* add overriding to state machine test

* overriding should consider soft disable too
2022-04-05 11:36:18 -07:00
Shane Smiskol a953d8222d PlotJuggler: fix support for Cabana links (#24037)
* support Cabana links better

* not needed

* Update tools/plotjuggler/juggle.py
2022-04-05 11:24:03 -07:00
Erich Moraga f861854e25 Added embedded tuning wiki hyperlink (#24133)
https://github.com/commaai/openpilot/wiki/Tuning
2022-04-05 10:30:09 -07:00
Willem Melching 67d6847039 camera_qcom2: target 40ms acquisition time, use register wizard (#24093)
* register values from wizard

* target 25fps to leave some room for timing jitter

* update max lines in ui
2022-04-05 08:10:53 -07:00
Shane Smiskol f0ac80806e controls: add overriding to active states (#24129) 2022-04-05 01:29:23 -07:00
Adeeb Shihadeh 6c5b0685da body: set fault state (#24125)
* body: set fault state

* fix that

* update refs
2022-04-04 23:05:40 -07:00