lots and lots of bugfixes after running on reals hardware for the first time

This commit is contained in:
Simen Svale Skogsrud
2009-02-03 09:56:45 +01:00
parent 9799955555
commit 50a9f78088
19 changed files with 827 additions and 368 deletions

View File

@ -30,7 +30,7 @@
#define true 1
// Decide the sign of a value
#define sign(a) (a>0 ? 1 : ((a<0) ? -1 : 0))
#define signof(a) ((a>0) ? 1 : ((a<0) ? -1 : 0))
#define clear_vector(a) memset(a, 0, sizeof(a))