-
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
ROS1 Wrapper support for D405? #2582
Comments
Hi @SprAJR The D405 is supported by the ros2-development wrapper but not the ros1-legacy wrapper. Updates for the ros1-legacy wrapper have ceased and there are not plans to add D405 support to it, unfortunately. The librealsense 2.51.1 SDK added official support for D405 and the camera had improvements over 2.50.0, where D405 was unsupported but still able to work. For example, the 'disparity shift' option for changing the camera's minimum depth sensing distance did not work in 2.50.0 but did in 2.51.1. As far as I am aware the D405 has not been tested with the combination of ros1-legacy and SDK 2.51.1. Whilst 2.51.1 is similar enough to 2.50.0 to likely be able to work with the final ros1-legacy wrapper that was designed for 2.50.0 (as 2.51.1 is mostly bug-fixes rather than new features), I do not have the expectation that using 2.51.1 with ros1-legacy would make a difference to D405 support. You are of course welcome to try a wrapper 2.3.2 / librealsense 2.51.1 combination to confirm this though. |
Hello @MartyG-RealSense, thanks for the scoop. I will give the 2.51.1 sdk a go in a bit and will update the community. |
Hi @SprAJR Do you have an update about this case that you can provide, please? Thanks! |
Hello @MartyG-RealSense, please excuse the delay due to being away. I was not able to get wrapper 2.3.2 and librealsense 2.51.1 to work with the D405.
|
Thanks very much @SprAJR for the update. As the ros1-legacy wrapper is no longer updated, I do not have any further suggestions for enabling the D405 to work with it unfortunately. |
Actually, upon further review, the fix is as simple as suggested in #2297. The only change in that commit is to change the PID for the D405 in the constants.h include from:
To: It works now! |
Just got this awesome, compact D405. We depend on ROS1 Noetic for the time being. I assume the D405 post-dates development from the ROS1-legacy branch? Any ideas on workarounds? Thanks!
s######@############:~$ roslaunch realsense2_camera rs_camera.launch
... logging to /home/s######/.ros/log/46793c14-7fc2-11ed-a543-11ef8158cda8/roslaunch-############-39693.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://############:46719/
SUMMARY
PARAMETERS
NODES
/camera/
realsense2_camera (nodelet/nodelet)
realsense2_camera_manager (nodelet/nodelet)
ROS_MASTER_URI=http://localhost:11311
process[camera/realsense2_camera_manager-1]: started with pid [39718]
process[camera/realsense2_camera-2]: started with pid [39719]
[ INFO] [1671470966.899091952]: Initializing nodelet with 12 worker threads.
[ INFO] [1671470967.018836794]: RealSense ROS v2.3.2
[ INFO] [1671470967.018863138]: Built with LibRealSense v2.50.0
[ INFO] [1671470967.018873357]: Running with LibRealSense v2.50.0
[ INFO] [1671470967.050357110]:
[ INFO] [1671470967.156025840]: Device with serial number 127122270432 was found.
[ INFO] [1671470967.156073107]: Device with physical ID 2-1-7 was found.
[ INFO] [1671470967.156090174]: Device with name Intel RealSense D405 was found.
[ INFO] [1671470967.156805812]: Device with port number 2-1 was found.
[ INFO] [1671470967.156846429]: Device USB type: 3.2
[FATAL] [1671470967.156909224]: Unsupported device! Product ID: 0x0B5B
[camera/realsense2_camera_manager-1] process has died [pid 39718, exit code 1, cmd /opt/ros/noetic/lib/nodelet/nodelet manager __name:=realsense2_camera_manager __log:=/home/s######/.ros/log/46793c14-7fc2-11ed-a543-11ef8158cda8/camera-realsense2_camera_manager-1.log].
log file: /home/s######/.ros/log/46793c14-7fc2-11ed-a543-11ef8158cda8/camera-realsense2_camera_manager-1*.log
[camera/realsense2_camera-2] process has finished cleanly
log file: /home/s######/.ros/log/46793c14-7fc2-11ed-a543-11ef8158cda8/camera-realsense2_camera-2*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
The text was updated successfully, but these errors were encountered: