Gazebo resources: Tutorials | Q&A | Documentation | Blog

Camera::WorldPointOnPlane()


#1

In Camera::WorldPointOnPlane(), why there is a comparison with -1.0:

if (!ignition::math::equal(dist, -1.0))

I cannot figure out the reason for comparing the distance to -1.0. This distance is in world coordinate frame. What does -1.0 mean?