1
0
Files
cruise-control-mx5-processing/Sample.pde
2025-01-02 16:29:45 +01:00

22 lines
476 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, servoMin, servoMax, servoNeutre;
boolean state;
float kp, ki, kd;
int deltaT;
int speedMin, speedMax;
boolean brakeFlag;
Sample(int timestamp, boolean drawTimeTick) {
this.timestamp = timestamp;
this.drawTimeTick = drawTimeTick;
}
}