Adeeb Shihadeh
bd79e7f023
remove old can replay script
2021-09-02 16:56:13 -07:00
Willem Melching
3b13eb8c7d
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
2021-09-01 14:48:41 -07:00
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
HaraldSchafer
158210cde8
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>
2021-01-14 18:43:50 -08:00
Adeeb Shihadeh
413e0fa40a
fix import error
2021-01-14 18:02:13 -08:00
Adeeb Shihadeh
e6478c6b35
better can replay script
2021-01-14 17:49:17 -08:00
Comma Device
cf5b9a112f
add prebuilt clpeak3
2021-01-14 04:18:01 +00:00
Adeeb Shihadeh
4cc99e5979
patch clpeak to run continuously
2021-01-13 20:13:14 -08:00
Adeeb Shihadeh
a9c71a76f5
add clpeak to profiling tools
2021-01-13 19:41:56 -08:00
Adeeb Shihadeh
a399ec530d
make android logcat exit cleanly ( #19666 )
...
* make android logcat exit cleanly
* clean up cpu usage script
Co-authored-by: Comma Device <device@comma.ai>
2021-01-05 15:10:55 -08:00
Adeeb Shihadeh
1669e4a5d1
external cleanup ( #19647 )
...
* remove external
* put back ffmpeg for now
2021-01-04 14:17:14 -08:00
Adeeb Shihadeh
4096f86e21
lgtm fixes ( #19610 )
...
* pass matrices by reference
* suppress that
* destructor
* that's wrong, suppress it
2020-12-28 20:36:23 -08:00
vanillagorillaa
98ca428844
Update script usage ( #19571 )
2020-12-21 13:11:59 -08:00
Adeeb Shihadeh
48306360a1
adb over smays
2020-12-12 19:21:45 -08:00
Adeeb Shihadeh
b1a4ec8135
make fingerprint script nice
2020-12-08 13:39:22 -08:00
Shane Smiskol
460e4dc3b0
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
2020-11-28 22:36:51 -08:00
Willem Melching
6e476e0667
Add sonata firmware version
2020-11-18 12:48:21 +01:00
Jon Ander Oribe
887d67eb8d
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>
2020-11-12 14:48:45 -08:00
Adeeb Shihadeh
47c21f10f5
grey panda is unsupported ( #2458 )
2020-11-03 19:56:25 -08:00
Adeeb Shihadeh
9a9e4ba45e
fix fingerprint script
2020-10-29 13:56:58 -07:00
Willem Melching
47dfa52456
use iterator to loop over first 1000 entries ( #2359 )
2020-10-19 13:44:36 +02:00
Adeeb Shihadeh
6073610cb0
fix pylint import error
2020-10-18 16:12:39 -07:00
Adeeb Shihadeh
82c112dad0
quick toyota EPS scale factor script
2020-10-18 16:00:42 -07:00
Willem Melching
0365db20d8
Update 2020 Hyundai Palisade FW versions ( #2322 )
...
* add fw versions
* carParams is sometimes not in first segment
* Update can fingerprint
2020-10-12 15:57:06 +02:00
Adeeb Shihadeh
38a23a55ec
add offroad to cpu usage script
2020-10-06 21:12:38 -07:00
Adeeb Shihadeh
9060d3c87b
fix paths for waste3 debug script
2020-09-29 15:51:58 -07:00
Adeeb Shihadeh
98fedff6b1
add ECU disable script from #1459
2020-09-29 11:54:29 -07:00
Adeeb Shihadeh
4acc82604d
quick lgtm fixes
2020-09-19 12:53:36 -07:00
Adeeb Shihadeh
ebab660622
rt debug scripts ( #2165 )
...
* rt debug scripts
* bigger buffer
* cleanup
* move to internal
Co-authored-by: Comma Device <device@comma.ai>
2020-09-16 17:42:37 -07:00
Adeeb Shihadeh
33ad9d67ea
add android procs to cpu usage sript
2020-09-16 15:47:44 -07:00
Adeeb Shihadeh
8e24939613
remove unused import in cycle_alerts
2020-09-10 15:24:09 -07:00
Adeeb Shihadeh
acd1bde496
QT UI: sounds ( #2078 )
...
* move android into own dir
* fix name
* maybe this works? qt ui doesn't work on mac
* fix that
* pc sound works
* fix pc build
* lowercase
* that needs to be real_arch
* split into classes
* fix typo in lib
* Fix cycle alerts
* Add qt multimedia libs to install scripts
* Add ui/android folder
* Fix android build
* Raise exception if sound init fails
* add missing return
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-09-09 19:04:28 +02:00
Shane Smiskol
dfdbf6e416
Show lane lines and path while using uiview.py ( #2104 )
...
* add modeld and required calibd procs to uiview to display lane lines when debugging
* send radarState with empty message to show model path
* make uiview.py executable
2020-08-30 11:38:40 -07:00
Adeeb Shihadeh
520c2676b6
type hints for messaging ( #2061 )
...
* bump cereal
* fix bugs found by mypy
* bump cereal
2020-08-23 00:33:19 -07:00
Willem Melching
502cc665e0
Pigeon abstraction layer ( #1977 )
...
* pigeon abstraction layer
* Fix string literals
* more generic pigeon class
* add TTYpigon
* nicer tty error handling
* close tty fd on pigeon delete
* pigeon receive return std::string
* use sizeof
* max receive size to prevent infinite loop
* remove namespace
* add unistd include for usleep
* fix is pigeon
* Handle tty error in opening
* fix printing binary strings with dump.py
* fix pigeon build on macos
* Handle errors seperately
Co-authored-by: Comma Device <device@comma.ai>
2020-08-13 10:10:50 +02:00
Adeeb Shihadeh
4658df7a66
add locationd, paramsd, dmonitoringd to CPU usage script
2020-07-30 15:28:58 -07:00
Shane Smiskol
2e59349b2e
Add a minimal debugging tool to show the UI while device not in car ( #1937 )
...
* add a minimal uiview file with alias from selfdrive/ui
* make ui_debug executable
* minimize uiview.py; remove os and functions. the processes exit normally when ctrl+c'ing out of the loop
* violating E401 here, save 1 more line
* kill on exit
* forgot signal
* new record! 15 lines
* add comments and declare some common variables. don't need to redefine the messages every loop
2020-07-28 11:15:16 -07:00
Willem Melching
74f95b8b26
skip 1st segment in debug replay
2020-07-23 17:56:36 +02:00
Adeeb Shihadeh
b17a6e8f31
default to a reasonable amount of segs in replay_drive_can.py
2020-07-10 17:58:04 -07:00
Adeeb Shihadeh
3ab0b49656
Boardd loopback test ( #1840 )
...
* start boardd loopback test
* let's try this in CI
* fix jenkinsfile
* remove old
* rename
* check msgs
* should be reliable now
* send more
2020-07-08 19:42:03 -07:00
Adeeb Shihadeh
491a02d5d6
bump submodules
2020-06-27 17:46:59 -07:00
Adeeb Shihadeh
af22b282ff
Fix some alert sounds not repeating ( #1763 )
...
* fix sounds not repeating
* fix PC build
* 3 loop
Co-authored-by: Comma Device <device@comma.ai>
2020-06-22 19:22:02 -07:00
Comma Device
d4e8785355
fix linter
2020-06-22 16:45:39 -07:00
Comma Device
c3171e66b3
bring back cycle_alerts.py
2020-06-22 16:25:44 -07:00
Willem Melching
0681fc04ad
debug script to track droppped frames ( #1749 )
2020-06-19 16:56:56 -07:00
Willem Melching
66ae0854b4
Big batch of FW versions ( #1682 )
...
* wip big batch of fw versions
* Add the rest
* And two more
2020-06-11 16:37:45 -07:00
Adeeb
367155168a
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
2020-06-03 16:13:34 -07:00
Willem Melching
2400417084
vehicle model types ( #1631 )
2020-06-03 13:47:47 -07:00
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
ebed2d1dcc
enable flake8 E251: unexpected spaces around keyword / parameter equals
2020-05-31 17:34:47 -07:00
Adeeb Shihadeh
f3dcf861c7
enable flake8 E303: too many blank lines
2020-05-31 17:21:11 -07:00