update corexz config comments
authorJeremy Jackins <jeremyjackins@gmail.com>
Thu, 1 Oct 2015 05:19:20 +0000 (14:19 +0900)
committerJeremy Jackins <jeremyjackins@gmail.com>
Thu, 1 Oct 2015 05:19:20 +0000 (14:19 +0900)
ConfigSamples/Smoothieboard.corexz/config
src/modules/robot/arm_solutions/CoreXZSolution.cpp

index f21f7c6..777be24 100644 (file)
@@ -10,9 +10,9 @@ mm_per_arc_segment                           0.5              # Arcs are cut int
 arm_solution                                 corexz           # selects the corexz solution
 x_reduction                                  1.0              # standard CoreXZ has no reduction on x axis
 z_reduction                                  3.0              # standard CoreXZ has 3X reduction on z axis
-alpha_steps_per_mm                           25.465           # XZ motor 1: ((360/1.8)*16)/(2*2*pi*r) - r=10
-beta_steps_per_mm                            25.465           # XZ motor 2: ((360/1.8)*16)/(2*2*pi*r) - r=10
-gamma_steps_per_mm                           50.930           # y axis: ((360/1.8)*16)/(2*pi*r) - r=10
+alpha_steps_per_mm                           25.465           # xz motor 1
+beta_steps_per_mm                            25.465           # xz motor 2
+gamma_steps_per_mm                           50.930           # y axis motor
 
 # Planner module configuration : Look-ahead and acceleration configuration
 planner_queue_size                           32               # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
index cade421..c766091 100644 (file)
@@ -7,7 +7,7 @@
 
 CoreXZSolution::CoreXZSolution(Config* config)
 {
-       x_reduction = config->value(x_reduction_checksum)->by_default(1.0f)->as_number();
+    x_reduction = config->value(x_reduction_checksum)->by_default(1.0f)->as_number();
     z_reduction = config->value(z_reduction_checksum)->by_default(3.0f)->as_number();
 }