From cb3a0344b2e29f426614ce7d3664035f4fa01fbc Mon Sep 17 00:00:00 2001
From: cont-integration <CI@iri.upc.edu>
Date: Thu, 10 Apr 2025 17:44:36 +0200
Subject: [PATCH] [skip ci] yaml templates added or modified

---
 yaml_templates/sensor/SensorBase.yaml        | 3 ++-
 yaml_templates/sensor/SensorDiffDrive.yaml   | 1 +
 yaml_templates/sensor/SensorMotionModel.yaml | 3 ++-
 yaml_templates/sensor/SensorOdom2d.yaml      | 1 +
 yaml_templates/sensor/SensorOdom3d.yaml      | 1 +
 yaml_templates/sensor/SensorPose2d.yaml      | 1 +
 yaml_templates/sensor/SensorPose3d.yaml      | 1 +
 7 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/yaml_templates/sensor/SensorBase.yaml b/yaml_templates/sensor/SensorBase.yaml
index dd2208d34..3518bd725 100644
--- a/yaml_templates/sensor/SensorBase.yaml
+++ b/yaml_templates/sensor/SensorBase.yaml
@@ -1,3 +1,4 @@
 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
\ No newline at end of file
+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
\ No newline at end of file
diff --git a/yaml_templates/sensor/SensorDiffDrive.yaml b/yaml_templates/sensor/SensorDiffDrive.yaml
index b693923be..6996713ee 100644
--- a/yaml_templates/sensor/SensorDiffDrive.yaml
+++ b/yaml_templates/sensor/SensorDiffDrive.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
 ticks_per_wheel_revolution: 0.0  # DOC Amount of sensor ticks of a whole wheel revolution (if measurement is directly radiants, put 2*PI). - TYPE double
 ticks_std_factor: 0.0  # DOC ratio of displacement variance to rotation, for odometry noise calculation. - TYPE double
 states:
diff --git a/yaml_templates/sensor/SensorMotionModel.yaml b/yaml_templates/sensor/SensorMotionModel.yaml
index dd2208d34..3518bd725 100644
--- a/yaml_templates/sensor/SensorMotionModel.yaml
+++ b/yaml_templates/sensor/SensorMotionModel.yaml
@@ -1,3 +1,4 @@
 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
\ No newline at end of file
+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
\ No newline at end of file
diff --git a/yaml_templates/sensor/SensorOdom2d.yaml b/yaml_templates/sensor/SensorOdom2d.yaml
index 6c2a637cc..2e4f4b842 100644
--- a/yaml_templates/sensor/SensorOdom2d.yaml
+++ b/yaml_templates/sensor/SensorOdom2d.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
 k_disp_to_disp: 0.0  # DOC ratio of displacement variance to displacement, for odometry noise calculation. - TYPE double
 k_disp_to_rot: 0.0  # DOC ratio of displacement variance to rotation, for odometry noise calculation. - TYPE double
 k_rot_to_rot: 0.0  # DOC ratio of rotation variance to rotation, for odometry noise calculation. - TYPE double
diff --git a/yaml_templates/sensor/SensorOdom3d.yaml b/yaml_templates/sensor/SensorOdom3d.yaml
index b44ab8491..71c40b4d9 100644
--- a/yaml_templates/sensor/SensorOdom3d.yaml
+++ b/yaml_templates/sensor/SensorOdom3d.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
 k_disp_to_disp: 0.0  # DOC ratio of displacement variance to displacement, for odometry noise calculation. - TYPE double
 k_disp_to_rot: 0.0  # DOC ratio of displacement variance to rotation, for odometry noise calculation. - TYPE double
 k_rot_to_rot: 0.0  # DOC ratio of rotation variance to rotation, for odometry noise calculation. - TYPE double
diff --git a/yaml_templates/sensor/SensorPose2d.yaml b/yaml_templates/sensor/SensorPose2d.yaml
index 619768c15..4ea6b3d05 100644
--- a/yaml_templates/sensor/SensorPose2d.yaml
+++ b/yaml_templates/sensor/SensorPose2d.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
 std_noise: [0.0, 0.0, 0.0]  # DOC Vector containing the standard deviation of the position and orientation measurements (square root of the covariance matrix diagonal). - TYPE Eigen::Vector3d
 states:
   P:
diff --git a/yaml_templates/sensor/SensorPose3d.yaml b/yaml_templates/sensor/SensorPose3d.yaml
index 48c5b3bbe..113dc7ed1 100644
--- a/yaml_templates/sensor/SensorPose3d.yaml
+++ b/yaml_templates/sensor/SensorPose3d.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
 std_noise: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]  # DOC Vector containing the standard deviation of the position and orientation measurements (square root of the covariance matrix diagonal). - TYPE Eigen::Vector6d
 states:
   P:
-- 
GitLab