Fixed pid controller and refactored code

This commit is contained in:
id101010
2015-06-07 13:13:49 +02:00
parent ef467d0fee
commit 802d3df373
3 changed files with 55 additions and 36 deletions

View File

@@ -8,7 +8,7 @@
#include<stdint.h>
void int_init(void);
uint16_t pixy_PID_Y(uint16_t x, uint16_t w);
uint16_t pixy_PID_X(uint16_t x, uint16_t w);
int16_t pixy_PID_Y(int16_t x, int16_t w);
int16_t pixy_PID_X(int16_t x, int16_t w);
#endif