Skip to content

Commit

Permalink
change output video to compressed
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhuang committed Jul 6, 2017
1 parent 2cfa6fb commit 88f9738
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions launch/clm_ros_wrapper.launch
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@

<node name="usb_cam_0" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video1" />
<param name="image_width" value="1024" /> <!-- 1024, 1280 -->
<param name="image_height" value="576" /> <!-- 576, 720-->
<param name="image_width" value="1280" /> <!-- 1024, 1280 -->
<param name="image_height" value="720" /> <!-- 576, 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand Down Expand Up @@ -155,8 +155,8 @@
<group if="true">
<node name="usb_cam_1" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video0" />
<param name="image_width" value="1024" /> <!-- 640, 1280 -->
<param name="image_height" value="576" /> <!-- 480, 720-->
<param name="image_width" value="1280" /> <!-- 1024, 640, 1280 -->
<param name="image_height" value="720" /> <!-- 576, 480, 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand All @@ -174,7 +174,7 @@
<param name="bitrate" value="128"/>
</node>
<node pkg="rosbag" type="record" name="rosbag_record_mm"
args="--split --duration=10m -o $(find sar_core)/logs/rosbags/rosbag_mm /usb_cam_1/image_raw /audio"/> <!-- /sar/perception/left_cam/usb_cam_2/image_raw -->
args="--split --duration=10m -o $(find sar_core)/logs/rosbags/rosbag_mm /usb_cam_1/image_raw/compressed /audio"/> <!-- /sar/perception/left_cam/usb_cam_2/image_raw -->
</group>

</launch>
4 changes: 2 additions & 2 deletions launch/clm_ros_wrapper_record.launch
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<group if="true">
<node name="usb_cam_1" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video0" />
<param name="image_width" value="1024" /> <!-- 640, 1280 -->
<param name="image_height" value="576" /> <!-- 480, 720-->
<param name="image_width" value="1280" /> <!-- 640, 1280 -->
<param name="image_height" value="720" /> <!-- 480, 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand Down
4 changes: 2 additions & 2 deletions launch/face_recognition_initializer.launch
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

<node name="usb_cam_2" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video1" />
<param name="image_width" value="1024" /> <!-- 1280 -->
<param name="image_height" value="576" /> <!-- 720-->
<param name="image_width" value="1280" /> <!-- 1280 -->
<param name="image_height" value="720" /> <!-- 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand Down
4 changes: 2 additions & 2 deletions launch/face_recognition_predict.launch
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@

<node name="usb_cam_2" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video1" />
<param name="image_width" value="1024" /> <!-- 1280 -->
<param name="image_height" value="576" /> <!-- 720-->
<param name="image_width" value="1280" /> <!-- 1280 -->
<param name="image_height" value="720" /> <!-- 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand Down
4 changes: 2 additions & 2 deletions launch/face_recognition_train_predict.launch
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@

<node name="usb_cam_2" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video1" />
<param name="image_width" value="1024" /> <!-- 1280 -->
<param name="image_height" value="576" /> <!-- 720-->
<param name="image_width" value="1280" /> <!-- 1280 -->
<param name="image_height" value="720" /> <!-- 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand Down
4 changes: 2 additions & 2 deletions launch/face_recognition_two_faces_assessment_dad.launch
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@

<node name="usb_cam_0" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video1" />
<param name="image_width" value="1024" /> <!-- 1280 -->
<param name="image_height" value="576" /> <!-- 720-->
<param name="image_width" value="1280" /> <!-- 1280 -->
<param name="image_height" value="720" /> <!-- 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand Down
4 changes: 2 additions & 2 deletions launch/face_recognition_two_faces_assessment_mom.launch
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@

<node name="usb_cam_0" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video1" />
<param name="image_width" value="1024" /> <!-- 1280 -->
<param name="image_height" value="7576" /> <!-- 720-->
<param name="image_width" value="1280" /> <!-- 1280 -->
<param name="image_height" value="720" /> <!-- 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand Down
4 changes: 2 additions & 2 deletions launch/single_face_recognition_assessment.launch
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@

<node name="usb_cam_2" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video1" />
<param name="image_width" value="1024" /> <!-- 1280 -->
<param name="image_height" value="576" /> <!-- 720-->
<param name="image_width" value="1280" /> <!-- 1280 -->
<param name="image_height" value="720" /> <!-- 720-->
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
Expand Down

0 comments on commit 88f9738

Please sign in to comment.