Commit Graph

156 Commits

Author SHA1 Message Date
eFini
777b84a064 two minor bug fixes (#21134)
old-commit-hash: 5c450026ef
2021-06-04 21:20:02 -07:00
Adeeb Shihadeh
dbc269d1a3 fix car params setter script
old-commit-hash: 989ffa36e5
2021-06-01 20:59:03 -07:00
Adeeb Shihadeh
71994f4e64 helper script to set car params
old-commit-hash: df1756dffa
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: 824f93303d
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: 182b00896c
2021-05-26 14:02:42 -07:00
Willem Melching
86ff70a234 fix test_fw_query_on_routes.py
old-commit-hash: 62545f6c2b
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: e5575a6a4c
2021-05-24 13:50:10 -07:00
Adeeb Shihadeh
fb4cba198d add ignition cycling to can replay script
old-commit-hash: 4dec92f273
2021-05-22 14:14:48 -07:00
Willem Melching
0375063e3f Batch of FW versions (#20850)
old-commit-hash: 26e518a6af
2021-05-07 15:02:51 +02:00
Adeeb Shihadeh
5d82a760db Qt onroad alerts (#20776)
old-commit-hash: f907219957
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: b9f9e2dfda
2021-05-03 21:38:22 -07:00
George Hotz
59fb5c6a72 allow core voltage setting
old-commit-hash: 36d7a86579
2021-04-22 19:42:32 -07:00
George Hotz
fdb8e5683c core voltage sweep
old-commit-hash: 4a710bfc16
2021-04-22 17:22:31 -07:00
George Hotz
74b86a8938 script to do voltage sweep
old-commit-hash: a1fb21e066
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: 34328ba305
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: e4f73fbda5
2021-04-20 12:00:36 +02:00
Adeeb Shihadeh
96fce0bda5 script to dump events from route
old-commit-hash: 3956adc6df
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: 58dabdda00
2021-04-10 14:53:51 -07:00
Willem Melching
8e09250c38 filter_log_message use qlogs
old-commit-hash: 11de9df3a1
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: d72d433ec7
2021-04-06 23:49:29 -07:00
Willem Melching
2176a2b044 add VW support for fw fingerprint test script
old-commit-hash: 03753165b8
2021-04-06 10:41:00 +02:00
Willem Melching
60b3018b96 dump.py: lower poll timeout for faster exit
old-commit-hash: b5450a7cc5
2021-03-30 12:16:57 +02:00
Willem Melching
841fa399d1 run paramsd: sort messages
old-commit-hash: da5f0c5332
2021-03-26 17:15:55 +01:00
Willem Melching
f3863ae6e1 add debug script to run paramsd on route
old-commit-hash: c0e3e2ba1b
2021-03-26 17:06:41 +01:00
Willem Melching
c0098cec09 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>
old-commit-hash: 5a3b511306
2021-03-05 11:03:23 +01:00
Greg Hogan
44f03a9401 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
old-commit-hash: 78808961c5
2021-03-01 13:03:44 -08:00
Shane Smiskol
a5c63b939e Fix uiview.py (#20175)
old-commit-hash: 839a4a3aa3
2021-02-26 20:32:50 -08:00
Willem Melching
1cc9b4481d add script to show rlog/qlog breakdown
old-commit-hash: 526d0c3d53
2021-02-23 15:36:46 +01:00
Willem Melching
3b6548d92a offline usage for filter_log_message.py (#20131)
* offline usage for filter_log_message.py

* cleanup
old-commit-hash: cb9f860e0c
2021-02-22 17:55:47 +01:00
Adeeb Shihadeh
05eb44115e cereal cleanup part 2 (#20092)
* car stuff

* thermal

* Revert "car stuff"

This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.

* 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
old-commit-hash: 312b681a46
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh
966945880b Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

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

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
old-commit-hash: 0e49919ab9
2021-01-19 00:02:53 -08:00
Comma Device
dbb83cfdef replay improvements for testing closet
old-commit-hash: 523a73774a
2021-01-16 01:03:10 +00:00
HaraldSchafer
c6d9b9565a Mpc rework2 (#19660)
* start again

* need that too

* this actually works

* not needed

* do properly

* still works

* still works

* still good

* all G without ll

* still works

* all still good

* cleanup building

* cleanup sconscript

* new lane planner

* how on earth is this silent too....

* update

* add rotation radius

* update

* pathplanner first pass

* misc fixes

* fix

* need deep_interp

* local again

* fix

* fix test

* very old

* new replay

* interp properly

* correct length

* another horrible silent bug

* like master

* fix that

* do doubles

* different delay compensation

* make robust to empty msg

* make pass with hack for now

* add some extra

* update ref for increased leg

* test cpu usage on this pr

* tiny bit faster

* purge numpy

* update ref

* not needed

* ready for merge

* try again after recompile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 158210cde8
2021-01-14 18:43:50 -08:00
Adeeb Shihadeh
d66a310f3e fix import error
old-commit-hash: 413e0fa40a
2021-01-14 18:02:13 -08:00
Adeeb Shihadeh
0e78d18950 better can replay script
old-commit-hash: e6478c6b35
2021-01-14 17:49:17 -08:00
Comma Device
ccfe9cb923 add prebuilt clpeak3
old-commit-hash: cf5b9a112f
2021-01-14 04:18:01 +00:00
Adeeb Shihadeh
a301ed0b5d patch clpeak to run continuously
old-commit-hash: 4cc99e5979
2021-01-13 20:13:14 -08:00
Adeeb Shihadeh
dfd24560b4 add clpeak to profiling tools
old-commit-hash: a9c71a76f5
2021-01-13 19:41:56 -08:00
Adeeb Shihadeh
3b2d64fddb make android logcat exit cleanly (#19666)
* make android logcat exit cleanly

* clean up cpu usage script

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a399ec530d
2021-01-05 15:10:55 -08:00
Adeeb Shihadeh
bc9891b651 external cleanup (#19647)
* remove external

* put back ffmpeg for now
old-commit-hash: 1669e4a5d1
2021-01-04 14:17:14 -08:00
Adeeb Shihadeh
c55926c7b8 lgtm fixes (#19610)
* pass matrices by reference

* suppress that

* destructor

* that's wrong, suppress it
old-commit-hash: 4096f86e21
2020-12-28 20:36:23 -08:00
vanillagorillaa
971db4cb26 Update script usage (#19571)
old-commit-hash: 98ca428844
2020-12-21 13:11:59 -08:00
Adeeb Shihadeh
83cfbeaf9a adb over smays
old-commit-hash: 48306360a1
2020-12-12 19:21:45 -08:00
Adeeb Shihadeh
df6abf988e make fingerprint script nice
old-commit-hash: b1a4ec8135
2020-12-08 13:39:22 -08:00
Shane Smiskol
0ca54982b6 Fix toyota_eps_factor.py script (#2647)
* fix toyota_eps_factor.py script, don't use samples where wheel is touched

* caps mistake

* Hope this is correct, don't use CS.steeringPressed

* revert sorting now that we don't use CS
old-commit-hash: 460e4dc3b0
2020-11-28 22:36:51 -08:00
Willem Melching
3e44be1461 Add sonata firmware version
old-commit-hash: 6e476e0667
2020-11-18 12:48:21 +01:00
Jon Ander Oribe
9f61dd6254 Simple improvements for quality gate (#2517)
* Improvements for quality gate

* Update test_xattr.py

* Update test_mpc_wobble.py

* python

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 887d67eb8d
2020-11-12 14:48:45 -08:00
Adeeb Shihadeh
f25cec394e grey panda is unsupported (#2458)
old-commit-hash: 47c21f10f5
2020-11-03 19:56:25 -08:00