Changes between Version 15 and Version 16 of ControlSystems/SoftwareTeam/Training/GettingStarted/ClosedLoopControl


Ignore:
Timestamp:
Nov 16, 2019, 11:28:11 AM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/ClosedLoopControl

    v15 v16  
    1010Notice that there are two critical values in this control loop:
    1111  * How often the control loop runs (every 0.25 seconds in the above example)
    12   * How much the control loop adjusts the power based on the sensed inputs (kP=0.01 in the above example)
     12  * How much the control loop adjusts the power based on the difference (error) measured between the encders (kP=0.01 in the above example)
    1313  * Try printing the error and adjusted motor powers using System.out.println(...) to see what adjustments are taking place.
    1414