Skip to content

Commit

Permalink
Merge pull request #20 from RuckusRoboticsCode/main
Browse files Browse the repository at this point in the history
remove: caching motor example for now
  • Loading branch information
dr-hextanium authored Feb 19, 2024
2 parents 452bfc1 + 04e983b commit 6ef2391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/improving_loop_times/improving_loop_times.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ So now let's try and reduce unnecessary hardware writes. If a motor is going at

So, what we're going to do is store the last power send to a motor and check every new `setPower()` command to only run if the new power is more than a certain threshold above the last power.

This is the most simplistic implementation of caching motor powers and only supports (it assumes) RUN_WITHOUT_ENCODER.
<!-- This is the most simplistic implementation of caching motor powers and only supports (it assumes) RUN_WITHOUT_ENCODER.
```java
{{#rustdoc_include CachingDcMotorEx.java::}}
```
``` -->

### Full Example

Expand Down

0 comments on commit 6ef2391

Please sign in to comment.