lots and lots of bugfixes after running on reals hardware for the first time
This commit is contained in:
parent
9799955555
commit
50a9f78088
19 changed files with 827 additions and 368 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue