Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
raulmur committed Mar 30, 2016
1 parent 0492f4a commit 27eaac5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Examples/ROS/ORB_SLAM2/src/ros_stereo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ int main(int argc, char **argv)

ImageGrabber igb(&SLAM);

if(argv[3])
{
igb.do_rectify = true;
stringstream ss(argv[3]);
ss >> boolalpha >> igb.do_rectify;

if(igb.do_rectify)
{
// Load settings related to stereo calibration
cv::FileStorage fsSettings(argv[2], cv::FileStorage::READ);
if(!fsSettings.isOpened())
Expand Down

0 comments on commit 27eaac5

Please sign in to comment.