Commit Graph

5397 Commits

Author SHA1 Message Date
Adeeb Shihadeh 9727ef3abb bump rednose
old-commit-hash: f5289b93a45a71b428381415c41680a171a15898
2021-10-07 13:53:40 -07:00
Adeeb Shihadeh ad96d0d130 move athena tests to github actions (#22475)
* move athena tests to actions

* run

* fix timeout
old-commit-hash: de7a9e01160399228c30795769dc1ec6039cb8f4
2021-10-07 13:22:14 -07:00
Adeeb Shihadeh b3fdccfab3 sim: build openpilot with frame stream camera
old-commit-hash: 59c47f0334524fc63b35b1fe067a70d47e1fe3de
2021-10-07 11:31:49 -07:00
Harald Schafer 6437d6654a remove unused line in honda carcontroller
old-commit-hash: 0e4058d0ec2bf0b2f0154b48d43061f80defd17b
2021-10-07 11:18:55 -07:00
HaraldSchafer b71789f5b7 no throttle when not enabled (#22474)
old-commit-hash: e5da7cc04b75df4592b7c6f16ec649fa60e29ef0
2021-10-07 11:15:08 -07:00
Dean Lee 0f49ecbff7 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
old-commit-hash: 5527736df6ffb1f94be48d6a84245165fdf0cac0
2021-10-07 17:32:16 +02:00
Willem Melching 6dea543246 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
old-commit-hash: 6c29a4c7fb83f9a4935d6003970b6b3442cccfd8
2021-10-07 16:37:02 +02:00
Willem Melching 6762c152de boardd: fix context leak in init_usb_ctx (#22472)
old-commit-hash: 43d94787401d91f58f8a84ae8e70c739f10172a4
2021-10-07 13:24:38 +02:00
Erich Moraga a8a493afc6 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
old-commit-hash: 0b9b479a5ac434dce5af385763ab78de2f72bb55
2021-10-07 12:07:57 +02:00
Greg Hogan ce1c24a0df replay: do not clear ui image when paused (#22467)
* replay: do not clear ui image when paused

* also stop plots

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 720e82eeef7be15d234ac2ea1fe42e43063ec5f8
2021-10-07 11:18:45 +02:00
Willem Melching 0bbc8c4d4a process replay: add numeric tolerance for planner outputs (#22470)
old-commit-hash: a88cb6e962ebbecaf1c4dcac0bc2108373fc7917
2021-10-07 11:08:13 +02:00
Willem Melching ed7088c0f6 boardd: lower log level for ublox msg timing issues
old-commit-hash: b9797259edeca45cc5794a4bc009f56734b5c618
2021-10-07 11:07:43 +02:00
Willem Melching 8fa07ee251 add Sonata N-Line FW versions (#22469)
old-commit-hash: 305e8d07ec6653c0688730632bd0a28b7fce009f
2021-10-07 10:51:44 +02:00
Greg Hogan cfa43cec71 Hyundai Palisade: adjust tire_stiffness_factor (#22444)
old-commit-hash: c1a8fe143f2503dc39af88a6473847d55d257a3a
2021-10-07 10:46:42 +02:00
Greg Hogan 95843a6754 replay: print current time when paused (#22468)
old-commit-hash: 188b634222bb97af08afe4a37028a5e9b64d499b
2021-10-07 10:41:49 +02:00
Willem Melching 82f0522647 FW query: catch asserts from uds.py (#22456)
old-commit-hash: 95957bc188504e0c8d97071178d820a1222ababd
2021-10-07 10:34:59 +02:00
Jason Wen db7404fe8a 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>
old-commit-hash: 8bd626aadea768f6fe11be60a60c7d63f785c769
2021-10-06 20:40:12 -07:00
Jason Wen f3f5c64e72 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>
old-commit-hash: d4ac05b77b479c196392fc3ad6d73a69e9c4d9ec
2021-10-06 20:35:49 -07:00
Adeeb Shihadeh afe88f7552 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>
old-commit-hash: 493e32431c721aa92c2f53800109155284928969
2021-10-06 20:32:22 -07:00
Adeeb Shihadeh ae93956547 retry submodule checkout on internal installer
old-commit-hash: e424f7182cb01bb4341849aba5be2cb0583fcc72
2021-10-06 19:45:22 -07:00
Harald Schafer 8bcb1e32af Make camerad timing test threshold same as rest
old-commit-hash: ec403da78f8a1a830ae39dd307da4f78dc7710b8
2021-10-06 18:40:04 -07:00
HaraldSchafer 5a1e44c417 Long MPC cleanup (#22462)
* cleaner extrapolation

* some comments

* new ref

* more comments

* new ref
old-commit-hash: a4bc1bbb74a1560d196a8e5f207c4e39f4464130
2021-10-06 17:51:23 -07:00
Adeeb Shihadeh 9d25936fed cleanup old files from .gitattributes
old-commit-hash: 590023c8f16d9c5f14c5ec2839ad07edc9469acc
2021-10-06 16:58:59 -07:00
Vivek Aithal c0ff654602 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
old-commit-hash: 244fbde56e90a937c887b3a24edce7da2ee5c699
2021-10-06 16:22:18 -07:00
Erich Moraga ccb06114e4 RIDGELINE add missing combinationMeter f/w (#22458)
`elliot sharpe <elliot2345@hotmail.com>`  2021 Ridgeline  DongleID/route 03ba90562055a83e|2021-10-06--08-27-30
old-commit-hash: 519fdc0816f9cdb3698cde75c4082aa01f542f12
2021-10-06 11:56:46 -07:00
HaraldSchafer f495134be4 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
old-commit-hash: 9ab09f5ae98362a31c23593ba3ab8f4f6fcb3a0f
2021-10-06 09:37:53 -07:00
Willem Melching ef3020eb3b add jupyterlab to dev packages (#22453)
* add jupyterlab to dev packages

* add prebuilt vim extension
old-commit-hash: 227e12a47792f4ac8a66799871ea981cd3d05a74
2021-10-06 17:23:29 +02:00
Dean Lee 7d67bfa606 repaly: stop publish socket on multiple publishers error (#22449)
old-commit-hash: f7cf4be9958b720b8d072e44c754a058a38045dc
2021-10-06 14:04:51 +02:00
Dean Lee d6614c3c89 test_replay: temporarily comment out some unit tests (#22447)
old-commit-hash: 261d51de414b9cb1001639e513b8182ac3682e33
2021-10-06 12:27:52 +02:00
Willem Melching 79d5c6107b Set CarControl.active (#22442)
* Set CarControl.active

* update ref
old-commit-hash: e636f03c7a9ad963f728e400cb1bfced4d37a5ac
2021-10-05 14:32:39 -07:00
Willem Melching af467b7b6d ui.py: small plotting cleanup (#22441)
old-commit-hash: 1cfabc3388443a5480310930e12331d508c92bdd
2021-10-05 16:27:29 +02:00
Dean Lee 11014ca940 replay: cleanup output (#22434)
old-commit-hash: b5988d56013f05429e03c79621be9e15ad3e0806
2021-10-05 15:15:46 +02:00
Dean Lee 3df339e1ed replay: refresh segment window after current segment is changed by seek (#22436)
old-commit-hash: 60b0c43c9061467e81d6bf3d35fb2a67c8d48f70
2021-10-05 15:15:33 +02:00
Dean Lee 38617c6c8f FrameReader: increase probesize to 10MB (#22437)
old-commit-hash: 97fc8b941e6144a395a93c09a0c90c53a8311d88
2021-10-05 15:15:11 +02:00
Dean Lee 1240e4a673 replay/ui.py: get image from vipc (#22433)
* get image from vipc

* cleanup import

* if not None

* lgtm

* bump cereal&do reconnect

* bump cereal

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2a8feb9eb91dad1c17d907543a33367aae109093
2021-10-05 15:14:38 +02:00
Lee Jong Mun f569655e61 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>
old-commit-hash: de88349ef045a1529d140772284c7f7208d97a26
2021-10-05 09:41:20 +02:00
Jason Young a2177b98f4 VW MQB: Add FW for 2019 Volkswagen Jetta (#22435)
old-commit-hash: 10ff1fefafae47e6b5869cb0ee7fba80ec937f94
2021-10-04 14:12:53 -07:00
speedking456 ca46acfd64 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>
old-commit-hash: 23b931660336b7fdd21b8942cedb5f79401aa357
2021-10-04 21:11:17 +02:00
Willem Melching d0d63b7fb9 replace unlogger.py with c++ replay (#22430)
old-commit-hash: e233d59e03683b829884a0fea8ec119c9c5a8378
2021-10-04 21:07:40 +02:00
Willem Melching 2291683728 replay: do not use OpenCL (#22431)
old-commit-hash: 94afd0ea0f8bc17fc9d24e122f6447116ca75525
2021-10-04 19:43:52 +02:00
odomobo 8fc145a660 2022 Corolla engine FW (#22432)
old-commit-hash: 037624de6027b810f0cec7ce179bf88fea4ab8f6
2021-10-04 19:43:43 +02:00
Willem Melching 2d495e2c1e Honda Bosch: switch ACC_HUD between metric/imperial (#22428)
* Honda Bosch: switch ACC_HUD between metric/imperial

* bump opendbc
old-commit-hash: 26ce0fa0cbffc477c5a667df4c35ba2ead2cd10a
2021-10-04 18:42:06 +02:00
Dean Lee 7b3200362b 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
old-commit-hash: 2253cba98bcc1cf5799567fc9050f10871ddce1d
2021-10-04 18:00:49 +02:00
Dean Lee 53bec066b6 replay: cleanup console output (#22410)
old-commit-hash: 29b9c8f13bf7c56c31289c35095dc73057267903
2021-10-04 17:15:03 +02:00
Dean Lee a8c5acb884 c++ replay: publish all frames in CameraServer (#22378)
* cameraserver

* support yuv

* init camera server in start()

* trigger ci
old-commit-hash: 1eb79d7a59a36e75ef2ccb1a8b1cea084784fc43
2021-10-04 16:45:28 +02:00
Dean Lee 2dc5a00e3d c++ replay: get socket name from capnp::Schema (#22367)
* get socket name from canp::Schema

* use vector
old-commit-hash: fd801c454abd302e6731fa9abbbc3d4cf74b6646
2021-10-04 15:44:06 +02:00
Dean Lee 66ca3985c9 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
old-commit-hash: d28b98c60244e2bb9e32810e881ea445a912606c
2021-10-04 15:39:59 +02:00
Dean Lee 430e9808b3 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.
old-commit-hash: fa8ddd992d6838e0e8f0f1178c26ec272c40f943
2021-10-04 15:00:57 +02:00
Willem Melching 5aa9a8e217 safety_setter_thread: exit on ignition low (#22426)
old-commit-hash: 3e854b83517e8239a56b99802ea32d70913563f2
2021-10-04 15:00:25 +02:00
Dean Lee ca45a040fc boardd: wait for safety_setter_thread to finish while quitting panda_state_thread (#21961)
* rebase master

* merge master

* merge master

* remove space
old-commit-hash: 47f601e50a8357ff1a30b4224f7fef0e65253df0
2021-10-04 14:38:35 +02:00