-
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
failed to set power state #6120
Comments
There has been a similar still-open case recently with this error on a multi-camera setup on a discussion. I recommend adding a comment there in order to collect the information of affected users together in one place. Thanks! |
This case will be closed after 7 days from the time of writing this message if there are no further comments. Thanks! |
@dheera in the same boat, with just one camera. Did you find a fix? |
I had a similar problem on Raspberry Pi OS, using pyrealsense2 and the D435i I was opening two pipelines, one for the camera and one for the IMU. Starting the camera didn't give any problems, but when starting the IMU, right after, there was an error message "failed to set power state". After may software and hardware attempts, I solved it in a trivial way... I added 500ms pause between the two starting. You might start the first D415, wait 500ms and then open the second D415... Good luck! |
Hello @stino78, I have the same problem. How did you add the pause between the starting of the cameras? |
I just put a pause between the opening of the two pipelines in the code,
like half a second
…On Wed, Nov 17, 2021, 18:17 rythm07 ***@***.***> wrote:
Hello @stino78 <https://github.com/stino78>, I have the same problem. How
did you add the pause between the starting of the cameras?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADYMIIJNUADZZJDB5UEEUUDUMPPR7ANCNFSM4LSGBKQA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Ah ok thanks @stino78, but I did not saw that you are using pyrealsense2. I'm using ROS so I think I have to find a different way |
I am not sure, but both ROS and pyrealsense should be wrappers of the same
C++ code, so the solution might be the same.
Also, the version of the SDK might matter A LOT.... at a certain point they
change the access method to the device, check that
Good luck!
…On Wed, Nov 17, 2021 at 12:51 PM rythm07 ***@***.***> wrote:
Ah ok thanks @stino78 <https://github.com/stino78>, but I did not saw
that you are using pyrealsense2. I'm using ROS so I think I have to find a
different way
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADYMIIPKXKPBA6SWLGOMIYLUMPTTTANCNFSM4LSGBKQA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
oh ok i didn't know that. |
I have tried to stream both my D415 cameras simultaneously. In the initialization, the first camera is getting initialized perfectly fine but the second camera gives me this error: failed to set power state
Any idea?
The text was updated successfully, but these errors were encountered: