1
0
Files
cruise-control-mx5-processing/Sample.pde
2024-03-16 19:57:51 +01:00

23 lines
530 B
Plaintext

import java.util.Date;
static class Sample {
final int timestamp;
final boolean drawTimeTick;
float proportional, integral, derivative;
float speed, acceleration;
float consigne;
float error;
int servo;
int state;
float kp, ki, kd;
int speedMin, speedMax;
int minSatellites, satellites;
boolean switchFlag, speedDiffFlag, minSpeedFlag, maxSpeedFlag, brakeFlag;
boolean relay;
Sample(int timestamp, boolean drawTimeTick) {
this.timestamp = timestamp;
this.drawTimeTick = drawTimeTick;
}
}