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();
}

View File

@@ -34,7 +34,7 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="661.33551"
inkscape:cx="487.0498"
inkscape:cy="332.89105"
inkscape:document-units="mm"
inkscape:current-layer="layer2"
@@ -409,11 +409,11 @@
id="layer2"
inkscape:label="Layer 2">
<rect
style="fill:none;stroke:#000000;stroke-width:0.15032712;stroke-opacity:1"
style="fill:none;stroke:#000000;stroke-width:0.18667985;stroke-opacity:1"
id="rect2202"
width="49.84967"
height="109.84967"
x="0.075163558"
y="187.07515" />
width="59.81332"
height="141.18332"
x="0.093339927"
y="155.72331" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB