converted the LapInfo struct to use the float_array implementation
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "arrays.h"
|
||||
|
||||
typedef enum {
|
||||
BOOL,
|
||||
INT,
|
||||
@@ -22,10 +24,10 @@ typedef struct {
|
||||
typedef struct {
|
||||
int lap_number;
|
||||
double start_time;
|
||||
TelemetryInfo throttle_pos; // freq: 50
|
||||
TelemetryInfo brake_pos; // freq: 50
|
||||
TelemetryInfo steering_pos; // freq: 100
|
||||
TelemetryInfo speed;
|
||||
float_array throttle_pos;
|
||||
float_array brake_pos;
|
||||
float_array steering_pos; // freq: 100
|
||||
float_array speed;
|
||||
} LapInfo;
|
||||
|
||||
void free_telemetry_info(TelemetryInfo *t);
|
||||
|
||||
Reference in New Issue
Block a user