9 int main(
int argc,
char * argv[])
try 33 std::cout <<
"The camera is facing an object " << dist_to_center <<
" meters away \r";
43 catch (
const std::exception& e)
frameset wait_for_frames(unsigned int timeout_ms=RS2_DEFAULT_TIMEOUT) const
GLint GLint GLsizei GLsizei GLsizei depth
depth_frame get_depth_frame() const
const std::string & get_failed_args() const
GLint GLsizei GLsizei height
float get_distance(int x, int y) const
int main(int argc, char *argv[])
const std::string & get_failed_function() const