Skip to content

Instantly share code, notes, and snippets.

@devnill
devnill / robot.js
Created December 18, 2012 21:57
DeathAng3l2
// Conventions:
// We use angles in degrees in clock-wise fashion
RobotHelpers = {};
MathHelpers = {};
RobotHelpers.cannon_rotation_direction = {};
RobotHelpers.shoot = {};
RobotHelpers.target = {};
RobotHelpers.moving_direction = {};
volDB.modules.shift.start({config:{
where:{
"department":volDB.collections.departments.get_id_by_name("Gate")
},
date_range:{
start_time:new Date('Fri Jun 06 2014 14:00:00 GMT-0600 (MDT)'),
end_time:new Date('Fri Jun 07 2014 14:00:00 GMT-0600 (MDT)')
},
"name":"Another gate shiftgrid"
}