mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-27 05:29:32 +00:00
Launch-file for the bottom camera
This commit is contained in:
20
clever/camera_info/fisheye_cam.yaml
Normal file
20
clever/camera_info/fisheye_cam.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
image_width: 2592
|
||||
image_height: 1944
|
||||
distortion_model: pinhole
|
||||
camera_name: raspicam
|
||||
camera_matrix:
|
||||
rows: 3
|
||||
cols: 3
|
||||
data: [1.34689524e+03, 0., 1.30767920e+03, 0., 1.35094361e+03, 9.60238450e+02, 0.0e+00, 0.0e+00, 1.0]
|
||||
distortion_coefficients:
|
||||
rows: 1
|
||||
cols: 8
|
||||
data: [1.11718277e+00, 4.70912345e-01, -2.16258281e-04, 1.71516924e-04, 2.32202095e-02, 1.46837794e+00, 7.92173021e-01, 1.19647684e-01]
|
||||
rectification_matrix:
|
||||
rows: 3
|
||||
cols: 3
|
||||
data: [1, 0, 0, 0, 1, 0, 0, 0, 1]
|
||||
projection_matrix:
|
||||
rows: 3
|
||||
cols: 4
|
||||
data: [1.34689524e+03, 0., 1.30767920e+03, 0., 0., 1.35094361e+03, 9.60238450e+02, 0., 0., 0., 1., 0.]
|
||||
14
clever/launch/bottom_camera.launch
Normal file
14
clever/launch/bottom_camera.launch
Normal file
@@ -0,0 +1,14 @@
|
||||
<launch>
|
||||
<!-- the bottom facing camera -->
|
||||
|
||||
<!-- TODO: use quaternion for orientation -->
|
||||
<node pkg="tf2_ros" type="static_transform_publisher" name="bottom_camera_frame" args="0 0 0 -1.5707963 0 3.1415926 fcu bottom_camera"/>
|
||||
|
||||
<node pkg="cv_camera" type="cv_camera_node" name="bottom_camera">
|
||||
<param name="frame_id" value="bottom_camera"/>
|
||||
<param name="camera_info_url" value="file://$(find clever)/camera_info/fisheye_cam.yaml"/>
|
||||
<param name="rate" value="30"/>
|
||||
<param name="image_width" value="320"/>
|
||||
<param name="image_height" value="240"/>
|
||||
</node>
|
||||
</launch>
|
||||
Reference in New Issue
Block a user