Skip to content

Conversation

@sshane
Copy link
Contributor

@sshane sshane commented Dec 31, 2021

With v_desired initialized at 0 and updating the value to any number, there's a 1.22% difference between current vs. with FOF. If it's not worth it, feel free to close. I just thought it might be nice to use.

@pd0wm pd0wm requested a review from haraschax January 2, 2022 15:05
@pd0wm pd0wm added the controls controls/planner related label Jan 2, 2022
@haraschax
Copy link
Contributor

I like this change, but it is pretty ugly to have v_desire to be a filter object and a_desired be a float. Can you keep v_desired a float and make a new v_desired_filter object?

@pd0wm pd0wm merged commit 9f88ba1 into commaai:master Jan 4, 2022
@sshane sshane deleted the use-fof-long-plan branch January 4, 2022 11:31
budney pushed a commit to budney/openpilot that referenced this pull request Jan 10, 2022
9074116 Merge remote-tracking branch 'commaai/master'
fa3055f smaller docker image (commaai#23469)
1a54d7f Ignore statsd for running process check (commaai#23483)
3ce4976 thermald: track engaged state in param and kmsg (commaai#23478)
779e602 add missing toyota fw engine (commaai#23272)
4208fe0 LongControl: remove redundant check on active (commaai#23481)
4ff9ee8 monkeypatch os.link (commaai#23480)
a653461 check in tuple instead of list (commaai#23477)
1b49ce6 Statsd (commaai#23413)
8eec818 events: cleanup function any (commaai#23479)
842ba8e C2 detection (commaai#23439)
67af095 controlsd: check all_valid only if not initialized (commaai#23437)
2d08f8b controlsd: save lat_plan.dPathPoints to local variable (commaai#23462)
b2beb5e controls: check contents in tuple instead of list (commaai#23463)
f6c6e34 calibrationd: remove extra comma (commaai#23472)
0c075a6 Toyota: use common DBC for TSSP Camry Hybrid (commaai#23453)
a0eed0c hyundai enable radar points script cleanup (commaai#23451)
89f2f1c LFS migration (commaai#23448)
6664421 mac: fix setup and re-enable CI (commaai#23365)
207ce41 tools: update README.md (commaai#23447)
d77782e CameraView: sync pbo with glFence instead of calling glFinish (commaai#23409)
c4b36ce Revert "ui/update_model: do not recalculate the max_idx If there is no lead (commaai#23356)"
09a8359 optimize alertmanager (commaai#23433)
dbef0a1 Camera transforms: denormalize with no bounds at all
ce998be Camera transforms: denormalize with no bounds
1de0757 fix typo in athena/registration.py (commaai#23434)
4528075 log ERROR messages in qlogs too (commaai#23425)
1a6881e skip falling device test
ef225e3 locationd: disable falling device detector (commaai#23431)
86d7307 replay: handle abort in getRemoteFileSize (commaai#23427)
e0338fd controlsd/state_transition: remove redundant check in elif (commaai#23428)
c7fb8f4 selfdrive/car/gm/interface.py: fix typo in comment (commaai#23429)
450656e GM: move abandoned cars into dashcam only (commaai#23423)
eb0cd9c bump panda
a126495 Subaru: remove all Pre-Global CAN fingerprints (commaai#23422)
7faad75 Subaru: remove Ascent FPv1 (commaai#23407)
e499ebc Hyundai: Add Niro EV to 384 STEER_MAX (commaai#23420)
13d011c Add Prius 2022 to CARS.md (commaai#23417)
64caee8 replay: add missing import for std::optional (commaai#23416)
3ffebf4 athena: uploads, show which items fail on error (commaai#23412)
8d80c01 catch gl_buffer->map() returning nullptr (commaai#23411)
a2e762e longcontrol: check if speeds is empty (commaai#23410)
bafdb20 setup: remove duplicate pipenv install (commaai#23406)
23346ae setup: update pyenv before installing python (commaai#23405)
25f5147 Revert "CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)"
34926df Revert "cameraview.cc: call glFlush after creating fence"
f30a702 fix up tools readme
df7126b paramsd: follow capnp best practices (commaai#23399)
cf9792d Longcontrol: remove starting state (commaai#23328)
0357cf2 controlsd: remove duplicate event relayMalfunction (commaai#23392)
7257f71 Move over all tss2 long tunes (commaai#23108)
d3f064f Controlsd: fix bug in curv rate limit (commaai#23250)
15be8a8 Subaru: initial FPv2 dump (commaai#23389)
9720dbe docs: conf.py dont shadow project variable
9f70bea docs: setup docs for C code (commaai#23262)
47bb62b athena: methods for adding and cancelling multiple upload requests (commaai#23366)
aad7ebd bump CPU usage slightly after adding glFlush
a6aa094 Toyota: only send gas interceptor message when openpilot controls longitudinal (commaai#23357)
d2948f2 replay: Add next engagement / disengagement jump capabilities (commaai#23248)
9cb0ebe LongitudinalMpc: Remove class accel_limit_arr (commaai#23295)
71132ed plotjuggler: support segment names (commaai#23263)
8655f6d cameraview.cc: call glFlush after creating fence
5264485 disable pytest concurrency for test_models
5a77157 Joystick: learn axis min/max (commaai#23377)
5dbdad3 CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)
cd9813a UI: run set_brightness in QtConcurrent (commaai#23326)
9f88ba1 Longitudinal planner: make v_desired a FirstOrderFilter (commaai#23341)
a1e201e MUI should be a status bar (commaai#23287)
f2c17bb logcatd: fix sd_journal_seek_tail doesn't go to end (commaai#23319)
937a0df replay/logreader: handle abort in load (commaai#23321)
0148b23 Add comment about vEgoStarting to interfaces (commaai#23327)
9295066 ui/get_path_length_idx:  line_x[i] shoud be less than or equal to path_height (commaai#23336)
960e0cf controlsd/publish_logs: follow capnp best practices (commaai#23372)
f561d84 ui/update_model: do not recalculate the max_idx If there is no lead (commaai#23356)
a11bb81 bump panda
05b905d interfaces/apply: follow capnp best practices (commaai#23371)
5dc631f longcontrol/update: optimize capnp (commaai#23382)
15f88db add subaru fp2.0 to release notes
6b20534 Subaru FPv2 support (commaai#1878)
1ca5e1c Fix steering oscillations in 2019 RDX (commaai#22677)
3e5a273 tools: configure PYTHONPATH in pipenv (commaai#23361)
8dd8b19 replay tests: retry on network failure (commaai#23383)
21ee6d2 ui: emit offroadTransition in UIState::updateStatus (commaai#23265)
7b612d4 radard/update: optimize capnp (commaai#23380)
c70fc7d Revert "soundd: back to onroad only (commaai#23236)"
cd42be7 CI: run car unit tests in parallel (commaai#23379)
231f74c GM: Switch to AcceleratorPedal2 (commaai#23376)
a1a9a0f pre-commit: fix exclude patterns (commaai#23375)
f2520b6 lane_planner.py/parse_model: follow capnp best practices (commaai#23368)
2a99bc6 ui: update lead's z position if modelV2 has been updated after startup. (commaai#23355)
7601040 CI: cache LFS objects (commaai#23345)
1e41f47 CAN receive error is a comm issue (commaai#23362)
162460e Toyota: 2020 Highlander Hybrid Engine fingerprint (commaai#23373)
24c741e Toyota: merge Lexus RX params (commaai#23374)
7c51b4d add supported FW version for Palisade 2022 (commaai#23337)
e180557 HKG: Add and Fix FW for 2022 Kia Niro EV (commaai#23253)
ab2111a Add firmware from 2021 prius in australia (commaai#23271)
bbb47dc MultiLogIterator: fix after adding sort_by_time
30e8383 HKG: blacklist cars with lower steering max (commaai#23255)
92f194d MultiLogIterator: remove wraparound mode (commaai#23360)
9d3a821 first contribution ideas
066e3e3 CI: use ubuntu_setup.sh (commaai#23349)
9992ea1 LogReader: add arg to sort by time (commaai#23346)
2ca0925 lateral_planner.py/publish: follow capnp best practices (commaai#23359)
1e309a5 replay: add flag to disable video (commaai#23353)
92b553b plotjuggler: fix layout param (commaai#23348)
fed7cfe PC: dynamically set PYTHONPATH from real openpilot path (commaai#23322)
7cd6a88 fix setup scripts if git isn't installed
bd39969 Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (commaai#23332)
d85bb96 disable simulator job until LFS is fixed
c26f294 plotjuggler: add mac support (commaai#23344)
8fe9c0e mac_setup: install git-lfs
c86ca38 add version to docs.comma.ai (commaai#23260)
c95202b docs.comma.ai add sitemap and robots.txt (commaai#23259)
dc96d4b Add More Types for mypy (commaai#23268)
5387806 LongitudinalMpc: minor clean up (commaai#23296)
58a363e replay/segment: pass member function pointer to QtConcurrent::run (commaai#23312)
de6126b replay: add flag REPLAY_FLAG_FULL_SPEED to play at full speed (commaai#23324)
5fe809b ui:  set the bg color of controllerUnresponsivePermanent to blue (commaai#23308)
4c7c2cc palanteer seems pretty cool
1fc1382 posenet_publish: use const references (commaai#23310)
21fc9d5 replay/util: initialize curl at startup (commaai#23314)
c9da140 replay: fix segfault or hanging on quit (commaai#23323)
699b20e test/profiler: fix setting carParams
13bf30f VW MQB: Add FW for 2019 Volkswagen Jetta (commaai#23306)
332f568 Pyupgrade 3.6: Update syntax with Python 3.6+ features (commaai#23305)
6fd3d50 VW MQB: Add FW for 2018 Volkswagen Arteon (commaai#23303)
b1dfdca Add missing HIGHLANDER_TSS2 engine f/w (commaai#23301)
94e435c replay/camera: use existing YUV_BUFFER_COUNT (commaai#23297)
a1ac773 Add missing COROLLA_TSS2 ESP & engine f/w (commaai#23294)
bf4d875 OnroadHud: use function loadPixmap (commaai#23292)
db6c477 use km/h in settings.cc (commaai#23290)
6aeb542 make that consistent with other labels
50cce27 UI: call map::offroadTransition after creating map (commaai#23283)
2d85785 UI: less harsh controls unresponsive when not engaged
ea82af1 delete old scripts
f3e67e0 repeat immediate warning sound
256c51e bump cereal
c92199a Revert "Mazda: alert when LKAS is disabled (commaai#23273)"
f25121b Mazda: alert when LKAS is disabled (commaai#23273)
cd7db7f Mazda CX-5 2021 FW (commaai#23270)
16dd7ce build for mac (commaai#23048)
646fe7d mui
fc7d152 Mazda:  CX-5 and 3 FW (commaai#23267)
e4de82f ui: remove variable world_objects_visible, use rcv_frame (commaai#23264)
ffc2f64 modeld: update live calibration in main thread (commaai#23235)
b4b5ca5 Merge remote-tracking branch 'commaai/master'
cf46622 Road Roll Compensation Rebased (commaai#23251)
285adde Revert "boardd: new class USBDevice (commaai#23015)"
4061f50 boardd: new class USBDevice (commaai#23015)
e494801 update model replay ref commit after increased model idx precision
7d3ad94 modeldata: use a constexpr function to build the IDXS (commaai#23245)
2ab57c2 update release notes
e32673d Merge remote-tracking branch 'commaai/master'
14bf834 Abstract classes inherit from ABC (commaai#23246)
55390d2 Convert format strings strings to f-strings (commaai#23241)
4f1eb42 Log actuators after applying rate limits in CarController (commaai#23230)
a793b94 boardd: add controls heartbeat (commaai#23185)
768cfdb framereader: use the same alignement as visionbuf (commaai#23208)
66ee3e9 model replay: more consistent replay (commaai#23237)
7fd9875 Subaru: Add Impreza/Crosstrek 2020 (commaai#21011)
3bdb445 soundd: back to onroad only (commaai#23236)
17d2e19 Merge remote-tracking branch 'commaai/master'
a112599 VW MQB: Add FW for 2018 Škoda Superb (commaai#23233)
5810583 UI: always clear CameraView background (commaai#23231)
472177e Revert "Qt/SetingWindow: faster initialization and painting (commaai#21764)"
d09cc19 manage_athenad.py: add daemon argument to launcher
7c4855a modeld: make valid variable thread safe (commaai#23228)
f20d53b driving.h: remove obsolete poly_fit function prototype (commaai#23229)
7568716 qt/util: new function scaledPixmap (commaai#23103)
13b4ff5 selfdrive/version: remove one unnecessary write to .git/ (commaai#23183)
2483fc5 ui: singleton uistate (commaai#22789)
345fe48 Subaru Pre-Global: Rename ES_CruiseThrottle to ES_Distance (commaai#23024)
b27a19e cloudlog: add daemon name to context for python daemons (commaai#23225)
fa62b9d modeld: start publishing before calib seen (commaai#23190)
245b4d9 Toyota: Display Blue Barriers When Engaged, Matches OEM Design (commaai#23150)
cd190dc Calibrationd: check size of valid_blocks without current (commaai#23223)
40dcc63 Calibrationd: don't use noisy current block (commaai#23222)
837823f Revert "Dont use erratic current block (commaai#23211)" (commaai#23221)
19335bb Dont use erratic current block (commaai#23211)
c25ed45 Update ref with minSpeedCAN removed
c84310c seems to be flipped (commaai#23213)
af5a418 DM: more adaptive pose policy (commaai#23184)
2799ef5 Remove minSpeedCan (commaai#22991)
f042962 put logcat in bootlog (commaai#23217)
36db473 comma two: remove lens sag compensation (commaai#23113)
8cb83b2 athena: persist upload queue to disk (commaai#22659)
b745a14 version.py: make function names more clear (commaai#23216)
084ef39 C2: display ip address in network panel (commaai#23215)
c5dbee4  UI: add timeout to close settings window while onroad (commaai#22980)
d4b8cba move LayoutWidget,ClickableWidget to controls (commaai#23207)
4a936bb bump version to 0.8.13
budney pushed a commit to budney/openpilot that referenced this pull request Jan 11, 2022
2ab57c2 update release notes
7d3ad94 modeldata: use a constexpr function to build the IDXS (commaai#23245)
e494801 update model replay ref commit after increased model idx precision
4061f50 boardd: new class USBDevice (commaai#23015)
285adde Revert "boardd: new class USBDevice (commaai#23015)"
cf46622 Road Roll Compensation Rebased (commaai#23251)
ffc2f64 modeld: update live calibration in main thread (commaai#23235)
e4de82f ui: remove variable world_objects_visible, use rcv_frame (commaai#23264)
fc7d152 Mazda:  CX-5 and 3 FW (commaai#23267)
646fe7d mui
16dd7ce build for mac (commaai#23048)
cd7db7f Mazda CX-5 2021 FW (commaai#23270)
f25121b Mazda: alert when LKAS is disabled (commaai#23273)
c92199a Revert "Mazda: alert when LKAS is disabled (commaai#23273)"
256c51e bump cereal
f3e67e0 repeat immediate warning sound
ea82af1 delete old scripts
2d85785 UI: less harsh controls unresponsive when not engaged
50cce27 UI: call map::offroadTransition after creating map (commaai#23283)
6aeb542 make that consistent with other labels
db6c477 use km/h in settings.cc (commaai#23290)
bf4d875 OnroadHud: use function loadPixmap (commaai#23292)
a1ac773 Add missing COROLLA_TSS2 ESP & engine f/w (commaai#23294)
94e435c replay/camera: use existing YUV_BUFFER_COUNT (commaai#23297)
b1dfdca Add missing HIGHLANDER_TSS2 engine f/w (commaai#23301)
6fd3d50 VW MQB: Add FW for 2018 Volkswagen Arteon (commaai#23303)
332f568 Pyupgrade 3.6: Update syntax with Python 3.6+ features (commaai#23305)
13bf30f VW MQB: Add FW for 2019 Volkswagen Jetta (commaai#23306)
699b20e test/profiler: fix setting carParams
c9da140 replay: fix segfault or hanging on quit (commaai#23323)
21fc9d5 replay/util: initialize curl at startup (commaai#23314)
1fc1382 posenet_publish: use const references (commaai#23310)
4c7c2cc palanteer seems pretty cool
5fe809b ui:  set the bg color of controllerUnresponsivePermanent to blue (commaai#23308)
de6126b replay: add flag REPLAY_FLAG_FULL_SPEED to play at full speed (commaai#23324)
58a363e replay/segment: pass member function pointer to QtConcurrent::run (commaai#23312)
5387806 LongitudinalMpc: minor clean up (commaai#23296)
dc96d4b Add More Types for mypy (commaai#23268)
c95202b docs.comma.ai add sitemap and robots.txt (commaai#23259)
c86ca38 add version to docs.comma.ai (commaai#23260)
8fe9c0e mac_setup: install git-lfs
c26f294 plotjuggler: add mac support (commaai#23344)
d85bb96 disable simulator job until LFS is fixed
bd39969 Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (commaai#23332)
7cd6a88 fix setup scripts if git isn't installed
fed7cfe PC: dynamically set PYTHONPATH from real openpilot path (commaai#23322)
92b553b plotjuggler: fix layout param (commaai#23348)
1e309a5 replay: add flag to disable video (commaai#23353)
2ca0925 lateral_planner.py/publish: follow capnp best practices (commaai#23359)
9992ea1 LogReader: add arg to sort by time (commaai#23346)
066e3e3 CI: use ubuntu_setup.sh (commaai#23349)
9d3a821 first contribution ideas
92f194d MultiLogIterator: remove wraparound mode (commaai#23360)
30e8383 HKG: blacklist cars with lower steering max (commaai#23255)
bbb47dc MultiLogIterator: fix after adding sort_by_time
ab2111a Add firmware from 2021 prius in australia (commaai#23271)
e180557 HKG: Add and Fix FW for 2022 Kia Niro EV (commaai#23253)
7c51b4d add supported FW version for Palisade 2022 (commaai#23337)
24c741e Toyota: merge Lexus RX params (commaai#23374)
162460e Toyota: 2020 Highlander Hybrid Engine fingerprint (commaai#23373)
1e41f47 CAN receive error is a comm issue (commaai#23362)
7601040 CI: cache LFS objects (commaai#23345)
2a99bc6 ui: update lead's z position if modelV2 has been updated after startup. (commaai#23355)
f2520b6 lane_planner.py/parse_model: follow capnp best practices (commaai#23368)
a1a9a0f pre-commit: fix exclude patterns (commaai#23375)
231f74c GM: Switch to AcceleratorPedal2 (commaai#23376)
cd42be7 CI: run car unit tests in parallel (commaai#23379)
c70fc7d Revert "soundd: back to onroad only (commaai#23236)"
7b612d4 radard/update: optimize capnp (commaai#23380)
21ee6d2 ui: emit offroadTransition in UIState::updateStatus (commaai#23265)
8dd8b19 replay tests: retry on network failure (commaai#23383)
3e5a273 tools: configure PYTHONPATH in pipenv (commaai#23361)
1ca5e1c Fix steering oscillations in 2019 RDX (commaai#22677)
6b20534 Subaru FPv2 support (commaai#1878)
15f88db add subaru fp2.0 to release notes
5dc631f longcontrol/update: optimize capnp (commaai#23382)
05b905d interfaces/apply: follow capnp best practices (commaai#23371)
a11bb81 bump panda
f561d84 ui/update_model: do not recalculate the max_idx If there is no lead (commaai#23356)
960e0cf controlsd/publish_logs: follow capnp best practices (commaai#23372)
9295066 ui/get_path_length_idx:  line_x[i] shoud be less than or equal to path_height (commaai#23336)
0148b23 Add comment about vEgoStarting to interfaces (commaai#23327)
937a0df replay/logreader: handle abort in load (commaai#23321)
f2c17bb logcatd: fix sd_journal_seek_tail doesn't go to end (commaai#23319)
a1e201e MUI should be a status bar (commaai#23287)
9f88ba1 Longitudinal planner: make v_desired a FirstOrderFilter (commaai#23341)
cd9813a UI: run set_brightness in QtConcurrent (commaai#23326)
5dbdad3 CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)
5a77157 Joystick: learn axis min/max (commaai#23377)
5264485 disable pytest concurrency for test_models
8655f6d cameraview.cc: call glFlush after creating fence
71132ed plotjuggler: support segment names (commaai#23263)
9cb0ebe LongitudinalMpc: Remove class accel_limit_arr (commaai#23295)
d2948f2 replay: Add next engagement / disengagement jump capabilities (commaai#23248)
a6aa094 Toyota: only send gas interceptor message when openpilot controls longitudinal (commaai#23357)
aad7ebd bump CPU usage slightly after adding glFlush
47bb62b athena: methods for adding and cancelling multiple upload requests (commaai#23366)
9f70bea docs: setup docs for C code (commaai#23262)
9720dbe docs: conf.py dont shadow project variable
15be8a8 Subaru: initial FPv2 dump (commaai#23389)
d3f064f Controlsd: fix bug in curv rate limit (commaai#23250)
7257f71 Move over all tss2 long tunes (commaai#23108)
0357cf2 controlsd: remove duplicate event relayMalfunction (commaai#23392)
cf9792d Longcontrol: remove starting state (commaai#23328)
df7126b paramsd: follow capnp best practices (commaai#23399)
f30a702 fix up tools readme
34926df Revert "cameraview.cc: call glFlush after creating fence"
25f5147 Revert "CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)"
23346ae setup: update pyenv before installing python (commaai#23405)
bafdb20 setup: remove duplicate pipenv install (commaai#23406)
a2e762e longcontrol: check if speeds is empty (commaai#23410)
8d80c01 catch gl_buffer->map() returning nullptr (commaai#23411)
3ffebf4 athena: uploads, show which items fail on error (commaai#23412)
64caee8 replay: add missing import for std::optional (commaai#23416)
13d011c Add Prius 2022 to CARS.md (commaai#23417)
e499ebc Hyundai: Add Niro EV to 384 STEER_MAX (commaai#23420)
7faad75 Subaru: remove Ascent FPv1 (commaai#23407)
a126495 Subaru: remove all Pre-Global CAN fingerprints (commaai#23422)
eb0cd9c bump panda
450656e GM: move abandoned cars into dashcam only (commaai#23423)
c7fb8f4 selfdrive/car/gm/interface.py: fix typo in comment (commaai#23429)
e0338fd controlsd/state_transition: remove redundant check in elif (commaai#23428)
86d7307 replay: handle abort in getRemoteFileSize (commaai#23427)
ef225e3 locationd: disable falling device detector (commaai#23431)
1a6881e skip falling device test
4528075 log ERROR messages in qlogs too (commaai#23425)
1de0757 fix typo in athena/registration.py (commaai#23434)
ce998be Camera transforms: denormalize with no bounds
dbef0a1 Camera transforms: denormalize with no bounds at all
09a8359 optimize alertmanager (commaai#23433)
c4b36ce Revert "ui/update_model: do not recalculate the max_idx If there is no lead (commaai#23356)"
d77782e CameraView: sync pbo with glFence instead of calling glFinish (commaai#23409)
207ce41 tools: update README.md (commaai#23447)
6664421 mac: fix setup and re-enable CI (commaai#23365)
89f2f1c LFS migration (commaai#23448)
a0eed0c hyundai enable radar points script cleanup (commaai#23451)
0c075a6 Toyota: use common DBC for TSSP Camry Hybrid (commaai#23453)
f6c6e34 calibrationd: remove extra comma (commaai#23472)
b2beb5e controls: check contents in tuple instead of list (commaai#23463)
2d08f8b controlsd: save lat_plan.dPathPoints to local variable (commaai#23462)
67af095 controlsd: check all_valid only if not initialized (commaai#23437)
842ba8e C2 detection (commaai#23439)
8eec818 events: cleanup function any (commaai#23479)
1b49ce6 Statsd (commaai#23413)
a653461 check in tuple instead of list (commaai#23477)
4ff9ee8 monkeypatch os.link (commaai#23480)
4208fe0 LongControl: remove redundant check on active (commaai#23481)
779e602 add missing toyota fw engine (commaai#23272)
3ce4976 thermald: track engaged state in param and kmsg (commaai#23478)
1a54d7f Ignore statsd for running process check (commaai#23483)
fa3055f smaller docker image (commaai#23469)
budney pushed a commit to budney/openpilot that referenced this pull request Mar 24, 2022
2ab57c2 update release notes
7d3ad94 modeldata: use a constexpr function to build the IDXS (commaai#23245)
e494801 update model replay ref commit after increased model idx precision
4061f50 boardd: new class USBDevice (commaai#23015)
285adde Revert "boardd: new class USBDevice (commaai#23015)"
cf46622 Road Roll Compensation Rebased (commaai#23251)
ffc2f64 modeld: update live calibration in main thread (commaai#23235)
e4de82f ui: remove variable world_objects_visible, use rcv_frame (commaai#23264)
fc7d152 Mazda:  CX-5 and 3 FW (commaai#23267)
646fe7d mui
16dd7ce build for mac (commaai#23048)
cd7db7f Mazda CX-5 2021 FW (commaai#23270)
f25121b Mazda: alert when LKAS is disabled (commaai#23273)
c92199a Revert "Mazda: alert when LKAS is disabled (commaai#23273)"
256c51e bump cereal
f3e67e0 repeat immediate warning sound
ea82af1 delete old scripts
2d85785 UI: less harsh controls unresponsive when not engaged
50cce27 UI: call map::offroadTransition after creating map (commaai#23283)
6aeb542 make that consistent with other labels
db6c477 use km/h in settings.cc (commaai#23290)
bf4d875 OnroadHud: use function loadPixmap (commaai#23292)
a1ac773 Add missing COROLLA_TSS2 ESP & engine f/w (commaai#23294)
94e435c replay/camera: use existing YUV_BUFFER_COUNT (commaai#23297)
b1dfdca Add missing HIGHLANDER_TSS2 engine f/w (commaai#23301)
6fd3d50 VW MQB: Add FW for 2018 Volkswagen Arteon (commaai#23303)
332f568 Pyupgrade 3.6: Update syntax with Python 3.6+ features (commaai#23305)
13bf30f VW MQB: Add FW for 2019 Volkswagen Jetta (commaai#23306)
699b20e test/profiler: fix setting carParams
c9da140 replay: fix segfault or hanging on quit (commaai#23323)
21fc9d5 replay/util: initialize curl at startup (commaai#23314)
1fc1382 posenet_publish: use const references (commaai#23310)
4c7c2cc palanteer seems pretty cool
5fe809b ui:  set the bg color of controllerUnresponsivePermanent to blue (commaai#23308)
de6126b replay: add flag REPLAY_FLAG_FULL_SPEED to play at full speed (commaai#23324)
58a363e replay/segment: pass member function pointer to QtConcurrent::run (commaai#23312)
5387806 LongitudinalMpc: minor clean up (commaai#23296)
dc96d4b Add More Types for mypy (commaai#23268)
c95202b docs.comma.ai add sitemap and robots.txt (commaai#23259)
c86ca38 add version to docs.comma.ai (commaai#23260)
8fe9c0e mac_setup: install git-lfs
c26f294 plotjuggler: add mac support (commaai#23344)
d85bb96 disable simulator job until LFS is fixed
bd39969 Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (commaai#23332)
7cd6a88 fix setup scripts if git isn't installed
fed7cfe PC: dynamically set PYTHONPATH from real openpilot path (commaai#23322)
92b553b plotjuggler: fix layout param (commaai#23348)
1e309a5 replay: add flag to disable video (commaai#23353)
2ca0925 lateral_planner.py/publish: follow capnp best practices (commaai#23359)
9992ea1 LogReader: add arg to sort by time (commaai#23346)
066e3e3 CI: use ubuntu_setup.sh (commaai#23349)
9d3a821 first contribution ideas
92f194d MultiLogIterator: remove wraparound mode (commaai#23360)
30e8383 HKG: blacklist cars with lower steering max (commaai#23255)
bbb47dc MultiLogIterator: fix after adding sort_by_time
ab2111a Add firmware from 2021 prius in australia (commaai#23271)
e180557 HKG: Add and Fix FW for 2022 Kia Niro EV (commaai#23253)
7c51b4d add supported FW version for Palisade 2022 (commaai#23337)
24c741e Toyota: merge Lexus RX params (commaai#23374)
162460e Toyota: 2020 Highlander Hybrid Engine fingerprint (commaai#23373)
1e41f47 CAN receive error is a comm issue (commaai#23362)
7601040 CI: cache LFS objects (commaai#23345)
2a99bc6 ui: update lead's z position if modelV2 has been updated after startup. (commaai#23355)
f2520b6 lane_planner.py/parse_model: follow capnp best practices (commaai#23368)
a1a9a0f pre-commit: fix exclude patterns (commaai#23375)
231f74c GM: Switch to AcceleratorPedal2 (commaai#23376)
cd42be7 CI: run car unit tests in parallel (commaai#23379)
c70fc7d Revert "soundd: back to onroad only (commaai#23236)"
7b612d4 radard/update: optimize capnp (commaai#23380)
21ee6d2 ui: emit offroadTransition in UIState::updateStatus (commaai#23265)
8dd8b19 replay tests: retry on network failure (commaai#23383)
3e5a273 tools: configure PYTHONPATH in pipenv (commaai#23361)
1ca5e1c Fix steering oscillations in 2019 RDX (commaai#22677)
6b20534 Subaru FPv2 support (commaai#1878)
15f88db add subaru fp2.0 to release notes
5dc631f longcontrol/update: optimize capnp (commaai#23382)
05b905d interfaces/apply: follow capnp best practices (commaai#23371)
a11bb81 bump panda
f561d84 ui/update_model: do not recalculate the max_idx If there is no lead (commaai#23356)
960e0cf controlsd/publish_logs: follow capnp best practices (commaai#23372)
9295066 ui/get_path_length_idx:  line_x[i] shoud be less than or equal to path_height (commaai#23336)
0148b23 Add comment about vEgoStarting to interfaces (commaai#23327)
937a0df replay/logreader: handle abort in load (commaai#23321)
f2c17bb logcatd: fix sd_journal_seek_tail doesn't go to end (commaai#23319)
a1e201e MUI should be a status bar (commaai#23287)
9f88ba1 Longitudinal planner: make v_desired a FirstOrderFilter (commaai#23341)
cd9813a UI: run set_brightness in QtConcurrent (commaai#23326)
5dbdad3 CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)
5a77157 Joystick: learn axis min/max (commaai#23377)
5264485 disable pytest concurrency for test_models
8655f6d cameraview.cc: call glFlush after creating fence
71132ed plotjuggler: support segment names (commaai#23263)
9cb0ebe LongitudinalMpc: Remove class accel_limit_arr (commaai#23295)
d2948f2 replay: Add next engagement / disengagement jump capabilities (commaai#23248)
a6aa094 Toyota: only send gas interceptor message when openpilot controls longitudinal (commaai#23357)
aad7ebd bump CPU usage slightly after adding glFlush
47bb62b athena: methods for adding and cancelling multiple upload requests (commaai#23366)
9f70bea docs: setup docs for C code (commaai#23262)
9720dbe docs: conf.py dont shadow project variable
15be8a8 Subaru: initial FPv2 dump (commaai#23389)
d3f064f Controlsd: fix bug in curv rate limit (commaai#23250)
7257f71 Move over all tss2 long tunes (commaai#23108)
0357cf2 controlsd: remove duplicate event relayMalfunction (commaai#23392)
cf9792d Longcontrol: remove starting state (commaai#23328)
df7126b paramsd: follow capnp best practices (commaai#23399)
f30a702 fix up tools readme
34926df Revert "cameraview.cc: call glFlush after creating fence"
25f5147 Revert "CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)"
23346ae setup: update pyenv before installing python (commaai#23405)
bafdb20 setup: remove duplicate pipenv install (commaai#23406)
a2e762e longcontrol: check if speeds is empty (commaai#23410)
8d80c01 catch gl_buffer->map() returning nullptr (commaai#23411)
3ffebf4 athena: uploads, show which items fail on error (commaai#23412)
64caee8 replay: add missing import for std::optional (commaai#23416)
13d011c Add Prius 2022 to CARS.md (commaai#23417)
e499ebc Hyundai: Add Niro EV to 384 STEER_MAX (commaai#23420)
7faad75 Subaru: remove Ascent FPv1 (commaai#23407)
a126495 Subaru: remove all Pre-Global CAN fingerprints (commaai#23422)
eb0cd9c bump panda
450656e GM: move abandoned cars into dashcam only (commaai#23423)
c7fb8f4 selfdrive/car/gm/interface.py: fix typo in comment (commaai#23429)
e0338fd controlsd/state_transition: remove redundant check in elif (commaai#23428)
86d7307 replay: handle abort in getRemoteFileSize (commaai#23427)
ef225e3 locationd: disable falling device detector (commaai#23431)
1a6881e skip falling device test
4528075 log ERROR messages in qlogs too (commaai#23425)
1de0757 fix typo in athena/registration.py (commaai#23434)
ce998be Camera transforms: denormalize with no bounds
dbef0a1 Camera transforms: denormalize with no bounds at all
09a8359 optimize alertmanager (commaai#23433)
c4b36ce Revert "ui/update_model: do not recalculate the max_idx If there is no lead (commaai#23356)"
d77782e CameraView: sync pbo with glFence instead of calling glFinish (commaai#23409)
207ce41 tools: update README.md (commaai#23447)
6664421 mac: fix setup and re-enable CI (commaai#23365)
89f2f1c LFS migration (commaai#23448)
a0eed0c hyundai enable radar points script cleanup (commaai#23451)
0c075a6 Toyota: use common DBC for TSSP Camry Hybrid (commaai#23453)
f6c6e34 calibrationd: remove extra comma (commaai#23472)
b2beb5e controls: check contents in tuple instead of list (commaai#23463)
2d08f8b controlsd: save lat_plan.dPathPoints to local variable (commaai#23462)
67af095 controlsd: check all_valid only if not initialized (commaai#23437)
842ba8e C2 detection (commaai#23439)
8eec818 events: cleanup function any (commaai#23479)
1b49ce6 Statsd (commaai#23413)
a653461 check in tuple instead of list (commaai#23477)
4ff9ee8 monkeypatch os.link (commaai#23480)
4208fe0 LongControl: remove redundant check on active (commaai#23481)
779e602 add missing toyota fw engine (commaai#23272)
3ce4976 thermald: track engaged state in param and kmsg (commaai#23478)
1a54d7f Ignore statsd for running process check (commaai#23483)
fa3055f smaller docker image (commaai#23469)
dkiiv added a commit to dkiiv/openpilot that referenced this pull request Jun 13, 2022
* revert to old red alert sound for now (commaai#23182)

* Added sbigmodel frame transformations

* alert text simplification (commaai#23186)

* alert text simplification

* little more

* user triggered

* little more

* less annoying ldw

* Update selfdrive/controls/lib/events.py

* update refs

* revert

* alerts: handle min duration properly (commaai#23191)

* alerts: handle min duration properly

* add active

* tests

* cleanup test

* update refs

* fix missing time import

* updated: handle execptions while setting params

* update release notes

* add honda bosch hud msgs to release notes

* Update RELEASES.md

* RELEASES.md: prevention is a bold statement

* Revert "soundd: use setLoopCount(0) to stop repeating sound (commaai#23076)"

This reverts commit 3588574.

* alerts: escalate soft disable alert near disengagement (commaai#23198)

* alerts: escalate soft disable alert if resulted in disengagement

* show 0.5s before disengagement

* model output struct for metadata (commaai#23139)

* model output struct for metadata

* better max element search

* ModelDataRawDesireProb.to_array()

* eliminate some copies

* not worth messing with softmax now

* remove unused includes

* more cleanup

* no longer pointers

* better variable name

* fix recurrent state

* improve variable name

* fix OUTPUT_SIZE and NET_OUTPUT_SIZE

* increase cruise mismatch threshold

* update refs

* util: move all functions into util namespace (commaai#23203)

* RawLogger: fix wrong pts (commaai#23205)

* Use std::unique_ptr to manage memory (commaai#23168)

* use unique_ptr

* trigger ci

* move down loggerdstate

* commonmodel.h: move global model size into class ModelFrame (commaai#23193)

* move to class ModelFrame

* remove defines in dmonitoring as well

Co-authored-by: Willem Melching <[email protected]>

* common_process_driver_camera: same parameters as process_thread_cb (commaai#23202)

* replay: use std::unique_ptr to manage memory, reuse events buffer. (commaai#23049)

* reuse events buffer

* Trigger Build

* LapConv: remove hardcoded FULL_STRIDE_X (commaai#23200)

* fix wroing stride_x

* remove hardcoded rgb_stride

* Qt/SetingWindow: faster initialization and painting (commaai#21764)

* reduce init time from ~520ms to ~350ms

* faster init toggle

setfixedheight in ctor

delay init TogglesPanel,reduce init time to ~180ms

cleanup

* precise style, reduce to ~100ms

* revert 'faster toggle

* fix horizontal_line

* fix background

* cleanup

* add small minimum time between taps to onboarding (commaai#23212)

Co-authored-by: Comma Device <[email protected]>

* androidd: reduce cloudlog spam

* update contributing.md

* Updated release notes

* bump version to 0.8.13

* move LayoutWidget,ClickableWidget to controls (commaai#23207)

* UI: add timeout to close settings window while onroad (commaai#22980)

* refactor updateWakefulness

* don't hide sidebar

* rename reset->reset_timeout

* move related variables and functions into class Device

* reset timeout in ctor

* set timeout to 10s if ignition is on

* cleanup

* remove unused QTimer *timer

* check getTimestamp

* keep socket reading in update_state

* keep filtering

Co-authored-by: Willem Melching <[email protected]>

* C2: display ip address in network panel (commaai#23215)

* display ipv4 address

* refactor to class

* only display ip address

* version.py: make function names more clear (commaai#23216)

* rename a few version functions

* and is_prebuilt

* and some formatting 😊

* athena: persist upload queue to disk (commaai#22659)

* revert submodules

* lowercase

* addressed comments

* add test for cancelled uploads

* formatting

* catch all exceptions

* handle empty param

Co-authored-by: Willem Melching <[email protected]>

* comma two: remove lens sag compensation (commaai#23113)

* put logcat in bootlog (commaai#23217)

* put logcat in boot log

* continue

* use std::unique_ptr

* Revert "use std::unique_ptr"

This reverts commit c671f8c.

* Remove minSpeedCan (commaai#22991)

* Remove minCanSpeed

Remove minCanSpeed

* it actually only goes out to 2.5 seconds, this is okay to remove

* test to see if this preserves behavior

add minSpeedCan

* Revert "test to see if this preserves behavior"

This reverts commit 31b11f0.

* preserve behavior (don't enter stopping as early)

* vEgoStopping needs to be less than or equal to vEgoStarting to avoid state oscillation

* DM: more adaptive pose policy (commaai#23184)

* rename and add dep

* proto thresholds

* tweak vk

* update natural offset and clip offsets

* 95th looks good

* no punish for being relaxed

* yaw laplace only

* some pay more attention

* update ref

Co-authored-by: Willem Melching <[email protected]>

* seems to be flipped (commaai#23213)

* Update ref with minSpeedCAN removed

* Dont use erratic current block (commaai#23211)

* Revert "Dont use erratic current block (commaai#23211)" (commaai#23221)

This reverts commit 19335bb.

* Calibrationd: don't use noisy current block (commaai#23222)

* Calibrationd: check size of valid_blocks without current (commaai#23223)

* Toyota: Display Blue Barriers When Engaged, Matches OEM Design (commaai#23150)

* modeld: start publishing before calib seen (commaai#23190)

* cloudlog: add daemon name to context for python daemons (commaai#23225)

* python

* manager is a daemon too

* Update selfdrive/manager/process.py

Co-authored-by: Comma Device <[email protected]>

* Subaru Pre-Global: Rename ES_CruiseThrottle to ES_Distance (commaai#23024)

* Rename preglobal ES_CruiseThrottle to ES_Distance

* bump opendbc

Co-authored-by: Adeeb Shihadeh <[email protected]>

* ui: singleton uistate (commaai#22789)

* singleton uistate

* merge master

* merge master

* merge master

* connect uistate in sidebar

* move to device

* selfdrive/version: remove one unnecessary write to .git/ (commaai#23183)

* qt/util: new function scaledPixmap (commaai#23103)

* new function scaledPixmap

* rename to loadpixmap

* driving.h: remove obsolete poly_fit function prototype (commaai#23229)

* modeld: make valid variable thread safe (commaai#23228)

* manage_athenad.py: add daemon argument to launcher

* Revert "Qt/SetingWindow: faster initialization and painting (commaai#21764)"

This reverts commit f482354.

* UI: always clear CameraView background (commaai#23231)

* fix background

* gate that with Hardware::EON

* always call glclear

* VW MQB: Add FW for 2018 Škoda Superb (commaai#23233)

* soundd: back to onroad only (commaai#23236)

* Subaru: Add Impreza/Crosstrek 2020 (commaai#21011)

* Add Subaru Impreza/Crosstrek 2020

* Update selfdrive/test/test_routes.py

Co-authored-by: Adeeb Shihadeh <[email protected]>

* model replay: more consistent replay (commaai#23237)

* first cleanup

* don't send calib and desire

* should always be valid

* little more

* framereader: use the same alignement as visionbuf (commaai#23208)

* aligned rgb buffer

* fix yuv stride

* boardd: add controls heartbeat (commaai#23185)

* boardd: add controls heartbeat

* bump panda

* bump again

* bump panda

* Log actuators after applying rate limits in CarController (commaai#23230)

* return actuators from carcontroller

* log it

* pass to latcontrol

* chrysler

* gm

* honda

* more brands

* rest of the brands

* gm cleanup

* hyundai cleanup

* update ref

* rename field

* fix subaru

* add types

* more subaru fixes commaai#23240

* consistent whitespace

* bump cereal

* Convert format strings strings to f-strings (commaai#23241)

* Convert all text strings to f-strings

Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.

Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.

F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale

* revert pyextra changes

* revert ublox.py

Co-authored-by: Willem Melching <[email protected]>

* Abstract classes inherit from ABC (commaai#23246)

* Disable AWV for now

* bremse8 filter

* panda fix

* fix panda

* panda

* fix bremse_8

* update release notes

* modeldata: use a constexpr function to build the IDXS (commaai#23245)

remove convert_array_to_type

rename to build_idxs

space

double

* update model replay ref commit after increased model idx precision

* boardd: new class USBDevice (commaai#23015)

* USBDevice

* merge master

* rebase master

* add to fiels_common

* inline functions

* namespace

* init err

* remove nested if

* cleanup

* bump panda for branch

* change includes

* bump panda branch

* change name

* bump master panda

Co-authored-by: Igor Biletskyy <[email protected]>
Co-authored-by: Igor Biletskyy <[email protected]>

* Revert "boardd: new class USBDevice (commaai#23015)"

This reverts commit 4061f50.

* Road Roll Compensation Rebased (commaai#23251)

* first commit

* update refs

* bremse_5 spoof

* Fix Bremse_5

* remove bremse_5

* bremse_5

* modeld: update live calibration in main thread (commaai#23235)

* update live calibration in main thread

* static ground_from_medmodel_frame

* more static

* cleanup

* no lambda

* trigger ci

* ui: remove variable world_objects_visible, use rcv_frame (commaai#23264)

* First attempt mAWV filtering and autohold on standstill

* remove Bremse_5

* Mazda:  CX-5 and 3 FW (commaai#23267)

* Mazda 3 2017 fw

dongle id: f7fec643f5178df8

Signed-off-by: Jafar Al-Gharaibeh <[email protected]>

* Mazda CX-5 2020 FW

dongle id: f4b488f06d3b7711

Signed-off-by: Jafar Al-Gharaibeh <[email protected]>

* mui

* build for mac (commaai#23048)

* fix mAWV not being send

* Mazda CX-5 2021 FW (commaai#23270)

dongle id: 661fdb17fa82339c

Signed-off-by: Jafar Al-Gharaibeh <[email protected]>

* Mazda: alert when LKAS is disabled (commaai#23273)

* Mazda: alert when LKAS is disabled

Signed-off-by: Jafar Al-Gharaibeh <[email protected]>

* Update selfdrive/controls/lib/events.py

* Update selfdrive/car/mazda/interface.py

* bump cereal

Co-authored-by: Adeeb Shihadeh <[email protected]>

* Revert "Mazda: alert when LKAS is disabled (commaai#23273)"

This reverts commit f25121b.

* bump cereal

* repeat immediate warning sound

* delete old scripts

* UI: less harsh controls unresponsive when not engaged

* UI: call map::offroadTransition after creating map (commaai#23283)

* make that consistent with other labels

* use km/h in settings.cc (commaai#23290)

* OnroadHud: use function loadPixmap (commaai#23292)

* Add missing COROLLA_TSS2 ESP & engine f/w (commaai#23294)

`Sebastiaan#0569` 2020 Corolla Hatch 1.2T XR RHD  DongleID/route  567e47e503b36408|2021-12-22--20-44-44

* replay/camera: use existing YUV_BUFFER_COUNT (commaai#23297)

* Add missing HIGHLANDER_TSS2 engine f/w (commaai#23301)

`@JohnLips#7600`  2022 Highlander Platinum ICE  DongleID/route  697a805960f1b2d5|2021-12-23--13-14-37

* VW MQB: Add FW for 2018 Volkswagen Arteon (commaai#23303)

* Pyupgrade 3.6: Update syntax with Python 3.6+ features (commaai#23305)

Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default

Co-Authored-By: Adeeb Shihadeh <[email protected]>
Co-Authored-By: GregorKikelj <[email protected]>

Co-authored-by: Adeeb Shihadeh <[email protected]>
Co-authored-by: GregorKikelj <[email protected]>

* VW MQB: Add FW for 2019 Volkswagen Jetta (commaai#23306)

* fingerprint 2019 vw jetta sel

* remove duplicate, fix sorting

Co-authored-by: cyanet01 <[email protected]>

* test/profiler: fix setting carParams

* replay: fix segfault or hanging on quit (commaai#23323)

* replay/util: initialize curl at startup (commaai#23314)

* posenet_publish: use const references (commaai#23310)

* palanteer seems pretty cool

* ui:  set the bg color of controllerUnresponsivePermanent to blue (commaai#23308)

* fix bg color

* blue

* replay: add flag REPLAY_FLAG_FULL_SPEED to play at full speed (commaai#23324)

* add flag REPLAY_FLAG_FULL_SPEED

* use hasFlag

* replay/segment: pass member function pointer to QtConcurrent::run (commaai#23312)

* LongitudinalMpc: minor clean up (commaai#23296)

* correct order

* formatting

* Revert "formatting"

This reverts commit 481c390.

* use np.zeros

* typos and formatting

* typo

* typo

* Add More Types for mypy (commaai#23268)

* mypy passes

* a few more

* a few in manager

* more types, will lint

* more

* simple types

* events type

* Update selfdrive/thermald/thermald.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <[email protected]>

* docs.comma.ai add sitemap and robots.txt (commaai#23259)

* add sitemap generator

* update conf for seo

* remove cmake var

* relock

* fix html_baseurl

* more fixes

* newline

Co-authored-by: Willem Melching <[email protected]>

* add version to docs.comma.ai (commaai#23260)

* update conf:
* add logo and favicon from connect.comma.ai
* add version

* proper version extract

* v

* Update docs/conf.py

Co-authored-by: Willem Melching <[email protected]>

* mac_setup: install git-lfs

* plotjuggler: add mac support (commaai#23344)

* plotjuggler: add mac support

* fix test?

* update readme

* oops

* fix

* cleanup

* typo

* works

* little more

* fix test

* little faster

* disable simulator job until LFS is fixed

* Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (commaai#23332)

* Add car port: Hyundai Santa Fe Plug-in Hybrid 2022

* Add test route

* fix setup scripts if git isn't installed

* PC: dynamically set PYTHONPATH from real openpilot path (commaai#23322)

* dynamic PYTHONPATH setting based on actual openpilot location

* right above

* fix path

* absolute path all the time

* Revert "absolute path all the time"

This reverts commit c0bc2e0.

* Update tools/openpilot_env.sh

Co-authored-by: Willem Melching <[email protected]>

Co-authored-by: Willem Melching <[email protected]>

* plotjuggler: fix layout param (commaai#23348)

* replay: add flag to disable video (commaai#23353)

* lateral_planner.py/publish: follow capnp best practices (commaai#23359)

* LogReader: add arg to sort by time (commaai#23346)

* logreader optional sort by time

* robust logreader sort by time option

* CI: use ubuntu_setup.sh (commaai#23349)

* CI: use ubuntu_setup.sh

* works?

* need to fix paths

* set paths

* no batman for now

* pyenv version

* rehash after install packages

* unify python install

* revert that

* fix pyenv path

* no pipenv

* flip that

* fix rehash

* skip that

* revert panda

* first contribution ideas

* MultiLogIterator: remove wraparound mode (commaai#23360)

* HKG: blacklist cars with lower steering max (commaai#23255)

* HKG: Add Lower Steering Torque Cars to STEER_MAX = 255 Blacklist

* add comment

Co-authored-by: Adeeb Shihadeh <[email protected]>

* MultiLogIterator: fix after adding sort_by_time

* Add firmware from 2021 prius in australia (commaai#23271)

Discord user khalid.auslink#0024 / shah#3880

FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26

* HKG: Add and Fix FW for 2022 Kia Niro EV (commaai#23253)

* Remove non-exist esp FW from Niro_EV

* HKG: Add FW for 2022 Kia Niro EV

* Add 2022 Kia Niro EV to STEER_MAX = 384

* Update CARS.md

* HKG: Add FW for 2022 Kia Niro EV

* Remove duplicate FW version

* Remove duplicate FW versions from 0.8.3 FW dump (commaai#20702)

* Fix FW versions spacing

* Fix FW versions spacing

* Add additional FW version

Co-authored-by: Willem Melching <[email protected]>

* add supported FW version for Palisade 2022 (commaai#23337)

* Toyota: merge Lexus RX params (commaai#23374)

* Toyota: merge Lexus RX params

* pick tuning

* add those back

* Toyota: 2020 Highlander Hybrid Engine fingerprint (commaai#23373)

* CAN receive error is a comm issue (commaai#23362)

* CI: cache LFS objects (commaai#23345)

* ui: update lead's z position if modelV2 has been updated after startup. (commaai#23355)

* model frame >= started_frame

* remove optional

* lane_planner.py/parse_model: follow capnp best practices (commaai#23368)

* pre-commit: fix exclude patterns (commaai#23375)

* GM: Switch to AcceleratorPedal2 (commaai#23376)

* GM: Switch to AcceleratorPedal2

* bump panda

Co-authored-by: Jason Shuler <[email protected]>

* CI: run car unit tests in parallel (commaai#23379)

* CI: run car unit tests in parallel

* move that

* Revert "soundd: back to onroad only (commaai#23236)"

This reverts commit 3bdb445.

* radard/update: optimize capnp (commaai#23380)

* ui: emit offroadTransition in UIState::updateStatus (commaai#23265)

* replay tests: retry on network failure (commaai#23383)

* tools: configure PYTHONPATH in pipenv (commaai#23361)

* automatically set PYTHONPATH in pipenv

* remove other place this was set

* Fix steering oscillations in 2019 RDX (commaai#22677)

Steering wheel would oscillate quickly when going straight, oscillation
is gone after this modification.

* Subaru FPv2 support (commaai#1878)

* Add Subaru FPv2 support

* Add Subaru Ascent and Impreza FPv2 values

* Remove 10 second delay, use UDS for Subaru FPv2

* before VW

* before hyundai

Co-authored-by: Willem Melching <[email protected]>

* add subaru fp2.0 to release notes

* longcontrol/update: optimize capnp (commaai#23382)

* interfaces/apply: follow capnp best practices (commaai#23371)

* bump panda

* ui/update_model: do not recalculate the max_idx If there is no lead (commaai#23356)

* controlsd/publish_logs: follow capnp best practices (commaai#23372)

* follow follow capnp best practices

* cleanup

* ui/get_path_length_idx:  line_x[i] shoud be less than or equal to path_height (commaai#23336)

* start loop index from 1

* use  islessequal

* use build in <=

* Add comment about vEgoStarting to interfaces (commaai#23327)

* replay/logreader: handle abort in load (commaai#23321)

* handle abort

* handle abort in decompressBZ2

* logcatd: fix sd_journal_seek_tail doesn't go to end (commaai#23319)

* fix sd_journal_seek_tail doesn't go to end

* add comment

* MUI should be a status bar (commaai#23287)

* Longitudinal planner: make v_desired a FirstOrderFilter (commaai#23341)

* make v_desired a FirstOrderFilter

* forgot one

* one more ref

* Add a new object for the filter

* fix

* fix tests

* update ref

Co-authored-by: Willem Melching <[email protected]>

* UI: run set_brightness in QtConcurrent (commaai#23326)

* use QFuture

* update at 10 hz

* don't change frequency

* CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)

* Sync pbo with fence

* use std::unique_ptr

* Joystick: learn axis min/max (commaai#23377)

* Joystick: learn axis min/max

* clean up updating max/min

Co-authored-by: Willem Melching <[email protected]>

* disable pytest concurrency for test_models

* cameraview.cc: call glFlush after creating fence

* plotjuggler: support segment names (commaai#23263)

* plotjuggler: support segment names

* update docs

* generic parser

* convert segment number to int when parsing

* add SegmentName

Co-authored-by: Willem Melching <[email protected]>

* LongitudinalMpc: Remove class accel_limit_arr (commaai#23295)

* remove class accel_limit_arr

remove class accel_limit_arr

* make it static

* only set static parameters once

* just use existing function

style

* Update selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py

* Update selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py

Co-authored-by: Willem Melching <[email protected]>

* replay: Add next engagement / disengagement jump capabilities (commaai#23248)

* seek engament/disengament in qlogs

* cleanup

* cleanup

* little more

* add output

* remove qinfo

* fix typo

* do nothing if tm less than current mono time

* const

* short variable name

* lgtm

* Toyota: only send gas interceptor message when openpilot controls longitudinal (commaai#23357)

* Toyota: gate enableGasInterceptor behind openpilotLongitudinalControl

* fix carcontroller typo

* Revert "Toyota: gate enableGasInterceptor behind openpilotLongitudinalControl"

This reverts commit a974e8f.

* put condition in carcontroller

* gate building can messages

Co-authored-by: Willem Melching <[email protected]>

* bump CPU usage slightly after adding glFlush

* athena: methods for adding and cancelling multiple upload requests (commaai#23366)

* multiple upload cancel

* multiple uploads athena method

* cleanup

* cleanup

* more cleanup

* isnt used

* fix test

* actually fix test

* docs: setup docs for C code (commaai#23262)

* add breathe and doxygen

* add sphinx-breathe c docs generation
* add c docs to site

* built in docker

* build base image first

* namespace cleanup

* Revert "build base image first"

This reverts commit 4c44c02.

* its in the dockerfile

Co-authored-by: Willem Melching <[email protected]>

* docs: conf.py dont shadow project variable

* Subaru: initial FPv2 dump (commaai#23389)

* Add FPv2 for Ascent, Forester, Impreza, Legacy, Outback

* remove comments

* Controlsd: fix bug in curv rate limit (commaai#23250)

* Controlsd: fix bug in curv rate limit

* update ref

* Move over all tss2 long tunes (commaai#23108)

* add all rest

* just commit to all TSS2

* forgot this line

* controlsd: remove duplicate event relayMalfunction (commaai#23392)

* Longcontrol: remove starting state (commaai#23328)

* remove starting state

* new ref

* ready for merge

* try this

* cereal now on master

Co-authored-by: Harald Schafer <[email protected]>

* paramsd: follow capnp best practices (commaai#23399)

* fix up tools readme

* Revert "cameraview.cc: call glFlush after creating fence"

This reverts commit 8655f6d.

* Revert "CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)"

This reverts commit 5dbdad3.

* setup: update pyenv before installing python (commaai#23405)

* setup: remove duplicate pipenv install (commaai#23406)

* longcontrol: check if speeds is empty (commaai#23410)

* check if speeds is empty

* move into existing check

Co-authored-by: Willem Melching <[email protected]>

* catch gl_buffer->map() returning nullptr (commaai#23411)

* athena: uploads, show which items fail on error (commaai#23412)

* athena: uploads, show which items fail on error

* fix upload-id

* no more 404

* Update selfdrive/athena/athenad.py

Co-authored-by: Willem Melching <[email protected]>

* replay: add missing import for std::optional (commaai#23416)

* Add Prius 2022 to CARS.md (commaai#23417)

Anecdote that this is working:

https://discord.com/channels/469524606043160576/524327905937850394/928164186326982686

* Hyundai: Add Niro EV to 384 STEER_MAX (commaai#23420)

* Niro EV confirmed working with 384

* SCC + LKAS is standard

* Subaru: remove Ascent FPv1 (commaai#23407)

* Remove Ascent FPv1

* bump cereal

* Subaru: remove all Pre-Global CAN fingerprints (commaai#23422)

* bump panda

* GM: move abandoned cars into dashcam only (commaai#23423)

* selfdrive/car/gm/interface.py: fix typo in comment (commaai#23429)

spelling

* controlsd/state_transition: remove redundant check in elif (commaai#23428)

* replay: handle abort in getRemoteFileSize (commaai#23427)

* locationd: disable falling device detector (commaai#23431)

* skip falling device test

* log ERROR messages in qlogs too (commaai#23425)

* log ERROR messages in qlogs too

* own event

* bump cereal

Co-authored-by: Adeeb Shihadeh <[email protected]>

* fix typo in athena/registration.py (commaai#23434)

* Camera transforms: denormalize with no bounds

* Camera transforms: denormalize with no bounds at all

* optimize alertmanager (commaai#23433)

* Revert "ui/update_model: do not recalculate the max_idx If there is no lead (commaai#23356)"

This reverts commit f561d84.

* CameraView: sync pbo with glFence instead of calling glFinish (commaai#23409)

* CameraView: sync pbo with glFence instead of calling glFinish (commaai#23293)

* Sync pbo with fence

* use std::unique_ptr

* cameraview.cc: call glFlush after creating fence

Co-authored-by: Dean Lee <[email protected]>

* remove timebomb bypass/min steer speed 0km/

* testing

* Revert "testing"

* Update carcontroller.py

* tools: update README.md (commaai#23447)

* mac: fix setup and re-enable CI (commaai#23365)

* rework mac_setup.sh
* ignore casadi and onnx runtime in pipfile for Darwin
* remove rust stuff
* build and install casadi

* add wget

* explicit python3. dont do onnx just yet

* resource compiler

* replace acados Darwin lib w universal2 libs

* relock Pipfile using linux machine

* Update update_requirements.sh

brackets

* Update update_requirements.sh

oops

* ci: re-enable mac build

* attempt to fix ci build:
* pip stuff?
* move rcc bin path to env script

* oops

* only mac

* k im lazy. does ci like this??

* huh??

* * use curl
* avoid casadi rebuilds
* add comment to remove protobuf
* host detect typo

* python version

* how did the builds not use swig?
* better reinstall check

* sometimes mac clang complain abt error limit

* ci: build OP in venv

* ci: bump to Big Sur
* retry? idk why it failed @ acados link

* * use macos-latest
* move rcc path to scons
* add extra paths for odd homebrew installs
* acados source change

* update macOS README

* uh, maybe?

* k nvm

* ci: ok this is strange. might be scons bug?

* fix conflicts: bump

* just add cppcheck for pre-commit stuff

* agane

* cleanup

* try that

* fix path

* no pyenv update on mac

* source

* fix rpath prefix?

* no examples

* fix exit

* let's get this cached

* add virtualenvs to cache

* why did we cache that

* let's see what's big

* more

* always ruyn

* cache scons cache

* better cache key

* fix for partial hit

* why so long

Co-authored-by: Andrew Tec <[email protected]>
Co-authored-by: Adeeb Shihadeh <[email protected]>
Co-authored-by: Bruce Wayne <[email protected]>

* LFS migration (commaai#23448)

* lfs url in .lfsconfig

* lfs push script

* merge master

* Merge master

* hyundai enable radar points script cleanup (commaai#23451)

* Update rednose_repo

* repo

* submodules

* fix car

* fix panda

* remove werror

* fix controls

* fix values

* accel fix

* fix ceral

* fix ldw

* fix ldw

* fix controls

* smart power

* Update carcontroller.py

AWV_Halten at 10km/h

* Update interface.py

* Less l/100km

* Update carcontroller.py

Hopefully better low speed behaviour

* tuning long

* Fix MOB logic, Now matches OEM

* lateral tuning

Co-authored-by: Adeeb Shihadeh <[email protected]>
Co-authored-by: mitchellgoffpc <[email protected]>
Co-authored-by: HaraldSchafer <[email protected]>
Co-authored-by: George Hotz <[email protected]>
Co-authored-by: Greg Hogan <[email protected]>
Co-authored-by: Dean Lee <[email protected]>
Co-authored-by: Willem Melching <[email protected]>
Co-authored-by: Comma Device <[email protected]>
Co-authored-by: Shane Smiskol <[email protected]>
Co-authored-by: Devin Leamy <[email protected]>
Co-authored-by: ZwX1616 <[email protected]>
Co-authored-by: Kevin Robert Keegan <[email protected]>
Co-authored-by: martinl <[email protected]>
Co-authored-by: Jason Young <[email protected]>
Co-authored-by: Ewout ter Hoeven <[email protected]>
Co-authored-by: mike <[email protected]>
Co-authored-by: Igor Biletskyy <[email protected]>
Co-authored-by: Igor Biletskyy <[email protected]>
Co-authored-by: Edgy <[email protected]>
Co-authored-by: Jafar Al-Gharaibeh <[email protected]>
Co-authored-by: George Hotz <[email protected]>
Co-authored-by: cydia2020 <[email protected]>
Co-authored-by: Erich Moraga <[email protected]>
Co-authored-by: Adeeb Shihadeh <[email protected]>
Co-authored-by: GregorKikelj <[email protected]>
Co-authored-by: cyanet01 <[email protected]>
Co-authored-by: Andrew <[email protected]>
Co-authored-by: Jason Wen <[email protected]>
Co-authored-by: Nelson Chen <[email protected]>
Co-authored-by: Mr. V <[email protected]>
Co-authored-by: Matt Barclay <[email protected]>
Co-authored-by: Jason Shuler <[email protected]>
Co-authored-by: Anthony Foerster <[email protected]>
Co-authored-by: Robbe Derks <[email protected]>
Co-authored-by: Cameron Clough <[email protected]>
Co-authored-by: Joost Wooning <[email protected]>
Co-authored-by: Chris McCammon <[email protected]>
Co-authored-by: kevinharbin <[email protected]>
Co-authored-by: grekiki <[email protected]>
Co-authored-by: rzeydelis <[email protected]>
Co-authored-by: Andrew Tec <[email protected]>
Co-authored-by: Bruce Wayne <[email protected]>
Co-authored-by: Mike Santifort <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls controls/planner related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants