Commit Graph

9497 Commits

Author SHA1 Message Date
Willem Melching
306e24a062 cabana: fix parts of chart widget not being redrawn (#27742)
* cabana: fix parts of chart widget not being redrawn

* revert others
old-commit-hash: bec8cb1e30
2023-03-30 12:37:49 -07:00
Willem Melching
2127db9a0c cabana: fix drawing sparkline at half width on hi-dpi screen (#27746)
old-commit-hash: ecd82f0408
2023-03-30 12:37:29 -07:00
Willem Melching
3484716d85 cabana: show string value for val/desc (#27747)
old-commit-hash: 469accbec1
2023-03-30 12:36:54 -07:00
Willem Melching
969efb868f cabana: allow zooming to smaller ranges (#27748)
* cabana: allow zooming to smaller ranges

* remove comment
old-commit-hash: cf299002f7
2023-03-30 12:36:34 -07:00
Dean Lee
0035749f62 add libncurses5 to ubuntu_setup.sh (#27751)
old-commit-hash: f3664b658b
2023-03-30 12:24:41 -07:00
Shane Smiskol
730450d71e Honda Bosch Radarless: use CarControllerParams variable
old-commit-hash: 51c3f43205
2023-03-30 12:19:48 -07:00
royjr
77ce14cf0b Honda Bosch Radarless: update stopAccel to match actuation limits (#27740)
* civic22_stop_faster

* limit stopAccel to current safety model

* Update selfdrive/car/honda/interface.py

* Update selfdrive/car/honda/interface.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fe49fbf8ec
2023-03-30 12:18:32 -07:00
Erich Moraga
eafdc1b1dc Add missing AVALON_TSS2 engine & ABS f/w (#27733)
`@jundi#8597` 2022 Avalon ICE  DongleID/route 6b650cedd7de2808|2023-03-29--18-36-56
old-commit-hash: a9d342689c
2023-03-29 19:06:44 -07:00
royjr
37a03aa6eb Honda Civic 2022: match stock Auto Idle Stop behavior (#27722)
* honda_idlestop_timer

* whoops

* simplify

* just use stopping counter and move bosch radarless specific logic into the function

* it's actually 4 seconds

* Update selfdrive/car/honda/hondacan.py

* check equal to 0

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e377305ea8
2023-03-29 19:04:33 -07:00
Harald Schäfer
f6e3dc289c Locationd qcom retune (#27739)
old-commit-hash: eca3838237
2023-03-29 16:35:30 -07:00
Adeeb Shihadeh
809a79121b tizi: add panda siren fault (#27738)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3df2e55bee
2023-03-29 16:31:35 -07:00
Vivek Aithal
b6909a65e7 Bolt EUV: Non-linear torque function (#27696)
* add erf based ff

* silly bug; diff of nonlinear != nonlinear of diff

* add sigmoid based ff, ensure slope at 0 > 1

* reduce steer down limit and increase driver allowance

* rebase panda

* atry without friction, and with tanh nonlinear

* finalize the nonlinear function

* do not disable friction compensation in the ff

* bump panda

* bump panda

* update refs

* update refs

* resolve comments

* Add type hints

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 15b880c0ea
2023-03-29 15:10:39 -07:00
Jason Wen
fe5fee6931 torqued: reset LiveTorqueParameters on calibration reset (#27737)
* torqued: reset LiveTorqueParameters on calibration reset

* gotta have this
old-commit-hash: 8e3ed8f10b
2023-03-29 14:30:27 -07:00
Vivek Aithal
467040bbd0 Revert "torqued: reset LiveTorqueParameters on calibration reset" (#27736)
Revert "torqued: reset LiveTorqueParameters on calibration reset (#27732)"

This reverts commit 61bcfed6d92a13d994e56c1360d96f6026f40f7e.
old-commit-hash: 46069738d6
2023-03-29 14:01:22 -07:00
Jason Wen
1187234757 torqued: reset LiveTorqueParameters on calibration reset (#27732)
old-commit-hash: 18253982db
2023-03-29 13:56:45 -07:00
Willem Melching
b34e314d25 cabana: fix merging sources for already open DBC file (#27715)
* fix build

* fix merging sources
old-commit-hash: e0afaa4eee
2023-03-29 13:17:46 -07:00
Dean Lee
9897bc83c4 cabana: add a slider to set sparkline time range (#27727)
* add slider to set sparkline time range

* rename signaleedit to signalview

* default is 15s

* util::formatSeconds

* update() is faster than invalidate

* draw points

* fix scatter width
old-commit-hash: d6961152b8
2023-03-29 12:43:43 -07:00
Adeeb Shihadeh
6f52cc09f4 process replay: fix socket-ful replay flakiness (#27721)
* process replay: fix socket-ful replay flakiness

* bump up laikad timeout

* bump

* bump again

* revert that
old-commit-hash: 85908f7e2b
2023-03-28 17:48:16 -07:00
Jason Young
6433154d5d remove accFaultedTemp, add steerTimeLimit (#27720)
* remove accFaultedTemp

* retry CI

* bump cereal

* grab the new steerTimeLimit Event

* bump cereal to updated master
old-commit-hash: 267974e002
2023-03-28 16:04:14 -07:00
Adeeb Shihadeh
ba2b4aa81d Update RELEASES.md
old-commit-hash: 32da60c551
2023-03-28 13:26:01 -07:00
Dean Lee
7ffea181b7 cabana: add sparkline to signal view (#27717)
* display small line chart beside signal

* TODO

* 1 px width

* auto stretch

* static lines

* use std::vector

* cleanup

* use ts from last message

* remove hardcorded size
old-commit-hash: eee3c8ee60
2023-03-28 13:25:13 -07:00
Dean Lee
d2fcf6dbae cabana: improve video thumbnail (#27711)
old-commit-hash: a1fb8d2480
2023-03-28 13:24:54 -07:00
Dean Lee
640d68e3bc cabana: move dbc related files to dbc/ (#27712)
* move dbc related files to dbc/

* move generate_dbc_json.py to dbc/
old-commit-hash: 8903e03c88
2023-03-28 11:52:28 -07:00
Dean Lee
ad5b489005 cabana: clear zoom stack after reset zoom (#27716)
old-commit-hash: 2f954a50e3
2023-03-28 11:50:19 -07:00
royjr
f4d0b68a21 Honda Bosch Radarless: experimental longitudinal support (#25364)
* civic22_long

* Stock requests -4

* add standstill bit

* bump

* fix standstill

* bump

* bump

* bump panda

* Update hondacan.py

* bump panda

* add docs

* bump panda

* bump panda

* fix control_on value

* set control_off

* fix cars.md

* Update panda

* Update opendbc

* Update panda

* Update panda

* allow more braking

* Revert "allow more braking"

This reverts commit ecd2493a436a095b621d815e8b0c7591fa6b93a9.

* Update panda

* fix speed mismatch

* Revert "fix speed mismatch"

This reverts commit ca795dc5bd9d6e841225e1ac1ff93a1f78618513.

* Update panda

* fix speed mismatch and standstill

* delay stopped message to match stock behavior

* green cruise only when enabled

* Update panda

* Revert "green cruise only when enabled"

This reverts commit d21aa5b541a42fa6d1c87e3b065f720af28ff38b.

* lesser nester

* simplify

* simplify control_on

* simplify common signals

* simplify CONTROL_ON

* lessest nester

* hide speed on gas_override to match stock behavior

* tiny simplification, lesser nester

* flip common acc control values around

* move magic number to global variable

* Revert "move magic number to global variable"

This reverts commit 160be0e0872dc08a8786d97fc2125b2eb131362d.

* remove stopped logic

* remove unused variable

* looks ok

* looks better

* simplify override

* clarify CONTROL_OFF signal comment

* civic22_long_bettercontroloff

shorten delay

init

selfless

whoops

move to carcontroller

selfmore

lower time, currently take 5s to kick in

just right

deline

* Rename CONTROL_OFF -> IDLESTOP_ALLOW

This tells the car its ready to turn off the engine, which does so when the car is standstill.

* Update panda

* Update opendbc

* Update panda

* fix docs

* Update panda

* Update panda

* Update opendbc

* Update panda

* Update panda

* Update panda

* Update panda

* bump panda

* idlestop in another PR

* radarless doesn't need tester present

* simplify that

* helper

* one line is fine

* test bump

* bumpback

* disallow

* reduce diff

---------

Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: 1853d6f40e
2023-03-28 01:53:48 -07:00
Dean Lee
a837c85ec3 isotp_parallel_query: use drain_sock_raw (#27714)
use drain_sock_raw
old-commit-hash: fb03e225fd
2023-03-28 00:25:20 -07:00
Shane Smiskol
276e0db0d5 bump panda (#27713)
old-commit-hash: e65bd1a703
2023-03-28 00:21:08 -07:00
Shane Smiskol
284e1bd0d0 Nissan: add missing FW for 2020 Leaf (IC) (#27670)
add nissan leaf ic fp
old-commit-hash: 3555a08c17
2023-03-27 16:11:59 -07:00
erotisch
919b0e37e3 HKG: add missing 2019 Genesis G70 FW (#27676)
* Update values.py

* Update values.py

* Update values.py

* fix FW

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c0b2e15a60
2023-03-27 15:37:54 -07:00
Erich Moraga
f49de14ac1 Add missing TUCSON_4TH_GEN fwdCamera/fwdRadar f/w (#27708)
`chodochodo#7177` 2022 Hyundai Tucson 2.4L ICE  DongleID/route c5ba26f7af98e5d1|2023-03-27--14-33-34
old-commit-hash: 7284969eb8
2023-03-27 15:06:47 -07:00
Shane Smiskol
8c7093c2d8 Toyota: add missing FW versions for C-HR Hybrid 2021 (#27687)
add another 2021 CHR H
old-commit-hash: 12e46e5d4a
2023-03-27 14:22:25 -07:00
pugdaddys
2bc3f8dc49 VW: add missing Audi A3 2016 FW (#27699)
* Update values.py

* Update values.py

* Update values.py

* missing radar

* convert to hex

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8a36887dfb
2023-03-27 13:58:30 -07:00
Shane Smiskol
cee3c52af2 bump cereal (#27704)
old-commit-hash: 86f6c315bc
2023-03-27 13:30:22 -07:00
Igor Biletskyy
7dfb32883a boardd: fix uninitialized can_header (#27685)
old-commit-hash: d9487ab901
2023-03-27 13:24:56 -07:00
Willem Melching
cfa62044d6 cabana: go to previous zoom window (#27702)
* cabana: go to previous zoom level

* zoom undo on right click

* catch mousepress event on linux
old-commit-hash: e4348dc45d
2023-03-27 12:45:55 -07:00
Adeeb Shihadeh
3236b2b457 Revert "bump cereal"
This reverts commit 678083acc13fb1c4f0c7ce9e7e4d16349eabd764.

old-commit-hash: 4439e285db
2023-03-27 12:45:13 -07:00
Shane Smiskol
efe053a7b1 bump cereal
old-commit-hash: daeb502031
2023-03-27 11:53:40 -07:00
Willem Melching
e0ba3902df cabana: add support for multiple DBC files (#27435)
* split out dbc file logic into separate file

* emit dbc file changed

* change to list of dbc files

* handle missing DBC file

* dbcmanager emits signal

* close existing files before loading new one

* add placeholder open for bus menu

* implement open dbc for bus

* emit signals relevant for current dbc

* move logic into findDBC

* fix use after free

* show currently loaded names in load dialog

* enable/disable load save menus

* handle saving

* add save as to recents

* handle file already open

* do not assert

* fix return and throw on file open error

* fix test maybe

* remove todo

* typo

* fix new dbc

* fix loading fingerprint on macos

* handle replacing a currently open dbc

* fix reference and handle exception

* fix indendation
old-commit-hash: 4ab2131ec9
2023-03-27 10:29:44 -07:00
Shane Smiskol
c08e6fe35e laikad: clean up cloudlog usage (#27701)
make an error, no need to pass e
old-commit-hash: 28cd8fc402
2023-03-26 23:06:09 -07:00
Harald Schäfer
5a66a16b5b Laikad: catch and log ephemerides parsing errors (#27698)
* Laikad: catch and log ephemerides parsing errors

* exception instead of error
old-commit-hash: b418cbcbcf
2023-03-26 22:17:30 -07:00
AlexandreSato
e75c02e89c caban: fix typo (#27700)
old-commit-hash: 083f008d94
2023-03-26 17:06:33 -07:00
Dean Lee
0899e5628a cabana: improve LogSlider (#27673)
* improve logslider

* fix code indentation
old-commit-hash: 583c4a031f
2023-03-25 16:03:16 -07:00
Dean Lee
5f98b5c0fa cabana: update state after creating new signal (#27690)
old-commit-hash: 8bd4c0f510
2023-03-25 15:39:21 -07:00
Dean Lee
b70e95dcbb cabana: support qlogs (#27689)
old-commit-hash: 8150e4a4b8
2023-03-25 15:38:55 -07:00
Dean Lee
ac56a33a2d cabana: fix high DPI issues in chart (#27694)
old-commit-hash: c77a0feab4
2023-03-25 15:38:41 -07:00
Shane Smiskol
53bf3256f3 FPv2: match brand against extra ecus (#27688)
* query extra ecus (still need to match)

* match against extra ecus

* clean p

* clean p

* switch that around

* can clean that up

* values
old-commit-hash: 6f35d23c06
2023-03-25 01:07:58 -07:00
Shane Smiskol
5a3c857303 FPv2: replace temporary variable with config (#27692)
* query extra ecus (still need to match)

* match against extra ecus

* clean p

* clean p

* switch that around

* can clean that up

* values

* rm

* not used
old-commit-hash: 084e83cda1
2023-03-25 01:02:11 -07:00
Dean Lee
66a7d0b8a3 cabana: enables user to select the zoom area when the mouse press on the data point (#27679)
zoom anywhere
old-commit-hash: 33afefd346
2023-03-24 21:54:41 -07:00
Shane Smiskol
534801a39c Toyota: use DBC for alt brake safety param (#27686)
* use DBC

* use DBC
old-commit-hash: b61a0b785a
2023-03-24 20:07:11 -07:00
Shane Smiskol
06f7bb7bbc VW: add missing Arteon 2019 FW (#27671)
* add missing arteon 2019 fw

* duplicate
old-commit-hash: d443d8f5e3
2023-03-24 19:11:50 -07:00