7 int main(
int argc,
char * argv[])
try 29 std::cout <<
"\r" <<
"Device Position: " << std::setprecision(3) << std::fixed << pose_data.translation.x <<
" " <<
30 pose_data.translation.y <<
" " << pose_data.translation.z <<
" (meters)";
40 catch (
const std::exception& e)
frameset wait_for_frames(unsigned int timeout_ms=RS2_DEFAULT_TIMEOUT) const
int main(int argc, char *argv[])
const std::string & get_failed_args() const
void enable_stream(rs2_stream stream_type, int stream_index, int width, int height, rs2_format format=RS2_FORMAT_ANY, int framerate=0)
const std::string & get_failed_function() const