added per-axis speed limit, with config file setting
[clinton/Smoothieware.git] / src / modules / robot / Robot.h
index 98fe060..738356d 100644 (file)
@@ -22,7 +22,9 @@ using std::string;
 #define mm_per_line_segment_checksum           30176
 #define mm_per_arc_segment_checksum            15470
 #define arc_correction_checksum                5074
-
+#define x_axis_max_speed_checksum              64935
+#define y_axis_max_speed_checksum              3752
+#define z_axis_max_speed_checksum              7849
 
 #define NEXT_ACTION_DEFAULT 0
 #define NEXT_ACTION_DWELL 1
@@ -83,6 +85,7 @@ class Robot : public Module {
         // of grbl, and should be on the order or greater than the size of the buffer to help with the
         // computational efficiency of generating arcs.
         int arc_correction;                                   // Setting : how often to rectify arc computation
+        double max_speeds[3];                                 // Setting : max allowable speed in mm/m for each axis
 
 };