Unable to connect my LiDAR L515 to my Mac #12244
Replies: 5 comments 2 replies
-
Hi @littlefred117 Could you first try unplugging the micro-sized end of the USB cable from the base of the L515 camera, reversing the connector's orientation and plugging it back into the camera, please (USB-C cables are two-way insertion at the micro-sized end). Does doing so make any difference? |
Beta Was this translation helpful? Give feedback.
-
Is the camera problem only occurring in Python or does realsense-viewer also no longer work, please? |
Beta Was this translation helpful? Give feedback.
-
Both, in Python my I get a runtime error that my device is not connected, and on RealSense Viewer (when I plug the device in) I get these errors: |
Beta Was this translation helpful? Give feedback.
-
If you did not make any installation changes before the sudden failure then it sounds as though it may be a non-fixable camera hardware failure unfortunately. If you purchased your L515 camera within the past year then in that case I would recommend contacting the retailer that you purchased the camera from to enquire about returning it. |
Beta Was this translation helpful? Give feedback.
-
It's great to hear that the camera worked on another device. Do you still receive the error if you instead use the longer import instruction below:
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to establish a pipeline between my Mac and my LiDAR L515, and when I originally plugged the camera in, the RGB and sensor mode were working. I had to "sudo real sense-viewer" into RealSense, otherwise it would crash, but generally everything else was working. I then ran this code:
import pyrealsense2 as rs
import numpy as np
Initialize the RealSense pipeline
pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 30)
config.enable_stream(rs.stream.color, 640, 480, rs.format.rgb8, 30)
Add point cloud stream
config.enable_stream(rs.stream.points, 640, 480, rs.format.xyz32f, 30)
Start the pipeline with the given configuration
pipeline.start(config)
try:
while True:
# Wait for a frame
frames = pipeline.wait_for_frames()
finally:
# Stop the pipeline
pipeline.stop()
and from here it stopped working. The code would not compile because it said a device was not connected. Whenever I go to my RealSense, I get these errors: UNKNOWN in rs2_get_option(options:0x600003df9400, option:Brightness): failed to set power state. I was wondering if anyone could help.
Beta Was this translation helpful? Give feedback.
All reactions