Skip to content

Commit

Permalink
[jsk_pr2_startup] Add pr2_png_level.yaml to set image compressedDepth…
Browse files Browse the repository at this point in the history
… png_level
  • Loading branch information
Kanazawanaoaki committed Jan 24, 2025
1 parent 9bb6122 commit 4207d74
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
59 changes: 59 additions & 0 deletions jsk_pr2_robot/jsk_pr2_startup/config/pr2_png_level.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Check each node png_level by the following command
# for f in $(rosparam list | grep png_level); do echo "$f: $(rosparam get $f)"; done

# Set png_level to 5 according to the following information
# https://github.com/start-jsk/jsk_apc/pull/2706
# https://gist.github.com/iory/12dda33908024223be74cb03f19997b5

kinect_head:
depth:
image:
disable_pub_plugins:
- 'image_transport/compressed'
- 'image_transport/theora'
compressedDepth:
png_level: 5
image_raw:
disable_pub_plugins:
- 'image_transport/compressed'
- 'image_transport/theora'
compressedDepth:
png_level: 5
image_rect:
disable_pub_plugins:
- 'image_transport/compressed'
- 'image_transport/theora'
compressedDepth:
png_level: 5
image_rect_raw:
disable_pub_plugins:
- 'image_transport/compressed'
- 'image_transport/theora'
compressedDepth:
png_level: 5
depth_registered:
hw_registered:
image_rect:
disable_pub_plugins:
- 'image_transport/compressed'
- 'image_transport/theora'
compressedDepth:
png_level: 5
image_rect_raw:
disable_pub_plugins:
- 'image_transport/compressed'
- 'image_transport/theora'
compressedDepth:
png_level: 5
image:
disable_pub_plugins:
- 'image_transport/compressed'
- 'image_transport/theora'
compressedDepth:
png_level: 5
image_raw:
disable_pub_plugins:
- 'image_transport/compressed'
- 'image_transport/theora'
compressedDepth:
png_level: 5
2 changes: 2 additions & 0 deletions jsk_pr2_robot/jsk_pr2_startup/pr2.launch
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
file="$(find jsk_pr2_startup)/jsk_pr2_sensors/kinect_head.launch" >
<arg name="monitor_driver" value="true" /> <!-- iory 2022/05/11-->
</include>
<!-- Set image compressedDepth png_leve to 5 -->
<rosparam file="$(find jsk_pr2_startup)/config/pr2_png_level.yaml" command="load"/>

<!-- logging node for PR2 -->
<include if="$(arg launch_db)"
Expand Down

0 comments on commit 4207d74

Please sign in to comment.