Skip to content
Snippets Groups Projects
Commit 62f00729 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added the desired topic names as arguments to the launch files.

parent 793fd858
No related branches found
No related tags found
No related merge requests found
width: 640
width: 640
height: 480
frame_id: 'camera'
video_mode: 'uncompressed'
......
width: 1920
height: 1080
frame_id: 'camera'
video_mode: 'mjpeg'
frame_rate: 15
#timestamp_method: 'start'
#auto_exposure: 3
#auto_exposure_priority: 0
#exposure_absolute: 0.9
#auto_white_balance: 'False'
#white_balance_temperature: 4000
vendor: '0x090c'
product: '0xf37d'
serial: ""
index: 0
vendor: '0x046d'
product: '0x0825'
vendor: "0x046d"
product: "0x0825"
serial: ""
index: 0
......@@ -7,6 +7,8 @@
<arg name="node_name" default="uvc_camera" />
<arg name="output" default="log" />
<arg name="launch_prefix" default="" />
<arg name="image_raw_topic" default="~/image_raw" />
<arg name="camera_info_topic" default="~/camera_info" />
<node pkg="libuvc_camera"
type="camera_node"
......@@ -16,5 +18,7 @@
<rosparam file="$(arg device_file)" command="load" />
<rosparam file="$(arg format_file)" command="load" />
<param name="camera_info_url" value="file://$(arg calib_file)" />
<remap from="image_raw" to="$(arg image_raw_topic)"/>
<remap from="camera_info" to="$(arg camera_info_topic)"/>
</node>
</launch>
<?xml version="1.0" encoding="UTF-8"?>
<launch>
<arg name="device_file" default="$(find iri_uvc_camera_bringup)/config/devices/logitech_c300.yaml" />
<arg name="device_file" default="$(find iri_uvc_camera_bringup)/config/devices/delock.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" />
......@@ -21,6 +21,8 @@
<arg name="node_name" value="$(arg node_name)"/>
<arg name="output" value="$(arg output)"/>
<arg name="launch_prefix" value="$(arg launch_prefix)"/>
<arg name="image_raw_topic" value="/$(arg node_name)/image_raw" />
<arg name="camera_info_topic" value="/$(arg node_name)/camera_info" />
</include>
<node name="rviz"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment