This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//******************* QuadTree Implementation ******************* | |
var getX = function(item){ | |
return item.x - item.width/2; | |
} | |
var getY = function(item){ | |
return item.y - item.height/2; | |
} | |
function QuadTree(bounds, pointQuad, maxDepth, maxChildren) { | |
var node; | |
if (pointQuad) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <EEPROM.h> | |
#include <Servo.h> | |
Servo servo1, servo2, servo3, servo4, servo5, servo6, servo7; | |
/////////////////////// | |
//EEPROM variables | |
#define mode 1 | |
#define test_mode 0 | |
#define EEPROM_mode 1 |