Commit Graph

129 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
61fa53120d fix fingerprint script
old-commit-hash: 9a9e4ba45e
2020-10-29 13:56:58 -07:00
Willem Melching
5c09e8e61b use iterator to loop over first 1000 entries (#2359)
old-commit-hash: 47dfa52456
2020-10-19 13:44:36 +02:00
Adeeb Shihadeh
8abecea3db fix pylint import error
old-commit-hash: 6073610cb0
2020-10-18 16:12:39 -07:00
Adeeb Shihadeh
e2ae5774b8 quick toyota EPS scale factor script
old-commit-hash: 82c112dad0
2020-10-18 16:00:42 -07:00
Willem Melching
839b6af9ce Update 2020 Hyundai Palisade FW versions (#2322)
* add fw versions

* carParams is sometimes not in first segment

* Update can fingerprint
old-commit-hash: 0365db20d8
2020-10-12 15:57:06 +02:00
Adeeb Shihadeh
ea90a1e391 add offroad to cpu usage script
old-commit-hash: 38a23a55ec
2020-10-06 21:12:38 -07:00
Adeeb Shihadeh
747ca1d354 fix paths for waste3 debug script
old-commit-hash: 9060d3c87b
2020-09-29 15:51:58 -07:00
Adeeb Shihadeh
52ed05f68e add ECU disable script from #1459
old-commit-hash: 98fedff6b1
2020-09-29 11:54:29 -07:00
Adeeb Shihadeh
864f32ce1b quick lgtm fixes
old-commit-hash: 4acc82604d
2020-09-19 12:53:36 -07:00
Adeeb Shihadeh
2f8213f997 rt debug scripts (#2165)
* rt debug scripts

* bigger buffer

* cleanup

* move to internal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ebab660622
2020-09-16 17:42:37 -07:00
Adeeb Shihadeh
7bd98df410 add android procs to cpu usage sript
old-commit-hash: 33ad9d67ea
2020-09-16 15:47:44 -07:00
Adeeb Shihadeh
0ce447e092 remove unused import in cycle_alerts
old-commit-hash: 8e24939613
2020-09-10 15:24:09 -07:00
Adeeb Shihadeh
0ae5e7403e 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>
old-commit-hash: acd1bde496
2020-09-09 19:04:28 +02:00
Shane Smiskol
80adb33924 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
old-commit-hash: dfdbf6e416
2020-08-30 11:38:40 -07:00
Adeeb Shihadeh
8f2111b889 type hints for messaging (#2061)
* bump cereal

* fix bugs found by mypy

* bump cereal
old-commit-hash: 520c2676b6
2020-08-23 00:33:19 -07:00
Willem Melching
938ce91d02 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>
old-commit-hash: 502cc665e0
2020-08-13 10:10:50 +02:00
Adeeb Shihadeh
51c3619f99 add locationd, paramsd, dmonitoringd to CPU usage script
old-commit-hash: 4658df7a66
2020-07-30 15:28:58 -07:00
Shane Smiskol
24ec522ef6 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
old-commit-hash: 2e59349b2e
2020-07-28 11:15:16 -07:00
Willem Melching
591dcc26ee skip 1st segment in debug replay
old-commit-hash: 74f95b8b26
2020-07-23 17:56:36 +02:00
Adeeb Shihadeh
d88134db74 default to a reasonable amount of segs in replay_drive_can.py
old-commit-hash: b17a6e8f31
2020-07-10 17:58:04 -07:00
Adeeb Shihadeh
b38c33cc47 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
old-commit-hash: 3ab0b49656
2020-07-08 19:42:03 -07:00
Adeeb Shihadeh
1e6034aaf8 bump submodules
old-commit-hash: 491a02d5d6
2020-06-27 17:46:59 -07:00
Adeeb Shihadeh
4c19a49586 Fix some alert sounds not repeating (#1763)
* fix sounds not repeating

* fix PC build

* 3 loop

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: af22b282ff
2020-06-22 19:22:02 -07:00
Comma Device
46f4f3271d fix linter
old-commit-hash: d4e8785355
2020-06-22 16:45:39 -07:00
Comma Device
e23dcec07d bring back cycle_alerts.py
old-commit-hash: c3171e66b3
2020-06-22 16:25:44 -07:00
Willem Melching
ac40387318 debug script to track droppped frames (#1749)
old-commit-hash: 0681fc04ad
2020-06-19 16:56:56 -07:00
Willem Melching
9779b2cd8f Big batch of FW versions (#1682)
* wip big batch of fw versions

* Add the rest

* And two more
old-commit-hash: 66ae0854b4
2020-06-11 16:37:45 -07:00