Commit Graph

8312 Commits

Author SHA1 Message Date
Justin Newberry fa45813b3d pytest: add durations to tici (#30609)
add durations to tici
old-commit-hash: 56b8a1a5db81d1dd3b4e1a97b90be5b92d1af510
2023-12-05 12:24:03 -08:00
Shane Smiskol fd130642b6 joystick: bump max angle (#30602)
old-commit-hash: 09a9ba6de1603fbcda0f883d5298b3f80f8295e1
2023-12-04 21:16:33 -08:00
Shane Smiskol baeaa2f730 Toyota: rename LTA torque wind down signal (#30603)
* bump

* rename

* bump
old-commit-hash: 3fed87dbb701c263f38d64a29f7bbf186ad25e39
2023-12-04 21:16:12 -08:00
Adeeb Shihadeh f3dec8658c Revert "Simplify passive mode handling (#30593)"
old-commit-hash: 99d51bf02c5a13f3064b012da55634f8a319091e
2023-12-04 15:05:05 -08:00
Adeeb Shihadeh f408eb207a remove unused last_actuators arg from lateral controllers (#30595)
old-commit-hash: ce4bac8218ebcc8d0480ed09e0c1c6467f705a65
2023-12-03 15:54:18 -08:00
Adeeb Shihadeh 3a3a41741e add carParams.passive (#30594)
old-commit-hash: bd0ab957b196694c57b125838622e9d0021ca9c0
2023-12-03 14:09:37 -08:00
Adeeb Shihadeh 4be789d40a Simplify passive mode handling (#30593)
* simplify passive handling

* makes more sense
old-commit-hash: 5ccff25d885365e4247665fdf8380c6b67c36b28
2023-12-03 13:59:59 -08:00
Adeeb Shihadeh 1cc4f1a634 new msgs default to invalid (#30587)
* new msgs default to invalid

* fix lm

* set more valid

* update rest

* update refs

* fix logMessage

* more valids

* cleanup

* fix llk test

* pigeond is also valid

* more valids
old-commit-hash: a1d36961cf9fa0c6a9c41fe92d6504de5d36cbaa
2023-12-03 10:50:17 -08:00
Adeeb Shihadeh b761d0efb7 process replay: check valid flag (#30588)
old-commit-hash: a2b48efa2083c86638b536df180fbb638cab7404
2023-12-02 10:47:08 -08:00
Adeeb Shihadeh e7d7501670 longitudinal tests: cleanup old hacks (#30585)
old-commit-hash: 8971e2c177b6bd9ae1006e4dcbfa4246d6d8096a
2023-12-02 10:01:28 -08:00
Adeeb Shihadeh 93b1cf7d69 bump cereal (#30582)
* bump cereal

* fix dmonitoringd

* update refs

* update refs
old-commit-hash: c028688a652a8354ac641e185eee80a04633543b
2023-12-02 01:16:07 -08:00
Adeeb Shihadeh 4394116e5b clear non-release params on startup (#30583)
old-commit-hash: 531e62fc033b06b54f11c702dcbde5982bfe41e6
2023-12-01 23:57:54 -08:00
Adeeb Shihadeh f38648f84b rename carEvents -> onroadEvents (#30577)
* rename carEvents -> onroadEvents

* bump cereal

* bump cereal
old-commit-hash: b97e5b0e03a5e22ef0ae6d6f5c2523592ee25540
2023-12-01 22:48:29 -08:00
Adeeb Shihadeh 3d13288326 controlsd: remove old process replay sentinel (#30581)
old-commit-hash: 8e00ce672d78dcb2445b4bdfa1a9e557bb365233
2023-12-01 22:42:43 -08:00
Shane Smiskol ad5ae03be1 Toyota: LTA cleanup (#30579)
* have been running this for a few weeks: good

* set setme_x3 closer to stock

* add comment to values about additional EPS torque rate safety

* rename some variables

* should use vEgoRaw here to match panda!

* switch

* more notes

* specify

* smaller

* for

* oof
old-commit-hash: 54517c0638c99b7a40b146376def1ac324d07074
2023-12-01 22:27:29 -08:00
Kacper Rączy d062a97a26 webrtcd: webrtc streaming server (audio/video/cereal) (#30186)
* WebRTCClient and WebRTCServer abstractions

* webrtc client implementation

* Interactive test scripts

* Send localDescriptions as offer/asnwer, as they are different

* Tracks need to be added after setting remote description for multi-cam streaming to work

* Remove WebRTCStreamingMetadata

* Wait for tracks

* Move stuff to separate files, rename some things

* Refactor everything, create WebRTCStreamBuilder for both offer and answers

* ta flight done time to grind

* wait for incoming tracks and channels

* Dummy track and frame reader track. Fix timing.

* dt based on camera type

* first trial of the new api

* Fix audio track

* methods for checking for incoming tracks

* Web migration part 2

* Fixes for stream api

* use rtc description for web.py

* experimental cereal proxy

* remove old code from bodyav

* fix is_started

* serialize session description

* fix audio

* messaging channel wrapper

* fix audiotrack

* h264 codec preference

* Add codec preference to tracks

* override sdp codecs

* add logging

* Move cli stuff to separate file

* slight cleanup

* Fix audio track

* create codec_mime inside force_codec function

* fix incoming media estimation

* move builders to __init__

* stream updates following builders

* Update example script

* web.py support for new builder

* web speaker fixes

* StreamingMediaInfo API

* Move things around

* should_add_data_channel rename

* is_connected_and_ready

* fix linter errors

* make cli executable

* remove dumb comments

* logging support

* fix parse_info_from_offer

* improve type annotations

* satisfy linters

* Support for waiting for disconnection

* Split device tracks into video/audio files. Move audio speaker to audio.py

* default dt for dummy video track

* Fix cli

* new speaker fixes

* Remove almost all functionality from web.py

* webrtcd

* continue refactoring web.py

* after handling joystick reset in controlsd with #30409, controls are not necessary anymore

* ping endpoint

* Update js files to at least support what worked previously

* Fixes after some tests on the body

* Streaming fixes

* Remove the use of WebRTCStreamBuilder. Subclass use is now required

* Add todo

* delete all streams on shutdown

* Replace lastPing with lastChannelMessageTime

* Update ping text only if rtc is still on

* That should affect the chart too

* Fix paths in web

* use protocol in SSLContext

* remove warnings since aiortc is not used directly anymore

* check if task is done in stop

* remove channel handler wrapper, since theres only one channel

* Move things around

* Moved webrtc abstractions to separate repository

* Moved webrtcd to tools/webrtc

* Update imports

* Add bodyrtc as dependency

* Add webrtcd to process_config

* Remove usage of DummyVideoStreamTrack

* Add main to webrtcd

* Move webrtcd to system

* Fix imports

* Move cereal proxy logic outside of runner

* Incoming proxy abstractions

* Add some tests

* Make it executable

* Fix process config

* Fix imports

* Additional tests. Add tests to pyproject.toml

* Update poetry lock

* New line

* Bump aiortc to 1.6.0

* Added teleoprtc_repo as submodule, and linked its source dir

* Add init file to webrtc module

* Handle aiortc warnings

* Ignore deprecation warnings

* Ignore resource warning too

* Ignore the warnings

* find free port for test_webrtcd

* Start process inside the test case

* random sleep test

* test 2

* Test endpoint function instead

* Update comment

* Add system/webrtc to release

* default arguments for body fields

* Add teleoprtc to release

* Bump teleoprtc

* Exclude teleoprtc from static analysis

* Use separate event loop for stream session tests
old-commit-hash: f058b5d64eed31878533a85f25eb53386ff9e330
2023-12-01 21:13:37 -08:00
Hoya 56038f4c54 Hyundai: add FW for 2019 AZERA_HEV_6TH_GEN (#30548)
* added AZERA_HEV_5TH_GEN (2019)

* Update values.py

* Update interface.py

* Update values.py

* Update hyundaican.py

* Update hyundaican.py

* Update interface.py

* Update values.py

* one line

* didnt see harness change

* Update selfdrive/car/hyundai/values.py

* docs

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 169132c6cc52f598b9b16d9996690f51282082e5
2023-12-01 14:59:49 -08:00
Shane Smiskol cf9ed48dfb FW fingerprinting timing: fix refs (#30566)
old-commit-hash: e687be939e7cf67c4a75b87320ab058941d4316f
2023-11-30 16:36:20 -08:00
Adeeb Shihadeh b526644eb1 falsify rx checks (#30564)
old-commit-hash: 613ccf4b74ce70ac4bff75d1dbdd5ee7f8f4acdc
2023-11-30 14:53:33 -08:00
Justin Newberry 661132be5a Pytest: more post-test path cleanup (#30556)
* test cleanup

* missed this one

* remove that

* static class
old-commit-hash: 4086795c29bacd245a7cc372a16730e1a6ff974f
2023-11-30 09:55:48 -08:00
Justin Newberry ba3d3233dc Revert "Subaru: log eyesight fault as a cruise fault" (#30560)
old-commit-hash: b1e2e0f565010191f0f624487c4b74c63008f03a
2023-11-30 07:57:29 -08:00
Justin Newberry cc625f1a0c Subaru: non-obd FW queries logging (#30552)
* add subaru logging fw

* whitelist + comma

* whitelist is empty for the other requests

* all whitelisted
old-commit-hash: a2bb41e0ec5fd96763e9a01a7116efda059de6e6
2023-11-29 17:47:09 -08:00
Justin Newberry afaddc9ef5 Subaru: add 2023 forester (#30554)
23
old-commit-hash: 44ef143ae7cc855d6f4ce4b8328b90ab4f125fec
2023-11-29 14:53:43 -08:00
Shane Smiskol 48f193fc90 Car docs: add '19-'20 Santa Fe video (#30553)
* Add '19-'20 Santa Fe video

Add link to YouTube video for 2019-2020 Hyundai Santa Fe

* update docs

---------

Co-authored-by: Steve J <easternpa@gmail.com>
old-commit-hash: 4f8a2323828dd1eb3a608b81c48e7bced27abe6f
2023-11-29 14:27:37 -08:00
ebo2k 8d94e7196a Ford: add missing engine FW for Bronco Sport 2021 (#30483)
Update values.py

Updated to have correct engine firmware
old-commit-hash: e61ea6641559ec1d0cbae3b816d4dcf4957382ea
2023-11-29 14:26:20 -08:00
DriftedPrism 92f872f1c4 Kia: add missing fwdCamea FW for Sorento PHEV 4th gen (#30526)
* Update values.py

Adding Ecus for KIA Sorento PHEV 4th gen

* Update values.py

added fwdCamera version

* fix

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: dcbff66f0c38496c76f7505cf283b9d66def9aab
2023-11-29 14:16:17 -08:00
Justin Newberry 2290f0ff37 Subaru: log eyesight fault as a cruise fault (#30546)
log cruise fault
old-commit-hash: 9634e7b8afeebddd5d32d8b659d733dc85ff34c6
2023-11-29 12:55:52 -08:00
Vivek Aithal 6060d616f0 torqued: Update HYUNDAI TUCSON 4TH GEN offline values (#30513)
* update tucson offline values

* modify params, compute max accel
old-commit-hash: 573db49deb255636d6d02756eba9d520cff3c0ae
2023-11-28 15:10:30 -08:00
Shane Smiskol 91f84740a5 Toyota: add test route for 2023 RAV4 (#30465)
* test rav4 2023 (stripped)

* don't use initData, remove relay malfunction tolerance!

* all passes!

* some clean up

* more

* uncomment

* rm line

* remove ignore_addr_checks_valid

* right

* some changes for stripping data

* clean up

* check exist

* shouldn't be possible

* should be success if here

* no delete

* ""

* rm

* rm

* cleanup

* one list comp

* more clear

* not used

* add back legit source

* clean up

* copy files we don't need to strip (need sas to copy between accounts)

* default to strip

* revert
old-commit-hash: 2e45a7c2fd41ddf9099fb0cd013de15b3f2022df
2023-11-28 14:55:03 -08:00
Keen-coffee bf484e0306 Add 2022 Maverick engine and abs fingerprint (#30467)
old-commit-hash: c56c8a719c4e7e19d365d6465801651f4c0e56c8
2023-11-28 14:40:04 -08:00
Vincent Wright 4702d5952d Chrysler: add Ram HD 2500 2024 FW versions (#30505)
* New Ram HD firmwares. Dongle ID is 0f88f104416b674a.

* docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0b41d1c6e8724e5d81e836462090a87978a43015
2023-11-28 14:17:20 -08:00
Hoya 5c87d593d4 Kia: Add missing fwdCamera for KIA_CARNIVAL_4TH_GEN (#30540)
* Update values.py

Dongle ID : f9ec55916091ba61

RouteName : f9ec55916091ba61_2023-11-28--13-53-02

KIA_CARNIVAL_4TH_GEN finger need to be added 

Thanks

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a7d3eb87c7794210cac7533004f9ec4824741081
2023-11-28 14:01:00 -08:00
Adeeb Shihadeh 47ce76ae1f athena: remove primeActivated endpoint (#30542)
old-commit-hash: 07e75c7cb8337c7ca6aad0234cfdbf4c5327ba70
2023-11-28 11:43:01 -08:00
Jason Young 87de927d0d JEEP_CHEROKEE -> JEEP_GRAND_CHEROKEE (#30539)
old-commit-hash: 2f5c0bd01661972046af1d6dc1bd0228c9d056f1
2023-11-27 18:19:03 -08:00
Justin Newberry c784119c64 cleanup cameraview shader (#30520)
cleanup shader

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4b0d0b0f1eba784d1216dae33da5123f087d976c
2023-11-24 20:17:51 -08:00
Justin Newberry b2a58426bb Subaru: ignore eyesight faults when openpilot is controlling long (#30390)
ignore eyesight faults
old-commit-hash: f845c69b43ff56ad91236d0389f4721b6e9c6ecc
2023-11-23 11:10:44 -08:00
Justin Newberry 52500d88fb Pytest: add cpp harness (#30471)
cpp harness
old-commit-hash: 8d3bf1f41a52825e43ce9542ee86dea4b32f9b6c
2023-11-22 13:45:49 -08:00
Kacper Rączy 9cd71f897a locationd: remove models unused in openpilot (#30481)
* Remove filters used exclusively by xx

* Update SConstruct

* Remove from release

* Accomodate rednose build changes

* Update rednose ref

* rednose/helpers in rpath

* Add rednose_filters to files_common

* Change rednose_root

* Copy rednose site_scons to docker images

* Remove rednose from rpath

* Bump rednose

* Bump rednose

* Bump rednose
old-commit-hash: f65e6bc30e7a3cce8b073f9ae0155facfe6c7646
2023-11-22 13:25:29 -08:00
Justin Newberry 0c43599b93 allow onscreen cpu rendering (#30510)
* spinner POC cpu

* should be single threaded

* how tf did that get added

* allow non offscreen

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7f14bdfb22d25abed6af275c4006461bcceb5f99
2023-11-22 12:44:32 -08:00
Adeeb Shihadeh ef707d3226 bump panda (#30501)
* bump panda

* bump

* bump

* fix renamed variables

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: afd61352d0a09c7ff169cda5b3b1bb6a94af4d38
2023-11-20 14:45:51 -08:00
Justin Newberry c92907d795 update profiler docs again (#30503)
update SD docs again
old-commit-hash: 7a4a8c9a4ac3b8ed464d3b270d6c3803cb2750c1
2023-11-20 13:30:16 -08:00
Justin Newberry 1a4f40131c SDProfiler: update readme (#30479)
* update instructions

* fix that

* and that too
old-commit-hash: 631691c2122b15b989f18b6379c9efde713dee0b
2023-11-20 10:56:50 -08:00
Adeeb Shihadeh ca85e5b82a rename rawgpsd to qcomgpsd (#30493)
* rename rawgpsd to qcomgpsd

* fix more paths

* that moved

* forgot the d
old-commit-hash: 4cae08e6369c0f63229222c0b3815da983928787
2023-11-18 23:23:16 -08:00
Dean Lee 54346eccee modeld: remove modeldata.h (#30423)
* remove modeldata.h

* remove TRAJECTORY_SIZE
old-commit-hash: 335237aea0a854b41960c32b2f54b6c5af63b707
2023-11-18 22:45:26 -08:00
Dean Lee fe554ceee3 ui/controls.cc: fix QLabel leak (#30382)
fix QLabel leak
old-commit-hash: 17cab9bb508c74471d0ec66c4a3358122afe52aa
2023-11-18 22:14:05 -08:00
Adeeb Shihadeh e11869d4c9 updated: wait 1m before first cycle (#30492)
old-commit-hash: 99fbd4b150421102cba217791e1c81f8ff94ece0
2023-11-18 21:55:56 -08:00
Shane Smiskol 4221734433 CI: use azure-storage-blob for uploading (#30478)
* use azure-storage-blob

* fix pattern

* nsp
old-commit-hash: c2af245b85cb9a168b86446a41e665dc680f7242
2023-11-15 21:22:14 -08:00
Shane Smiskol 58cd3094dd openpilot CI: fix azure bucket names (#30477)
fix azure bucket names
old-commit-hash: 0addee2b4b9f4ad64d1cea12f4a6badf50e85e9c
2023-11-15 21:15:10 -08:00
Shane Smiskol 559b620b20 test_models: check if in relay-breaking safety mode (#30476)
* remove initData, remove tolerance

* can check faster now

* don't
old-commit-hash: fc8cfe128046e741d28b127bac03b7a691aa39f3
2023-11-15 18:57:37 -08:00
Shane Smiskol de63cac4c7 test_models: remove ignored address check list (#30475)
* remove ignore_addr_checks_valid

* lessgoooo
old-commit-hash: e44d84a7f998022c6bbe8543c69ea294ec1313ae
2023-11-15 18:50:39 -08:00