change all positions+velocities in queue messages to floats
The absolute values of these quantities stay small, so that doesn't
cause issues like it could for positions. We also don't actually know
the values to much precision. This means it's worth it to save space in
log files etc.
Change-Id: I66492db35d9979e34d1a26c57a2e9356f64479cb
diff --git a/frc971/control_loops/claw/claw.q b/frc971/control_loops/claw/claw.q
index 7696d3b..8da1c20 100644
--- a/frc971/control_loops/claw/claw.q
+++ b/frc971/control_loops/claw/claw.q
@@ -14,11 +14,11 @@
// Angle of wrist joint.
double angle;
// Angular velocity of wrist.
- double angular_velocity;
+ float angular_velocity;
// Maximum profile velocity, or 0 for the default.
- double max_velocity;
+ float max_velocity;
// Maximum profile acceleration, or 0 for the default.
- double max_acceleration;
+ float max_acceleration;
// Voltage of intake rollers. Positive means sucking in, negative means
// spitting out.
double intake;
@@ -54,11 +54,11 @@
// Estimated angle of wrist joint.
double angle;
// Estimated angular velocity of wrist.
- double angular_velocity;
+ float angular_velocity;
// Goal angle of wrist joint.
double goal_angle;
- double goal_velocity;
+ float goal_velocity;
// Voltage of intake rollers. Positive means sucking in, negative means
// spitting out.
double intake;