-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usage of rs2.log_to_file() in python #3350
Comments
Hi @SchotmanG |
Thanks for the quick response. I pulled and build the repo using the description here https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python. I am running my programs in a conda environment and have troubles on how import the pyrealsense library now.. In the guide I linked above it says:
I could find the following files in my
Copying them next to my script and exporting the pythonpath still results in an ImportError.. |
Hi SchotmanG, For your question about importing pyrealsense library, you should found the python wrapper related libraries under build/wrapper/python directory. Regarding to your original questions, I used RS 2.19.0 release source code, which contains the fixes dorodnic pointed out. Hope this can be helpful. Cheers! |
Hi SchotmanG, Do you get any updates on this one? Thanks! |
Hi SchotmanG, Do you still need help on this one? Thanks! |
Issue Description
Hi,
We are trying to extract the point-clouds from bag files. But we run in to 2 problems:
During extraction of certain point-clouds (different frames / bag files) we run into a RunTimeError during
pc.calculate(depth_frame)
.The error message states there is a log file but we are unable to locate this file. We saw there was a function rs2.log_to_file() but the documentation for this using the python wrapper is scarce and we can't figure out the inputs for the function..
Any help is appreciated!
Here the code:
The text was updated successfully, but these errors were encountered: