-
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
Jetson Xavier AGX/NX will always fail with d435, why? #1287
Comments
the same steps on x86_64 worked also with d400 |
/07 17:20:16,664 WARNING [547364323712] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61 |
Hi @AndreV84 |
Hi @RealSenseSupport This was originally a D435 discussion that made reference in one of its comments to L515 and T265 (as @AndreV84 also has an L515 and T265 - they are not having problems with the T265 though). It has now been split by @AndreV84 into two separate cases to make it easier to handle: D435 only on this one, and L515 only on the link below. As you have taken on this D435 case @RealSenseSupport I will leave it in your very capable hands. :) |
thank you for the update! |
there are issues implementing ros2-foxy-librealsense2 instruction https://github.com/intel/ros2_intel_realsense/tree/refactor#install-ros2_intel_realsense-from-source won't work command sudo apt-get install ros-foxy-librealsense2 wouldn't find apt package building from sources would return multiple errors, e.g. CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): |
The "control_transfer returned error" message in itself does not predict a real error. I see in your reference thread : https://forums.developer.nvidia.com/t/realsensed400-camera-can-not-work-on-jetson-xavier-nx/125138/18 that the issue is that the camera is not found in following runs. Is that true? If so it would be very helpful to state clearly somewhere, maybe even in the topic. As for the foxy version, it is not maintained in this repository. You should report the issue in ros2_intel_realsense repository although I don't think foxy is supported by the wrapper, as ubuntu 20.04 is not yet officially supported by librealsense2. |
@doronhi Thank you for your response.
|
Well, I guess I misunderstood your post here and it reminded me of other issues. If it is still relevant to this repository, could you clarify what the problem is then? Librealsense2 is not officially supported for Ubuntu 20.04 as you can see in the list of supported systems of the latest release. I heard it builds well on Ubuntu 20.04 but it may still lack some kernel patches and it is not officially tested by Intel. That's why I didn't suppose Intel officially supported a wrapper in an environment not officially supported for the library. |
@doronhi Thank you for following up,
errors like that
|
Another issue:
|
ubuntu 18.04 is not supported? supported but not for arm? |
It will help if you split your questions to several issues. That way it will be clearer and different people could respond to different questions. As for the "control_transfer returned error" message, you can see my answer here. As for "Exception was thrown during user processing callback", this is a general question. Are you running realsense2_camera wrapper? if so it may help to have a full log up until the messages start appearing. Otherwise you should consult the librealsense2's issues
Supported by whom? librealsense2 supports ubuntu18.04 and arm. |
Hello @doronhi , |
Just to make it clear.
docker build . -t docker build . -t test_librealsense otherwise less updated version can be executed with one single command |
now list of errors and discrepancies;
major:
|
so I am doing as per the error suggestion
|
so I am just doing
|
from one non-wroking state it derived into another non-working state
|
the issue is not new to me; I had to get it previously when building the librealsense-sdk from sources; It was mitigated with using the apt repository provided librealsense that you dropped from being published, as I understand |
with ROS2 the situation is different; librealsense builds and works from within docker container; ros wrapper fails;
|
Thanks for your detailed log files. |
I specifically connected d435 as of the two it is te only supported by nvidia isaac; Errors are: CMake Error at /opt/ros/foxy/share/rosidl_generator_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rmw/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rmw/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rmw/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rmw/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_connext_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_fastrtps_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rcpputils/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rcpputils/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_c/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_c/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_introspection_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_introspection_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_introspection_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_introspection_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_typesupport_cpp/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_generator_py/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_generator_py/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_generator_py/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/rosidl_generator_py/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/builtin_interfaces/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/builtin_interfaces/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:39 (get_target_property): CMake Error at /opt/ros/foxy/share/std_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:43 (get_target_property): Failed <<< realsense_msgs [8.58s, exited with code 1] Summary: 0 packages finished [10.3s] |
system wide [ not docker] arm; d435 connected [ not i]
|
are you able to help out with the particular error below? on arm? within or outside of docker? Neither? Both? |
is it considered a working state? |
As mentioned, for now, if this message appears several times at the beginning and not continuously during the run, it is considered a working state. Do you see any issues with the streams? |
Thank you for following up! |
@MartyG-RealSense |
resolved with powering off then powering on |
@MartyG-RealSense
|
@AndreV84 I cannot take on questions related to L515 or T265. |
gotcha! |
@MartyG-RealSense
But when we run rostopic list , there are no /camera/infra* topics published. |
@AndreV84 Please add the commands below to the end of your roslaunch instruction to publish the infra topics. enable_infra1:=true enable_infra2:=true |
where could we download a ros realsense release that is compatible with realsnse sdk 2.42.0? the github only has published the latest release that supports 2.43.0 |
@MartyG-RealSense are earlier ros realsense releases availabl efor download somehow? |
You can choose the wrapper version from the wrapper releases page. SDK 2.42.0 should be matched with ROS wrapper 2.2.22. https://github.com/IntelRealSense/realsense-ros/releases/tag/2.2.22 A link to download the wrapper version's source code can be found in the Assets file list at the bottom of the listing. |
Oh yeah, 2.2.22 introduced a new system where it uses the camera's default configuration unless you define the stream height, width and FPS in the launch instruction when defining a custom configuration. |
I believe it would be like this: enable_infra1:=true enable_infra2:=true infra1_width:=640 infra1_height:=480 infra1_fps:=30.0 infra2_width:=640 infra2_height:=480 infra2_fps:=30.0 |
There was a RealSense ROS user who modified the wrapper's code to add a new supported format. Otherwise though, assume that infrared will use Y8. The High Speed Capture white paper shows that 300 FPS infrared 1 and 2 with Y8 format is possible, though I have not seen it used in ROS. |
There is a typo in your stream definitions. It is 848x100 but you used 840. So the wrapper used the camera's default configuration instead of your custom one. 256x144 is a resolution that is used for calibration by the On-Chip calibrator. It zooms into the central 20% of the image. Laser Auto is an obsolete mode. I would recommend using either '0' (Off) or '1' (Laser - the On state). Gain is adjustable during runtime with dynamic_reconfigure. If you only need to set the gain once, it could also be defined in a json configuration file that is loaded at launch. |
Try emitter_enabled:=false or defining the false state as a rosparam in the launch file:
|
Someone else who had problems with the emitter being on after setting it to Off disabled it in the base node instead. |
@AndreV84 I am sorry, I do not know the answer to that question. |
@MartyG-RealSense |
@MartyG-RealSense
|
https://docs.microsoft.com/en-us/cpp/linux/connect-to-your-remote-linux-computer?view=msvc-160
https://github.com/IntelRealSense/librealsense/tree/master/tools/terminal |
@MartyG-RealSense
|
@AndreV84 GVD refers to commands related to camera details. The link below describes the data fields of GVD: I could not find a description of what the abbreviation GVD stands for or a list of hex commands. |
@MartyG-RealSense
running with :
|
sorted out with using 1 instead of true |
@AndreV84 Great, thanks for letting me know :) |
@MartyG-RealSense |
@AndreV84 This question has been responded to at IntelRealSense/librealsense#10984 (comment) - thanks! |
steps to reproduce
docker run -it --rm --net=host -e DISPLAY=$DISPLAY --ipc=host --privileged -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /tmp/argus_socket:/tmp/argus_socket --cap-add SYS_PTRACE iad.ocir.io/idso6d7wodhe/jetson_nx/librealsense1ros /bin/bash -c '. /opt/ros/melodic/setup.bash; source devel/setup.bash; roslaunch realsense2_camera rs_camera.launch'
reference thread : https://forums.developer.nvidia.com/t/realsensed400-camera-can-not-work-on-jetson-xavier-nx/125138/18
reference Docker file:
`FROM nvcr.io/nvidia/l4t-base:r32.4.2
RUN apt-get update -y
RUN apt install -y wget software-properties-common apt-utils curl git
RUN /bin/bash -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list'
RUN apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key
RUN apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
RUN add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
RUN apt-get update -y
ENV TZ America/Los_Angeles
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata git curl cmake wget mc mlocate
RUN DEBIAN_FRONTEND="noninteractive" apt install -y ros-melodic-desktop clang-format ros-melodic-desktop-full python-pip python3-pip python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
RUN apt update -y
#RUN rm -rf /var/lib/apt/lists
RUN apt-get install -y librealsense2-dev librealsense2-utils
RUN apt install -y ros-melodic-ddynamic-reconfigure
RUN dpkg-reconfigure --frontend noninteractive tzdata
RUN rm -rf /var/lib/apt/lists
WORKDIR /home/nvidia/ws
RUN mkdir src && cd src && git clone https://github.com/intel-ros/realsense.git -b development
RUN rosdep init && rosdep update
RUN /bin/bash -c '. /opt/ros/melodic/setup.bash; cd /home/nvidia/ws; rosdep install --from-paths src --ignore-src; catkin_make'`
The text was updated successfully, but these errors were encountered: