forked from commaai/openpilot
    
        
        - 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 85
 
Helpful Commits
        Shane Smiskol edited this page Oct 27, 2020 
        ·
        25 revisions
      
    Here is how you can add adjustable TR support to your fork: https://github.com/ShaneSmiskol/openpilot/commit/d01208e1aa9acee597e3b5453f6fdc08edebc2da
Just git cherry-pick it! Of course you need to modify the line in long_mpc.py to include a TR and optionally (but recommended) adjust the distance cost.
The line to adjust, simply add a float following distance as an extra argument