[chronojump] Added new inertial modes to isInertial
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added new inertial modes to isInertial
- Date: Mon, 27 Apr 2015 18:53:39 +0000 (UTC)
commit 9cded23571a7c30e8864a101e2b844bd4864863b
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Apr 27 20:53:16 2015 +0200
Added new inertial modes to isInertial
encoder/util.R | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/encoder/util.R b/encoder/util.R
index ff0079c..9c6ba0d 100644
--- a/encoder/util.R
+++ b/encoder/util.R
@@ -570,9 +570,14 @@ isInertial <- function(encoderConfigurationName) {
if(encoderConfigurationName == "LINEARINERTIAL" ||
encoderConfigurationName == "ROTARYFRICTIONSIDEINERTIAL" ||
encoderConfigurationName == "ROTARYFRICTIONAXISINERTIAL" ||
+ encoderConfigurationName == "ROTARYFRICTIONSIDEINERTIALLATERAL" ||
+ encoderConfigurationName == "ROTARYFRICTIONAXISINERTIALLATERAL" ||
+ encoderConfigurationName == "ROTARYFRICTIONSIDEINERTIALMOVPULLEY" ||
+ encoderConfigurationName == "ROTARYFRICTIONAXISINERTIALMOVPULLEY" ||
encoderConfigurationName == "ROTARYAXISINERTIAL" ||
- encoderConfigurationName == "ROTARYAXISINERTIALMOVPULLEY")
-
+ encoderConfigurationName == "ROTARYAXISINERTIALLATERAL" ||
+ encoderConfigurationName == "ROTARYAXISINERTIALMOVPULLEY"
+ )
return(TRUE)
else
return(FALSE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]