From 62a5b276fb7d8bab5d5c06b36d93a92dd2c22846 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Wed, 24 May 2023 15:40:21 +0200 Subject: [PATCH] usbcam config file --- config/params.yaml | 22 ++++++++++++++++++++++ src/px4_msgs | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 config/params.yaml diff --git a/config/params.yaml b/config/params.yaml new file mode 100644 index 00000000..5ec51428 --- /dev/null +++ b/config/params.yaml @@ -0,0 +1,22 @@ +/**: + ros__parameters: + video_device: "/dev/video0" + framerate: 10.0 + io_method: "mmap" + frame_id: "camera" + pixel_format: "yuyv" # see usb_cam/supported_formats for list of supported formats + image_width: 2320 + image_height: 1744 + camera_name: "drone_camera" + camera_info_url: "package://usb_cam/config/camera_info.yaml" + brightness: -1 + contrast: -1 + saturation: -1 + sharpness: -1 + gain: -1 + auto_white_balance: true + white_balance: 4000 + autoexposure: true + exposure: 100 + autofocus: false + focus: -1 diff --git a/src/px4_msgs b/src/px4_msgs index b64ef047..ffc3a4cd 160000 --- a/src/px4_msgs +++ b/src/px4_msgs @@ -1 +1 @@ -Subproject commit b64ef0475c1d44605688f4770899fe453d532be4 +Subproject commit ffc3a4cd578776213a444abe17d7eabf9621b266