From d87bb8bdee5753010c00fff5825f116295561749 Mon Sep 17 00:00:00 2001
From: cont-integration <CI@iri.upc.edu>
Date: Wed, 30 Apr 2025 15:06:38 +0200
Subject: [PATCH] [skip ci] yaml templates added or modified

---
 yaml_templates/processor/ProcessorCompass.yaml     | 1 +
 yaml_templates/processor/ProcessorImu2d.yaml       | 1 +
 yaml_templates/processor/ProcessorImu2dTester.yaml | 1 +
 yaml_templates/processor/ProcessorImu3d.yaml       | 1 +
 yaml_templates/processor/ProcessorImu3dTester.yaml | 1 +
 yaml_templates/sensor/SensorCompass.yaml           | 1 +
 yaml_templates/sensor/SensorImu2d.yaml             | 7 +------
 yaml_templates/sensor/SensorImu3d.yaml             | 7 +------
 8 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/yaml_templates/processor/ProcessorCompass.yaml b/yaml_templates/processor/ProcessorCompass.yaml
index d74b27af8..93c6b423a 100644
--- a/yaml_templates/processor/ProcessorCompass.yaml
+++ b/yaml_templates/processor/ProcessorCompass.yaml
@@ -1,6 +1,7 @@
 type: "whatever"  # DOC The class name - TYPE string
 plugin: "whatever"  # DOC plugin where the class is implemented - TYPE string
 name: "whatever"  # DOC The processor"s name. It has to be unique. - TYPE string
+sensor_name: "whatever"  # DOC The name of the sensor corresponding to this processor. - TYPE string
 time_tolerance: 0.0  # DOC Maximum time difference between a Keyframe time stamp and a particular Capture of this processor to allow assigning this Capture to the Keyframe. [s]. - TYPE double
 keyframe_vote:
   voting_active: false  # DOC If the processor is allowed to decide to create a frame. - TYPE bool
diff --git a/yaml_templates/processor/ProcessorImu2d.yaml b/yaml_templates/processor/ProcessorImu2d.yaml
index cb3360683..15ad04253 100644
--- a/yaml_templates/processor/ProcessorImu2d.yaml
+++ b/yaml_templates/processor/ProcessorImu2d.yaml
@@ -1,6 +1,7 @@
 type: "whatever"  # DOC The class name - TYPE string
 plugin: "whatever"  # DOC plugin where the class is implemented - TYPE string
 name: "whatever"  # DOC The processor"s name. It has to be unique. - TYPE string
+sensor_name: "whatever"  # DOC The name of the sensor corresponding to this processor. - TYPE string
 time_tolerance: 0.0  # DOC Maximum time difference between a Keyframe time stamp and a particular Capture of this processor to allow assigning this Capture to the Keyframe. [s]. - TYPE double
 keyframe_vote:
   voting_active: false  # DOC If the processor is allowed to decide to create a frame. - TYPE bool
diff --git a/yaml_templates/processor/ProcessorImu2dTester.yaml b/yaml_templates/processor/ProcessorImu2dTester.yaml
index cb3360683..15ad04253 100644
--- a/yaml_templates/processor/ProcessorImu2dTester.yaml
+++ b/yaml_templates/processor/ProcessorImu2dTester.yaml
@@ -1,6 +1,7 @@
 type: "whatever"  # DOC The class name - TYPE string
 plugin: "whatever"  # DOC plugin where the class is implemented - TYPE string
 name: "whatever"  # DOC The processor"s name. It has to be unique. - TYPE string
+sensor_name: "whatever"  # DOC The name of the sensor corresponding to this processor. - TYPE string
 time_tolerance: 0.0  # DOC Maximum time difference between a Keyframe time stamp and a particular Capture of this processor to allow assigning this Capture to the Keyframe. [s]. - TYPE double
 keyframe_vote:
   voting_active: false  # DOC If the processor is allowed to decide to create a frame. - TYPE bool
diff --git a/yaml_templates/processor/ProcessorImu3d.yaml b/yaml_templates/processor/ProcessorImu3d.yaml
index fc213f9ae..c2382b771 100644
--- a/yaml_templates/processor/ProcessorImu3d.yaml
+++ b/yaml_templates/processor/ProcessorImu3d.yaml
@@ -1,6 +1,7 @@
 type: "whatever"  # DOC The class name - TYPE string
 plugin: "whatever"  # DOC plugin where the class is implemented - TYPE string
 name: "whatever"  # DOC The processor"s name. It has to be unique. - TYPE string
+sensor_name: "whatever"  # DOC The name of the sensor corresponding to this processor. - TYPE string
 time_tolerance: 0.0  # DOC Maximum time difference between a Keyframe time stamp and a particular Capture of this processor to allow assigning this Capture to the Keyframe. [s]. - TYPE double
 keyframe_vote:
   voting_active: false  # DOC If the processor is allowed to decide to create a frame. - TYPE bool
diff --git a/yaml_templates/processor/ProcessorImu3dTester.yaml b/yaml_templates/processor/ProcessorImu3dTester.yaml
index fc213f9ae..c2382b771 100644
--- a/yaml_templates/processor/ProcessorImu3dTester.yaml
+++ b/yaml_templates/processor/ProcessorImu3dTester.yaml
@@ -1,6 +1,7 @@
 type: "whatever"  # DOC The class name - TYPE string
 plugin: "whatever"  # DOC plugin where the class is implemented - TYPE string
 name: "whatever"  # DOC The processor"s name. It has to be unique. - TYPE string
+sensor_name: "whatever"  # DOC The name of the sensor corresponding to this processor. - TYPE string
 time_tolerance: 0.0  # DOC Maximum time difference between a Keyframe time stamp and a particular Capture of this processor to allow assigning this Capture to the Keyframe. [s]. - TYPE double
 keyframe_vote:
   voting_active: false  # DOC If the processor is allowed to decide to create a frame. - TYPE bool
diff --git a/yaml_templates/sensor/SensorCompass.yaml b/yaml_templates/sensor/SensorCompass.yaml
index 18eb5f6d2..937130e37 100644
--- a/yaml_templates/sensor/SensorCompass.yaml
+++ b/yaml_templates/sensor/SensorCompass.yaml
@@ -1,6 +1,7 @@
 type: "whatever"  # DOC The class name - TYPE string
 plugin: "whatever"  # DOC plugin where the class is implemented - TYPE string
 name: "whatever"  # DOC The sensor"s name. It has to be unique. - TYPE string
+enabled: true  # OPTIONAL - DOC Whether the sensor is enabled or not. If not, captures will not be processed when calling process(). - TYPE bool
 stdev_noise: 0.0  # DOC standard deviation of the compass measurements (square root of the covariance matrix diagonal). - TYPE double
 states:
   P:
diff --git a/yaml_templates/sensor/SensorImu2d.yaml b/yaml_templates/sensor/SensorImu2d.yaml
index 38007dc30..e2e58b3a2 100644
--- a/yaml_templates/sensor/SensorImu2d.yaml
+++ b/yaml_templates/sensor/SensorImu2d.yaml
@@ -1,16 +1,11 @@
 type: "whatever"  # DOC The class name - TYPE string
 plugin: "whatever"  # DOC plugin where the class is implemented - TYPE string
 name: "whatever"  # DOC The sensor"s name. It has to be unique. - TYPE string
+enabled: true  # OPTIONAL - DOC Whether the sensor is enabled or not. If not, captures will not be processed when calling process(). - TYPE bool
 w_noise: 0.0  # DOC standard deviation of the gyroscope measurements (square root of the covariance matrix diagonal). - TYPE double
 a_noise: 0.0  # DOC standard deviation of the accelerometer measurements (square root of the covariance matrix diagonal). - TYPE double
 orthogonal_gravity: false  # DOC If the gravity is orthogonal to Z axis (i.e. it is measured by accelerometers X and Y) - TYPE bool
 states:
-  P:
-    prior:
-      {}
-  O:
-    prior:
-      {}
   I:
     dynamic: false  # DOC If the bias are dynamic, i.e. they change along time. - TYPE bool
     value: [0, 0, 0]  # OPTIONAL - DOC A vector containing the IMU 2d bias values. Default: zeros - TYPE Vector3d
diff --git a/yaml_templates/sensor/SensorImu3d.yaml b/yaml_templates/sensor/SensorImu3d.yaml
index ac93bd909..22654efb3 100644
--- a/yaml_templates/sensor/SensorImu3d.yaml
+++ b/yaml_templates/sensor/SensorImu3d.yaml
@@ -1,15 +1,10 @@
 type: "whatever"  # DOC The class name - TYPE string
 plugin: "whatever"  # DOC plugin where the class is implemented - TYPE string
 name: "whatever"  # DOC The sensor"s name. It has to be unique. - TYPE string
+enabled: true  # OPTIONAL - DOC Whether the sensor is enabled or not. If not, captures will not be processed when calling process(). - TYPE bool
 w_noise: 0.0  # DOC standard deviation of the gyroscope measurements (square root of the covariance matrix diagonal). - TYPE double
 a_noise: 0.0  # DOC standard deviation of the accelerometer measurements (square root of the covariance matrix diagonal). - TYPE double
 states:
-  P:
-    prior:
-      {}
-  O:
-    prior:
-      {}
   I:
     dynamic: false  # DOC If the bias are dynamic, i.e. they change along time. - TYPE bool
     value: [0, 0, 0, 0, 0, 0]  # OPTIONAL - DOC A vector containing the IMU bias values. Default: zeros - TYPE Vector6d
-- 
GitLab