increasing metric frequency to make metric more repetative
This commit is contained in:
parent
76d3b4919e
commit
6b4f3d9f45
|
@ -44,8 +44,10 @@ public class EtbMonteCarloSequence {
|
|||
public void run() {
|
||||
CommandQueue.getInstance().write(CANCEL_DIRECT_DRIVE_COMMAND);
|
||||
sleep(3 * SECOND);
|
||||
// 3000 data points at 10Hz should be 300 seconds worth of data
|
||||
StandardTestSequence.metric.start(/* buffer size: */3000, /*period, ms: */ 100);
|
||||
int durationSeconds = 300;
|
||||
int frequencyHz = 100;
|
||||
// 30000 data points at 100Hz should be 300 seconds worth of data
|
||||
StandardTestSequence.metric.start(/* buffer size: */durationSeconds * frequencyHz, /*period, ms: */ 1000 / frequencyHz);
|
||||
|
||||
// start first cycle. At the end of the run it would decide if it wants to start from beginning again
|
||||
executor.execute(() -> runRandomCycle());
|
||||
|
|
Loading…
Reference in New Issue