-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added hdr camera settings and compression
- Loading branch information
RobinSchmid7
committed
Jan 5, 2024
1 parent
fb9d35f
commit bf5c81f
Showing
5 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
wild_visual_navigation_ros/config/wild_visual_navigation/inputs/hdr.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
camera_topics: | ||
front: | ||
image_topic: "/hdr_camera/image_raw" | ||
info_topic: "/hdr_camera/camera_info" | ||
use_for_training: true | ||
publish_confidence: true | ||
publish_input_image: true | ||
|
||
# Provides 1080 (height) x 1920 (width) images | ||
network_input_image_height: 448 # 448 | ||
network_input_image_width: 448 # 448 |
11 changes: 11 additions & 0 deletions
11
wild_visual_navigation_ros/config/wild_visual_navigation/inputs/hdr_compressed.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
camera_topics: | ||
front: | ||
image_topic: "/hdr_camera/image_raw/compressed" | ||
info_topic: "/hdr_camera/camera_info" | ||
use_for_training: true | ||
publish_confidence: true | ||
publish_input_image: true | ||
|
||
# Provides 1080 (height) x 1920 (width) images | ||
network_input_image_height: 448 # 448 | ||
network_input_image_width: 448 # 448 |
11 changes: 11 additions & 0 deletions
11
wild_visual_navigation_ros/config/wild_visual_navigation/inputs/hdr_resize.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
camera_topics: | ||
front: | ||
image_topic: "/hdr_camera/image_raw_resize" | ||
info_topic: "/hdr_camera_resize/camera_info" | ||
use_for_training: true | ||
publish_confidence: true | ||
publish_input_image: true | ||
|
||
# Provides 1080 (height) x 1920 (width) images | ||
network_input_image_height: 224 # 448 | ||
network_input_image_width: 224 # 448 |
14 changes: 14 additions & 0 deletions
14
wild_visual_navigation_ros/launch/resize_images_hdr.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<launch> | ||
<!-- Launch the image_proc nodelet --> | ||
<node pkg="nodelet" type="nodelet" name="standalone_nodelet" args="manager"/> | ||
<node pkg="nodelet" type="nodelet" name="image_proc_nodelet_hdr" args="load image_proc/resize standalone_nodelet"> | ||
<remap from="camera_info" to="/hdr_camera/camera_info" /> | ||
<remap from="~camera_info" to="/hdr_camera_resize/camera_info" /> | ||
<remap from="image" to="/hdr_camera/image_color" /> | ||
<remap from="~image" to="/hdr_camera/image_color_resize" /> | ||
<param name="scale_width" value="0.2074077" /> | ||
<param name="scale_height" value="0.2074077" /> | ||
</node> | ||
<node name="dynparam_width_hdr" pkg="dynamic_reconfigure" type="dynparam" args="set /image_proc_nodelet_hdr scale_width 0.2074077" /> | ||
<node name="dynparam_height_hdr" pkg="dynamic_reconfigure" type="dynparam" args="set /image_proc_nodelet_hdr scale_height 0.2074077" /> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters