- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all!
I am running into some trouble trying to run the Intel SDK sample for the 3D cameras on a Macbook Pro 15" 2015 Model running Ubuntu 16.04. I installed all of th dependencies and optional packages successfully and downloaded the source code from the repository.
1) Tried to compile the samples from source (which succeeded), but I get the following error:
leandrogil@trinity92-macbook-ubuntu:~/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/build$ ./pt_tutorial_3
terminate called after throwing an instance of 'std::runtime_error'
what(): camera is not support requested format
Aborted (core dumped)
leandrogil@trinity92-macbook-ubuntu:~/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/build$
Next, I compiled this sample with debugging symbols and ran the gdb debugger on it:
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <</span> http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<</span> http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<</span> http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pt_tutorial_3...done.
(gdb) run
Starting program: /home/leandrogil/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/build/pt_tutorial_3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffea3cb700 (LWP 18084)]
terminate called after throwing an instance of 'std::runtime_error'
what(): camera is not support requested format
Thread 1 "pt_tutorial_3" received signal SIGABRT, Aborted.
0x00007ffff28cd428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace
# 0 0x00007ffff28cd428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
# 1 0x00007ffff28cf02a in __GI_abort () at abort.c:89
# 2 0x00007ffff2f0684d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
# 3 0x00007ffff2f046b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
# 4 0x00007ffff2f04701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
# 5 0x00007ffff2f04919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
# 6 0x0000000000406a51 in pt_utils::ConfigureCamera (this=this@entry=0x7fffffffce60, device=0x71a7c0)
at /home/leandrogil/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/../common/utils/pt_utils.hpp:139
# 7 0x00000000004074df in pt_utils::init_camera (this=0x7fffffffce60, actualConfig=...)
at /home/leandrogil/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/../common/utils/pt_utils.hpp:326
# 8 0x0000000000403513 in main (argc=, argv=)
at /home/leandrogil/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/cpp/main.cpp:29
(gdb) exit
Undefined command: "exit". Try "help".
(gdb) quit
A debugging session is active.
Inferior 1 [process 18080] will be killed.
Quit anyway? (y or n) y
leandrogil@trinity92-macbook-ubuntu:~/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/build$
The program crashes at the following line in the main.cpp file:
...
// Initializing Camera and Person Tracking modules
if(pt_utils.init_camera(actualModuleConfig) != rs::core::status_no_error)
{
...
This init_camera(actualModuleConfig) call can be traced back to the common/utils/pt_utils.hpp file, where it references the following function/lines:
...
rs::core::video_module_interface::actual_module_config ConfigureCamera (rs::device* device)
{
...
if (streamModeNb >= streamModeCount)
{
throw runtime_error("camera is not support requested format");
}
...
}
...
Somewhere in this function I added the following line for debugging purposes, so that I can get the values with which it is trying to initialize the camera:
</...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using Librealsense, a general manual exposure and auto-exposure seems to be supported for both SR300 and R200 camera with the RS_OPTION_COLOR_EXPOSURE and RS_OPTION_COLOR_ENABLE_AUTO_EXPOSURE instructions. But instructions for fine-controlling the direction of the exposure seem to be limited to the R200 camera only.
Instead of fine-control over exposure, the SR300 instead has auto-range instructions.
https://software.intel.com/sites/products/realsense/camera/rs_8h.html Intel® RealSense™ Cross Platform API (librealsense): /Users/mcurfman/ws/Linux_SDK/realsense_documentation/librealsense/s…
The article is lengthy, so it is easiest to find the relevant instructions by doing a Find on the page for 'auto'.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using Librealsense, a general manual exposure and auto-exposure seems to be supported for both SR300 and R200 camera with the RS_OPTION_COLOR_EXPOSURE and RS_OPTION_COLOR_ENABLE_AUTO_EXPOSURE instructions. But instructions for fine-controlling the direction of the exposure seem to be limited to the R200 camera only.
Instead of fine-control over exposure, the SR300 instead has auto-range instructions.
https://software.intel.com/sites/products/realsense/camera/rs_8h.html Intel® RealSense™ Cross Platform API (librealsense): /Users/mcurfman/ws/Linux_SDK/realsense_documentation/librealsense/s…
The article is lengthy, so it is easiest to find the relevant instructions by doing a Find on the page for 'auto'.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page