Browse Source

Merge pull request #589 from wolfmanjm/upgrade

Fix the example delta configuration by adding DELTA_DIAGONAL_ROD_2
ErikZalm 11 years ago
parent
commit
d78db12abd
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/example_configurations/delta/Configuration.h

+ 4
- 0
Marlin/example_configurations/delta/Configuration.h View File

@@ -82,6 +82,8 @@
82 82
 // and processor overload (too many expensive sqrt calls).
83 83
 #define DELTA_SEGMENTS_PER_SECOND 200
84 84
 
85
+// NOTE NB all values for DELTA_* values MOUST be floating point, so always have a decimal point in them
86
+
85 87
 // Center-to-center distance of the holes in the diagonal push rods.
86 88
 #define DELTA_DIAGONAL_ROD 250.0 // mm
87 89
 
@@ -97,6 +99,8 @@
97 99
 // Effective horizontal distance bridged by diagonal push rods.
98 100
 #define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
99 101
 
102
+#define DELTA_DIAGONAL_ROD_2 sq(DELTA_DIAGONAL_ROD)
103
+
100 104
 // Effective X/Y positions of the three vertical towers.
101 105
 #define SIN_60 0.8660254037844386
102 106
 #define COS_60 0.5

Loading…
Cancel
Save