Skip to content

Commit

Permalink
Added configs for SFU dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
ancientbees authored and ancientbees committed Sep 28, 2016
1 parent 80744bb commit 37667c4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion svo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# user build settings

SET(TRACE TRUE)
SET(HAVE_G2O FALSE)
SET(HAVE_G2O TRUE)
SET(USE_ROS TRUE) # Set FALSE if you want to build this package without Catkin
SET(DEBUG_OUTPUT FALSE) # Only relevant if build without ROS

Expand Down
21 changes: 21 additions & 0 deletions svo_ros/launch/svo_sfu.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<launch>

<node pkg="svo_ros" type="vo" name="svo" clear_params="true" output="screen">

<!-- Camera topic to subscribe to -->
<param name="cam_topic" value="/camera/image_raw" type="str" />

<!-- Camera calibration file -->
<rosparam file="$(find svo_ros)/param/camera_sfu.yaml" />

<!-- Default parameter settings: choose between vo_fast and vo_accurate -->
<rosparam file="$(find svo_ros)/param/vo_accurate.yaml" />

<!-- Initial camera orientation, make it point downwards -->
<param name="init_rx" value="1.57" />
<param name="init_ry" value="0.00" />
<param name="init_rz" value="0.00" />

</node>

</launch>
11 changes: 11 additions & 0 deletions svo_ros/param/camera_sfu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
cam_model: Pinhole
cam_width: 752
cam_height: 480
cam_fx: 370.013128
cam_fy: 370.591069
cam_cx: 376.019643
cam_cy: 243.559521
cam_d0: -0.266126
cam_d1: 0.053003
cam_d2: -0.001336
cam_d3: 0.000365

0 comments on commit 37667c4

Please sign in to comment.