-
Notifications
You must be signed in to change notification settings - Fork 1.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
Device 1/1 failed with exception: failed to set power state #2450
Comments
Hi @jwson97 It looks as though you are using the old ros2 branch of the RealSense ROS2 wrapper from the link below and not the current ros2_beta wrapper, as you are performing a https://github.com/IntelRealSense/realsense-ros/tree/ros2 My understanding is that a Method 1 package installation does not include CUDA support and so would not be the best choice for a Jetson board. I would recommend instead installing the librealsense SDK and ROS wrapper separately if you wish to benefit from CUDA acceleration of color conversion, depth-color alignment and pointclouds. May I also ask whether you first installed the librealsense SDK before using Method 1? Because Method 1 installs both librealsense and the ROS wrapper from packages together at the same time, it would be installing librealsense a second time if it had already been installed, which could create conflicts between the two SDK installations. |
Hi @jwson97 Do you require further assistance with this case, please? Thanks! |
Sorry for late response. After several attempts, I was able to solve this problem. Thank you. |
Thanks very much @jwson97 for the update! As you achieved a solution, I will close this case. Thanks again! |
Could you please share the solution, as I am facing the same issue? |
same issue in docker,begging for solution |
Hi @HowieHepburn A RealSense ROS user with Docker and ROS2 Humble on a Jetson Orin was able to resolve the 'Failed to set power state' error by running an udevadm command outside of Docker, as described at IntelRealSense/librealsense#10693 (comment) |
邮件已收到
|
hi, I met same question!could you tell me the solution?thanks a lot |
Hi @102hit Which librealsense version and firmware driver version are you using, please? Thanks! |
I am having this same problem. However, it appears that the realsense is functioning correctly. I have output from all three cameras and the IMU.
|
Hi @AlexKlimaj The only other case with that error that I could find is at NVIDIA-ISAAC-ROS/isaac_ros_visual_slam#91 and involved a RealSense D455 camera. That case did not have a clear solution, however. But if your camera is performing normally despite the messages then it is likely to be safe to ignore them. |
I did what you noted . Firstly I installed the librealsense SDK --version 2.5 , and I could see the camera picture (color and depth) through realsense-viewer ; Then I installed the realsense_ros , type " sudo apt-get install ros-melodic-realsense2-camera" . But finally , " roslaunch realsense2_camera rs_camera.launch " did not work . What should I do now? |
Had same issue, installing librealsense on top of ros noetic docker, that's how I fixed it: Installed librealsense and realsense-ros with: # LibRealsense2
# realsense ros: https://github.com/IntelRealSense/realsense-ros
# realsense git: https://github.com/IntelRealSense/librealsense/blob/development/doc/distribution_linux.md
# realsense docker: https://github.com/IntelRealSense/librealsense/tree/master/scripts/Docker
RUN mkdir -p /etc/apt/keyrings
RUN curl -sSf https://librealsense.intel.com/Debian/librealsense.pgp | tee /etc/apt/keyrings/librealsense.pgp > /dev/null
RUN echo "deb [signed-by=/etc/apt/keyrings/librealsense.pgp] https://librealsense.intel.com/Debian/apt-repo `lsb_release -cs` main" | tee /etc/apt/sources.list.d/librealsense.list
RUN apt-get update -y
RUN apt-get install -y --no-install-recommends librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-udev-rules
RUN apt install -y --no-install-recommends ros-noetic-realsense2-* After installation your udev rules should be here: Alternatively you can copy it manually from librealsense master branch: They do this during docker installation: Then reload udev rules - run inside docker (on each host reboot, or on each container start for simplicity) sudo apt install -y --no-install-recommends udev
sudo /lib/systemd/systemd-udevd --daemon
sudo udevadm control --reload-rules && sudo udevadm trigger |
I installed ROS2 foxy on jetson orin (jetpack 5.0.1)
and installed ros realsens2-camera
sudo apt-get install ros-$ROS_DISTRO-realsense2-camera
When I tried to run as below
ros2 launch realsense2_camera rs_launch.py
I got error
[realsense2_camera_node-1] [WARN] [1660699467.825580159] [camera.camera]: Device 1/1 failed with exception: failed to set power state
[realsense2_camera_node-1] [ERROR] [1660699467.825682049] [camera.camera]: The requested device with is NOT found. Will Try again.
when I check camera is detected
$ lsusb
Bus 002 Device 012: ID 8086:0b3a Intel Corp.
Bus 002 Device 003: ID 0781:5595 SanDisk Corp.
Bus 002 Device 002: ID 0bda:0420 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0bda:5420 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
Bus 001 Device 002: ID 13d3:3549 IMC Networks Bluetooth Radio
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
What is the problem?
The text was updated successfully, but these errors were encountered: