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