HaraldSchafer
e5da7cc04b
no throttle when not enabled ( #22474 )
2021-10-07 11:15:08 -07:00
Dean Lee
5527736df6
replay: simplify seek&merge ( #22463 )
...
* simplify seek&merge
* update test cases
update test cases
* cleanup test cases
* new function currentSeconds
* add TODO
* thread safe publishFrame
* cleanup
* fix 'at x S' not printed if seek back to old time
* exit replay if failed to load route
* move out setCurrentSegment from if statement
* cleanup
* use std::find
* const variables
2021-10-07 17:32:16 +02:00
Willem Melching
6c29a4c7fb
Honda Bosch longitudinal tuning ( #22407 )
...
* revert changes to standstill logic
* start with mostly open loop
* Revert "revert changes to standstill logic"
This reverts commit d737d858e7708aedaf09cfc068b85398161e9bbe.
* proper clipping
* less lag
* less gas command
* start gas from -0.2
* controls should take care of that
* use CarControllerParams
* switch to braking sooner
* Revert "switch to braking sooner"
This reverts commit cf11dae334ccb369f625d4b13b7cd4176156a446.
* 2.5x more P
* use active
* engage on rising edge
* Revert "engage on rising edge"
This reverts commit c972956cb460eedaff3d0169a40673a6ea933385.
* update ref
2021-10-07 16:37:02 +02:00
Willem Melching
43d9478740
boardd: fix context leak in init_usb_ctx ( #22472 )
2021-10-07 13:24:38 +02:00
Erich Moraga
0b9b479a5a
COROLLA_TSS2 add missing ESP f/w ( #22446 )
...
`PJ Tremblay#9640` 2021 Corolla ZR ICE (AUS) DongleID/route 33e7ea5e01511d3|2021-10-06--01-37-50
2021-10-07 12:07:57 +02:00
Willem Melching
a88cb6e962
process replay: add numeric tolerance for planner outputs ( #22470 )
2021-10-07 11:08:13 +02:00
Willem Melching
b9797259ed
boardd: lower log level for ublox msg timing issues
2021-10-07 11:07:43 +02:00
Willem Melching
305e8d07ec
add Sonata N-Line FW versions ( #22469 )
2021-10-07 10:51:44 +02:00
Greg Hogan
c1a8fe143f
Hyundai Palisade: adjust tire_stiffness_factor ( #22444 )
2021-10-07 10:46:42 +02:00
Greg Hogan
188b634222
replay: print current time when paused ( #22468 )
2021-10-07 10:41:49 +02:00
Willem Melching
95957bc188
FW query: catch asserts from uds.py ( #22456 )
2021-10-07 10:34:59 +02:00
Jason Wen
8bd626aade
Hyundai: Add FW for 2021 Hyundai Ioniq PHEV ( #22455 )
...
* Hyundai: Add FW for 2021 Hyundai Ioniq PHEV
* Force recognition
* Revert "Force recognition"
This reverts commit 6283b7f4c222d376dc8af49b02d001ff82ed3757.
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-10-06 20:40:12 -07:00
Jason Wen
d4ac05b77b
Hyundai: Add FW for 2021 Hyundai Elantra ( #22461 )
...
* Hyundai: Add FW for 2021 Hyundai Elantra
* Apply suggestions from code review
* Update selfdrive/car/hyundai/values.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-10-06 20:35:49 -07:00
Adeeb Shihadeh
493e32431c
only run get_nvme_temps on C3 ( #22464 )
...
* only run get_nvme_temps on C3
* temperatures
* fix imports
Co-authored-by: Comma Device <device@comma.ai >
2021-10-06 20:32:22 -07:00
Adeeb Shihadeh
e424f7182c
retry submodule checkout on internal installer
2021-10-06 19:45:22 -07:00
Harald Schafer
ec403da78f
Make camerad timing test threshold same as rest
2021-10-06 18:40:04 -07:00
HaraldSchafer
a4bc1bbb74
Long MPC cleanup ( #22462 )
...
* cleaner extrapolation
* some comments
* new ref
* more comments
* new ref
2021-10-06 17:51:23 -07:00
Vivek Aithal
244fbde56e
Add paramsd Stdev to message ( #22443 )
...
* add STD to message
* use modified names for car_kf state stdev atttributes
* update refs
* add modofied cereal
* update refs
2021-10-06 16:22:18 -07:00
Erich Moraga
519fdc0816
RIDGELINE add missing combinationMeter f/w ( #22458 )
...
`elliot sharpe <elliot2345@hotmail.com >` 2021 Ridgeline DongleID/route 03ba90562055a83e|2021-10-06--08-27-30
2021-10-06 11:56:46 -07:00
HaraldSchafer
9ab09f5ae9
Retune long mpc ( #22445 )
...
* first try
* looks decent
* finalize retune
* back to 3 its
* may need 4 still
* misc cleanup
* new ref
* SPEEEED
* new ref
2021-10-06 09:37:53 -07:00
Dean Lee
f7cf4be995
repaly: stop publish socket on multiple publishers error ( #22449 )
2021-10-06 14:04:51 +02:00
Dean Lee
261d51de41
test_replay: temporarily comment out some unit tests ( #22447 )
2021-10-06 12:27:52 +02:00
Willem Melching
e636f03c7a
Set CarControl.active ( #22442 )
...
* Set CarControl.active
* update ref
2021-10-05 14:32:39 -07:00
Dean Lee
b5988d5601
replay: cleanup output ( #22434 )
2021-10-05 15:15:46 +02:00
Dean Lee
60b0c43c90
replay: refresh segment window after current segment is changed by seek ( #22436 )
2021-10-05 15:15:33 +02:00
Dean Lee
97fc8b941e
FrameReader: increase probesize to 10MB ( #22437 )
2021-10-05 15:15:11 +02:00
Lee Jong Mun
de88349ef0
hyundai clean up interface.py ( #22408 )
...
* Update interface.py
santa_fe / santa_fe_2022 same value
kia_k5_2021 single value
* hyundai fw sort
# fwdRadar, fwdCamera, eps, esp, engine, transmission
kia ceed esp double fix 0x7d4 eps
* Update selfdrive/car/hyundai/interface.py
* Revert "hyundai fw sort"
This reverts commit 8ab24ffeeb84c3cb11f5fa44ae45fa35ed50ac06.
Co-authored-by: Willem Melching <willem.melching@gmail.com >
2021-10-05 09:41:20 +02:00
Jason Young
10ff1fefaf
VW MQB: Add FW for 2019 Volkswagen Jetta ( #22435 )
2021-10-04 14:12:53 -07:00
speedking456
23b9316603
accel/decel button metric increments ( #22399 )
...
* add metric values
Freedom units have weird multiples compared to metric. Modified so that it increments by 10 km/h on long press and 1 km/h on short press, rather than 8 and 1.6 km/h. This mimics stock hyundai behaviour on metric vehicles.
* use is_metric from controlsd
* use actual mph value instead of rounded
Co-authored-by: Willem Melching <willem.melching@gmail.com >
2021-10-04 21:11:17 +02:00
Willem Melching
94afd0ea0f
replay: do not use OpenCL ( #22431 )
2021-10-04 19:43:52 +02:00
odomobo
037624de60
2022 Corolla engine FW ( #22432 )
2021-10-04 19:43:43 +02:00
Willem Melching
26ce0fa0cb
Honda Bosch: switch ACC_HUD between metric/imperial ( #22428 )
...
* Honda Bosch: switch ACC_HUD between metric/imperial
* bump opendbc
2021-10-04 18:42:06 +02:00
Dean Lee
2253cba98b
c++ replay: graceful shutdown ( #22280 )
...
* graceful shutdown
* reset termios
* continue
* call clear in dctor
* unpause
* delete vipc_server
* relase context
* notify_one
* merge master
* merge master
* print vipc stop listen before shutdown down
2021-10-04 18:00:49 +02:00
Dean Lee
29b9c8f13b
replay: cleanup console output ( #22410 )
2021-10-04 17:15:03 +02:00
Dean Lee
1eb79d7a59
c++ replay: publish all frames in CameraServer ( #22378 )
...
* cameraserver
* support yuv
* init camera server in start()
* trigger ci
2021-10-04 16:45:28 +02:00
Dean Lee
fd801c454a
c++ replay: get socket name from capnp::Schema ( #22367 )
...
* get socket name from canp::Schema
* use vector
2021-10-04 15:44:06 +02:00
Dean Lee
d28b98c602
replay : move utility functions into separate file ( #22414 )
...
* move functions into util
* read bz2 into stream
* pre-decompress log in the download thread
* cleanup logreader
* cache sha256 path
* use readBZ2file in test_logger
* Revert "cache sha256 path"
This reverts commit 60459d3ea09a2c80f4560cf95b1ce7d6af59f06d.
* use macro
* use ostringstream
* cleanup readBZ2File
* move precise_nano_sleep into util
2021-10-04 15:39:59 +02:00
Dean Lee
fa8ddd992d
c++ replay: more robust seek ( #22375 )
...
* skip invalid segment
* test seek
* fix wrong cur_mono_time when route_start_ts is 0
* don't notify stream thread if current segment not merged
* continue merge next segment if current is invalid
* cleanup seekTo
* continue
* fix seek cross-boundary
* new demo route has 11 segments
* continue
* fix cross-boundary
* cleanup & better test cases
cleanup
remoe &
typo
update comment
* update test
* reserve space for new_events
* parallel sorting
* usleep(0)
* Revert "parallel sorting"
This reverts commit d7d1b42f49944aef0b6ca2962e45a7f5318a1152.
2021-10-04 15:00:57 +02:00
Willem Melching
3e854b8351
safety_setter_thread: exit on ignition low ( #22426 )
2021-10-04 15:00:25 +02:00
Dean Lee
47f601e50a
boardd: wait for safety_setter_thread to finish while quitting panda_state_thread ( #21961 )
...
* rebase master
* merge master
* merge master
* remove space
2021-10-04 14:38:35 +02:00
Willem Melching
009e37e797
ui: only update ignition when panda is connected ( #22425 )
2021-10-04 14:11:32 +02:00
Willem Melching
f4e2537b12
Split pandaState into peripheralState and pandaState ( #22385 )
...
* publish peripheralState from boardd
* refactor consumers
* rename thread
* peripheralState has panda type too
* add to process replay
* fix device build
* properly remove hardware unsupported alert
* latest peripheralState
* remove pandaState from thermal_monitor
* put that back
* add back harness check
* fix cloudlog
* needs pandaState
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* dont conflate
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* pigeon is peripheral
* cleanup
* less global
* comment
* move rtc to peripheral_control_thread
* better diff?
* whitespace
* get msg
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-10-04 11:30:11 +02:00
Willem Melching
9c771b45fc
ui: make OpenGL context current before connecting to VisionIPC
2021-10-04 10:37:31 +02:00
qadmus
3461e25944
Lateral PID: move steer feedforward to CarInterface ( #22411 )
...
* move steer feedforward to car interface, in car parameters
* LatControlPID.get_steer_feedforward()
2021-10-04 10:03:53 +02:00
Jason Young
e98d125811
VW MQB: Add FW for 2018 Volkswagen Passat ( #22418 )
2021-10-03 16:39:37 -07:00
Dean Lee
a6da064a93
replay/segment: std::atomic member variables ( #22409 )
2021-10-02 16:09:39 +02:00
Adeeb Shihadeh
c11be0f49a
update useradmin url
2021-10-01 17:36:46 -07:00
Kamil Klimkiewicz
2ab0d52fda
Add fingerprint for 2019 Honda Civic Hatchback ( #22400 )
...
Honda Civic Hatchback 1.0T Elegance (Europe - Poland)
2021-10-01 15:02:26 -07:00
grekiki
4c7acf680c
C++ replay cache folder path / fix ( #22396 )
2021-10-01 17:32:41 +02:00
Greg Hogan
92895f1e68
accel/decel button short/long press 1mph/5mph ( #22013 )
2021-10-01 11:09:56 +02:00