Commit Graph

140 Commits

Author SHA1 Message Date
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
Willem Melching
841fa399d1 run paramsd: sort messages
old-commit-hash: da5f0c5332af939c8bb5ac7e947babdcd9e7863e
2021-03-26 17:15:55 +01:00
Willem Melching
f3863ae6e1 add debug script to run paramsd on route
old-commit-hash: c0e3e2ba1b7c606395f0e892762ee4953f188c26
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: 5a3b51130649356b14b24e3c82e014b3a0be95a8
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: 78808961c53a29fddcec334358a0fcc55aa69a1c
2021-03-01 13:03:44 -08:00
Shane Smiskol
a5c63b939e Fix uiview.py (#20175)
old-commit-hash: 839a4a3aa3f64c5d326883ae1ddd8f6959dfc382
2021-02-26 20:32:50 -08:00
Willem Melching
1cc9b4481d add script to show rlog/qlog breakdown
old-commit-hash: 526d0c3d53d0c6cd8580632890d2e47bf1ce4458
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: cb9f860e0c985d11cb7610de5b86e2b4ca44353f
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: 312b681a46b8153314a8420611b6479dd6f70dfc
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: 000bd226aa9902da01e6010bf26762fca2c20df0
2021-02-03 19:57:30 -08:00
Adeeb Shihadeh
dbc2971dba fix static analysis checks after mypy update
old-commit-hash: 229395e15b1bd771f1855306f69714cbc692e12e
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: 0e49919ab99b9cb85c5df271de5145e388d756ad
2021-01-19 00:02:53 -08:00
Comma Device
dbb83cfdef replay improvements for testing closet
old-commit-hash: 523a73774a6e1112ce8889f15812138e9c7c5883
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: 158210cde8e689daa04bcaa1e502727cf7bfddb6
2021-01-14 18:43:50 -08:00
Adeeb Shihadeh
d66a310f3e fix import error
old-commit-hash: 413e0fa40a6ae6258675240d2f8dd9447eb1c498
2021-01-14 18:02:13 -08:00
Adeeb Shihadeh
0e78d18950 better can replay script
old-commit-hash: e6478c6b35db1707cebe21a75df9ffa816b6c313
2021-01-14 17:49:17 -08:00
Comma Device
ccfe9cb923 add prebuilt clpeak3
old-commit-hash: cf5b9a112f65fc87e1af8afa231a3ec7aaa0d9d4
2021-01-14 04:18:01 +00:00
Adeeb Shihadeh
a301ed0b5d patch clpeak to run continuously
old-commit-hash: 4cc99e5979306af7363c74c62c39f6397e42f3e8
2021-01-13 20:13:14 -08:00
Adeeb Shihadeh
dfd24560b4 add clpeak to profiling tools
old-commit-hash: a9c71a76f5bc64d130a20045404d9edd8468fb2f
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: a399ec530d5cbd7fbc842881af48559176a10568
2021-01-05 15:10:55 -08:00
Adeeb Shihadeh
bc9891b651 external cleanup (#19647)
* remove external

* put back ffmpeg for now
old-commit-hash: 1669e4a5d1444c07c31400a23fc42d8f6cccc837
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: 4096f86e210e7caa94e7be2edfd1eb2c247175e8
2020-12-28 20:36:23 -08:00
vanillagorillaa
971db4cb26 Update script usage (#19571)
old-commit-hash: 98ca428844b0e88fae6aaa93e22b0a1fa30b1be9
2020-12-21 13:11:59 -08:00
Adeeb Shihadeh
83cfbeaf9a adb over smays
old-commit-hash: 48306360a10beeae8868e93dfd0eb245e46a1c77
2020-12-12 19:21:45 -08:00
Adeeb Shihadeh
df6abf988e make fingerprint script nice
old-commit-hash: b1a4ec8135cbaccf016ee78487582b9e3e7724d4
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: 460e4dc3b081dad63b8c9415f5ae1f18a88900b9
2020-11-28 22:36:51 -08:00
Willem Melching
3e44be1461 Add sonata firmware version
old-commit-hash: 6e476e06676bdc6da9f6f3e1a865d6568a199b49
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: 887d67eb8d8d2da8e07ff3a74517b620afa9542a
2020-11-12 14:48:45 -08:00
Adeeb Shihadeh
f25cec394e grey panda is unsupported (#2458)
old-commit-hash: 47c21f10f598639307994392e96f4d9293b295c7
2020-11-03 19:56:25 -08:00
Adeeb Shihadeh
61fa53120d fix fingerprint script
old-commit-hash: 9a9e4ba45e000bbc496eeb624961a38ba833f708
2020-10-29 13:56:58 -07:00
Willem Melching
5c09e8e61b use iterator to loop over first 1000 entries (#2359)
old-commit-hash: 47dfa524565301969db32ab2bee4b089d985e87d
2020-10-19 13:44:36 +02:00
Adeeb Shihadeh
8abecea3db fix pylint import error
old-commit-hash: 6073610cb08e03e142b80dc7b1196ce359a1f55a
2020-10-18 16:12:39 -07:00
Adeeb Shihadeh
e2ae5774b8 quick toyota EPS scale factor script
old-commit-hash: 82c112dad067de5ea33ff8249f14ac6233439c85
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: 0365db20d8853845dce79727e347b02ec07b472c
2020-10-12 15:57:06 +02:00
Adeeb Shihadeh
ea90a1e391 add offroad to cpu usage script
old-commit-hash: 38a23a55ec8b27851e4f5eb2d37717c7ada63053
2020-10-06 21:12:38 -07:00
Adeeb Shihadeh
747ca1d354 fix paths for waste3 debug script
old-commit-hash: 9060d3c87b717189350035603a791b47a16f8fc8
2020-09-29 15:51:58 -07:00
Adeeb Shihadeh
52ed05f68e add ECU disable script from #1459
old-commit-hash: 98fedff6b1f286c28a5beb12fd40b392b1d4ce65
2020-09-29 11:54:29 -07:00
Adeeb Shihadeh
864f32ce1b quick lgtm fixes
old-commit-hash: 4acc82604d456dc5280e62f946f3fdd1e0ce5810
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: ebab66062248012fe6c1a25a6d789297849cb868
2020-09-16 17:42:37 -07:00
Adeeb Shihadeh
7bd98df410 add android procs to cpu usage sript
old-commit-hash: 33ad9d67eafa13f1c608368136a37e0a08a5bb68
2020-09-16 15:47:44 -07:00
Adeeb Shihadeh
0ce447e092 remove unused import in cycle_alerts
old-commit-hash: 8e249396138ff2c7c4e38f54aa01776a9d5e00e9
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: acd1bde496904fbc0d97f4d89e630358c4d11f7f
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: dfdbf6e41607d793f4c7d38407978a28af0d2e28
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: 520c2676b682903d2be8f661ce98ac85fa50c439
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: 502cc665e0bad89eba0b1c344c2f4f580b153ae1
2020-08-13 10:10:50 +02:00