commit | c5fceb86fa7afa77119e57ba4fc824574f3a2328 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Sat Feb 25 16:24:12 2017 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Sat Mar 04 17:55:14 2017 -0800 |
tree | 2f292592e5e88b5ca74f84ddebfe7cf7ec6ef1e1 | |
parent | 71b5f13de3846bf9363ba238e2e7716242481003 [diff] [blame] |
Put a plant inside the loop and moved A,B,etc there. Change-Id: I9cb3a1a16bd0ccda0c9287514577b3c3861bc42f
diff --git a/frc971/control_loops/profiled_subsystem.h b/frc971/control_loops/profiled_subsystem.h index 031795a..91e7ae7 100644 --- a/frc971/control_loops/profiled_subsystem.h +++ b/frc971/control_loops/profiled_subsystem.h
@@ -60,7 +60,7 @@ return *loop_; } - int controller_index() const { return loop_->controller_index(); } + int controller_index() const { return loop_->index(); } // Returns whether the estimators have been initialized and zeroed. bool initialized() const { return initialized_; }