Files
quadrotor/types.h

27 lines
360 B
C

#ifndef __TYPES_H
#define __TYPES_H
typedef int bool;
#define TRUE 1
#define FALSE 0
#define NULL 0
typedef unsigned int size_t;
typedef struct {
float x, y, z;
} vec3f;
typedef struct {
float p, i, d, a;
} pid_params;
typedef struct {
int min, max, centre, deadband;
} stick_timing;
typedef float stick_sensitivity;
#endif /* __TYPES_H */