Skip to content

Commit

Permalink
Update ROSImageStreamThread.cpp
Browse files Browse the repository at this point in the history
fixed P camera info....
  • Loading branch information
JakobEngel committed Sep 25, 2014
1 parent bfe5fa6 commit 08a6506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lsd_slam_core/src/IOWrapper/ROS/ROSImageStreamThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ void ROSImageStreamThread::infoCb(const sensor_msgs::CameraInfoConstPtr info)
if(!haveCalib)
{
fx_ = info->P[0];
fy_ = info->P[4];
fy_ = info->P[5];
cx_ = info->P[2];
cy_ = info->P[5];
cy_ = info->P[6];

if(fx_ == 0 || fy_==0)
{
Expand Down

0 comments on commit 08a6506

Please sign in to comment.