George Hotz
9720bb37b5
loggerd: broadcast encoder data ( #24177 )
...
* encode data try 1
* fix pc build
* low quality compressed streamer with pyav
* nvidia streamer
* timestamp support
* fix latency measurement
* refactor
* camerastream updates
* fix linter
* compressed to vipc, clean
* remove print
* touchups
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: dab978083b7014faa2aef2f43830e87323188578
2022-04-12 12:08:50 -07:00
Shane Smiskol
052b799262
Honda: resolve controls mismatch due to interceptor thresholds ( #24173 )
...
* make panda and openpilot thresholds match
* Revert "make panda and openpilot thresholds match"
This reverts commit dfcbd2058784de809564ada41e4cfbbfca7afe77.
* make panda and openpilot thresholds match
* remove interceptor scaling, compare int value
* remove honda exception
* bump panda
* bump opendbc
* add segment to check controls mismatch
* bump submodules
old-commit-hash: e8faf9f9853b445c6ddfd9ee1f1e44fbcfe3a96f
2022-04-12 11:20:55 -07:00
Shane Smiskol
453be8af86
test_models: support for specifying segment ( #24185 )
...
* support for specifying segment
* revert
* formatting
* revert
* Fix mypy
* raise exception if specified segment isn't available
oh, ndog param wasn't being set
* easier to read
* add to exception
old-commit-hash: 85c714e350b2445a78299fe6df8c06a36d80bcea
2022-04-11 22:03:23 -07:00
Lukas Petersson
9705604939
latency logger usable in testing closet ( #24183 )
...
old-commit-hash: 7034888cdbcc41a4bfb6c9ff14347bf48af8721a
2022-04-11 16:44:24 -07:00
mitchellgoffpc
44eaa8d88b
CALMODEL frame is dead
...
old-commit-hash: 25fdc95ea86d79dbc73edff1a5ad741005cbd0ef
2022-04-11 16:33:24 -07:00
Adeeb Shihadeh
ad8e58c250
comma three: correctly set initial EPS bearer settings for AT&T sim cards ( #24175 )
...
* 3g sunset
* only for blue prime
* pass
* full att code
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: c1388636a28b880e5c9b07bcaa8fbf867e23f02a
2022-04-11 15:33:58 -07:00
Adeeb Shihadeh
5ff61e95ad
controlsd: fix soft disable while overriding ( #24178 )
...
old-commit-hash: 37fc027e98b6a0a56e430b14ca4610c22280a068
2022-04-11 10:50:00 -07:00
Adeeb Shihadeh
9ce9e38cf7
tici IRQ tuning ( #24170 )
...
* first pass
* move that back
* move that
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: cf6c0ef19a20026c7cf3ac057e652b517ed82578
2022-04-11 10:49:27 -07:00
Robbe Derks
1e3ae0a704
Panda interrupt load ( #24180 )
...
* bump panda
* add to pandaState
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 863fed8fecbfbc0c8ce53c1c368b090b4a15fe62
2022-04-11 12:35:14 +02:00
Adeeb Shihadeh
b747791691
nav: better reroute backoff policy ( #24179 )
...
* nav: reduce max reroute backoff
* remove that too
old-commit-hash: fcf657763d7fbf7a1435fb45aa3b22e16ea6c21c
2022-04-10 20:53:07 -07:00
George Hotz
0681a415e9
broadcast encode idx packets ( #24176 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: cc8430b66866ba127ac0d753cee9168240d23102
2022-04-10 15:12:58 -07:00
HaraldSchafer
b0444b39d2
Body cleanup + 100Hz locationd ( #24168 )
...
* use PID
* 100hz on the branch
* Better defaults
* fix int clip
* More cleanup
* Fix pid comments
* only notcar gets 100hz
* cleanup
* fix tests
* ignore
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: f54e724b5dd8b95e03dd4f46676c5e854bafaea6
2022-04-09 15:22:29 -07:00
Adeeb Shihadeh
83f32537de
bump opendbc
...
old-commit-hash: 69368cce5433b7e890e3f0647698614623dee480
2022-04-08 22:11:27 -07:00
Jason Wen
c1771aba84
Hyundai: Car Port for Tucson Diesel 2019 ( #24082 )
...
* Add car port: Hyundai Tucson Diesel 2019
* SCC + LKAS trims only
* Add test route
* Update CARS.md
* remove from legacy safety mode
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 6214991d9861fd3bb425fa1133a847c3a24342d4
2022-04-08 11:32:18 -07:00
Shane Smiskol
f49522474c
GM: resolve cruise faults ( #24167 )
...
* these should be enabled
* bump panda
* bump
* allow in pre-enabled state
* bump panda
* add comment
* bump and update refs
* bump panda
* bump panda
old-commit-hash: 0f61a388c394ad5b6f25446c1e76558c1f4cead7
2022-04-07 20:44:09 -07:00
ZwX1616
eeeec4c2f4
DM: reduce model error on dsp by another 3.5x ( #24159 )
...
* a8236e30
* match
* update model ref
old-commit-hash: 720adbc49f3a849394b8139d91be906d771f24d7
2022-04-07 16:53:06 -07:00
Lukas Petersson
156234ced3
latencylogger graph design ( #24165 )
...
* latencylogger graph design
* Update tools/latencylogger/latency_logger.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* quotes
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: fecaac8edaa954a2ef9d93bde8c836f36617e859
2022-04-07 13:18:26 -07:00
HaraldSchafer
305a7a6bc9
Make PI into a PID ( #24151 )
...
* Make PI into a PID
* Cast like before
old-commit-hash: 634f7cebef415cda913517c157c0a1d025b6f2b4
2022-04-07 11:34:45 -07:00
George Hotz
b19c75d189
camerad: cleanups, support running only one camera ( #24157 )
...
* support disabling the cameras
* disable instead of only. reduce camera startup time
* cleanups
* make all disables work
* add more logging to buffer creation
* make disable work
* disable on sensor probe failed
* tested, fix print
* tolerate sensor failure onroad
* enables should be honored in public methods only
* comments and whitespace
* debug starting sensor
* bring clear_req_queue into c++, add logging for error cases
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 10d4766f76ae841b702ad88680bc3e5b7e4bf9e5
2022-04-07 10:43:14 -07:00
Adeeb Shihadeh
7489a7d739
bump cereal
...
old-commit-hash: 6c0fa7775ccd2fd69b0094ef7dc385f32f4d7af4
2022-04-06 22:27:29 -07:00
Adeeb Shihadeh
e04e6fea87
bump cereal
...
old-commit-hash: 162e47456cf88dab27db8f86474b0d41a52c03e5
2022-04-06 22:25:59 -07:00
Chris Souers
c191b60363
More Accord 2021 FW ( #24154 )
...
old-commit-hash: 12ff38196d74e0abf278877629f39901177c2848
2022-04-06 22:06:26 -07:00
Chris Souers
01f31920e3
Honda Bosch: fix undefined signal in can packing ( #24155 )
...
old-commit-hash: 7cea1ed6d972f223f2e6fc849cfa0ee5ac34dd8a
2022-04-06 22:04:45 -07:00
Adeeb Shihadeh
3683360f86
controlsd: fix long press set speed increment ( #24161 )
...
old-commit-hash: 1ea66ee244f604b8da898c584e849c0d568235ee
2022-04-06 22:03:40 -07:00
Adeeb Shihadeh
db51455f0b
bump opendbc
...
old-commit-hash: 9ec0378842471c81e3ec99acc4b6045e8f098f14
2022-04-06 21:57:26 -07:00
Willem Melching
83c103e46a
update camera CRC alert text ( #24156 )
...
old-commit-hash: fb344021aa2e69408b32f7878f1c705691640330
2022-04-06 17:46:56 -07:00
Willem Melching
c989d62704
panda: use PWM for camera strobe ( #24149 )
...
* bump panda; pwm-clock-source
* bump panda
old-commit-hash: e42ba704e35ba2ce3b01e95431887d156e66a03b
2022-04-06 17:20:36 -07:00
Willem Melching
a47666d1fd
add cameraFrameRate alert ( #24152 )
...
* add cameraFrameRate alert
* bump cereal
old-commit-hash: 1848050fd980a04dfc70454547ab7b52affe2917
2022-04-06 17:11:39 -07:00
Willem Melching
871ecc451b
commIssueAvgFreq: separate alert for avg freq check ( #24150 )
...
* commIssueAvgFreq: separate alert for avg freq check
* bump cereal
* bump cereal
* bump cereal
* freq_ok separate from alive
* bump cereal to master
* update_ref
* fix profiler
old-commit-hash: eaa581921161b2643b10ad72da0708dff14367aa
2022-04-06 16:43:32 -07:00
George Hotz
758d423b86
body: control with joystick ( #24143 )
...
* control with joystick
* slow it down
* always joystick for not car
* clean ups
* not stateful
* move submaster
* only if we aren't in test mode
* update refs
* double ki speed, update ref
* this ref
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7dd71cc63db66d56de069d35544be607ac1ab5b5
2022-04-06 11:31:31 -07:00
Adeeb Shihadeh
bba7aafaca
jenkins: add new devices ( #24144 )
...
old-commit-hash: 84aff56de6c7f12e4a5ca9560425f3316c5f95b6
2022-04-06 10:34:46 -07:00
Willem Melching
d8ade5e21c
camera processing time: float -> double
...
old-commit-hash: 03257bb0d8cfb04e4e8c00ab7f430178415be867
2022-04-06 10:08:44 -07:00
Willem Melching
6cafad7e30
route.cc: include <array>
...
old-commit-hash: b379fca0ae9d6046658d2a11f71462090aadfcbc
2022-04-06 07:34:11 -07:00
Igor Biletskyy
4ded7b99f6
body: add battery percentage and charger status to signals and opendbc ( #24145 )
...
* bump opendbc
* add signals
* bump opendbc
old-commit-hash: 102738e4e0dd1702ab01b849e444bd1dfc2ddd1c
2022-04-06 00:07:36 -07:00
Shane Smiskol
5a9c45b6e3
Clean up CarInterface.apply and CarControllers ( #24060 )
...
* do tesla
* parentheses
* Do Chrysler
* Make sure Hyundai long never actuates when long inactive
.
* clean up Hyundai
* more clear
* formatting
* Stock sets these to zero
* fix params
* move jerk logic into CC
clean up
old-commit-hash: c8f5b217443036333bc18c29085a1c8ae8bd39f3
2022-04-05 23:38:45 -07:00
George Hotz
42a81f4921
update ref commit for body tune change
...
old-commit-hash: 596417da370769d052c77a3481b28cd1c9d610fa
2022-04-05 21:40:13 -07:00
Lukas Petersson
df8476118b
Latency logging 2 ( #24058 )
...
* msg_order and gantt
* frameId in long/lat planner
* track frame id
* controls frame id
* graph tracked events
* graph json
* cloudlog timestamp
* c++ cloudlog
* add frame id
* bug fixes
* bug fixes
* frame id visionicp
* bug fixes and debug level
* timestamp log placement
* print timestamps in table
* translate events
* more logging
* bug fixes
* daemon boardd
* print logs with boardd
* more timestamp logs
* cleanup
* remove publish logs
* bug fix
* timestamp received
* timestamp received
* bug fixes
* use json lib
* ignore driver camera
* prep for new timestamp pipeline
* bug fix
* read new pipeline unfinnished
* read new pipeline
* bug fix
* add frame to controlsstate
* remove controlsstate
* print
* cleanup
* more cleanup + bug fix
* clock build issue
* remove unused imports
* format durations
* increase speed
* pr comments fixes
* conflicts
* set MANAGER_DAEMON for boardd
* clean script code
* bug fix + argparse
* remove rcv time
* bug fixes
* print without tabulate
* fix pre-commits
* plot gnatt
* color bug fix
* read without timestampextra
* bump panda
* mono time instead of frame id
* finnish script
* clean unused
* clean unused logging
* monotonic + json fixes
* del test
* remove whilelines
* bump laika
* cleanup
* remove deps
* logs nicer strings
* remove plotting from scirpt
* reset pipfile
* reset pipfile
* nicer strings
* bug fix
* bug fix
* pr comments cleaning
* remove plotting
* bug fix
* new demo route
* bump opendbc and panda
* cereal master
* cereal master
* script less komplex
* assertions
* matplotlib
* readme
* Update README.md
* graph html
* design fixes
* more code design
* Update common/logging_extra.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* whitespace
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update tools/latency_logger/latency_logger.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* pr comments
* bug fix
* readme + env once
* clean swaglog
* bug fix
* Update tools/latencylogger/README.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* revert
* revert
* clean swaglog with error
* remove typo file
* revert graph
* cereal
* submodules
* whitespaces
* update refs
Co-authored-by: Bruce Wayne <batman@workstation-openpilot2.internal >
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 65fca83abed98f32993286dc5a66e3e583f06172
2022-04-05 21:05:45 -07:00
Willem Melching
85aa5e2706
uploader: azure returns 401 for files already uploaded ( #24141 )
...
old-commit-hash: e7f23ceca252fb4c62819b29c38eaaa62d66ce39
2022-04-05 20:09:05 -07:00
Igor Biletskyy
f35a445b73
body: add debug ECU for git hash logging + fw version ( #24128 )
...
* non-essential ECU for logging
* bump cereal
* debug ECU
* match_fw_to_car_exact
* comment
* version instead of board date
* add old compatible value
* update_refs
old-commit-hash: 7908fb88299c6431e3495a86aafe8b0c092547e4
2022-04-05 18:24:06 -07:00
Willem Melching
34e0b26dc4
athena.upload_handler.upload_start log retry count ( #24139 )
...
old-commit-hash: 714efe828a10b1c9cf5f4b37b96af13c3d9333a1
2022-04-05 17:57:01 -07:00
Adeeb Shihadeh
43d7467afa
add body to release notes
...
old-commit-hash: 06d02b48299045691b56e4d6081e2c821afbe4e0
2022-04-05 15:12:50 -07:00
Brett Sanderson
58771d8bdd
UI: improved disengage on gas toggle description ( #24132 )
...
* Update settings.cc
Should be depressed as standard in automotive industry.
Pressed implies state change from down -> up, depressed means the state is down
* Update selfdrive/ui/qt/offroad/settings.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 61d987f630237c079a4c13b7d40b8a5b46a062c9
2022-04-05 15:07:28 -07:00
Adeeb Shihadeh
60c3bb2da3
add mpld3 python pacakge ( #24138 )
...
* add mpld3 python pacakge
* move to dev
* fix for new pylint
old-commit-hash: 6013d733a3a68f3c7f423f8c164d073da3221ef3
2022-04-05 15:00:35 -07:00
Willem Melching
9cd2f5a7a3
Log modem version and some NV values ( #24137 )
...
* add back modem version number logging
* tici only
* log nv
* make event
* str cast
old-commit-hash: be35caca614c45f54d2e76f394b2fdecd841cb3f
2022-04-05 14:29:07 -07:00
martinl
808c139479
Subaru: update supported model years and steering torque ( #24118 )
...
* Subaru: update carinfo supported model years and good steering torque
* update torque
* model year 2020 was added to IMPREZA_2020, split out
update docs
* order
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 5e1095e88131fe7cf4555e9dcb1023f49239443c
2022-04-05 13:04:46 -07:00
Shane Smiskol
bf744c0410
tests: add overriding to state machine test ( #24131 )
...
* add overriding to state machine test
* overriding should consider soft disable too
old-commit-hash: d7a708d6dadb73879cab4bf00d6ce67626a67978
2022-04-05 11:36:18 -07:00
Shane Smiskol
38c74c325b
PlotJuggler: fix support for Cabana links ( #24037 )
...
* support Cabana links better
* not needed
* Update tools/plotjuggler/juggle.py
old-commit-hash: a953d8222d0267b6d53d476939e7426152a96543
2022-04-05 11:24:03 -07:00
Erich Moraga
2b7ac102af
Added embedded tuning wiki hyperlink ( #24133 )
...
https://github.com/commaai/openpilot/wiki/Tuning
old-commit-hash: f861854e256e67e3a79c9a7a7dbe9b6218174997
2022-04-05 10:30:09 -07:00
Willem Melching
410557490f
camera_qcom2: target 40ms acquisition time, use register wizard ( #24093 )
...
* register values from wizard
* target 25fps to leave some room for timing jitter
* update max lines in ui
old-commit-hash: 67d6847039ecc65186b39382d38a63dfffc0a9b2
2022-04-05 08:10:53 -07:00
Shane Smiskol
c97473248a
controls: add overriding to active states ( #24129 )
...
old-commit-hash: f0ac80806e57f332ad85aa9134791274cf9a5ad5
2022-04-05 01:29:23 -07:00