cc_flightraw_free(struct cc_flightraw *raw);
struct cc_flightcooked {
+ double flight_start;
+ double flight_stop;
+
struct cc_perioddata accel_accel;
struct cc_perioddata accel_speed;
struct cc_perioddata accel_pos;
struct cc_perioddata gps_lat;
struct cc_perioddata gps_lon;
struct cc_perioddata gps_alt;
+
+ /* unfiltered, but converted */
+ struct cc_timedata pres;
+ struct cc_timedata accel;
struct cc_timedata state;
};
double end_lat, double end_lon,
double *dist, double *bearing);
+void
+cc_timedata_limits(struct cc_timedata *d, double min_time, double max_time, int *start, int *stop);
+
int
cc_timedata_min(struct cc_timedata *d, double min_time, double max_time);
cc_timedata_convert(struct cc_timedata *d, double (*f)(double v, double a), double a);
struct cc_timedata *
-cc_timedata_integrate(struct cc_timedata *d);
+cc_timedata_integrate(struct cc_timedata *d, double min_time, double max_time);
struct cc_perioddata *
cc_perioddata_differentiate(struct cc_perioddata *i);