Commit Graph

7575 Commits

Author SHA1 Message Date
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
Vivek Aithal
4bc175bb9c Live torque fix (#25868)
* fix np empty array quirk

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

* edit cloudlog text
2022-09-29 16:36:43 -07:00
Kurt Nistelberger
29d3ed2ce6 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>
2022-09-29 14:31:54 -07:00
Kurt Nistelberger
784246cf54 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>
2022-09-29 14:24:19 -07:00
Lee Jong Mun
7df0e3efcf remove blank whitespace (#25921) 2022-09-29 13:52:41 -07:00
Adeeb Shihadeh
74f741d0be agnos updater: set timeout on download (#25927) 2022-09-29 13:18:01 -07:00
Dean Lee
badecfd060 boardd: remove global variable pigeon_active (#25926) 2022-09-29 11:30:12 -07:00
Adeeb Shihadeh
391780551a UI: remove imu tap detection (#25924) 2022-09-29 11:02:27 -07:00
Adeeb Shihadeh
03977a8783 Revert "update replay refs"
This reverts commit 683096e309.
2022-09-28 21:42:58 -07:00
Kurt Nistelberger
683096e309 update replay refs 2022-09-28 21:38:31 -07:00
Adeeb Shihadeh
51e296733d test_sensord: get 10s of events 2022-09-28 20:19:47 -07:00
Adeeb Shihadeh
47de20ffb5 update release notes 2022-09-28 18:56:23 -07:00
Dean Lee
2e5b50c2d7 test_proclog: add cmdline check in buildProcLogerMessage (#25891) 2022-09-28 17:35:55 -07:00