Revision 74c0e6394dc5a2a6fb703406de719b47a626cb3b authored by ziqingma on 22 October 2023, 21:33:01 UTC, committed by ziqingma on 23 October 2023, 08:42:43 UTC
CG shift due to tilt issue, add takeoff test flightplan in cyberzoo Update guidance_indi.c
1 parent 6b317f2
nps_sensors_utils.h
#ifndef NPS_SENSORS_UTILS_H
#define NPS_SENSORS_UTILS_H
#include <glib.h>
#include "math/pprz_algebra_double.h"
struct BoozDatedSensor {
struct DoubleVect3 *value;
double time;
};
struct BoozDatedSensor_Single {
double *value;
double time;
};
/* cur_reading and sensor_reading must be of a type that can be cast to DoubleVect3* */
extern void UpdateSensorLatency(double time, gpointer cur_reading, GSList **history,
double latency, gpointer sensor_reading);
/* ...and the same for single double values */
extern void UpdateSensorLatency_Single(double time, gpointer cur_reading, GSList **history,
double latency, gpointer sensor_reading);
#endif /* NPS_SENSORS_UTILS_H */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...