-
Notifications
You must be signed in to change notification settings - Fork 4.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
Any suggestion for jetson nano installation? #3759
Comments
NVIDIA is using the camera (435 I believe) as a demonstrated supported part in their Isaac robotics program. In some youtube videos you can see their demonstrated robots with the camera and theJetson Nano. With the Isaac build system, everything is cross compiled on an x86 host and shipped over the network to the Nano, and they are using Jetpack 4.2 I've been trying to get my camera (435i) to work with the nano, but so far no luck. It seems to show up as a USB2.0 device. Might be a power issue as the same thing happens with my laptop sometimes. I've cross compiled their kernel with the suggested patches from Intel, should be able to test that later tonight. |
Hmm... yes it would be nice to use 400 series with jetpack 4.2 without a ton of kernel module hijinx. |
@christopherbate Is that works? |
trying to compile the real sense library on the nano but when I run cmake I get 'xinerama headers were not found'. Any ideas?
|
Hi, I would suggest following the directions on the Isaac robotics link I posted above. It avoid having to compile the library on the device. They also give instructions on some dependencies which need to be installed through APT. I believe they use 430/415, and my issues with 435i may be particular to the 435i model. I will try some more this weekend. |
@ChaseLewis You need the graphical libraries installed (glfw). Remove your cmake "build" folder and re-run CMake with the Here are the steps I followed for running RS435i on the Nano. We rebuilt the kernel on the device to make things simpler. I recommend starting with a fresh SD card just flashed with the latest JetPack release. Package dependencies:
Hope this helps. Again, this is for the 435i, the only camera I have. There's also a workflow for cross-compiling the kernel on your x86 machine. Here are instructions from the offical NV source. Would be much faster to do that and then just copy the kernel over to the SD card. |
Thanks, I'm also only have D435i, I want to install it to my TX2 runs Jetpack4.2(ubuntu18.04), This information really helpful. |
@christopherbate, can you elaborate on step 5. following through the instructions successfully up until this point. I get the following error
I'm inferring that the steps implies we should expect some UI in which we change the I opened the .config file and found the HID sensor_accell_3d entries, but the file state very clearly not to edit (at the top) Any help appreciated. |
You need to install `libncurses5` i.e. `sudo apt-get install libncurses5". And you need to be in kernel-4.9 directory.
But yes, you will get a terminal UI to make changes. But yes, typically in
doing something like this you can edit that .config file directly. If
you've never done this before, it might be helpful to read a general
tutorial about how to compile the Linux kernel and about LKMs. Then use a
virtual machine running Linux linux to practice modifying the kernel. Then
this will become familiar to you.
Now I have to mention some unfortunate news... these steps might not work
for you. My camera was recognized but didn't fully work. I had to apply
another patch and now have it working. I'll post a more in-depth follow up
later today.
…On Mon, Apr 22, 2019 at 3:29 PM Eric Schleicher ***@***.***> wrote:
@christopherbate <https://github.com/christopherbate>, can you elaborate
on step 5. make menuconfig
following through the instructions successfully up until this point.
I get the following error
***@***.***:~/Downloads/public_sources/kernel$ make menuconfig
make: *** No rule to make target 'menuconfig'. Stop.
***@***.***:~/Downloads/public_sources/kernel$ cd kernel-4.9/
***@***.***:~/Downloads/public_sources/kernel/kernel-4.9$ make menuconfig
HOSTCC scripts/kconfig/mconf.o
<command-line>:0:12: fatal error: curses.h: No such file or directory
compilation terminated.
scripts/Makefile.host:118: recipe for target 'scripts/kconfig/mconf.o' failed
make[1]: *** [scripts/kconfig/mconf.o] Error 1
Makefile:565: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
I'm inferring that the steps implies we should expect some UI in which we
change the HID_SENSOR_ACCEL_3D and HID_SENSOR_GYRO_3D values? or did i
read that wrong?
I opened the .config file and found the HID sensor_accell_3d entries, but
the file state very clearly not to edit (at the top)
Any help appreciated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3759 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHHLD46VZI5UNPMGOESIX5DPRYU33ANCNFSM4HF6624A>
.
|
ok... eagerly awaiting. |
So I got it to build, but now it says 'no module named pyrealsense2'. If I use rs-enumerate devices the camera is found so it has something to do with the python installation after building. I set the executable to python3 and used sudo make install so I'm a bit confused what I'm doing wrong. I'm trying to run the script with python 3.6.7
PythonPath
How I called CMAKE Python Script
Any ideas? |
@ChaseLewis Not sure as I don't use the python module. Generally for cmake, you call "cmake ../ (options)" then "make" then "sudo make install". I have some more complete instructions for those interested on my github that includes an example |
@christopherbate I'm trying to follow your guide but I'm encountering an issue with step 4. I'm in a terminal in the ~/Downloads/public_sources/kernel/kernel-4.9 folder but when I try to do the command |
Ok, that command is for grabbing the configuration for the kernel for the computer you run that command on. So you need to be in your Nano's terminal for that command. Then maybe try this (on your Nano): Then copy that file (and then rename it to |
@christopherbate I am working through your kernel patch instructions. When I run the patches I get a message "patching file drivers/iio/accel/hid-sensor-accel-3d.c |
@dongxuanlb @evovolker Did you still have issue? Looking forward to your update. Thanks! |
@RealSenseCustomerSupport I got it to work by merging the patches provided by @JetsonHacksNano with an additional patch from @christopherbate, |
@evovolker Great news! |
@dongxuanlb If no other questions for this ticket, will close it now. Please feel free to create new ticket if you still have questions/issues. Thanks! |
If a RealSense camera does not work after installation on Jetson Nano, see a solution here (Installation method only for Jetson Nano): In my case (Ubuntu 18.04 kernel 4.9.140-tegra) , 'No RealSense devices were found!' happened when I installed |
I notice that jetson nano with kernel-4.9 and jetpack3.3. And the cpu is a57 and no onboard emmc.
Has any one had installed the sdk successfully?
The text was updated successfully, but these errors were encountered: