Skip to content
Snippets Groups Projects
Commit d6c5e7ff authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Topics prefixed with camera_name

parent c51cdda2
Branches master
No related tags found
No related merge requests found
rate: 60.0 rate: 10.0
horizontal_fov: 1.047 horizontal_fov: 1.047
image_width: 640 image_width: 1280
image_height: 480 image_height: 720
image_format: 'R8G8B8' image_format: 'R8G8B8'
clip_near: 0.2 clip_near: 0.2
clip_far: 100.0 clip_far: 100.0
noise_type: 'gaussian' noise_type: 'gaussian'
noise_mean: 0.0 noise_mean: 0.0
noise_stddev: 0.007 noise_stddev: 0.007
image_topic_name: '/camera/color/image_raw' #camera_name passed in xacro is added as prefix to the following topics
camera_info_topic_name: '/camera/color/camera_info' image_topic_name: 'color/image_raw'
depth_image_topic_name: '/camera/depth/image_rect_raw' camera_info_topic_name: 'color/camera_info'
point_cloud_topic_name: '/camera/depth_registered/points' depth_image_topic_name: 'aligned_depth_to_color/image_raw'
depth_image_camera_info_topic_name: '/camera/depth/camera_info' point_cloud_topic_name: 'aligned_depth_to_color/points'
depth_image_camera_info_topic_name: 'aligned_depth_to_color/camera_info'
point_cloud_cut_off: 0.4 point_cloud_cut_off: 0.4
hack_baseline: 0.007 hack_baseline: 0.007
cx_prime: 0.0 cx_prime: 0.0
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</include> </include>
<param name="robot_description" <param name="robot_description"
command="$(find xacro)/xacro --inorder '$(find iri_realsense_camera_description)/urdf/realsense_example.xacro' name:=$(arg node_name)" /> command="$(find xacro)/xacro --inorder '$(find iri_realsense_depth_description)/urdf/realsense_example.xacro' name:=$(arg node_name)" />
<node pkg="robot_state_publisher" type="robot_state_publisher" name="realsense_tf_broadcaster"> <node pkg="robot_state_publisher" type="robot_state_publisher" name="realsense_tf_broadcaster">
<param name="tf_prefix" type="string" value="$(arg node_name)"/> <param name="tf_prefix" type="string" value="$(arg node_name)"/>
......
...@@ -33,11 +33,11 @@ ...@@ -33,11 +33,11 @@
<updateRate>${properties['rate']}</updateRate> <updateRate>${properties['rate']}</updateRate>
<cameraName>${name}</cameraName> <cameraName>${name}</cameraName>
<frameName>${name}_color_optical_frame</frameName> <frameName>${name}_color_optical_frame</frameName>
<imageTopicName>${properties['image_topic_name']}</imageTopicName> <imageTopicName>/${name}/${properties['image_topic_name']}</imageTopicName>
<cameraInfoTopicName>${properties['camera_info_topic_name']}</cameraInfoTopicName> <cameraInfoTopicName>/${name}/${properties['camera_info_topic_name']}</cameraInfoTopicName>
<depthImageTopicName>${properties['depth_image_topic_name']}</depthImageTopicName> <depthImageTopicName>/${name}/${properties['depth_image_topic_name']}</depthImageTopicName>
<pointCloudTopicName>${properties['point_cloud_topic_name']}</pointCloudTopicName> <pointCloudTopicName>/${name}/${properties['point_cloud_topic_name']}</pointCloudTopicName>
<depthImageCameraInfoTopicName>${properties['depth_image_camera_info_topic_name']}</depthImageCameraInfoTopicName> <depthImageCameraInfoTopicName>/${name}/${properties['depth_image_camera_info_topic_name']}</depthImageCameraInfoTopicName>
<pointCloudCutoff>${properties['point_cloud_cut_off']}</pointCloudCutoff> <pointCloudCutoff>${properties['point_cloud_cut_off']}</pointCloudCutoff>
<hackBaseline>${properties['hack_baseline']}</hackBaseline> <hackBaseline>${properties['hack_baseline']}</hackBaseline>
<CxPrime>${properties['cx_prime']}</CxPrime> <CxPrime>${properties['cx_prime']}</CxPrime>
......
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