GithubHelp home page GithubHelp logo

jetsonhacksnano / installlibrealsense Goto Github PK

View Code? Open in Web Editor NEW
149.0 8.0 66.0 73 KB

Build and install Intel's librealsense for the NVIDIA Jetson Nano Developer Kit

License: MIT License

Shell 100.00%
jetson-nano librealsense realsense-sdk realsense-camera

installlibrealsense's People

Contributors

jetsonhacks avatar jetsonhacksnano avatar tomasz-lewicki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

installlibrealsense's Issues

patchUbuntu.sh fails with errors about "corrupted" kernel source archive

kernel/kernel-4.9/fs/xfs/xfs_stats.c
kernel/kernel-4.9/fs/xfs/xfs_qm_syscalls.c
kernel/kernel-4.9/fs/xfs/xfs_trans_priv.h
kernel/kernel-4.9/fs/xfs/xfs_mru_cache.c
kernel/kernel-4.9/fs/xfs/xfs_ioctl.h
kernel/kernel-4.9/fs/xfs/xfs_message.h
kernel/kernel-4.9/fs/xfs/xfs_trans.c
kernel/kernel-4.9/fs/xfs/xfs_iomap.h
kernel/kernel-4.9/fs/xfs/xfs_aops.c

bzip2: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
	Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
bash: scripts/config: No such file or directory

Just to save some time for anyone who might see the same error - this is NOT an issue with the patchUbuntu.sh (or getKernelSources.sh, or any other scripts), but with the bzip2 package update in Ubuntu. You can follow this thread for more details:

https://devtalk.nvidia.com/default/topic/1056381/jetson-agx-xavier/jetpack-4-2-xavier-install-failed/post/5355914/#5355914

A simple (but unsecure!) workaround is to temporarily downgrade bzip2 package (for U18):

sudo apt install bzip2=1.0.6-8.1 libbz2-1.0=1.0.6-8.1

patch kernel, and then update the bzip2 to the latest version:

sudo apt install bzip2 libbz2-1.0

Jetson Xavier Python Library not importing.

Describe the issue
Describe the issue that you are having.

NVIDIA Jetson Hardware
Other: Jetson Xavier NX

L4T / JetPack Version
Which version of L4T/JetPack are you using? For example, L4T 32.6.1/JetPack 4.6

** Software version**
Please list the relevant software versions, for example OpenCV
Python 3.6.9

To Reproduce
For example, what command line did you run?
The installlibrealsense and buildlibrealsense both scripts executed successfully. The realsense viewer is available. However
importing pyrealsense2 is failing in both the python version.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, for example error logs

ISO C and ISO C++ warnings when building realsense

I'm trying to build librealsense 2.33.1 with CUDA on (I modified the script to target 2.33.1). When I run it and it starts building, I keep getting warnings such as:

/home/unmnd/librealsense/third-party/glfw/src/x11_init.c:613:42: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
         _glfw.x11.xcursor.ImageDestroy = (PFN_XcursorImageDestroy)

or

/usr/include/libusb-1.0/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^

What is causing these errors? Should I try building without CUDA? Change some of the build flags?

No depth view

After installing librealsense script with -c option on nano, running the patch script, and launching the realsense viewer app with Intel RealSense Depth Camera D435, I got many warning messages and no RGB module and no Depth stream under Stereo module.

Warning message from command line
19/05 23:20:40,537 WARNING [548239978096] (sensor.cpp:365) Unregistered Media formats : [ UYVY ]; Supported: [ GREY UYVY Y8I Z16 ]
RealSense

App warning message
Current firmware version: 05.09.02.00
Minimal firmware version: 05.10.03.00

Error message when enabling Depth stream
Incomplete video frame detected/No frames received

installLibrealsense.sh build failing with "No CMAKE_CUDA_COMPILER could be found"

CMakeFiles/CMakeError.log

Compiling the CUDA compiler identification source file "CMakeCUDACompilerId.cu" failed.
Compiler: CMAKE_CUDA_COMPILER-NOTFOUND 
Build flags: 
Id flags:  -v;--keep;--keep-dir;tmp

The output was:
No such file or directory


Compiling the CUDA compiler identification source file "CMakeCUDACompilerId.cu" failed.
Compiler: CMAKE_CUDA_COMPILER-NOTFOUND 
Build flags: 
Id flags:  -v;--keep;--keep-dir;tmp

The output was:
No such file or directory

Jetson Nano use JetPack 4.4 ./buildLibrealsense.sh Error

Is installLibrealsense is not suport JetPack 4.4??

CMAKE VERSION:cmake-3.17

It's use Jetson Nano use JetPack 4.4 installl ./buildLibrealsense.sh Error

Configuring Make system
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Internet connection identified
CMake Deprecation Warning at CMakeLists.txt:10 (MESSAGE):
FORCE_LIBUVC, FORCE_WINUSB_UVC and ANDROID_USB_HOST_UVC are deprecated , use
FORCE_RSUSB_BACKEND instead

-- Info: REALSENSE_VERSION_STRING=2.31.0
-- Setting Unix configurations
-- Info: Building with CUDA requires CMake v3.8+
CMake Error at /usr/local/share/cmake-3.17/Modules/CMakeDetermineCUDACom piler.cmake:25 (message):
Could not find compiler set in environment variable CUDACXX:

/usr/local/cuda-10.0/bin/nvcc.

Call Stack (most recent call first):
CMake/cuda_config.cmake:3 (project)
CMake/global_config.cmake:61 (include)
CMakeLists.txt:44 (global_set_flags)

CMake Error: CMAKE_CUDA_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/jetson/librealsense/build/CMakeFiles/CMakeOutput.log".
Building librealsense, headers, tools and demos
make: *** No targets specified and no makefile found. Stop.

real 0m0.005s
user 0m0.000s
sys 0m0.000s
librealsense did not build
Retrying ...
make: *** No targets specified and no makefile found. Stop.

real 0m0.005s
user 0m0.004s
sys 0m0.000s
librealsense did not successfully build
Please fix issues and retry build

Space problem and L4T32.2.0

Is it okay that before running patch script there was around 20 GB free space on the SD card, but after patching there are only 5 GB left. Maybe I should clean something.

Could you help me, because I have only 32 GB SD card.

I also have another question , is it possible top run patching with L4T 32.2.0?? Or only with 32.2.1?? Because I got the error on another SD card , where I have L4T 32.2.0 and when I am running the patching script I am getting error about L4T mismatching.

Or maybe someone now how is it possible to update L4T?

Thank you!
Regards,

D435i ros-wrapper unstable and crash base on jetson nano,

[ INFO] [1587093001.067961095]: Initializing nodelet with 4 worker threads.
[ INFO] [1587093001.352782130]: RealSense ROS v2.2.11
[ INFO] [1587093001.352886622]: Running with LibRealSense v2.31.0
[ INFO] [1587093001.725060607]:
17/04 11:10:02,277 WARNING [547561193856] (types.cpp:49) hwmon command 0x4f failed. Error type: No data to return (-21).
[ INFO] [1587093002.330385056]: Device with serial number 947122070521 was found.

[ INFO] [1587093002.330522365]: Device with physical ID 2-1.3-6 was found.
[ INFO] [1587093002.330628056]: Device with name Intel RealSense D435I was found.
[ WARN] [1587093002.337918928]: Error extracting usb port from device with physical ID: 2-1.3-6
Please report on github issue at https://github.com/IntelRealSense/realsense-ros
[ INFO] [1587093002.345399826]: getParameters...
[ INFO] [1587093002.444041871]: setupDevice...
[ INFO] [1587093002.444127247]: JSON file is not provided
[ INFO] [1587093002.444185640]: ROS Node Namespace: camera
[ INFO] [1587093002.444246377]: Device Name: Intel RealSense D435I
[ INFO] [1587093002.444293258]: Device Serial No: 947122070521
[ INFO] [1587093002.444337690]: Device physical port: 2-1.3-6
[ INFO] [1587093002.444391447]: Device FW version: 05.11.01.100
[ INFO] [1587093002.444437130]: Device Product ID: 0x0B3A
[ INFO] [1587093002.444501096]: Enable PointCloud: Off
[ INFO] [1587093002.444548915]: Align Depth: Off
[ INFO] [1587093002.444594962]: Sync Mode: Off
[ INFO] [1587093002.445238117]: Device Sensors:
[ INFO] [1587093002.445754693]: Stereo Module was found.
[ INFO] [1587093002.445914609]: RGB Camera was found.
[ INFO] [1587093002.446011861]: Motion Module was found.
[ INFO] [1587093002.446139065]: (Fisheye, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1587093002.446203396]: (Fisheye, 1) sensor isn't supported by current device! -- Skipping...
[ INFO] [1587093002.446253298]: (Fisheye, 2) sensor isn't supported by current device! -- Skipping...
[ INFO] [1587093002.446310336]: (Pose, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1587093002.446775656]: num_filters: 0
[ INFO] [1587093002.446836080]: Setting Dynamic reconfig parameters.
[ INFO] [1587093007.733984162]: Done Setting Dynamic reconfig parameters.
[ INFO] [1587093007.788406136]: depth stream is enabled - width: 640, height: 480, fps: 30, Format: Z16
[ INFO] [1587093007.789139975]: infra1 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
[ INFO] [1587093007.789736193]: infra2 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
[ INFO] [1587093007.841915916]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8
[ INFO] [1587093007.843135960]: setupPublishers...
[ INFO] [1587093007.848657568]: Expected frequency for depth = 30.00000
[ INFO] [1587093007.857428216]: Expected frequency for infra1 = 30.00000
[ INFO] [1587093007.861933659]: Expected frequency for infra2 = 30.00000
[ INFO] [1587093007.866169903]: Expected frequency for color = 30.00000
[ INFO] [1587093007.876578563]: setupStreams...
[ INFO] [1587093007.930999026]: insert Depth to Stereo Module
[ INFO] [1587093007.931538988]: insert Color to RGB Camera
[ INFO] [1587093007.931698903]: insert Infrared to Stereo Module
[ INFO] [1587093007.931797404]: insert Infrared to Stereo Module
[ INFO] [1587093007.931870538]: insert Gyro to Motion Module
[ INFO] [1587093007.931975811]: insert Accel to Motion Module
17/04 11:10:08,048 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
[ INFO] [1587093008.276969922]: SELECTED BASE:Depth, 0
[ INFO] [1587093008.317713629]: RealSense Node Is Up!
17/04 11:10:08,400 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
17/04 11:10:08,460 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
17/04 11:10:08,542 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
17/04 11:10:08,681 ERROR [547113386368] (uvc-streamer.cpp:106) uvc streamer watchdog triggered on endpoint: 132
17/04 11:10:08,724 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
17/04 11:10:08,905 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
17/04 11:10:08,986 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
17/04 11:10:09,050 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
17/04 11:10:09,488 WARNING [547432145280] (uvc-device.cpp:644) interrupt event received: 1, 3, 0, 7, 0, 23,
[ WARN] [1587093009.755832530]: Hardware Notification:IR stream start failure,1.58709e+12,Error,Hardware Error
[ERROR] [1587093009.756025314]: Hardware Reset is needed. use option: initial_reset:=true
17/04 11:10:09,760 WARNING [547440537984] (uvc-device.cpp:644) interrupt event received: 1, 3, 0, 7, 0, 9,
17/04 11:10:10,290 WARNING [547138564480] (messenger-libusb.cpp:83) usb_request_queue returned error, endpoint: 134 error: No such device, number: 19
17/04 11:10:10,290 ERROR [547138564480] (hid-device.cpp:153) failed to submit UVC request
17/04 11:10:10,290 WARNING [547432145280] (messenger-libusb.cpp:83) usb_request_queue returned error, endpoint: 135 error: No such device, number: 19
17/04 11:10:10,291 WARNING [547113386368] (messenger-libusb.cpp:83) usb_request_queue returned error, endpoint: 132 error: No such device, number: 19
17/04 11:10:10,291 ERROR [547113386368] (uvc-streamer.cpp:136) failed to submit UVC request, error: -13
17/04 11:10:10,291 WARNING [547113386368] (messenger-libusb.cpp:83) usb_request_queue returned error, endpoint: 132 error: No such device, number: 19
17/04 11:10:10,291 ERROR [547113386368] (uvc-streamer.cpp:136) failed to submit UVC request, error: -13
17/04 11:10:10,291 WARNING [546225090944] (messenger-libusb.cpp:83) usb_request_queue returned error, endpoint: 131 error: No such device, number: 19
17/04 11:10:10,291 ERROR [546225090944] (uvc-streamer.cpp:136) failed to submit UVC request, error: -13
17/04 11:10:10,291 WARNING [547088208256] (messenger-libusb.cpp:83) usb_request_queue returned error, endpoint: 130 error: No such device, number: 19
17/04 11:10:10,291 ERROR [547088208256] (uvc-streamer.cpp:136) failed to submit UVC request, error: -13
17/04 11:10:10,291 WARNING [547088208256] (messenger-libusb.cpp:83) usb_request_queue returned error, endpoint: 130 error: No such device, number: 19
17/04 11:10:10,291 ERROR [547088208256] (uvc-streamer.cpp:136) failed to submit UVC request, error: -13
17/04 11:10:10,291 WARNING [546225090944] (messenger-libusb.cpp:83) usb_request_queue returned error, endpoint: 131 error: No such device, number: 19
17/04 11:10:10,291 ERROR [546225090944] (uvc-streamer.cpp:136) failed to submit UVC request, error: -13
17/04 11:10:10,680 ERROR [547113386368] (uvc-streamer.cpp:106) uvc streamer watchdog triggered on endpoint: 132
17/04 11:10:10,680 WARNING [547113386368] (messenger-libusb.cpp:30) reset_endpoint returned error, index: 132, error: No such device, number: 19
17/04 11:10:10,766 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No such device, number: 19
17/04 11:10:10,776 ERROR [547331498368] (error-handling.cpp:68) Error during polling error handler: usb device disconnected
17/04 11:10:10,867 ERROR [547088208256] (uvc-streamer.cpp:106) uvc streamer watchdog triggered on endpoint: 130
17/04 11:10:10,867 WARNING [547088208256] (messenger-libusb.cpp:30) reset_endpoint returned error, index: 130, error: No such device, number: 19
^C 17/04 11:10:11,122 WARNING [547432145280] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No such device, number: 19
17/04 11:10:11,133 ERROR [547448930688] (global_timestamp_reader.cpp:188) Error during time_diff_keeper polling: usb device disconnected
[camera/realsense2_camera-3] killing on exit[camera/realsense2_camera_manager-2] killing on exit

^C 17/04 11:10:11,416 WARNING [547088208256] (messenger-libusb.cpp:96) usb_request_cancel returned error, endpoint: 130 error: No such device, number: 19
17/04 11:10:11,422 WARNING [547088208256] (messenger-libusb.cpp:96) usb_request_cancel returned error, endpoint: 130 error: No such device, number: 19
17/04 11:10:11,422 WARNING [547088208256] (messenger-libusb.cpp:30) reset_endpoint returned error, index: 130, error: No such device, number: 19
17/04 11:10:11,432 WARNING [546225090944] (messenger-libusb.cpp:96) usb_request_cancel returned error, endpoint: 131 error: No such device, number: 19
17/04 11:10:11,434 WARNING [546225090944] (messenger-libusb.cpp:96) usb_request_cancel returned error, endpoint: 131 error: No such device, number: 19
17/04 11:10:11,434 WARNING [546225090944] (messenger-libusb.cpp:30) reset_endpoint returned error, index: 131, error: No such device, number: 19
17/04 11:10:11,466 WARNING [547432145280] (messenger-libusb.cpp:96) usb_request_cancel returned error, endpoint: 135 error: No such device, number: 19
17/04 11:10:11,497 WARNING [547113386368] (messenger-libusb.cpp:96) usb_request_cancel returned error, endpoint: 132 error: No such device, number: 19
17/04 11:10:11,497 WARNING [547113386368] (messenger-libusb.cpp:96) usb_request_cancel returned error, endpoint: 132 error: No such device, number: 19
17/04 11:10:11,502 WARNING [547113386368] (messenger-libusb.cpp:30) reset_endpoint returned error, index: 132, error: No such device, number: 19
17/04 11:10:11,556 WARNING [547138564480] (messenger-libusb.cpp:96) usb_request_cancel returned error, endpoint: 134 error: No such device, number: 19
17/04 11:10:11,579 ERROR [548118739440] (handle-libusb.h:51) failed to open usb interface: 5, error: RS2_USB_STATUS_NO_DEVICEL4T 32.3.1
JetPack 4.3
Requires librealsense v2.31.0
Installs RealSense ROS Version = 2.2.11
17/04 11:10:11,579 ERROR [548118739440] (handle-libusb.h:51) failed to open usb interface: 5, error: RS2_USB_STATUS_NO_DEVICE

  • I have follow https://github.com/JetsonHacksNano/installRealSenseROS step by step , but my D435i ros-wrapper cannot work well, error log as above.
    realsense_viewer and rs-xxx cmd works well *

  • config as below:
    R32 (release), REVISION: 3.1, GCID: 18186506, BOARD: t210ref, EABI: aarch64, DATE: Tue Dec 10 06:58:34 UTC 2019
    RealSense ROS v2.2.11
    LibRealSense v2.31.0

is there someone give some suggestion ?

execution installLibrealsense.sh failed

I attempt to run installlibrealsense.sh into jetson.
but the result is
gpg: keyserver receive failed: No data.
and coudn't completed.
Maybe, recv-key is different of gpgkey.
So I import the correct key(C8B3A55A6F3EFCDE) myself

As a result, the execution of installLibrealsense.sh was successful.
Is the apt-key adv command in installLibrealsense.sh is the correct???

"time: not found"

Hello!

I try to use these scripts for install Librealsense on my Jetson Nano Board (microSD card was with just installed firmware). But, when I run the installLibrealsense.sh like:

sudo sh installLibrealsense.sh

the following error occurred:

installLibrealsense.sh: 115: installLibrealsense.sh: time: not found

And the installation is interrupted. I quickly dealt with this problem by simply installing the necessary package. Like:

sudo apt-get install time

I just advise to add verification to one of the scripts.

Copy image file to the boot directory

Where can I find the new image file mentioned below? Thanks!

If you compile the kernel and modules on a USB SSD, remember to copy the new Image to the /boot directory of the SD card which you boot from.

Build Fails in ./patchUbuntu.sh

After solving the bzip2 issue, I ran into this follow up problem with patchUbuntu.sh:

/usr/src/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c: In function ‘process_ctrl_msg’:
/usr/src/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c:867:11: error: ‘msg.msg_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   else if (msg.msg_id == CTRL_MSG_LINK_DOWN_ACK)
           ^
cc1: all warnings being treated as errors
scripts/Makefile.build:335: recipe for target 'drivers/net/ethernet/nvidia/pcie/tegra_vnet.o' failed
make[5]: *** [drivers/net/ethernet/nvidia/pcie/tegra_vnet.o] Error 1
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia/pcie' failed
make[4]: *** [drivers/net/ethernet/nvidia/pcie] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia' failed
make[3]: *** [drivers/net/ethernet/nvidia] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....

...

Makefile:1104: recipe for target 'drivers' failed
make: *** [drivers] Error 2

real	1m22.003s
user	2m35.044s
sys	0m28.496s
Make did not build 
Retrying ... 

...

Make did not successfully build
Please fix issues and retry build

I have very little idea as to what all this means, and I have not been able to work around it. This seems like an uncommon problem. Any ideas for how to fix it?

RGB and Depth Image not matching

Hello,

I'm trying to use the realsense camera to detect people and I recognized, that's the RGB image is smaller (height, width) than the depth image. You can also see it in the end of the tutorial video, that the images are not matching. Do you have a idea how to fix it?

realsense-viewer can't find realsense L515

Describe the issue
Librealsense was successfully installed following the guide.
However, the realsense-viewer can't find realsense L515.
And there is a warning said "Multiple realsense udev-rules were found".

NVIDIA Jetson Hardware
Jetson Nano

L4T / JetPack Version
latest on 2020/09/22

** Software version**
None.

To Reproduce
realsense-viewer

Expected behavior
realsense-viewer works for realsense L515.

T265 will not connect to realsense viewer

Hello,

Just wanted to say that without your tutorials I would probably not have gotten this far! But I have had issues trying to get the T265 to be seen on the TX2 (using your tutorials) and now tried it on my nano as well. I get the same issue where it is detected in lsusb as 03e7:2150 which under dmesg is listed as Movidius. I did a fresh install onto SD card of the Nano image, and followed your scripts, not sure what I am missing. I have tried the camera directly connected to the nano, I have tried to a powered usb 3.0 hub and they both pop up with the same 03e7:2150. But trying to run any of the samples and realsense viewer it does not detect it. I did notice with your TX2 tutorial I got the D435 to show up at least as Intel Corp in lsusb but as USB 2.1(another issue I will tackle on your other github haha). Forgot to add that I did have the T265 working on my windows PC.

Thanks!

ReallSensee R200 SUPPORT ?

Hello

Does this library support realsense r200 or any recommendation for other options to run inter; r200 camera on jetson nano.

Script eaten all mySD free space

hi, after install the script it used I dont know 20GB? of my memory. Is this right with the script, ? In my other boards it doesnt happen.Some fix to recover my space?

[BUG] Performance D435 camera incredible poor, Nano gets unusable when realsense-viewer starts

Describe the issue
After installation, I start realsense-viewer to show pointcloud in 3D and Nano (4GB, B01) gets somewhat of unusable. CPU usage raises to 100% on all cores, GPU only gets used a bit. I only get 1-2 fps. Nano gets incredible slow, mouse drags with delay and so on. Ping rate raises from 2ms up to 3000ms with lot of variance. Temperature raises fast.
As soon as I close realsense-viewer (or ROS wrapper with showing pointcloud in rviz), everything works as before.

NVIDIA Jetson Hardware

  • [ X] Jetson Nano
    Other:

L4T / JetPack Version
L4T 32.6.1/JetPack 4.6

** Software version**
OpenCV 4.1.1 no CUDA
CUDA 10.2.300

To Reproduce
After installation, start realsense-viewer and try to enable stereo and RGBD in 3D mode

Expected behavior
Getting pointcloud at reasonable performace, e.g. 15fps or even more

Additional context
There doesn't occur any errors beside the ones you showed in your video. Jetson gets powerd by GPIO from a beefy power source which provides up to 10A at 5V. Camera gets recognized as USB3.2 device. It doesn't matter if I attach it to an powered USB Hub or attach it directly.

I wonder if you discovered similar as you say you tested it on JetPack 4.6

SR305 intel realsense behavior

Currently i tested SR305 in my laptop with realsense viewer and it was giving good dynamic results

But now in the realsense viewer in jetson nano its not giving any good depth para until we go so close to the camera (20cm)

Any version issue with jetson nano or kernal issue ?

Kernel Rebuild Effects

Does this kernel rebuild affect the I2C or SPI setups for the GPIO?

I'm having challenges with an I2C setup and tracing down the issue. Thanks!

Metadata patch error

Hi, I am using vL4T32.1.0 and I got the below error when applying the metadata patch. Would you please take a look? Thanks!

Applying realsense-metadata patch patching file drivers/media/usb/uvc/uvc_driver.c Hunk #1 succeeded at 2770 (offset 97 lines). patching file drivers/media/usb/uvc/uvc_video.c Hunk #1 FAILED at 1241. Hunk #2 FAILED at 1274. 2 out of 2 hunks FAILED -- saving rejects to file drivers/media/usb/uvc/uvc_video.c.rej patching file drivers/media/usb/uvc/uvcvideo.h

patchUbuntu.sh error: ‘msg.msg_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

Makefile:1104: recipe for target 'drivers' failed
make: *** [drivers] Error 2

real	1m26.301s
user	2m35.580s
sys	0m29.672s
Make did not build 
Retrying ... 
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC      drivers/net/ethernet/nvidia/pcie/tegra_vnet.o
/usr/src/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c: In function ‘process_ctrl_msg’:
/usr/src/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c:974:11: error: ‘msg.msg_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   else if (msg.msg_id == CTRL_MSG_LINK_DOWN_ACK)
           ^
cc1: all warnings being treated as errors
scripts/Makefile.build:335: recipe for target 'drivers/net/ethernet/nvidia/pcie/tegra_vnet.o' failed
make[5]: *** [drivers/net/ethernet/nvidia/pcie/tegra_vnet.o] Error 1
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia/pcie' failed
make[4]: *** [drivers/net/ethernet/nvidia/pcie] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia' failed
make[3]: *** [drivers/net/ethernet/nvidia] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
Makefile:1104: recipe for target 'drivers' failed
make: *** [drivers] Error 2
Make did not successfully build
Please fix issues and retry build

Release For 32.2.3

Is there a new release that would be available for the jetson nano L4T=32.2.3? I posted an issue in the kernel repository as well about this.

D435i not recongized

How can we get the D435i to work properly?? I know the notes say it won't get recongized, but there must be some way?! Are there any other external patches or something? Jetson Hacks made a video about connecting a nano to a D435i and they got it to work there.... what did they do that isn't included in the git?!

Will this work on other Jetsons like Xavier?

The Xavier repo has not been updated for Jetpack 4.2. Will this repo work for the Xavier since they have the same kernel or not? If not, would you be able to update the Xavier repo?

Outdated Version of Librealsense

Hey JetsonHacks,

Big Fan of your work.
I was installing librealsense in Jetson Nano for integration with ROS. On running catkin_make, build files and binaries of realsense were not accepted. On deep inspection, the version that your script installs is 2.24 while ros needs 2.25, which is the latest version. Kindly update

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.