eggs seem to be bigger than i thought

Signed-off-by: Stepan Usatyuk <usaatyuk@ustk.me>
This commit is contained in:
2019-05-29 15:25:52 +03:00
parent d386913630
commit 617f196178
3 changed files with 10 additions and 10 deletions

View File

@@ -5,11 +5,11 @@
#ifndef GLOBALS_H
#define GLOBALS_H
#define EGG_DIA 35.0
#define EGG_DIA 45.0
#define Y_DEGREES_PER_MM (360 / (PI * EGG_DIA))
#define X_LIMIT 90.0
#define EGG_LENGTH 50.0
#define EGG_LENGTH 60.0
#define X_DEGREES_PER_MM (X_LIMIT / EGG_LENGTH)
#define STEPS_PER_REVOLUTION (360/1.8) * 32

View File

@@ -79,7 +79,7 @@ void requestEvent() {
}
}
void execCommand(float *command) {
void execCommand() {
executing = true;
cli();
if (command[0] == G01 || command[0] == G00) {
@@ -156,7 +156,7 @@ void loop() {
}
if (newCommand) {
newCommand = false;
execCommand(command);
execCommand();
}
updateExecution();
}