Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 1 | include "frc971/control_loops/control_loops.fbs"; |
| 2 | |
| 3 | namespace frc971.control_loops.drivetrain; |
| 4 | |
| 5 | // For logging information about what the code is doing with the shifters. |
| 6 | table GearLogging { |
| 7 | // Which controller is being used. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 8 | controller_index:byte (id: 0); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 9 | |
| 10 | // Whether each loop for the drivetrain sides is the high-gear one. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 11 | left_loop_high:bool (id: 1); |
| 12 | right_loop_high:bool (id: 2); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 13 | |
| 14 | // The states of each drivetrain shifter. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 15 | left_state:byte (id: 3); |
| 16 | right_state:byte (id: 4); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | // For logging information about the state of the shifters. |
| 20 | table CIMLogging { |
| 21 | // Whether the code thinks each drivetrain side is currently in gear. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 22 | left_in_gear:bool (id: 0); |
| 23 | right_in_gear:bool (id: 1); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 24 | |
| 25 | // The angular velocities (in rad/s, positive forward) the code thinks motors |
| 26 | // on each side of the drivetrain are moving at. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 27 | left_motor_speed:double (id: 2); |
| 28 | right_motor_speed:double (id: 3); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 29 | |
| 30 | // The velocity estimates for each drivetrain side of the robot (in m/s, |
| 31 | // positive forward) that can be used for shifting. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 32 | left_velocity:double (id: 4); |
| 33 | right_velocity:double (id: 5); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 34 | } |
| 35 | |
James Kuszmaul | af5dfad | 2020-01-03 20:02:54 -0800 | [diff] [blame] | 36 | // Logging information for the polydrivetrain implementation. |
| 37 | table PolyDriveLogging { |
| 38 | // Calculated velocity goals for the left/right sides of the drivetrain, in |
| 39 | // m/s. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 40 | goal_left_velocity:float (id: 0); |
| 41 | goal_right_velocity:float (id: 1); |
James Kuszmaul | af5dfad | 2020-01-03 20:02:54 -0800 | [diff] [blame] | 42 | // Feedforward components of the left/right voltages. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 43 | ff_left_voltage:float (id: 2); |
| 44 | ff_right_voltage:float (id: 3); |
James Kuszmaul | af5dfad | 2020-01-03 20:02:54 -0800 | [diff] [blame] | 45 | } |
| 46 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 47 | enum PlanningState : byte { |
| 48 | NO_PLAN, |
| 49 | BUILDING_TRAJECTORY, |
| 50 | PLANNING_TRAJECTORY, |
| 51 | PLANNED, |
| 52 | } |
| 53 | |
| 54 | // For logging information about the state of the trajectory planning. |
| 55 | table TrajectoryLogging { |
| 56 | // state of planning the trajectory. |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 57 | planning_state:PlanningState (id: 0, deprecated); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 58 | |
| 59 | // State of the spline execution. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 60 | is_executing:bool (id: 1); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 61 | // Whether we have finished the spline specified by current_spline_idx. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 62 | is_executed:bool (id: 2); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 63 | |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 64 | // The handle of the goal spline. Empty means no goal/stop requested. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 65 | goal_spline_handle:int (id: 3); |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 66 | // Handle of the executing spline. Will generally be identical to |
| 67 | // goal_spline_handle if the spline is available; however, if the commanded |
| 68 | // spline has not yet been planned, this will be empty. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 69 | current_spline_idx:int (id: 4); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 70 | // Handle of the spline that is being optimized and staged. |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 71 | planning_spline_idx:int (id: 5, deprecated); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 72 | |
| 73 | // Expected position and velocity on the spline |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 74 | x:float (id: 6); |
| 75 | y:float (id: 7); |
| 76 | theta:float (id: 8); |
| 77 | left_velocity:float (id: 9); |
| 78 | right_velocity:float (id: 10); |
| 79 | distance_remaining:float (id: 11); |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 80 | |
| 81 | // Splines that we have full plans for. |
| 82 | available_splines:[int] (id: 12); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 83 | } |
| 84 | |
| 85 | // For logging state of the line follower. |
| 86 | table LineFollowLogging { |
| 87 | // Whether we are currently freezing target choice. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 88 | frozen:bool (id: 0); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 89 | // Whether we currently have a target. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 90 | have_target:bool (id: 1); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 91 | // Absolute position of the current goal. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 92 | x:float (id: 2); |
| 93 | y:float (id: 3); |
| 94 | theta:float (id: 4); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 95 | // Current lateral offset from line pointing straight out of the target. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 96 | offset:float (id: 5); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 97 | // Current distance from the plane of the target, in meters. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 98 | distance_to_target:float (id: 6); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 99 | // Current goal heading. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 100 | goal_theta:float (id: 7); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 101 | // Current relative heading. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 102 | rel_theta:float (id: 8); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 103 | } |
| 104 | |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 105 | // Current states of the EKF. See hybrid_ekf.h for detailed comments. |
| 106 | table LocalizerState { |
| 107 | // X/Y field position, in meters. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 108 | x:float (id: 0); |
| 109 | y:float (id: 1); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 110 | // Current heading, in radians. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 111 | theta:float (id: 2); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 112 | // Current estimate of the left encoder position, in meters. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 113 | left_encoder:float (id: 3); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 114 | // Velocity of the left side of the robot. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 115 | left_velocity:float (id: 4); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 116 | // Current estimate of the right encoder position, in meters. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 117 | right_encoder:float (id: 5); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 118 | // Velocity of the right side of the robot. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 119 | right_velocity:float (id: 6); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 120 | // Current "voltage error" terms, in V. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 121 | left_voltage_error:float (id: 7); |
| 122 | right_voltage_error:float (id: 8); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 123 | // Estimate of the offset between the encoder readings and true rotation of |
| 124 | // the robot, in rad/sec. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 125 | angular_error:float (id: 9); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 126 | // Current difference between the estimated longitudinal velocity of the robot |
| 127 | // and that experienced by the wheels, in m/s. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 128 | longitudinal_velocity_offset:float (id: 10); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 129 | // Lateral velocity of the robot, in m/s. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 130 | lateral_velocity:float (id: 11); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 131 | } |
| 132 | |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 133 | table DownEstimatorState { |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 134 | quaternion_x:double (id: 0); |
| 135 | quaternion_y:double (id: 1); |
| 136 | quaternion_z:double (id: 2); |
| 137 | quaternion_w:double (id: 3); |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 138 | |
| 139 | // Side-to-side and forwards/backwards pitch numbers. Note that we do this |
| 140 | // instead of standard roll/pitch/yaw euler angles because it was a pain to |
| 141 | // try and numerically stable roll/pitch/yaw numbers, and Eigen's interface |
| 142 | // doesn't resolve the redundancies quite how we'd like. |
| 143 | // Lateral pitch is the side-to-side pitch of the robot; longitudinal pitch is |
| 144 | // the forwards to backwards pitch of the robot; longitudinal_pitch |
| 145 | // corresponds with the traditional usage of "pitch". |
| 146 | // All angles in radians. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 147 | lateral_pitch:float (id: 4); |
| 148 | longitudinal_pitch:float (id: 5); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 149 | // Current yaw angle (heading) of the robot, as estimated solely by |
| 150 | // integrating the Z-axis of the gyro (in rad). |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 151 | yaw:float (id: 6); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 152 | |
| 153 | // Current position of the robot, as determined solely from the |
| 154 | // IMU/down-estimator, in meters. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 155 | position_x:float (id: 7); |
| 156 | position_y:float (id: 8); |
| 157 | position_z:float (id: 9); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 158 | |
| 159 | // Current velocity of the robot, as determined solely from the |
| 160 | // IMU/down-estimator, in meters / sec. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 161 | velocity_x:float (id: 10); |
| 162 | velocity_y:float (id: 11); |
| 163 | velocity_z:float (id: 12); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 164 | |
| 165 | // Current acceleration of the robot, with pitch/roll (but not yaw) |
| 166 | // compensated out, in meters / sec / sec. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 167 | accel_x:float (id: 13); |
| 168 | accel_y:float (id: 14); |
| 169 | accel_z:float (id: 15); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 170 | |
| 171 | // Current acceleration that we expect to see from the accelerometer, assuming |
| 172 | // no acceleration other than that due to gravity, in g's. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 173 | expected_accel_x:float (id: 16); |
| 174 | expected_accel_y:float (id: 17); |
| 175 | expected_accel_z:float (id: 18); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 176 | |
| 177 | // Current estimate of the overall acceleration due to gravity, in g's. Should |
| 178 | // generally be within ~0.003 g's of 1.0. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 179 | gravity_magnitude:float (id: 19); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 180 | |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 181 | consecutive_still:int (id: 20); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 182 | } |
| 183 | |
| 184 | table ImuZeroerState { |
| 185 | // True if we have successfully zeroed the IMU. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 186 | zeroed:bool (id: 0); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 187 | // True if the zeroing code has observed some inconsistency in the IMU. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 188 | faulted:bool (id: 1); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 189 | // Number of continuous zeroing measurements that we have accumulated for use |
| 190 | // in the zeroing. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 191 | number_of_zeroes:int (id: 2); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 192 | |
James Kuszmaul | 1a398fd | 2021-06-27 15:15:11 -0700 | [diff] [blame] | 193 | // Current zeroing values being used for each gyro axis, in rad / sec. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 194 | gyro_x_average:float (id: 3); |
| 195 | gyro_y_average:float (id: 4); |
| 196 | gyro_z_average:float (id: 5); |
James Kuszmaul | 1a398fd | 2021-06-27 15:15:11 -0700 | [diff] [blame] | 197 | |
| 198 | // Current zeroing values being used for each accelerometer axis, in m / s^2. |
| 199 | accel_x_average:float (id: 6); |
| 200 | accel_y_average:float (id: 7); |
| 201 | accel_z_average:float (id: 8); |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 202 | } |
| 203 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 204 | table Status { |
| 205 | // Estimated speed of the center of the robot in m/s (positive forwards). |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 206 | robot_speed:double (id: 0); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 207 | |
| 208 | // Estimated relative position of each drivetrain side (in meters). |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 209 | estimated_left_position:double (id: 1); |
| 210 | estimated_right_position:double (id: 2); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 211 | |
| 212 | // Estimated velocity of each drivetrain side (in m/s). |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 213 | estimated_left_velocity:double (id: 3); |
| 214 | estimated_right_velocity:double (id: 4); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 215 | |
| 216 | // The voltage we wanted to send to each drivetrain side last cycle. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 217 | uncapped_left_voltage:double (id: 5); |
| 218 | uncapped_right_voltage:double (id: 6); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 219 | |
| 220 | // The voltage error for the left and right sides. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 221 | left_voltage_error:double (id: 7); |
| 222 | right_voltage_error:double (id: 8); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 223 | |
| 224 | // The profiled goal states. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 225 | profiled_left_position_goal:double (id: 9); |
| 226 | profiled_right_position_goal:double (id: 10); |
| 227 | profiled_left_velocity_goal:double (id: 11); |
| 228 | profiled_right_velocity_goal:double (id: 12); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 229 | |
| 230 | // The KF offset |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 231 | estimated_angular_velocity_error:double (id: 13); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 232 | // The KF estimated heading. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 233 | estimated_heading:double (id: 14); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 234 | |
| 235 | // xytheta of the robot. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 236 | x:double (id: 15); |
| 237 | y:double (id: 16); |
| 238 | theta:double (id: 17); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 239 | |
| 240 | // True if the output voltage was capped last cycle. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 241 | output_was_capped:bool (id: 18); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 242 | |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 243 | // The pitch of the robot relative to the ground--only includes |
| 244 | // forwards/backwards rotation. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 245 | ground_angle:double (id: 19); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 246 | |
| 247 | // Information about shifting logic and curent gear, for logging purposes |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 248 | gear_logging:GearLogging (id: 20); |
| 249 | cim_logging:CIMLogging (id: 21); |
James Kuszmaul | af5dfad | 2020-01-03 20:02:54 -0800 | [diff] [blame] | 250 | |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 251 | trajectory_logging:TrajectoryLogging (id: 22); |
James Kuszmaul | af5dfad | 2020-01-03 20:02:54 -0800 | [diff] [blame] | 252 | |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 253 | line_follow_logging:LineFollowLogging (id: 23); |
James Kuszmaul | af5dfad | 2020-01-03 20:02:54 -0800 | [diff] [blame] | 254 | |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 255 | poly_drive_logging:PolyDriveLogging (id: 24); |
James Kuszmaul | 3e1bb27 | 2020-01-17 18:38:19 -0800 | [diff] [blame] | 256 | |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 257 | down_estimator:DownEstimatorState (id: 25); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 258 | |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 259 | localizer:LocalizerState (id: 26); |
James Kuszmaul | 18f669c | 2020-02-11 16:51:06 -0800 | [diff] [blame] | 260 | |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 261 | zeroing:ImuZeroerState (id: 27); |
milind | 1f1dca3 | 2021-07-03 13:50:07 -0700 | [diff] [blame] | 262 | |
| 263 | // Total number of status send failures. |
| 264 | send_failures:uint64 (id: 28); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 265 | } |
| 266 | |
| 267 | root_type Status; |