Write function(s)/class in c that:
- can be compiled in linux and windows (i.e. no exotic includes)
- recommended solution is function library with basic C and machine depended
wrapper class(es)
exposed functions:
- int putData(double *timeArray, double *heightArray, int length)
- void getInterpolant(double time0, double timeStep, double *output, int
outputLength)
- int setLimits(double heightMax, double heightMin, double speedMax)
putData:
- stores timeVector and heightVector
- returns SUCCESS if existing times are all smaller than input times and height
is in correct limits
getInterpolant:
- returns heightVector in points time0 + i*timeStep, i = 0 ... outputLength
- must return interpoland in all cases
- must obey limits
See samplePlaybackDll as example
Original issue reported on code.google.com by jhkoi...@gmail.com on 27 Apr 2011 at 12:45
Original issue reported on code.google.com by
jhkoi...@gmail.com
on 27 Apr 2011 at 12:45