mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 08:47:49 +01:00
eggs seem to be bigger than i thought
Signed-off-by: Stepan Usatyuk <usaatyuk@ustk.me>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user