Skip to content

Commit

Permalink
Fixed documentation in frustum_culling for transforming to robot coor…
Browse files Browse the repository at this point in the history
…dinates
  • Loading branch information
Stephen committed Mar 29, 2013
1 parent 7ebbebd commit 8c2dd7f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions filters/include/pcl/filters/frustum_culling.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,14 @@ namespace pcl
* coordinate system (X right, Y down, Z forward), one can use:
*
* \code
* Eigen::Matrix4f pose = //pose in camera coordinates
* Eigen::Matrix3f cam2robot;
* cam2robot << 0, 0, 1,
* 0, -1, 0,
* 1, 0, 0;
* pose.block (0, 0, 3, 3) = cam2robot.block (0, 0, 3, 3) * pose.block (0, 0, 3, 3); //rotate
* Eigen::Matrix4f pose_orig = //pose in camera coordinates
* Eigen::Matrix4f cam2robot;
* cam2robot << 0, 0, 1, 0
* 0,-1, 0, 0
* 1, 0, 0, 0
* 0, 0, 0, 1;
* Eigen::Matrix4f pose_new = pose_orig * cam2robot;
* fc.setCameraPose (pose_new);
* \endcode
*/
void
Expand Down

0 comments on commit 8c2dd7f

Please sign in to comment.