Commit Graph

184 Commits

Author SHA1 Message Date
Robbe Derks
58c99158a1 Make pandaState and safetyMode a list (#22454)
* wip: move to pandaStates

* bump cereal

* wip: SafetyMode struct

* move to safetyMode

* fix typo

* this can be None

* fix potential empty pandaStates list

* fix thermald

* fix controlsd

* rename safetyModes to safetyConfigs

* update process_replay

* fix test_models

* bump cereal
old-commit-hash: 91987f38d425e2a5dc61d09571933cffb9536113
2021-10-08 17:54:34 +02:00
sshane
e68f7a8bf7 Show model leads with uiview (#22303)
old-commit-hash: 1e4b61b393d6860f6b659044cd65b31d4830948f
2021-09-21 16:01:10 -07:00
Cruise Brantley
3628c92892 Radar tracks for Santa Fe (#22270)
* Radar tracks for Santa Fe

* add radar DBC

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 75730c28caa1a08f83893a82ab9e877d21171749
2021-09-21 15:04:14 -07:00
Kyle Greenlaw
b7ceb31c26 Add Hyundai Sonata Hybrid Radar FW for OP Long support (#22259)
* add mondo dbc to Sonata Hybrid

* 2021 Sonata Hybrid radar FW

* Add Sonata Hybrid to openpilotLongitudinalControl

* Whoops... ,
old-commit-hash: 839147a333e2f671994bd4f84c9bb1e64660d92d
2021-09-17 19:12:54 -07:00
Greg Hogan
e7ad7b91e6 improve instructions for enabling hyundai radar tracks
old-commit-hash: 9db5edae724d88e5b797e4d1bee03372cd6b8611
2021-09-16 00:15:56 -07:00
Scott Adair
ed25cf30f4 Update FW Version for the 2020 Palisade (#22245)
Confirmed the FW version for my 2020 Palisade. Updated and executed the script without issue.
old-commit-hash: 3be48c5cded149186e63dfb37b58c95a45a1636c
2021-09-15 20:27:33 -07:00
Willem Melching
4e529f843b Hyundai radar parser (#22241)
* add radar parser for 0x5XX range

* fix speed

* enable based of fingerprint

* fix speed scale

* use proper signal names

* add to release files

* hyundai: script to enable radar points

* typo

* add comment

* fix tests

* cleanup

* add note about persistent

* Update selfdrive/car/hyundai/radar_interface.py

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

* fix bugs in hyundai enable radar points script

* accidentally removed comment

* add some other cars

* add cosine to dRel

* fw versions do not match openpilot

* bump opendbc

* include state 4

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6fd980c63e803b433c25e75e423193cef9287f9c
2021-09-15 15:43:01 -07:00
Willem Melching
a8ce1288fd Hyundai longitudinal prerequisites (#22121)
* panda

* bring over changes

* dont check car model

* remove comment

* fix typo

* more stuff gated behind long

* not

* not used

* gate that too

* try honda tuning

* clip accel values

* fix up merge

* fix stopping

* add retry logic around knockout

* increase timeout

* keep flipping lead bit

* true for now

* less tuning

* update comment

* 0.1 s is fine now

* merge honda and hyundai knockout

* more lead fields

* another obj bit

* increase timeout

* fix stopping flag

* only lag compensate for braking

* no lead

* less tuning

* only do knockout if not readonly

* try controlling using jerk

* tuning

* try higher stopping rate

* set stopping flag at higher speed

* clip upper jerk when stopping

* remove comments

* tester present 1hz

* use positive start accel

* 1.0 to maybe improve low speed stuff

* no point going over 0

* bump panda

* bump panda

* revert that change

* update ref
old-commit-hash: c4bac6bd68ce2a91beb15bb4f4472d76525288e0
2021-09-13 22:03:08 -07:00
Adeeb Shihadeh
b3893511db fix live_cpu_and_temp.py for c3
old-commit-hash: c4e9f4de99adc9329051fc480bd23b8188a4e149
2021-09-13 20:27:53 -07:00
Adeeb Shihadeh
0c29c7928b check_timings.py: start printing immediately
old-commit-hash: a7cc34fd77f780d5c45abb0d0bfaefd000f96b2b
2021-09-13 20:08:43 -07:00
Adeeb Shihadeh
ffb5cc5882 remove old can replay script
old-commit-hash: bd79e7f023889b080cc513ef5dda80c04c1a2ced
2021-09-02 16:56:13 -07:00
Willem Melching
503fe7421a Add script to rerun process on route and generate new logs (#22100)
* add script to rerun process on route and generate new logs

* cleanup

* move to root

* newline
old-commit-hash: 3b13eb8c7de713d2dcd18fb3a731a6529d66aa82
2021-09-01 14:48:41 -07:00
Adeeb Shihadeh
88067d0cf3 count valids
old-commit-hash: 3179c64f44872dc02f062c166310e005b63d09ee
2021-08-23 12:02:08 -07:00
Adeeb Shihadeh
277bd43b15 Revert "tici: give loggerd rt priority (#21503)"
This reverts commit 0a50cf851e79342cf3db01033bc91516c504cbea.

old-commit-hash: 54a4eeb0fccd92c3b2f872175cfedf136a1cfc71
2021-08-22 16:57:53 -07:00
Adeeb Shihadeh
5c1d1ebe76 tici: give loggerd rt priority (#21503)
* give loggerd rt priority

* assert

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7e2752c878a9e8c38639e4caa234bcabb979db2e
2021-08-20 21:27:31 -07:00
Adeeb Shihadeh
f0fcb68bb9 fix up can replay script
old-commit-hash: fd81a5556ba918dbd3079edd955a1512aac0f6d6
2021-08-18 14:06:06 -07:00
Adeeb Shihadeh
e43bc042a7 clpeak no print patch
old-commit-hash: 511f5a758940d75bf4d75313675c732c954e5b06
2021-08-07 23:27:21 -07:00
HaraldSchafer
b615987244 Cleaner lane change alerts (#21857)
* less is more

* small

* remove HUD warnings

* update ref

* safe

* update refs

* update again

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aa689176fc84e57f16a4fe9f1769e76fb8effc46
2021-08-05 14:23:27 -07:00
arfy slowy
63b3d6024b fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d74def61f88937302f7423eea67895d5f4c596b5
2021-08-05 12:05:49 -07:00
sshane
6f090bf646 uiview.py update (#21859)
* clean up uiview and add pandastate for going onroad

* don't need radarState
old-commit-hash: 7166f166c077c47a1463642dd763b884a971aea1
2021-08-04 20:24:51 -07:00
Willem Melching
a5038ef432 qlog_size.py: print size
old-commit-hash: ee39e7ba186d813f059b6fe6d5470be4b20e64b7
2021-07-15 12:36:03 +02:00
Adeeb Shihadeh
65dc6c3209 fixup timing script
old-commit-hash: 69160375c6d3bc7160948d4339e1b54018328ccf
2021-07-09 21:12:18 -07:00
Adeeb Shihadeh
2445ace577 debug script for checking timings
old-commit-hash: d11b0c06bf3f677c68412fff81eb702a22fc2624
2021-07-09 21:08:16 -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
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
Willem Melching
0f9c34d55f filter_log_message: print tracebacks
old-commit-hash: ba15fb4803dfa66a4120b334cb81a02cea65ab9c
2021-06-17 17:14:57 +02:00
Willem Melching
dc9bcce234 filter_log_message: use rlogs if available
old-commit-hash: 08c1fa32c741d31436b712857aee7ed5b7dc9ae3
2021-06-17 15:44:53 +02:00
Willem Melching
1156d97241 Script to print new bitflips on CAN (#21294)
* Script to print new bitflips on CAN

* also print falling edges
old-commit-hash: cbd03ea514332f6771c3d42480989d268b3f1ce4
2021-06-16 15:46:34 +02:00
eFini
777b84a064 two minor bug fixes (#21134)
old-commit-hash: 5c450026efedd7551accb542b33aeba4c76d0086
2021-06-04 21:20:02 -07:00
Adeeb Shihadeh
dbc269d1a3 fix car params setter script
old-commit-hash: 989ffa36e547fb0f5e4e3ec82bd82911eff80dc1
2021-06-01 20:59:03 -07:00
Adeeb Shihadeh
71994f4e64 helper script to set car params
old-commit-hash: df1756dffa287823baa11fe294dbb2d214ec383f
2021-06-01 19:30:17 -07:00
Jafar Al-Gharaibeh
f108d93bc0 Mazda FP 2.0 support (#20879)
* Mazda FP 2.0 support

ECU FW for CX-5 2017 and Mazda3 2017

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

* Use standard UDS request/reponse, fix missing arg.

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

* Add CX-5 FW test

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

* update/add FW FP

Current suported models:
  CX-5 2017/2021
  CX-9 2019/2020
  Mazda3 2017/2018

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

* Add Cx-9 2019 FW FP

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

* Remove comments, remove TESTER_PRESENT_REQUEST from Mazda

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

* add transmission ecu to startup test

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 824f93303d95695a761d10a00b0e9547274db6a9
2021-05-28 15:50:58 +02:00
Jason Young
24a9b9248c Update CI tests for CAN fingerprinting deprecation (#21043)
* Start refactor of CI tests for FPv1 deprecation

* Fix test_car_interfaces

* Touch up comment

* Smaller diff
old-commit-hash: 182b00896c7c49dc18ee100fdb3cb7128f1dd5ea
2021-05-26 14:02:42 -07:00
Willem Melching
86ff70a234 fix test_fw_query_on_routes.py
old-commit-hash: 62545f6c2bf1c6d03cdf8712947f19291654954d
2021-05-25 13:25:42 +02:00
Adeeb Shihadeh
e58a495396 Remove ignored CAN fingerprints (#20994)
* VW is all FW

* fix test

* toyota

* honda

* hyundai

* remove IGNORED_FINGERPRINTS

* toyota
old-commit-hash: e5575a6a4ccf1b43ba652ec7c3009d2389edac63
2021-05-24 13:50:10 -07:00
Adeeb Shihadeh
fb4cba198d add ignition cycling to can replay script
old-commit-hash: 4dec92f273d7b8b285da9143facf19a2c242ae1d
2021-05-22 14:14:48 -07:00
Willem Melching
0375063e3f Batch of FW versions (#20850)
old-commit-hash: 26e518a6af9b605c427678c150894ca1d58832b0
2021-05-07 15:02:51 +02:00
Adeeb Shihadeh
5d82a760db Qt onroad alerts (#20776)
old-commit-hash: f9072199571742f9e349990bb58540401a863f67
2021-05-04 23:23:00 -07:00
Adeeb Shihadeh
201e0777aa fix double DM sounds (#20811)
* fix double DM sounds

* debug script

* bool

* cleanup

* inf

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b9f9e2dfdac2a5a95be376b7622337dcfdf2b020
2021-05-03 21:38:22 -07:00
George Hotz
59fb5c6a72 allow core voltage setting
old-commit-hash: 36d7a86579613c19c1265227f3e3a4704ecbeadb
2021-04-22 19:42:32 -07:00
George Hotz
fdb8e5683c core voltage sweep
old-commit-hash: 4a710bfc16bcc9846dcff3003779cab9f50feea1
2021-04-22 17:22:31 -07:00
George Hotz
74b86a8938 script to do voltage sweep
old-commit-hash: a1fb21e066b92d3276e8fd94d80c9922b2bdcb36
2021-04-22 17:07:31 -07:00
Willem Melching
1d79459667 Remove panda set power functions (#20712)
* remove panda set power functions

* removed
old-commit-hash: 34328ba3056557e2efc614ca35e8d04a480b6caa
2021-04-20 15:31:19 +02:00
Willem Melching
ee0e80a6d4 Fuzzy match on ECU FW versions (#20687)
* Fuzzy match on 3+ ECUs

* reuse dict

* exclude some shared ecus to be sure

* show alert for fuzzy match

* use title case

* require community toggle

* refactor

* do both exact and fuzzy in test script

* update test script

* add fuzz test and lower matches to >= 2

* strip alert length

* sort mismatches

* add fw tests to test_startup

* bump cereal
old-commit-hash: e4f73fbda5c2dd07cbb15816ac1bf30b010408fe
2021-04-20 12:00:36 +02:00
Adeeb Shihadeh
96fce0bda5 script to dump events from route
old-commit-hash: 3956adc6dfb8de1464b15ee40460020a37b0bda3
2021-04-13 15:08:45 -07:00
Adeeb Shihadeh
89720ef6ce more apk cleanup (#20646)
* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 58dabdda00eae882b2290f7edd2d21dff81e3528
2021-04-10 14:53:51 -07:00
Willem Melching
8e09250c38 filter_log_message use qlogs
old-commit-hash: 11de9df3a1ea08ae1b8344548a7b2c0fd0f3e894
2021-04-09 14:06:47 +02:00
HaraldSchafer
1d36adf351 no heading cost (#20594)
* no heading cost

* live mpc weight config

* need to add stds

* make work on empty data

* no divide by 0

* update refs

* update model replay

* update proc replat

* new model replay ref
old-commit-hash: d72d433ec7a3c9f0bb2f90d196b3826d48d9b1a0
2021-04-06 23:49:29 -07:00
Willem Melching
2176a2b044 add VW support for fw fingerprint test script
old-commit-hash: 03753165b8b8503f30e5ca8890f483aef1f014f8
2021-04-06 10:41:00 +02:00
Willem Melching
60b3018b96 dump.py: lower poll timeout for faster exit
old-commit-hash: b5450a7cc5bd0efceb52fef3378ce8d24212293d
2021-03-30 12:16:57 +02:00