Prechádzať zdrojové kódy

Allow direct control of feed rate

Change-Id: I4c8ac2f162ee954288a7b5e41866a03b605980ed
Donald Carr 8 rokov pred
rodič
commit
f6fb7e44d7
1 zmenil súbory, kde vykonal 2 pridanie a 3 odobranie
  1. 2 3
      qml/physics/Physics.qml

+ 2 - 3
qml/physics/Physics.qml

@@ -19,8 +19,7 @@ View {
         id: physicsSettings
         category: "Physics"
 
-        // 1/10ths of a second
-        property int feedRate: 10
+        property int feedRate: 100
         // 0 is abutting
         property int verticalOffset: 1
         property real pace: 1
@@ -135,7 +134,7 @@ View {
 
             Timer {
                 id: pumpTimer
-                interval: (Math.abs(physicsSettings.feedRate) + 1)*100
+                interval: Math.abs(physicsSettings.feedRate)
                 repeat: true
                 running: true
                 onTriggered: considerImage()