Commit Graph

7587 Commits

Author SHA1 Message Date
Dean Lee
9ec262bbfd cabana: Docking and undocking charts (#25983)
* floating dock charts

* more button

* setMinimumSize

* move reset zoom button to title bar

* show chart count

* cleanup

* reduce flicker

* dont update linemarker if pos not changed

* cleanup

* remove blank line

* always show dock/undock button
2022-10-06 13:57:11 -07:00
Adeeb Shihadeh
9935a65115 always enable rawgps on tici (#25987) 2022-10-06 13:47:09 -07:00
Dean Lee
2d9e797259 cabana: Fix the incorrect Y axis (#25984) 2022-10-06 13:35:56 -07:00
Dean Lee
7156633034 cabana: use QFormLayout (#25982) 2022-10-06 11:21:04 -07:00
Dean Lee
4cd3753d98 cabana: insert new chart at the top (#25981)
* small cleanup

* new chart insert at the top
2022-10-06 11:20:49 -07:00
Bruce Wayne
8b33ee9750 Bump tinygrad to master 2022-10-05 23:02:35 -07:00
HaraldSchafer
cb0b7375b7 Rocket Launcher Model (#25963)
* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300

* compute only 9 tokens: 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300

* tinygrad: cleanup gather

* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/700

* empty commit for tests

* bump tinygrad

* dont use tinygrad matmul for now

* bump tinygrad

* 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700

* float16 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700

* increase steer rate cost

* Revert "increase steer rate cost"

This reverts commit 74ce9ab9be7ef17ecfec931f96851b12f37f2336.

* fork tinygrad

* empty commit for tests

* basics

* Kinda works

* new lat

* new tuning

* Move LATMPCN so scons compiles

* Update long weights

* Add tinygrad optim

* Update model ref

* update weights

* Update ref

* Try

* Error message for field ignore

* update model regf

* ref commit

* Fix onnx test

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
2022-10-05 21:43:38 -07:00
Dean Lee
a6ba073231 canbana: complete basic functions (#25965)
* add chart header

* get all signal val from logs

* loop in selected range

* clear list before append

* automatically zoom on yaxis

* cleanup

* sync charts

* fix event_begin_sec

* set the color of rubber

* add TODO

* sync slider with charts

* keep video aspect ratio

* sync plot buttons

* reduce flickers

* cleanup

* refactor detail view

* clear counters

* more

use qcamera
2022-10-05 21:17:22 -07:00
Vivek Aithal
dc72438be5 regen: add arg for migrating sensorEvents with old timestamps (#25980)
* add event logMonoTime

* add arg for old logtime
2022-10-05 21:16:41 -07:00
Adeeb Shihadeh
e59008bf93 rawgpsd: more robust + simple test (#25977)
* rawgps cleanup

* wait for modem manager

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2022-10-05 20:59:04 -07:00
Cameron Clough
c9c46c1b36 Revert "updated: configure branch upstream (#25916)"
This reverts commit 17ed8dd0e9.
2022-10-05 19:07:59 -07:00
Adeeb Shihadeh
6a8a38b1a1 pigeond: prevent locking up a CPU core (#25979) 2022-10-05 17:13:48 -07:00
Shane Smiskol
6db9f051f7 Car docs: test no duplicate years (#25975)
* unit test

* clean up

* revert test

* clean up

* like this

like this

* no model model
2022-10-05 17:09:46 -07:00
Shane Smiskol
8b41d817e4 IsoTpParallelQuery: set separation time (#25978)
* Specify separation time in openpilot

* comment

* Update selfdrive/car/isotp_parallel_query.py

* Update selfdrive/car/isotp_parallel_query.py
2022-10-05 17:06:52 -07:00
Adeeb Shihadeh
ef24c0b2ce agnos 6.1 (#25973)
* agnos 6.1

* staging manifest

* no casync

* prod manifest
2022-10-05 16:40:39 -07:00
Adeeb Shihadeh
06e283a750 UI: only show cell settings on non-prime connection (#25067)
* fix indentation

* add primeTypeChanged signal to uiState

* hide advanced networking toggles on prime type change

* switch between map settings on prime type change

* cleanup

* remove duplicate code, wait for signal

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-10-05 16:10:14 -07:00
Cameron Clough
c8b7d297b6 docs: specify Lexus Safety System+ package for RX 2016 (#25974)
* docs: specify Lexus Safety System+ package for RX 2016

This package isn't standard on the 2016 MY.

https://cdn.dealereprocess.org/cdn/brochures/lexus/2016-rx350.pdf

* hybrid too

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-05 15:39:40 -07:00
Adeeb Shihadeh
300577f38f fixup toggle cleanup 2022-10-05 13:00:22 -07:00
HaraldSchafer
e5d2c3ce7a Planner cleanup (#25969) 2022-10-04 21:19:04 -07:00
Adeeb Shihadeh
f2859b3be5 thermald: prevent started cycling too quickly (#25971)
* thermald: prevent started cycling too quickly

* move that

* fix logging and no wait after boot

Co-authored-by: Comma Device <device@comma.ai>
2022-10-04 20:58:07 -07:00
Shane Smiskol
7ed064f7ba VIN: make Ford exception more explicit (#25972)
* Update vin.py

* only replace from end
2022-10-04 20:38:39 -07:00
Shane Smiskol
de67a28f1b Ford: handle VIN (#25966)
fix ford vin
2022-10-04 19:21:23 -07:00
Adeeb Shihadeh
285fd56a1d bootlog: add helper to get a bootlog by segment id 2022-10-04 17:47:37 -07:00
Adeeb Shihadeh
0231c4ba85 cleanup stale longitudinal params (#25967) 2022-10-04 17:23:41 -07:00
Vivek Aithal
ca746b0a18 Extend torqued (#25961)
* extend live torque to all hyundai and toyota cars

* update refs
2022-10-04 13:34:31 -07:00
Shane Smiskol
84adb8d925 GM: raise max brake (#25810)
* -4 didn't make any sense?

* comments

* comments

* update to 400

* bump panda

* remove unused iso limit vars

* update comments

* bump panda

* Update selfdrive/car/gm/values.py

* Update ref_commit
2022-10-04 00:39:19 -07:00
Adeeb Shihadeh
f35c234e9c thermald: consider pmic temp while onroad (#25959)
* thermald: consider pmic temp while onroad

* this is better
2022-10-03 21:19:51 -07:00
Kurt Nistelberger
dc63245b89 reset LaikadEphemeris after loggerd test 2022-10-03 20:47:00 -07:00
Greg Hogan
5352006cbd hyundai: fix FCA11 checksum and counter (#25027)
* hyundai: fix FCA11 checksum and counter

* update refs and comment about alt DBC definition we do not support
2022-10-03 19:19:39 -07:00
Cameron Clough
4404cb42b4 fix build without extras (#25957) 2022-10-03 16:45:00 -07:00
Adeeb Shihadeh
3068c48224 add fault for invalid safety RX checks (#25949)
* add fault for invalid safety RX checks

* just a bool

* bump panda
2022-10-03 16:06:29 -07:00
Dean Lee
1b8324af87 c++ cabana: Initial version (#25946)
* draft

* continue

* fix QChart unresponsive with large points

* build with --extras

* add filter

* save DBC button

* more buttons

* add flag to use qcamera

* stop replay in dctor

* README

* use getMsg

* video control

* edit signal

* add colors

* correct ts

* add/edit signals

* use bus:address as key
2022-10-03 15:19:42 -07:00
Cameron Clough
bc7be114d8 UI: remove unused tap detection constant (#25956) 2022-10-03 13:58:40 -07:00
Cameron Clough
2a0ce3e8b8 direct model feedback issues to GitHub discussions (#25953)
* add links to give model feedback in github discussions

* use correct link
2022-10-03 13:10:35 -07:00
Shane Smiskol
6393d29b04 pre-commit: test translations (#25695)
* add test translations to precommit

* fix test translations pre-commit hook

* revert

* fix that

* add to release files

add to release files

* fix

* don't run test on stripped dir

* fix
2022-10-03 12:26:12 -07:00
Jason Young
50b8fc19b6 VW PQ: Use correct brake signal (#25952) 2022-10-03 11:48:56 -07:00
Dean Lee
379b7cf8b6 proclogd: fix wrong type for rss (#25923)
rss is long
2022-10-03 10:16:38 -07:00
Adeeb Shihadeh
cd40652e64 updated: don't show failed alert with no internet (#25948) 2022-10-02 16:13:28 -07:00
Cameron Clough
f611960391 networking: add unmetered cellular toggle (#25902)
* add metered toggle to UI

* add GsmMetered param

* add NMMetered constants

* change LTE connection settings: connection.metered

* change to GsmUnmetered override

* update translations

* debug ui

* remove comment

* Revert "debug ui"

This reverts commit 2ad9e65ea229b814782be9f30cc7664125d7e908.

* 'Force Unmetered Cellular' toggle

* update translations

* remove description

* update translations

* change unmetered to metered
2022-10-01 14:47:06 -07:00
Shane Smiskol
68cc53a085 VIN query: switch to functional address (#25933)
* stash

* go in defined order

* \n feels cleaner
2022-09-30 20:29:54 -07:00
Shane Smiskol
86f0632afd Use tx_addr/sub_addr from query 2022-09-30 17:44:48 -07:00
Shane Smiskol
4d7f4b4c9d IsoTpParallelQuery: don't return rx_addr (#25934)
* revert isotpparallelquery returning rx addr for functional special case

* we don't really use the tx addr (and soon won't make sense with fun querying)
2022-09-30 16:01:22 -07:00
Shane Smiskol
4bd146ee7a Longitudinal planner: clip a_desired to cruise limits (#25928)
* Clip a_desired to cruise limits

* Update selfdrive/controls/lib/longitudinal_planner.py

* fix

* update refs

* explicit
2022-09-30 15:43:04 -07:00
Shane Smiskol
bea960675f IsoTpParallelQuery: process all functional responses (#25939)
* stash

* process all functional addrs (stash)

* clean up

* rm

* simplify

* let user pass in tx for rx addrs

* revert panda

* simplify

* comment

order

* need to go by rx_addr now

* Revert "need to go by rx_addr now"

This reverts commit 1197ecfbc5b9e5df20b523a0623f644cd8cae1ef.

* stash

* should also work

* this seems pretty clean

* not used

* properly use

* comment

* some fixes

* some fixes

* send consecutive frames on physical addrs

* bump panda

* looks better

* setup_only

* Revert VIN changes

* rev

* bump panda to master

* Update selfdrive/car/isotp_parallel_query.py
2022-09-30 15:15:13 -07:00
Shane Smiskol
75735675bd process replay: rename second HYUNDAI entry 2022-09-30 14:49:27 -07:00
Adeeb Shihadeh
80c40048cb sensord: test fixups (#25935)
* sensord: test fixups

* fix linter

* check freq

* fp seems reliable

* clean that up

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Bruce Wayne <batman@z840-provisioning.internal>
2022-09-30 12:25:11 -07:00
Adeeb Shihadeh
a75e85045e build_devel: only fetch target branches (#25941) 2022-09-30 12:24:56 -07:00
Adeeb Shihadeh
5d33199905 sim: fix sensor freq and timestamps (#25937)
* sim: fix sensor freq and timestamps

* 100hz

* fix that too
2022-09-29 22:36:09 -07:00
Shane Smiskol
9e2cca23cf Revert "IsoTpParallelQuery: process all functional responses (#25930)"
This reverts commit c5514f3440.
2022-09-29 21:15:34 -07:00
Shane Smiskol
c5514f3440 IsoTpParallelQuery: process all functional responses (#25930)
* Revert "VIN: query physical addresses (#25122)"

This reverts commit 0697ca2239.

* try sending tester present

* do CAN fingerprinting first

* looks like we can get rid of this!

* remove import

* no cache for testing

* revert

* revert

* move function to fw_versions

* Exception

* Revert fp order, sleep to let PubSocket connect

* comment

comment

* space

* Update selfdrive/car/car_helpers.py

* at 0.06 is where it becomes more consistent

* treat functional addrs like physical addrs (process all responses)

* fixes and debugging

* fix

* revert other changes

* Update selfdrive/car/isotp_parallel_query.py

* caps
2022-09-29 19:07:28 -07:00