From 86a2933173adc72d94bdcb427082735891b1f115 Mon Sep 17 00:00:00 2001
From: Mederic Fourmy <mederic.fourmy@gmail.com>
Date: Fri, 15 Apr 2022 10:58:50 +0200
Subject: [PATCH] Added a special yaml for publisher debug

---
 yaml/demo_visual_odometry_euroc.yaml | 27 ++-------------------------
 yaml/publisher_vision_debug.yaml     | 26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 25 deletions(-)
 create mode 100644 yaml/publisher_vision_debug.yaml

diff --git a/yaml/demo_visual_odometry_euroc.yaml b/yaml/demo_visual_odometry_euroc.yaml
index 76dd965..900d36c 100644
--- a/yaml/demo_visual_odometry_euroc.yaml
+++ b/yaml/demo_visual_odometry_euroc.yaml
@@ -82,29 +82,6 @@ config:
       topic: "/debug_image"
       topic_preprocessor: "/debug_image_preprocessor"
       package: "wolf_ros_vision"
-      period: 0.25
-      tracks:
-        show_id: true
-        size_id: 0.5
-        thickness: 1.5
-        color: "CYAN"
-        min_lum: 100
-        max_lum: 450
-        feature_last:
-          thickness: -1
-          size_pix: 2
-          color: "RED"
-        feature_kfs:
-          thickness: 0.1
-          size_pix: 1
-      tracks_preprocess:
-        show: false
-        show_on_diff_topic: false
-        thickness: 1.5
-        color: "CYAN"
-      landmarks:
-        show_id: false
-        size_id: 0.5
-        size_pix: 5
-        color: "GREY"
+      period: 0.1
+      follow: "publisher_vision_debug.yaml"
 
diff --git a/yaml/publisher_vision_debug.yaml b/yaml/publisher_vision_debug.yaml
new file mode 100644
index 0000000..e53cb06
--- /dev/null
+++ b/yaml/publisher_vision_debug.yaml
@@ -0,0 +1,26 @@
+tracks:
+    show_id: true
+    size_id: 0.5
+    thickness: 1.5
+    color: "CYAN"
+    min_lum: 100
+    max_lum: 450
+    feature_last:
+        thickness: -1
+        size_pix: 2
+        color: "RED"
+feature_kfs:
+    thickness: 0.1
+    size_pix: 1
+
+tracks_preprocess:
+    show: false
+    show_on_diff_topic: false
+    thickness: 1.5
+    color: "CYAN"
+
+landmarks:
+    show_id: false
+    size_id: 0.5
+    size_pix: 5
+    color: "GREY"
\ No newline at end of file
-- 
GitLab