From 5dd018d51d8840bf25f6087fc425bfd714a34682 Mon Sep 17 00:00:00 2001
From: fherrero <fherrero@iri.upc.edu>
Date: Wed, 27 Jun 2018 18:42:37 +0200
Subject: [PATCH] Added frame_id param to yaml config

---
 config/640x480_30fps_config.yaml | 2 ++
 launch/uvc_camera.launch         | 2 +-
 launch/uvc_camera_test.launch    | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/config/640x480_30fps_config.yaml b/config/640x480_30fps_config.yaml
index 0059d8b..d42f7f3 100644
--- a/config/640x480_30fps_config.yaml
+++ b/config/640x480_30fps_config.yaml
@@ -1,5 +1,6 @@
 width: 640
 height: 480
+frame_id: 'camera'
 video_mode: 'uncompressed'
 frame_rate: 30
 timestamp_method: 'start'
@@ -7,3 +8,4 @@ auto_exposure: 3
 auto_exposure_priority: 0
 exposure_absolute: 0.9
 auto_white_balance: 'False'
+white_balance_temperature: 4000
diff --git a/launch/uvc_camera.launch b/launch/uvc_camera.launch
index ff8a9d9..26d2536 100644
--- a/launch/uvc_camera.launch
+++ b/launch/uvc_camera.launch
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <launch>
 
-  <arg name="device_file" default="$(find iri_uvc_camera_bringup)/config/devices/logitech_c200.yaml" />
+  <arg name="device_file" default="$(find iri_uvc_camera_bringup)/config/devices/logitech_c270.yaml" />
   <arg name="format_file" default="$(find iri_uvc_camera_bringup)/config/640x480_30fps_config.yaml" />
   <arg name="calib_file" default="$(find iri_uvc_camera_bringup)/calibration/logitech_c270_640x480.yaml" />
   <arg name="node_name" default="uvc_camera" />
diff --git a/launch/uvc_camera_test.launch b/launch/uvc_camera_test.launch
index 8778b53..fadac67 100644
--- a/launch/uvc_camera_test.launch
+++ b/launch/uvc_camera_test.launch
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <launch>
 
-  <arg name="device_file" default="$(find iri_uvc_camera_bringup)/config/devices/logitech_c270.yaml" />
+  <arg name="device_file" default="$(find iri_uvc_camera_bringup)/config/devices/logitech_c200.yaml" />
   <arg name="format_file" default="$(find iri_uvc_camera_bringup)/config/640x480_30fps_config.yaml" />
   <arg name="node_name" default="uvc_camera" />
   <arg name="output" default="log" />
-- 
GitLab