Commit Graph

8145 Commits

Author SHA1 Message Date
HaraldSchafer a8ec6f4cfd 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>
old-commit-hash: cb0b7375b728d1b6e92db68c9ba55f0f54c09a3f
2022-10-05 21:43:38 -07:00
Dean Lee f93f4e9f9b 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
old-commit-hash: a6ba073231761e06ac6f070a01b434243d9d0693
2022-10-05 21:17:22 -07:00
Vivek Aithal 73f0c74b9b regen: add arg for migrating sensorEvents with old timestamps (#25980)
* add event logMonoTime

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

* wait for modem manager

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e59008bf9335fba195f1df8741954a9f34ae00d9
2022-10-05 20:59:04 -07:00
Cameron Clough e9ee61769c Revert "updated: configure branch upstream (#25916)"
This reverts commit 5b59c71a03842f81e3e7ca57d381ce109d0d09f0.

old-commit-hash: c9c46c1b36d5784ed4245979eee5cc5f042fba12
2022-10-05 19:07:59 -07:00
Adeeb Shihadeh a7b67fec01 pigeond: prevent locking up a CPU core (#25979)
old-commit-hash: 6a8a38b1a13b678bddbfdbcf5ba438bd7516c9be
2022-10-05 17:13:48 -07:00
Shane Smiskol c32368fd20 Car docs: test no duplicate years (#25975)
* unit test

* clean up

* revert test

* clean up

* like this

like this

* no model model
old-commit-hash: 6db9f051f761506e4d91ef1879cfae4c8cb1ddc8
2022-10-05 17:09:46 -07:00
Shane Smiskol 098ef11824 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
old-commit-hash: 8b41d817e401fcf577bc68dfc6654ee1e0c3cbb5
2022-10-05 17:06:52 -07:00
Adeeb Shihadeh fa3e33b8e8 agnos 6.1 (#25973)
* agnos 6.1

* staging manifest

* no casync

* prod manifest
old-commit-hash: ef24c0b2ce8a4cf1dbc82886b806079889adf97b
2022-10-05 16:40:39 -07:00
Adeeb Shihadeh 6831f3499f 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>
old-commit-hash: 06e283a7504b23de79f12ec2c0a7ab280eda57e4
2022-10-05 16:10:14 -07:00
Cameron Clough 0f07fb6f2c 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>
old-commit-hash: c8b7d297b6645b82406b75f93c3ee37643575c50
2022-10-05 15:39:40 -07:00
Adeeb Shihadeh 2a25b0ab83 fixup toggle cleanup
old-commit-hash: 300577f38f963bb2854a6139ed50544d9bb493b1
2022-10-05 13:00:22 -07:00
HaraldSchafer f25d434a01 Planner cleanup (#25969)
old-commit-hash: e5d2c3ce7abd9fa4c82a774e765e30ba0a97461a
2022-10-04 21:19:04 -07:00
Adeeb Shihadeh c4a70bfc01 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>
old-commit-hash: f2859b3be55d95bc53ff90aa536a7d8ae14b212f
2022-10-04 20:58:07 -07:00
Shane Smiskol 90d4906aa9 VIN: make Ford exception more explicit (#25972)
* Update vin.py

* only replace from end
old-commit-hash: 7ed064f7baff36b08713729c9c99304ef0224a58
2022-10-04 20:38:39 -07:00
Shane Smiskol 1cb7a7def9 Ford: handle VIN (#25966)
fix ford vin
old-commit-hash: de67a28f1bae5f3677c57ed179baf8bf9c1d971d
2022-10-04 19:21:23 -07:00
Adeeb Shihadeh 20de7c4b55 bootlog: add helper to get a bootlog by segment id
old-commit-hash: 285fd56a1d9ceb4addc5f34c510817bb075af977
2022-10-04 17:47:37 -07:00
Adeeb Shihadeh 6bf9717b04 cleanup stale longitudinal params (#25967)
old-commit-hash: 0231c4ba851819963502d0068d574a055f865692
2022-10-04 17:23:41 -07:00
Vivek Aithal a03192a8d7 Extend torqued (#25961)
* extend live torque to all hyundai and toyota cars

* update refs
old-commit-hash: ca746b0a18eebc9b0fa7a6810dba0b28a60548c2
2022-10-04 13:34:31 -07:00
Shane Smiskol 8e1e6132c8 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
old-commit-hash: 84adb8d9259be92951c604b0780608de8c039f9f
2022-10-04 00:39:19 -07:00
Adeeb Shihadeh 17dbc473fc thermald: consider pmic temp while onroad (#25959)
* thermald: consider pmic temp while onroad

* this is better
old-commit-hash: f35c234e9c23d9af49fcc6f82475931dc2d887db
2022-10-03 21:19:51 -07:00
Kurt Nistelberger 6416888822 reset LaikadEphemeris after loggerd test
old-commit-hash: dc63245b8955dc941e4c2370f6b953564f3f775b
2022-10-03 20:47:00 -07:00
Greg Hogan 937ca9a946 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
old-commit-hash: 5352006cbd00dc84262a4789b66cba47669d6d75
2022-10-03 19:19:39 -07:00
Cameron Clough 5c99e4ca39 fix build without extras (#25957)
old-commit-hash: 4404cb42b445cdb7c2a9583357582ba2f11f2067
2022-10-03 16:45:00 -07:00
Adeeb Shihadeh e631966207 add fault for invalid safety RX checks (#25949)
* add fault for invalid safety RX checks

* just a bool

* bump panda
old-commit-hash: 3068c48224d62ea6c3070332668fedafe522f1d3
2022-10-03 16:06:29 -07:00
Dean Lee 292d55cf8a 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
old-commit-hash: 1b8324af876e66630b5f4e50623e3136a39f6ecb
2022-10-03 15:19:42 -07:00
Cameron Clough 595d8471db UI: remove unused tap detection constant (#25956)
old-commit-hash: bc7be114d838aafc54a5e480dc969c76552e7f26
2022-10-03 13:58:40 -07:00
Cameron Clough 0c0cdbeab9 direct model feedback issues to GitHub discussions (#25953)
* add links to give model feedback in github discussions

* use correct link
old-commit-hash: 2a0ce3e8b871b4e58b01b56a37bb8cfaf77d8b0a
2022-10-03 13:10:35 -07:00
Shane Smiskol 9af4e72ffd 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
old-commit-hash: 6393d29b0437417fe15cbc9eca5c87534531e9bd
2022-10-03 12:26:12 -07:00
Jason Young a7cb4aa824 VW PQ: Use correct brake signal (#25952)
old-commit-hash: 50b8fc19b692d0d4d0ef2dc9161fef6cf9d3013d
2022-10-03 11:48:56 -07:00
Dean Lee 0b6f40d4a4 proclogd: fix wrong type for rss (#25923)
rss is long
old-commit-hash: 379b7cf8b6573a448ebd1eba4b64c2b588a74d81
2022-10-03 10:16:38 -07:00
Adeeb Shihadeh a8780343d8 updated: don't show failed alert with no internet (#25948)
old-commit-hash: cd40652e64b41a87539909bab2887e7930d3001a
2022-10-02 16:13:28 -07:00
Cameron Clough 597b949813 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
old-commit-hash: f6119603912efa4fe28f5da21f3d57f6903a0c77
2022-10-01 14:47:06 -07:00
Shane Smiskol f7a315e995 VIN query: switch to functional address (#25933)
* stash

* go in defined order

* \n feels cleaner
old-commit-hash: 68cc53a0852fc1ec620c81d996b868fa26048ca2
2022-09-30 20:29:54 -07:00
Shane Smiskol 11114b9789 Use tx_addr/sub_addr from query
old-commit-hash: 86f0632afdafe75869e07dd7e329f866579e60c9
2022-09-30 17:44:48 -07:00
Shane Smiskol bfc4d72402 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)
old-commit-hash: 4d7f4b4c9db739c85989797b750226b0ec217f71
2022-09-30 16:01:22 -07:00
Shane Smiskol ae2f2add1d 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
old-commit-hash: 4bd146ee7af639f4a49e3d5cdeeab4ed022190ec
2022-09-30 15:43:04 -07:00
Shane Smiskol 02428ca744 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
old-commit-hash: bea960675f2ae7d2d9e3c95d8c79fde6b61d93d0
2022-09-30 15:15:13 -07:00
Shane Smiskol 220c7ea7c3 process replay: rename second HYUNDAI entry
old-commit-hash: 75735675bddd39abf01fc1e1c8f004394559f51f
2022-09-30 14:49:27 -07:00
Adeeb Shihadeh 1ade0ce47d 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>
old-commit-hash: 80c40048cb62fff15a8e884cb05fba8ddfb11809
2022-09-30 12:25:11 -07:00
Adeeb Shihadeh d3d79ad145 build_devel: only fetch target branches (#25941)
old-commit-hash: a75e85045e19016efd9e038fa2e8b53d50ac6c35
2022-09-30 12:24:56 -07:00
Adeeb Shihadeh 1cb4cdab24 sim: fix sensor freq and timestamps (#25937)
* sim: fix sensor freq and timestamps

* 100hz

* fix that too
old-commit-hash: 5d33199905cbf9d9b45ef722a40530b08d5cecf4
2022-09-29 22:36:09 -07:00
Shane Smiskol d7acc9fe75 Revert "IsoTpParallelQuery: process all functional responses (#25930)"
This reverts commit 39e98b0456047adc253c611b1015fd1aa38f6dd2.

old-commit-hash: 9e2cca23cfefd21483f78b0712583d564a6a3539
2022-09-29 21:15:34 -07:00
Shane Smiskol f3211a9dfb IsoTpParallelQuery: process all functional responses (#25930)
* Revert "VIN: query physical addresses (#25122)"

This reverts commit 452c155a49b068891937450b7389a2154881160a.

* 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
old-commit-hash: c5514f344024f7523ba45dffe92e09147fb3704f
2022-09-29 19:07:28 -07:00
Vivek Aithal 911f4f9ea3 Live torque fix (#25868)
* fix np empty array quirk

* reset to offline values if saved values were not valid live

* edit cloudlog text
old-commit-hash: 4bc175bb9c9dd5976d1dba40abae716bb4a207ba
2022-09-29 16:36:43 -07:00
Kurt Nistelberger fb06d2769f Sensor events splitup (#25714)
* PoC of reading sensors via interrupts instead of polling

* add Gyro and draft for magn

* add more functionality to gpio.cc

* change LSM gyro to interrupt

* resolve rebase conflict

* update BMX accel interrupt impl

* add interrupt collector thread to fetch in parallel

* change get_event interface to return true on successful read

* update BMX gyro interrupt impl

* update gpio.h/.cc according to comments

* address comments, rename Edgetype enum

* Edgetype to EdgeType

* update sensor interrupt interface

* add error handling, and read fd on trigger

* avoid sending empty messages

* fix build

* use gpiochip

* less diff

* gpiochip on both edges, but skip falling edge if rising edge is detected

* init last_ts with 0

* update sensord testcases

* update sensord testsweet

* test for pipeline

* readd with_process

* add null check

* move tests update to seperate PR

* sensord: improve test coverage (#25683)

* update sensord-interrupt testsweet

* address review comments

* inc stddev threshold

* fix format string

* add version 0 check again

* relax strictness after c3 with bmx tests

* relax strictness after tests

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>

* address PR comments

* fix typo

* remove 4ms limit, and skip first 0.5sec of data

* revert disable_interuppt change to destructor

* fix and remove timing skip

* make gpiochip generic

* sensord port

* change from sensorEvents to separated events

* fix gyro usage

* add splitted sensor tests

* modify debug script sensor_data_to_hist.py

* refactor get_event interface to remove sensorEvent message type

* update locationd to non sensorEvent usage

* tmp commit

* fix replay

* fix accelerometer type

* fix sensor to hist debug script

* update sensord tests to split events

* remove rebase artifacts

* port test_sensord.py

* small clean up

* change cereal to sensorEvents-splitup branch

* upate sensorEvents in regen

* fix route generation for splitted sensor events

* regen cleanUp from sensorEvents change

* .

* remove light and temp from locationd

* add generic init delay per sensor

* .

* update routes

* move bmx gyro/accel to its own channel

* adopt sensor tests to bmx channel

* remove rebase artifacts

* fix sensord test

* handle bmx not present

* add bmx sockets to regen

* .

* .

* code cleanUp

* .

* address PR comments

* address PR comments

* address PR comments

* lsm clean up

* readd sensorEvents

* rever regen.py

* .

* update replay refs

* move channels

* fix artifact

* bump cereal

* update refs

* fix timing issue

Co-authored-by: Bruce Wayne <batman@workstation-eu-intern2.eu.local>
Co-authored-by: gast04 <kurt.nistelberger@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 29d3ed2ce63a65f793dc0ecb553180a0d0fba03e
2022-09-29 14:31:54 -07:00
Kurt Nistelberger 90aff8c6fb Gps test Setup, PoC (#25919)
* first ignore

* init gps test

* make LimeGPS git clone

* revert ignore

* .

* remove prebuilt bins

* Update README.md

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 784246cf54505660afd0ebc6b8a5b43915543aef
2022-09-29 14:24:19 -07:00
Lee Jong Mun f6700cb7ba remove blank whitespace (#25921)
old-commit-hash: 7df0e3efcfd2926405f5eaa872d03a652f9c66f9
2022-09-29 13:52:41 -07:00
Adeeb Shihadeh 497bc99c27 agnos updater: set timeout on download (#25927)
old-commit-hash: 74f741d0be89c9a03573d47b00d59be964884d5f
2022-09-29 13:18:01 -07:00
Dean Lee f4c83e8d78 boardd: remove global variable pigeon_active (#25926)
old-commit-hash: badecfd060bc4fe2265a680c9a42f9a9afa1647a
2022-09-29 11:30:12 -07:00