Quadrotor from scratch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
360 B

#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 */