Skip to content

Commit

Permalink
Updated some example config.
Browse files Browse the repository at this point in the history
  • Loading branch information
mktk1117 committed Dec 4, 2023
1 parent 79a123c commit ed0f049
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 11 deletions.
35 changes: 29 additions & 6 deletions elevation_mapping_cupy/config/core/example_setup.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,41 @@
#### Plugins ########
plugin_config_file: '$(rospack find elevation_mapping_cupy)/config/core/plugin_config.yaml'

#### Channel Fusions ########
pointcloud_channel_fusions:
rgb: 'color' # 'color' fusion is used for the 'rgb' channel
default: 'average' # 'average' fusion is used for channels not listed here

image_channel_fusions:
rgb: 'color' # 'color' fusion is used for the 'rgb' channel
default: 'exponential' # 'exponential' fusion is used for channels not listed here
feat_.*: 'exponential' # 'exponential' fusion is also used for any channel starting with 'feat_' Regular expressions can be used for channel names

#### Subscribers ########
# sensor_name:
# channels: ['feat_0','feat_1']
# fusion: ['average','average']
# topic_name: '/elevation_mapping/pointcloud_semantic'
# pointcloud_sensor_name:
# topic_name: '/sensor/pointcloud_semantic'
# data_type: pointcloud # pointcloud or image
#
# image_sensor_name:
# topic_name: '/camera/image_semantic'
# data_type: image # pointcloud or image
# camera_info_topic_name: '/camera/depth/camera_info'
# channel_info_topic_name: '/camera/channel_info'


subscribers:
front_cam:
channels: ['rgb' ]
fusion: [ 'color']
topic_name: '/camera/depth/points'
data_type: pointcloud
color_cam: # for color camera
topic_name: '/camera/rgb/image_raw'
camera_info_topic_name: '/camera/depth/camera_info'
data_type: image
semantic_cam: # for semantic images
topic_name: '/front_cam/semantic_image'
camera_info_topic_name: '/front_cam/camera/depth/camera_info_resized'
channel_info_topic_name: '/front_cam/channel_info'
data_type: image

#### Publishers ########
# topic_name:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,4 @@ front_cam_image:
show_label_legend: False
image_topic: "/camera/rgb/image_raw"
image_info_topic: "/camera/depth/camera_info"
resize: 0.5

# sem_seg_topic: "semantic_front"
# sem_seg_image_topic: "semantic_image_front"

resize: 0.5

0 comments on commit ed0f049

Please sign in to comment.