Commit Graph

11698 Commits

Author SHA1 Message Date
Dean Lee
164644e6b4 camerad: split sensor_ic2.h (#30641)
* split sensor_ic2.h

* move start_reg,stop_reg
old-commit-hash: bdf868ddc276e2cf8a644376afe1a9634bdf06fe
2023-12-07 15:45:49 -08:00
Dean Lee
3c4d6de5d1 camerad: move AR0231 functions to camera_ar0231.cc (#30635)
* move AR0231 functions to camera_ar0231.cc

* move to sensors/aro231.cc
old-commit-hash: ecfe201a57431e5dc1e4def58519f6493d489bab
2023-12-07 11:48:17 -08:00
Shane Smiskol
eb622a85d1 Ford: add Explorer 2023 FW (#30637)
* 49cead668ca2ac46

* docs
old-commit-hash: 1cd7b04e6ffb97018159c1fef930622bb0b77054
2023-12-07 11:37:18 -08:00
Kacper Rączy
9cf15f3c74 locationd: disable locationd temporary error alert on the body (#30608)
* Disable locationd temporary error alert on the body

* Disable locationd/paramsd/planner alerts on body with joystick mode

* joystick_enabled param not joystick_mode
old-commit-hash: 7f07f47302229bcc2694f7c53d1e5ed1236494c8
2023-12-07 10:53:33 -08:00
Dean Lee
8c2f29dfb2 sensor2_i2c.h: add #pragma once (#30636)
old-commit-hash: 8bf78399e220a55855db7bd17872edb29cae7569
2023-12-07 10:21:14 -08:00
Adeeb Shihadeh
e59a830852 qcomgpsd: retry quectel setup (#30632)
old-commit-hash: 2f2b9c782e2cef0cc972b39bcdc484fe0d8c9dfb
2023-12-06 20:56:20 -08:00
Adeeb Shihadeh
5fbf86a4d9 qcomgpsd: move retry logic to a decorator (#30633)
* qcomgpsd: move retry logic to a decorator

* make that same

* fix

* fix that
old-commit-hash: 51fa7b227afbc1134bf4860eaee819cdc64174d2
2023-12-06 19:55:27 -08:00
Adeeb Shihadeh
59eb2988de swaglog.py goes in common/ (#30631)
* swaglog.py goes in common/

* all of these go in release

* we'll even include the pyx
old-commit-hash: 35f819c8239b8ac3a000087a0f791b91ccea5e5e
2023-12-06 17:27:51 -08:00
Justin Newberry
12da944f1c jenkins: retry build_devel (#30628)
* will it work

* retry build devel

* correct p[ath

* try a failure

* Revert "try a failure"

This reverts commit ba4e6a0a2096b94887fcfbf7d011e34aa2a16c41.
old-commit-hash: 36bebb1aa064b4b40580aa48d35b21bd9ebe14c2
2023-12-06 17:22:32 -08:00
Justin Newberry
62d0647ab3 pytest: group test_models by route instead of car name (#30625)
* group by route

* dont need those
old-commit-hash: f16df8e4b7901f5e38b6f90a8900eef02faab504
2023-12-06 16:00:59 -08:00
Justin Newberry
a8c97eec3f jenkins: disable xdist on tici (#30624)
to preserve it
old-commit-hash: 3777bf7fb9b6d63f49118d010ac13cee89d13d06
2023-12-06 15:51:29 -08:00
Justin Newberry
0159b6394b ruff: ignore teleoprtc repo (#30627)
ignore it
old-commit-hash: 9dc8ecf722733d645e0a1492c7aff1e73908ab54
2023-12-06 15:33:17 -08:00
Adeeb Shihadeh
17aa887f25 Update RELEASES.md
old-commit-hash: 492ba68cfcf71fa084c765c49b4357b769cbe70e
2023-12-06 15:32:46 -08:00
Justin Newberry
db3fbdae18 Soundd: only update ambient db when not playing an alert (#30620)
* move to soundd + only when quiet

* not filtered
old-commit-hash: 5600a8288909e0b6ca95becbdb5746a0a9e35af4
2023-12-06 14:59:16 -08:00
Justin Newberry
f945b8ebaa jenkins: remove pytest tici conf (#30621)
* remove pytest conf

* remove that too
old-commit-hash: 31ab43ce41d6d0f88cb8a9b6df8e79f23b6309fe
2023-12-06 11:13:22 -08:00
Greg Hogan
e91032efb3 replace common.file_helpers.mkdirs_exists_ok with python os.makedirs funtion (#30618)
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs function
old-commit-hash: db35dcd0b5353d9c009fcf5817e611125a6b0b8b
2023-12-06 09:55:29 -08:00
Adeeb Shihadeh
a2df43c05e update mapsd cpu usage
old-commit-hash: 3985103974e59efc84a2ffc6e054b0f8daa6adf2
2023-12-05 21:32:55 -08:00
Adeeb Shihadeh
df18770f81 agnos 9 (#30543)
* agnos 9

* new build

* update

* Soundd: use alsa (#30617)

* update release notes

* agnos does this now

* prod manifest

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 3b89c5fe29b3a63f34e9782ef71ac868d89c99d5
2023-12-05 21:17:49 -08:00
Shane Smiskol
8dd6c7d4b1 Toyota: LTA unit test (#30613)
LTA unit test
old-commit-hash: 67d6186bbd5b19269162453a6028cabd6a2fabfc
2023-12-05 19:24:28 -08:00
Justin Newberry
817161f3ac Soundd: move to python (#30567)
soundd python
old-commit-hash: abe39e50766c418818bf72d2567db78978dbd466
2023-12-05 18:10:01 -08:00
Justin Newberry
202fa37808 Docker: pull image before building (#30614)
* pin to a specific version

* pull latest version

* dont need version debug
old-commit-hash: f32e3ae799aa26a132bfd61e1d98cf7273b5c239
2023-12-05 15:48:26 -08:00
Kacper Rączy
8edafd97b5 bodyteleop: toggle joystick debug mode (#30611)
* Enable joystick debug mode in web

* Remove mutable vals

* Rename thread back to main
old-commit-hash: 7948a61b0eaf98b3ace03e26027d8493f749e74f
2023-12-05 15:00:05 -08:00
Kacper Rączy
6c9a87556d joystickd: remove WEB (#30612)
Remove WEB option from joystickd
old-commit-hash: 6c62a3146607e87c1c4f796eb5a7c988f733d6c1
2023-12-05 14:42:44 -08:00
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
Kacper Rączy
d331250b7e webrtcd: endpoint for message schema retrieval vol. 2 (#30607)
* webrtcd: endpoint for message schema retrieval (#30578)

* Capnp json schema conversion

* Schema get endpoint

* Type annotation for generate_field

* Filter empty services

* Add schema.py to release
old-commit-hash: f46f00b373fac85a9b0c673feb4e809b57802216
2023-12-04 23:51:52 -08:00
Shane Smiskol
13fe4389f8 Revert "webrtcd: endpoint for message schema retrieval" (#30606)
Revert "webrtcd: endpoint for message schema retrieval (#30578)"

This reverts commit d8c45e7bb8e1c79a243bde3c448df51c07de0694.
old-commit-hash: 2ae7d99143751f2e81890ea2556c9fe0175b54d5
2023-12-04 22:59:35 -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
Kacper Rączy
a14ca845d6 webrtcd: endpoint for message schema retrieval (#30578)
* Capnp json schema conversion

* Schema get endpoint

* Type annotation for generate_field

* Filter empty services
old-commit-hash: 10eb70daf707760f785490f69b2d17621698ed75
2023-12-04 20:43:19 -08:00
Kacper Rączy
65c1f4fd17 webrtcd: stop cereal proxy runner when data channel is closed (#30601)
Stop the proxy when channel reaches invalid state
old-commit-hash: 6a354ddab75fee435da85f6dc89df90ef2d3baec
2023-12-04 19:14:11 -08:00
Dean Lee
091383e17c cabana: add test case for parsing all opendbc files (#30584)
* test opendbc files

* bump opendbc

* bump opendbc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 33ee7530b39bf01051c11cb888695b0962c92f95
2023-12-04 17:12:22 -08:00
Adeeb Shihadeh
5d681ceb6d Bump submodules (#30596)
bump submodules

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 36ccbc8bbef23cf464c38f29ef748a906561ba12
2023-12-04 17:02:48 -08:00
Adeeb Shihadeh
f3dec8658c Revert "Simplify passive mode handling (#30593)"
old-commit-hash: 99d51bf02c5a13f3064b012da55634f8a319091e
2023-12-04 15:05:05 -08:00
Justin Newberry
688354c5ce Fix passive mode (#30600)
remove passive
old-commit-hash: 05e932b088cde39dce7a1a32a55e5b4a3fae1253
2023-12-04 13:58:43 -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
Adeeb Shihadeh
5acd765c1e camerad cleanup (#30573)
* misc cleanup

* rm those

* rm utils

* fix build

* rm pool

* little more

* goodbye imgproc
old-commit-hash: e34ee43eeae000d080cb923b722afaf4c06fbc59
2023-12-01 20:10:07 -08:00
Adeeb Shihadeh
a9f5dcf4cf CI: speedup docs build (#30574)
old-commit-hash: 5dba9187e52d243a570bf10386ff9fe889e93abf
2023-12-01 19:55:27 -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
Adeeb Shihadeh
d84af30348 bump model unit test timeout
old-commit-hash: afd5877be8260afd840512d477b9164595343eed
2023-11-30 21:48:11 -08:00