commit | 4156560165d1036976f73edb63bd00cdf88c4e92 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Sun Feb 28 20:10:49 2016 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Sun Feb 28 22:03:30 2016 -0800 |
tree | 720308a9e7777ec7d943f011553a1d42562c0eaa | |
parent | 4cd5b3540fed835a21000443e906121e6d77fe0d [diff] [blame] |
Fixed bug where kalman filter was being coppied rather than passed by pointer. Change-Id: Ib2d0fa0ec2e5a0b19592ca419fec339252a3f698
diff --git a/frc971/control_loops/drivetrain/drivetrain.q b/frc971/control_loops/drivetrain/drivetrain.q index 7fa91b9..24b1d38 100644 --- a/frc971/control_loops/drivetrain/drivetrain.q +++ b/frc971/control_loops/drivetrain/drivetrain.q
@@ -112,6 +112,10 @@ double uncapped_left_voltage; double uncapped_right_voltage; + // The goal velocities for the polydrive controller. + double left_velocity_goal; + double right_velocity_goal; + // True if the output voltage was capped last cycle. bool output_was_capped; };