From 52fb61e3ffc721e5e9bcac14745bbc00f625ed20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu>
Date: Thu, 18 Jul 2019 20:19:51 +0300
Subject: [PATCH] sen/prc type/name -> type/name

---
 demos/sensor_imu.yaml            | 4 ++--
 demos/sensor_odom_3D.yaml        | 4 ++--
 demos/sensor_odom_3D_HQ.yaml     | 4 ++--
 test/yaml/processor_odom_3D.yaml | 5 ++---
 test/yaml/sensor_odom_3D.yaml    | 4 ++--
 5 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/demos/sensor_imu.yaml b/demos/sensor_imu.yaml
index 66b81a528..f23c69b9f 100644
--- a/demos/sensor_imu.yaml
+++ b/demos/sensor_imu.yaml
@@ -1,5 +1,5 @@
-sensor type: "IMU"             # This must match the KEY used in the SensorFactory. Otherwise it is an error.
-sensor name: "Main IMU"        # This is ignored. The name provided to the SensorFactory prevails
+type: "IMU"             # This must match the KEY used in the SensorFactory. Otherwise it is an error.
+name: "Main IMU"        # This is ignored. The name provided to the SensorFactory prevails
 motion variances: 
     a_noise:                0.053     # standard deviation of Acceleration noise (same for all the axis) in m/s2
     w_noise:                0.0011    # standard deviation of Gyroscope noise (same for all the axis) in rad/sec
diff --git a/demos/sensor_odom_3D.yaml b/demos/sensor_odom_3D.yaml
index 9ea778035..17fa1cb74 100644
--- a/demos/sensor_odom_3D.yaml
+++ b/demos/sensor_odom_3D.yaml
@@ -1,5 +1,5 @@
-sensor type: "ODOM 3D"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
-sensor name: "Main odometer"        # This is ignored. The name provided to the SensorFactory prevails
+type: "ODOM 3D"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
+name: "Main odometer"        # This is ignored. The name provided to the SensorFactory prevails
 motion variances: 
     disp_to_disp:   0.02  # m^2   / m
     disp_to_rot:    0.02  # rad^2 / m
diff --git a/demos/sensor_odom_3D_HQ.yaml b/demos/sensor_odom_3D_HQ.yaml
index 08945ef84..c5e5b7271 100644
--- a/demos/sensor_odom_3D_HQ.yaml
+++ b/demos/sensor_odom_3D_HQ.yaml
@@ -1,5 +1,5 @@
-sensor type: "ODOM 3D"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
-sensor name: "Main odometer"        # This is ignored. The name provided to the SensorFactory prevails
+type: "ODOM 3D"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
+name: "Main odometer"        # This is ignored. The name provided to the SensorFactory prevails
 motion variances: 
     disp_to_disp:   0.000001  # m^2   / m
     disp_to_rot:    0.000001  # rad^2 / m
diff --git a/test/yaml/processor_odom_3D.yaml b/test/yaml/processor_odom_3D.yaml
index f501e3338..7929a2980 100644
--- a/test/yaml/processor_odom_3D.yaml
+++ b/test/yaml/processor_odom_3D.yaml
@@ -1,8 +1,7 @@
-processor type: "ODOM 3D"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
-processor name: "Main odometer"        # This is ignored. The name provided to the SensorFactory prevails
 time tolerance:         0.01  # seconds
 keyframe vote:
     max time span:      0.2   # seconds
     max buffer length:  10    # motion deltas
     dist traveled:      0.5   # meters
-    angle turned:       0.1   # radians (1 rad approx 57 deg, approx 60 deg)
\ No newline at end of file
+    angle turned:       0.1   # radians (1 rad approx 57 deg, approx 60 deg)type: "ODOM 3D"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
+name: "Main odometer"        # This is ignored. The name provided to the SensorFactory prevails
diff --git a/test/yaml/sensor_odom_3D.yaml b/test/yaml/sensor_odom_3D.yaml
index 9ea778035..4cc241e84 100644
--- a/test/yaml/sensor_odom_3D.yaml
+++ b/test/yaml/sensor_odom_3D.yaml
@@ -1,6 +1,6 @@
-sensor type: "ODOM 3D"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
-sensor name: "Main odometer"        # This is ignored. The name provided to the SensorFactory prevails
 motion variances: 
+type: "ODOM 3D"              # This must match the KEY used in the SensorFactory. Otherwise it is an error.
+name: "Main odometer"        # This is ignored. The name provided to the SensorFactory prevails
     disp_to_disp:   0.02  # m^2   / m
     disp_to_rot:    0.02  # rad^2 / m
     rot_to_rot:     0.01  # rad^2 / rad
-- 
GitLab