Consistently use seconds (mm/s, mm/s^2, steps/s, etc) internally, instead of switchin...
[clinton/Smoothieware.git] / src / modules / robot / Robot.h
index 92202f5..893c264 100644 (file)
@@ -61,8 +61,8 @@ class Robot : public Module {
 
     private:
         void distance_in_gcode_is_known(Gcode* gcode);
-        void append_milestone( float target[], float feed_rate);
-        void append_line( Gcode* gcode, float target[], float feed_rate);
+        void append_milestone( float target[], float rate_mm_s);
+        void append_line( Gcode* gcode, float target[], float rate_mm_s);
         //void append_arc(float theta_start, float angular_travel, float radius, float depth, float rate);
         void append_arc( Gcode* gcode, float target[], float offset[], float radius, bool is_clockwise );
 
@@ -74,7 +74,7 @@ class Robot : public Module {
 
         float current_position[3];                           // Current position, in millimeters
         float last_milestone[3];                             // Last position, in millimeters
-        bool inch_mode;                                       // true for inch mode, false for millimeter mode ( default )
+        bool  inch_mode;                                       // true for inch mode, false for millimeter mode ( default )
         int8_t motion_mode;                                   // Motion mode for the current received Gcode
         float seek_rate;                                     // Current rate for seeking moves ( mm/s )
         float feed_rate;                                     // Current rate for feeding moves ( mm/s )