sshane / openpilot

DOES NOT SUPPORT COMMA 3X - Stock Additions (0.8.14): 3/automatic following distance profiles, customizable fork params with opEdit, and a smoother longitudinal experience for TSS2 Toyotas
MIT License
220 stars 86 forks source link

Enable Toyota Button on Steering Wheel to Control Dynamic Follow #479

Closed krkeegan closed 2 years ago

krkeegan commented 2 years ago

This adds a new op_param: toyota_distance_btn

When set to True this will enable the distance button on Toyota steering wheels to control the dynamic follow profile.

This has a couple caveats:

krkeegan commented 2 years ago

I haven't ever written anything for OP before, so @sshane please look at this and let me know what I should change. I am happy to submit more commits with changes.

d412k5t412 commented 2 years ago

Works great!

sshane commented 2 years ago

Does this look okay to you @krkeegan?

krkeegan commented 2 years ago

Does this look okay to you @krkeegan?

Looks good to me