From f482fba05c5ba7d0b8828b45bef30e9a05f88b3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu>
Date: Mon, 13 Nov 2017 09:26:10 +0100
Subject: [PATCH] New YAML for processor_imu

---
 src/examples/processor_imu.yaml         | 3 ++-
 src/examples/processor_imu_no_vote.yaml | 9 +++++++++
 src/examples/processor_imu_t1.yaml      | 3 ++-
 src/examples/processor_imu_t6.yaml      | 3 ++-
 4 files changed, 15 insertions(+), 3 deletions(-)
 create mode 100644 src/examples/processor_imu_no_vote.yaml

diff --git a/src/examples/processor_imu.yaml b/src/examples/processor_imu.yaml
index 8a3aaf470..7e684c883 100644
--- a/src/examples/processor_imu.yaml
+++ b/src/examples/processor_imu.yaml
@@ -5,4 +5,5 @@ keyframe vote:
     max buffer length:  20000    # motion deltas
     dist traveled:      2.0   # meters
     angle turned:       0.2   # radians (1 rad approx 57 deg, approx 60 deg)
-    voting_active:      false
\ No newline at end of file
+    voting_active:      false
+    
\ No newline at end of file
diff --git a/src/examples/processor_imu_no_vote.yaml b/src/examples/processor_imu_no_vote.yaml
new file mode 100644
index 000000000..4f6ad3955
--- /dev/null
+++ b/src/examples/processor_imu_no_vote.yaml
@@ -0,0 +1,9 @@
+processor type: "IMU"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
+processor name: "Main imu"        # This is ignored. The name provided to the SensorFactory prevails
+keyframe vote:
+    max time span:      999999.0   # seconds
+    max buffer length:  999999     # motion deltas
+    dist traveled:      999999.0   # meters
+    angle turned:       999999     # radians (1 rad approx 57 deg, approx 60 deg)
+    voting_active:      false
+    
\ No newline at end of file
diff --git a/src/examples/processor_imu_t1.yaml b/src/examples/processor_imu_t1.yaml
index 9924b3ddd..e0c21758c 100644
--- a/src/examples/processor_imu_t1.yaml
+++ b/src/examples/processor_imu_t1.yaml
@@ -5,4 +5,5 @@ keyframe vote:
     max buffer length:  10000    # motion deltas
     dist traveled:      10000   # meters
     angle turned:       10000   # radians (1 rad approx 57 deg, approx 60 deg)
-    voting_active:      true
\ No newline at end of file
+    voting_active:      true
+    
\ No newline at end of file
diff --git a/src/examples/processor_imu_t6.yaml b/src/examples/processor_imu_t6.yaml
index 7313a387e..e3a4b17df 100644
--- a/src/examples/processor_imu_t6.yaml
+++ b/src/examples/processor_imu_t6.yaml
@@ -5,4 +5,5 @@ keyframe vote:
     max buffer length:  10000    # motion deltas
     dist traveled:      10000   # meters
     angle turned:       10000   # radians (1 rad approx 57 deg, approx 60 deg)
-    voting_active:      true
\ No newline at end of file
+    voting_active:      true
+    
\ No newline at end of file
-- 
GitLab