Commit ae1a6d1 Benjamin Maidel
authored
File tree 4 files changed +14
-7
lines changed
4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 2
2
<launch >
3
3
4
4
<arg name =" robot" default =" $(optenv ROBOT !!NO_ROBOT_SET!!)" />
5
+ <arg name =" pkg_hardware_config" default =" $(find cob_hardware_config)" />
5
6
<arg name =" camera_name" default =" usb_cam" />
6
7
7
8
<node name =" $(arg camera_name)" pkg =" usb_cam" type =" usb_cam_node" output =" screen" >
8
- <param name =" video_device" value =" /dev/video0" />
9
- <param name =" image_width" value =" 2048" />
10
- <param name =" image_height" value =" 1536" />
11
- <param name =" pixel_format" value =" yuyv" />
12
- <param name =" camera_frame_id" value =" $(arg camera_name)_link" />
13
- <param name =" framerate" value =" 3.5" /> <!-- at 2048x1536 3.6hz is maximum on hw -->
14
9
<param name =" camera_name" value =" $(arg camera_name)" />
10
+ <param name =" camera_frame_id" value =" $(arg camera_name)_link" />
15
11
<param name =" camera_info_url" value =" package://cob_calibration_data/$(arg robot)/calibration/cameras/$(arg camera_name).yaml" />
12
+ <rosparam command =" load" file =" $(arg pkg_hardware_config)/$(arg robot)/config/$(arg camera_name).yaml" />
16
13
</node >
17
14
18
15
</launch >
Original file line number Diff line number Diff line change
1
+ video_device : " /dev/video0"
2
+ image_width : 2048
3
+ image_height : 1536
4
+ pixel_format : yuyv
5
+ framerate : 3.5 # at 2048x1536 3.6hz is maximum on hw
Original file line number Diff line number Diff line change
1
+ video_device : " /dev/video0"
2
+ image_width : 1280
3
+ image_height : 960
4
+ pixel_format : yuyv
5
+ framerate : 10
Original file line number Diff line number Diff line change 1
1
diagnostics_name : head_cam
2
2
topics : [/head_cam/camera_info]
3
- hz : 3.5
3
+ hz : 10.0
4
4
hzerror : 1
You can’t perform that action at this time.
0 commit comments