Skip to content

Commit

Permalink
Update THEORY.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MUmarShahbaz authored Aug 28, 2024
1 parent 3c5fbff commit db50f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion THEORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This is a very common rookie mistake, they rotate every time the car leaves the
## Function-like behavior
This code was written in such a way so that you can modify the accuracy based on two parameters, ```TurnSensitivity``` which can have any value from ```1 to 0```, and ```Max``` which can have any value from ```0 to 255```.

```TurnSensitivity``` is directly proportional to how much your car wobbles and inversely proportional to how much speed it has overall.<br>
```TurnSensitivity``` is directly proportional to how much your car wobbles and also directly proportional to how much speed it has overall.<br>
By utilizing a very simple mathematical based approach it will modify the speed at which your car turns most of the time. The exception to this is when your car has offshooted. In that case you want your car to rotate at full speed instead so that it may find the track again instantly.

```Max``` is the maximum speed your car can have at any time. The value you give it will not be exceeded throughout the execution. 0 is no speed at all and 255 is full speed.
Expand Down

0 comments on commit db50f4a

Please sign in to comment.