view projects/samples/SampleData.h @ 149:134bff10e561 ClockSync

Added simple one-variable one-measurement Kalman filter, Pid controller(which output is not used). Virtual clock is now much more precise and reactive for period. Still it is lagging behind a bit on the overall offset.
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 21 Sep 2015 03:12:21 +0100
parents 24fc8026ae8e
children
line wrap: on
line source
/*
 * SampleData.h
 *
 *  Created on: Nov 5, 2014
 *      Author: Victor Zappi
 */

#ifndef SAMPLEDATA_H_
#define SAMPLEDATA_H_

// User defined structure to pass between main and rendere complex data retrieved from file
struct SampleData {
	float *samples;	// Samples in file
	int sampleLen;	// Total nume of samples
};



#endif /* SAMPLEDATA_H_ */