Commit Graph

146 Commits (26b74dd31d0ea92e510c8cf16fbcecb70c4d2ab4)

Author SHA1 Message Date
Adeeb Shihadeh 3179c64f44 count valids 2021-08-23 12:02:08 -07:00
Adeeb Shihadeh 54a4eeb0fc Revert "tici: give loggerd rt priority (#21503)"
This reverts commit 7e2752c878.
2021-08-22 16:57:53 -07:00
Adeeb Shihadeh 7e2752c878
tici: give loggerd rt priority (#21503)
* give loggerd rt priority

* assert

* little more

Co-authored-by: Comma Device <device@comma.ai>
2021-08-20 21:27:31 -07:00
Adeeb Shihadeh fd81a5556b fix up can replay script 2021-08-18 14:06:06 -07:00
Adeeb Shihadeh 511f5a7589 clpeak no print patch 2021-08-07 23:27:21 -07:00
HaraldSchafer aa689176fc
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>
2021-08-05 14:23:27 -07:00
arfy slowy d74def61f8
fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

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

* don't need radarState
2021-08-04 20:24:51 -07:00
Willem Melching ee39e7ba18 qlog_size.py: print size 2021-07-15 12:36:03 +02:00
Adeeb Shihadeh 69160375c6 fixup timing script 2021-07-09 21:12:18 -07:00
Adeeb Shihadeh d11b0c06bf debug script for checking timings 2021-07-09 21:08:16 -07:00
HaraldSchafer 6838e1c82c
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>
2021-06-30 14:19:39 -07:00
Adeeb Shihadeh 4a1aec27ef
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
2021-06-28 21:44:40 -07:00
Willem Melching ba15fb4803 filter_log_message: print tracebacks 2021-06-17 17:14:57 +02:00
Willem Melching 08c1fa32c7 filter_log_message: use rlogs if available 2021-06-17 15:44:53 +02:00
Willem Melching cbd03ea514
Script to print new bitflips on CAN (#21294)
* Script to print new bitflips on CAN

* also print falling edges
2021-06-16 15:46:34 +02:00
eFini 5c450026ef
two minor bug fixes (#21134) 2021-06-04 21:20:02 -07:00
Adeeb Shihadeh 989ffa36e5 fix car params setter script 2021-06-01 20:59:03 -07:00
Adeeb Shihadeh df1756dffa helper script to set car params 2021-06-01 19:30:17 -07:00
Jafar Al-Gharaibeh 824f93303d
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>
2021-05-28 15:50:58 +02:00
Jason Young 182b00896c
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
2021-05-26 14:02:42 -07:00
Willem Melching 62545f6c2b fix test_fw_query_on_routes.py 2021-05-25 13:25:42 +02:00
Adeeb Shihadeh e5575a6a4c
Remove ignored CAN fingerprints (#20994)
* VW is all FW

* fix test

* toyota

* honda

* hyundai

* remove IGNORED_FINGERPRINTS

* toyota
2021-05-24 13:50:10 -07:00
Adeeb Shihadeh 4dec92f273 add ignition cycling to can replay script 2021-05-22 14:14:48 -07:00
Willem Melching 26e518a6af
Batch of FW versions (#20850) 2021-05-07 15:02:51 +02:00
Adeeb Shihadeh f907219957
Qt onroad alerts (#20776) 2021-05-04 23:23:00 -07:00
Adeeb Shihadeh b9f9e2dfda
fix double DM sounds (#20811)
* fix double DM sounds

* debug script

* bool

* cleanup

* inf

Co-authored-by: Comma Device <device@comma.ai>
2021-05-03 21:38:22 -07:00
George Hotz 36d7a86579 allow core voltage setting 2021-04-22 19:42:32 -07:00
George Hotz 4a710bfc16 core voltage sweep 2021-04-22 17:22:31 -07:00
George Hotz a1fb21e066 script to do voltage sweep 2021-04-22 17:07:31 -07:00
Willem Melching 34328ba305
Remove panda set power functions (#20712)
* remove panda set power functions

* removed
2021-04-20 15:31:19 +02:00
Willem Melching e4f73fbda5
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
2021-04-20 12:00:36 +02:00
Adeeb Shihadeh 3956adc6df script to dump events from route 2021-04-13 15:08:45 -07:00
Adeeb Shihadeh 58dabdda00
more apk cleanup (#20646)
* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
2021-04-10 14:53:51 -07:00
Willem Melching 11de9df3a1 filter_log_message use qlogs 2021-04-09 14:06:47 +02:00
HaraldSchafer d72d433ec7
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
2021-04-06 23:49:29 -07:00
Willem Melching 03753165b8 add VW support for fw fingerprint test script 2021-04-06 10:41:00 +02:00
Willem Melching b5450a7cc5 dump.py: lower poll timeout for faster exit 2021-03-30 12:16:57 +02:00
Willem Melching da5f0c5332 run paramsd: sort messages 2021-03-26 17:15:55 +01:00
Willem Melching c0e3e2ba1b add debug script to run paramsd on route 2021-03-26 17:06:41 +01:00
Willem Melching 5a3b511306
Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

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

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-05 11:03:23 +01:00
Greg Hogan 78808961c5
fix log values with non-utf8 characters and remove index_log (#20173)
* remove index_log

* handle non-unicode characters in values

* dump.py better handling of printing non-unicode characters

* only replace errors in main
2021-03-01 13:03:44 -08:00
Shane Smiskol 839a4a3aa3
Fix uiview.py (#20175) 2021-02-26 20:32:50 -08:00
Willem Melching 526d0c3d53 add script to show rlog/qlog breakdown 2021-02-23 15:36:46 +01:00
Willem Melching cb9f860e0c
offline usage for filter_log_message.py (#20131)
* offline usage for filter_log_message.py

* cleanup
2021-02-22 17:55:47 +01:00
Adeeb Shihadeh 312b681a46
cereal cleanup part 2 (#20092)
* car stuff

* thermal

* Revert "car stuff"

This reverts commit 77fd1c65eb.

* panda state

* camera stuff

* start deg

* most is building

* builds

* planner + controls run

* fix up paramsd

* cleanup

* process replay passes

* fix webcam build

* camerad

* no more frame

* thermald

* ui

* paramsd

* camera replay

* fix long tests

* fix camerad tests

* maxSteeringAngle

* bump cereal

* more frame

* cereal master
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh 000bd226aa
Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
2021-02-03 19:57:30 -08:00
Adeeb Shihadeh 229395e15b fix static analysis checks after mypy update 2021-01-30 16:53:48 -08:00
HaraldSchafer 0e49919ab9
Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
2021-01-19 00:02:53 -08:00
Comma Device 523a73774a replay improvements for testing closet 2021-01-16 01:03:10 +00:00