Skip to content

Commit

Permalink
Update retificationMatrix -> rectificationMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
drdanz committed Jun 28, 2021
1 parent 2ec2770 commit 09c2502
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/depthCamera/src/DepthCameraDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ bool GazeboYarpDepthCameraDriver::getDepthIntrinsicParam(Property& intrinsic)

Distortion* distModel;
DepthCamera* camPtr;
Value retM;
Value rectM;

intrinsic.put("physFocalLength", 0.0);
camPtr = m_depthCameraSensorPtr->DepthCamera().get();
Expand Down Expand Up @@ -361,7 +361,7 @@ bool GazeboYarpDepthCameraDriver::getDepthIntrinsicParam(Property& intrinsic)
}

}
intrinsic.put("retificationMatrix", retM.makeList("1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0"));
intrinsic.put("rectificationMatrix", rectM.makeList("1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0"));
intrinsic.put("distortionModel", "plumb_bob");
intrinsic.put("stamp", m_colorTimestamp.getTime());
return true;
Expand Down
4 changes: 2 additions & 2 deletions plugins/multicamera/src/MultiCameraDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ bool yarp::dev::GazeboYarpMultiCameraDriver::getRgbIntrinsicParam(yarp::os::Prop
intrinsic.put("principalPointY", m_height[0]/2);
}
}
yarp::os::Value retM;
intrinsic.put("retificationMatrix", retM.makeList("1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0"));
yarp::os::Value rectM;
intrinsic.put("rectificationMatrix", rectM.makeList("1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0"));
intrinsic.put("distortionModel", "plumb_bob");
intrinsic.put("stamp", m_lastTimestamp[0].getTime());
return true;
Expand Down

0 comments on commit 09c2502

Please sign in to comment.