-
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
fatal: You need to specify a tag name. #1110
Comments
You cannot install kernel patches on Jetson. In the Jetson installation guide: https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md, it says to install librealsense2-utils and librealsense2-dev but not librealsense2-dkms. For the same reason, the script will not work there. |
By "can't install kernel patches on jetson " does this include manual installation ? if i change "FORCE_RSUSB_BACKEND = true." will the installation work for me , through manual installation ? and if so where i can find (FORCE_RSUSB_BACKEND = true.) . |
The NVidia's linux is built as one unit and so doesn't allow patches.
|
My friend can you tell me the steps I need to follow for making this work , I just want to install libreasense with a version stable enough to install ROs_wrapper package . For days I was digging in this issue and there is a lot of complexity , between building the Kerenl for the UVC and then you do it through manual installation but it didn't work and the process take a lot of time . |
I am sorry if I made it unclear and for the trouble you've been through. Make Ubuntu up to date (I believe you already did):
Clone librealsense github repository: Prepare Linux Backend and the Dev. Environment: Run Intel Realsense permissions script located from librealsense root directory: Building librealsense2 SDK: In which stage did thing went wrong? |
I went wrong on this stage : and I forget to mention that in the manual procedure whem it say check the new UVCvideo driver by the command (sudo dmesg | tail -n 50) it show nothing. so I think the line (./scripts/patch-realsense-ubuntu-lts.sh) is important for updating the kernel and include UVC driver . Note Im using Ubuntu 16.04 |
I followed the instruction you listed up and after I run :Realsesne_viewer I got warning : 09/03 16:11:38,684 WARNING [547748827600] (uvc-device.cpp:664) interrupt event received: 1, 3, 0, 7, 0, 0, I'm getting warning related to UVC and libusb , how to solve them ??? However, I continued the process by installing ROS kinetic and then install realsense-ros , but i run into compile problem : `nvidia@jetson-0324917251038:~/catkin_ws$ catkin_make Running command: "make cmake_check_build_system" in "/home/nvidia/catkin_ws/build"Running command: "make -j4 -l4" in "/home/nvidia/catkin_ws/build"[ 0%] Built target std_msgs_generate_messages_py |
The warning message "interrupt event received" can be ignored and indeed will be removed in future versions. The compilation error suggest you link with an older version of librealsense2. Is it possible that you have an older version installed? (maybe Regarding the command |
nvidia@tegra-ubuntu:~/catkin_ws$ catkin_make clean Running command: "cmake /home/nvidia/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/nvidia/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/nvidia/catkin_ws/install -G Unix Makefiles" in "/home/nvidia/catkin_ws/build"-- Using CATKIN_DEVEL_PREFIX: /home/nvidia/catkin_ws/devel The following configuration files were considered but not accepted:
CMake Error at realsense-ros/realsense2_camera/CMakeLists.txt:39 (message): Intel RealSense SDK 2.0 is missing, please install it from https://github.com/IntelRealSense/librealsense/releases -- Configuring incomplete, errors occurred! WARNING: apt does not have a stable CLI interface. Use with caution in scripts. librealsense2/xenial,now 2.28.1-5ubuntu5 |
It says you still has librealsense2 versions 2.28.1 and also version 2.31.0. |
unbelievable it's so hard and has a lot of errors, you solve one problem just to jump in another on. it's like there is no win solution at all, shall I give up on this camera or what? troubleshoot these issues is really time-consuming!! Mr. doronhi , I will try with the solution you provided |
apt list --installed | grep librealsense2 :- dia@tegra-ubuntu:~$ apt list --installed | grep librealsense2 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. librealsense2-udev-rules/xenial,now 2.28.1-5ubuntu5~1.gbpb2a8ce arm64 [installed,auto-removable] and it didn't work asking for V2.32.1 `Make Warning at realsense-ros/realsense2_camera/CMakeLists.txt:37 (find_package): Could not find a package configuration file provided by "realsense2"
Add the installation prefix of "realsense2" to CMAKE_PREFIX_PATH or set CMake Error at realsense-ros/realsense2_camera/CMakeLists.txt:39 (message): Intel RealSense SDK 2.0 is missing, please install it from https://github.com/IntelRealSense/librealsense/releases -- Configuring incomplete, errors occurred! |
even if I want to downgrade Ros_Wrapper there is no single release supporting V2.28.1, whatever package I'm using I got compile error "You have this version and you need that version ". |
@q8wwe , I am so sorry for the frustration and difficulties you are going through. You are right that no package should be so hard to install. It is true that on Jetson machine it sometimes is more tricky but your case seems quite the extreme and I am sorry about it. As far as I understand it, the situation on your machine is like so:
As for the built version, I assume that at the end of the build process you ran 'sudo make install'. To make sure, please open a new terminal and type |
I rebuilt librealsense on jetson TX2 and installed Ros wrapper I got the below warnings/errors. Note : I tested the same on normal PC (desktop dell optiplex i7) with No GPU , libreasense installed through debian and I didn't face the same warnings/errors I got on Jetson TX2. please advice . #libreasense version : WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ros-kinetic-librealsense2/xenial,now 2.31.0-1xenial-20191214-072450+0000 arm64 [installed] 13/03 15:47:00,000 WARNING [548201988560] (uvc-device.cpp:664) interrupt event received: 1, 3, 0, 7, 0, 0, 13/03 15:47:09,601 WARNING [548179100112] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61` #warning and errors from : roslaunch realsense2_camera rs_camera.launch filters:=pointcloud `[ WARN] [1584103870.532427600]: Hardware Notification:USB REC overflow,1.5841e+12,Error,Hardware Error 13/03 15:51:10,557 WARNING [547356668304] (uvc-device.cpp:664) interrupt event received: 1, 3, 0, 7, 0, 23, 13/03 15:51:11,143 WARNING [547390222736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61 [ WARN] [1584103871.553157555]: Hardware Notification:IR stream start failure,1.5841e+12,Error,Hardware Error` 13/03 15:55:56,923 ERROR [546660413840] (synthetic-stream.cpp:48) Exception was thrown during user processing callback! |
First, you have an older installation, v2.31.0, of librealsense2. It doesn't seem to cause any harm but you better remove it: The "Out of frame resources!" message and the "Exception...processing callback!" could be related to the "IR stream failure" but more often they are related to lack of system resources - the app can't keep up with the incoming flow of images. For that you can reduce frame rate and resolution. |
As suggested I removed V2.31.0 (sudo apt purge ros-kinetic-librealsense2) and I I lowered th frames to 15 fps : messenger-libusb : is continous warning . for IR stream start failure : I lowered the frames and reset (initial_reset:=true question about "messenger-libusb" is it safe warning !! |
If the message "messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11" is continuous, that is appears multiple times per second, then it is not good. It suggest a real communication problem between the code and the device and can have effects. Can you add a log showing that? |
Hi @q8wwe, Do you still need help with this question? |
by log do you mean terminal info flow ? `nvidia@jetson-0324917251038:~$ roslaunch realsense2_camera rs_d435_camera_with_model.launch started roslaunch server http://jetson-0324917251038:39501/ SUMMARYPARAMETERS
NODES auto-starting new master setting /run_id to 798beba2-7371-11ea-994b-00044ba7dc33 [ INFO] [1585674183.779898483]: Device with physical ID 2-1-3 was found. |
Can you please share with us your launch file? |
Do you still need help with this question? |
Jeston TX2 J3.3.2
Kernel : 4.4.159-tegra
while following the steps on installing librealsense ,my kernel didn't build after comand : (./scripts/patch-realsense-ubuntu-lts.sh )
`Remove all RealSense cameras attached. Hit any key when ready
Reading package lists... Done
Building dependency tree
Reading state information... Done
bc is already the newest version (1.06.95-9build1).
build-essential is already the newest version (12.1ubuntu2).
git is already the newest version (1:2.7.4-0ubuntu1.7).
linux-headers-generic is already the newest version (4.4.0.174.182).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Package required libusb-1.0-0-dev: - found
Package required libssl-dev: - found
Create patches workspace in ubuntu-xenial-master folder
Fetching Ubuntu LTS tag to the local kernel sources folder
fatal: You need to specify a tag name.
`
The text was updated successfully, but these errors were encountered: