Skip to content
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

kernel problem #7333

Closed
gaotao19890725 opened this issue Sep 14, 2020 · 21 comments
Closed

kernel problem #7333

gaotao19890725 opened this issue Sep 14, 2020 · 21 comments

Comments

@gaotao19890725
Copy link

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model { D435 }
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version Ubuntu 18.04 LTS
Kernel Version (Linux Only) 4.9.140-tegra
Platform NVIDIA Jetson TX2
SDK Version 2.35.2
Language C++
Segment {Robot/Smartphone/VR/AR/others }

Issue Description

<Describe your issue / question / feature request / etc..>

Build Instruction
$ mkdir build
$ cd build
$ cmake
$ make

When I excute the followting command: ./scripts/patch-realsense-ubuntu-lts.sh, then the following error occurs

Unsupported kernel version 4.9.140-tegra . The Bionic patches are maintained for Ubuntu LTS with kernels 4.15, 4.18, 5.0 and 5.3.

I do not know how to solve the problem, can you give me some suggestions. thanks a million

@MartyG-RealSense
Copy link
Collaborator

Hi @gaotao19890725 There is an official guide for installing librealsense on Jetson boards that include TX2 in the link below. I recently used this guide to successfully install librealsense on a TX2.

https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md

@gaotao19890725
Copy link
Author

gaotao19890725 commented Sep 14, 2020 via email

@MartyG-RealSense
Copy link
Collaborator

Okay @gaotao19890725 Please let us know whether you were successful in installing librealense on TX2 using the official guide that I linked to. Thanks!

@gaotao19890725
Copy link
Author

gaotao19890725 commented Sep 14, 2020 via email

@MartyG-RealSense
Copy link
Collaborator

Sorry, your picture is not shown in the comment posted to the GitHub by email. Could you describe what is in the picture of what happens when you launch the RealSense Viewer?

@gaotao19890725
Copy link
Author

When I launch the realsense-viewer, the camera realsense D435i runs and in the picture it is me, for i am in front of the camera.

@MartyG-RealSense
Copy link
Collaborator

Thank you very much. Does this mean that the camera is now working correctly for you, please?

@gaotao19890725
Copy link
Author

But I meet another question, the project ElasticFusion can not work as before after my installation of RealSense2, and I do not know whether the RealSense2 conflicts with the project ElasticFusion or not.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Sep 14, 2020

ElasticFusion should not conflict with librealsense, since it has optional compatibility with librealsense that is enabled by just having librealsense installed.

The ElasticFusion documentation suggests that dependencies (such as librealsense) should be installed first and when you have all of the dependencies installed, you should build the Core of ElasticFusion and then build the GUI afterward.

https://github.com/mp3guy/ElasticFusion#11-ubuntu

So maybe installing librealsense when ElasticFusion was already installed overwrote something important and so the ElasticFusion Core and GUI need to be built again.

@MartyG-RealSense
Copy link
Collaborator

Hi @gaotao19890725 Do you require further assistance with this case, please? Thanks!

@gaotao19890725
Copy link
Author

Dear MartyG-RealSense:
Thanks a million for your guide and assitance, and sorry for my late response. A few days ago, I flashed my TX2 and installed librealense on TX2 successfully again according to the following site
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md
In additon, I rebuilt the ElasticFusion and it can deal with the .klg file provided by the author mp3guy. Now I am trying to connect realsenseD435i with ElasticFusion,but no result. In other words, I have not figured out how to make a connection.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Sep 23, 2020

I hope that you can find useful information in the link below about connecting RealSense to ElasticFusion:

mp3guy/ElasticFusion#164

@gaotao19890725
Copy link
Author

Dear MartyG-RealSense:
I can roslaunch realsense2_camear rs_camera.launch, but can not roslaunch realsense2_camera rs_rgbd.launch. Can you give me some suggestions.
Hope you are well.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Sep 26, 2020

Could you try one of the install instructions below please depending on whether you are using ROS Kinetic or Melodic:

Kinetic
sudo apt-get install ros-kinetic-rgbd-launch

Melodic
sudo apt-get install ros-melodic-rgbd-launch

@gaotao19890725
Copy link
Author

Hi MartyG-RealSense:
I use ROS Melodic, after sudo apt install ros-melodic-rgbd-launch, I can roslaunch realsense2_camera rs_rgbd.launch. But when I rosrun ORB_SLAM3 RGBD PATH_TO_VOCABULARY PATH_TO_SETTINGS_FILE, the following picture appears: nothing shows.
can you see the picture?
1

image

@gaotao19890725
Copy link
Author

Hi Hi MartyG-RealSense:
By the way, the link below about connecting RealSense to ElasticFusion helps:

mp3guy/ElasticFusion#164

but when I typed ‘ccmake ../’, then the following picture appears. But I do not know the meaning of “turning on Realsense option”. Where is the realsense?
image

@gaotao19890725
Copy link
Author

Hi MartyG-RealSense:
With your help, I make it. The following picture is about ORB-SLAM2 with online RealSenseD435i.

3

  Thanks again

@MartyG-RealSense
Copy link
Collaborator

Great news - thanks so much for the update and sharing of your image!

@gaotao19890725
Copy link
Author

Hi MartyG-RealSense:
Another good news. I make it about ElasticFusion with RealSenseD435i on TX2: The following picture can be proved, thanks for your unselfish sharing and hope you are well. If there is something wrong, I will disturb you again.
image

@MartyG-RealSense
Copy link
Collaborator

It is no trouble at all @gaotao19890725 :)

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants