D435 example code problems
-
- Camera Model: D435
- Firmware Version: 5.11.6
- Operating System Version: Ubuntu Mate 18.04
- Kernel Version (Linux Only): 4.15
- Platform: Raspberry Pi 3B
- SDK Version: 2.24.0
- Language: python3/ C++
- Python code (such as python-tutorial-1-depth.py) fails with:
void librealsense::pipeline::pipeline::unsafe_start(std::shared_ptr<librealsense::pipeline::config>): Assertion ‘profile->_multistream.get_profiles().size() > 0’ failed. This failure occurs when the python code runs the line "profile = pipe.start()". - Running c++ code such as rs-capture or hello-realsense also results in same errors that also point towards the pipeline failing. I would like to ask what I could do to proceed. Thanks for your consideration.
-
Hi, thanks for the help!
Here's the output.
Device info:
Name : Intel RealSense USB2
Serial Number : 915112070746
Firmware Version : 05.11.06.250
Recommended Firmware Version : 05.11.06.250
Physical Port : /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/video4linux/video0
Debug Op Code : 15
Advanced Mode : YES
Product Id : 0AD6
Usb Type Descriptor : 2.1
Product Line : D400
Asic Serial Number : 901313020365Stream Profiles supported by Stereo Module
Supported modes:
stream resolution fps format
Infrared 1 1280x720 @ 6Hz Y8
Infrared 1 640x480 @ 30Hz Y8
Infrared 1 640x480 @ 15Hz Y8
Infrared 1 640x480 @ 6Hz Y8
Infrared 1 480x270 @ 60Hz Y8
Infrared 1 480x270 @ 30Hz Y8
Infrared 1 480x270 @ 15Hz Y8
Infrared 1 480x270 @ 6Hz Y8
Depth 1280x720 @ 6Hz Z16
Depth 640x480 @ 30Hz Z16
Depth 640x480 @ 15Hz Z16
Depth 640x480 @ 6Hz Z16
Depth 480x270 @ 60Hz Z16
Depth 480x270 @ 30Hz Z16
Depth 480x270 @ 15Hz Z16
Depth 480x270 @ 6Hz Z16 -
Btw, as additional information, I built librealsense with
"cmake ../ -DBUILD_EXAMPLES=true"I also built pyrealsense from source since pip install pyrealsense2 resulted in:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyrealsense2
ERROR: Could not find a version that satisfies the requirement pyrealsense2 (from versions: none)
ERROR: No matching distribution found for pyrealsense2 -
Hi Marcjjchoo,
Can you please tell me if you followed these instructions exactly?
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_raspbian.md
Regards,
Alexandra
Please sign in to leave a comment.


Comments
7 comments