[chronojump] Removed (commented) Resistant torque on crossvariables at graph.R (unneded now with eq mass)



commit 1442c3f15807a463f4912878c862cb0986a296db
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Nov 16 17:08:28 2020 +0100

    Removed (commented) Resistant torque on crossvariables at graph.R (unneded now with eq mass)

 encoder/graph.R | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index a4088e6c..a3e5313e 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -1875,13 +1875,13 @@ paintCrossVariables <- function (paf, varX, varY, option,
         
         varYut = addUnitsAndTranslate(varY)
         
-        
-        #if diameter or gearedDown changes in this data, the use resistant momentum 
-        if(length(unique(diameter)) > 1 || length(unique(gearedDown)) > 1) {
-                x = x * gearedDown / diameter
-                varX = "Resistant torque"
-                varXut = "Resistant torque (Kg*cm)"
-        }
+        #right now we can select if use equivalent mass, inertia moment or diameter, so this block gets 
commented:
+       #if diameter or gearedDown changes in this data, the use resistant momentum
+        #if(length(unique(diameter)) > 1 || length(unique(gearedDown)) > 1) {
+        #        x = x * gearedDown / diameter
+        #        varX = "Resistant torque"
+        #        varXut = "Resistant torque (Kg*cm)"
+        #}
         
         if(dateAsX) {
                 xCopy <- x


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]