Skip to content

Commit 2fb6179

Browse files
warning about feedforward code excerpt
1 parent 877adac commit 2fb6179

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/section-7/feedforward-control.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ motor.setVoltage(feedforwardVolts);
4747
!!! warning
4848
The amount of voltage calculated is the amount of voltage used to **MAINTAIN** the motor at the specified velocity and acceleration. When `motor.setVoltage(feedforwardVolts)` is run, that does not automatically drive the motor to the specified velocity and acceleration. If the code was run when the motor is at rest, then the voltage will be used the overcome the static friction and accelerate the motor, not to maintain the motor at the specified velocity and acceleration as the motor is not at the specified velocity.
4949

50+
!!! warning
51+
The code excerpt is only meant to show how feedforward works. This is not how we actually implement feedforward, but should give you a better idea of the inner workings of feedforward.
52+
5053
## System Idenfication
5154

5255
## Implementation

0 commit comments

Comments
 (0)