Comments (35)
I have the same problem in Humble both in 20.04 and in 22.04 Ubuntu versions.
from realsense-ros.
Thanks very much for the reports. I have highlighted it to my Intel RealSense colleagues.
from realsense-ros.
I would go for that.
from realsense-ros.
Cloning these 2 repositories for sdk and wrapper and following the documentation,I got the no errors.
librealsense sdk: git clone https://github.com/IntelRealSense/librealsense -b "development"
ros2 wrapper : git clone https://github.com/IntelRealSense/realsense-ros.git -b ros2-development
from realsense-ros.
Ok, I am backed before this PR, waiting for the stable one in Debian.
Thanks a lot for the support @SamerKhshiboun.
from realsense-ros.
My colleagues responded that the ros2-development ROS wrapper now needs the development branch of librealsense rather than the master due to recent changes in the API.
https://github.com/IntelRealSense/librealsense/tree/development
from realsense-ros.
I am already into the development branch :( @MartyG-RealSense I try to do additional verifications.
from realsense-ros.
@MartyG-RealSense I try to uninstall and install again everything. Nothing changes. Same problem also with Jetson installation, linked only to Debian modality.
from realsense-ros.
Hi @annb3,
Are you sure you fetched and pulled latest changes from development ?
Make sure you are cloning the latest: git clone https://github.com/IntelRealSense/librealsense -b "development"
or run
git fetch origin
git pull
and make sure to rebuild again
(if you are running your private fork, make sure to merge from upstream and rebuild)
These are the latest commits from today that you should see in your git log
from realsense-ros.
Yes, I am sure :) @SamerKhshiboun I have uninstall and install again everything also to be sure enough.
Is there a way to be sure to have eliminate all the dependencies? I have done everything found online..
from realsense-ros.
can you screenshot your git log
output ?
from realsense-ros.
from realsense-ros.
please run these 2 commands and screenshot the outputs:
dpkg -l | grep realsense
ldconfig -p | grep realsense
from realsense-ros.
from realsense-ros.
As I see you have multiple librealsense2 version that were manually installed.
What I suggest is to run sudo make uninstall
from each ../librealsense/build
directory you have.
Or you can remove these files manually.
Make sure to have the latest (2.56) only
from realsense-ros.
then please retry colcon build
your ROS2 workspace.
from realsense-ros.
I don't have the builds anymore, as I have already run this command before.. so strange. Do you suggest to eliminate this file directly from /usr/local/lib/libreaslsense*
?
from realsense-ros.
Nothing is solved. Same issue.
from realsense-ros.
can you please run these commands and print the output ?
source /opt/ros/humble/setup.bash
cd <your_ros_workspace>
rm -rf log/ install/ build/
colcon build
from realsense-ros.
from realsense-ros.
did you install the newest code like this ?
cd librealsense
mkdir build
cmake ..
make -j 4
sudo make install
from realsense-ros.
I have followed the guidelines: https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md switching into the development branch.
from realsense-ros.
please print the output of this command from your ros working space:
grep '2\.5' ./build/realsense2_camera/CMakeFiles/realsense2_camera.dir/build.make
from realsense-ros.
I'm still pretty sure that the current version that the ROS finds (even if it says 2.56) is not the latest compiled one.
Please retry to make install
and sudo make install
latest code of development
from realsense-ros.
I am actually working on a docker environment and by default it doesn't take the version 2.56 of the pc but every time install again the 2.55 from the dipendencies of the realsense-ros package how can I fix it?
from realsense-ros.
try edit the realsense-ros/realsense2_camera/CMakeLists.txt
change the numbers to 2.56.0
find_package(realsense2 2.56.0)
find_package(realsense2-gl 2.56.0)
then try to rebuild again
with these steps:
source /opt/ros/humble/setup.bash
cd <your_ros_workspace>
rm -rf log/ install/ build/
colcon build
source ./install/setup.bash
from realsense-ros.
no way :( It continues installing the 2.55 version
from realsense-ros.
You need the latest librealsense2/development branch to be available inside the docker.
You can do this in two different ways I think:
- expose the installed librealsense2.56 to the docker (might required advanced docker commands and understanding..)
- run the docker, and reinstall (make + make install) librealsense2/development from source inside it, then rerun colcon build.
from realsense-ros.
yes, already done way 2, this morning, without apparently success.
I'll try again in some hours.
from realsense-ros.
Anyway, I will submit a PR for updating the CMakeLists.txt to 2.56.0 since the realsense2_camera node needs the latest development branch [2.56] (which can be built only manually for now, because it is still not formally released to ROS apt)
from realsense-ros.
The problem is that into the docker environment I encountered several problems in installing from build. The same in the Jetson. Is it possible to do it from Debian packages specifying the development installation of the librealsense2? I think it is the real problem.
from realsense-ros.
There is still no formal release as Debian from our side to librealsense2 2.56 (the latest one we released into ROS apt is 2.55.1)
You can work with earlier realsense-ros/ros2-development if you want, which can work with librealsense2 2.55.
cd realsense-ros
git checkout d1684b4e53111f5eb3237f76299e83a864ce929d
cd <your_ros_ws>
colcon build
from realsense-ros.
or you can use the latest realsense2_camera released (4.55.1) from ROS apts
sudo apt install sudo apt install ros-humble-realsense2-camera
this way you don't need to colcon/build source code.
from realsense-ros.
Hi @annb3 Do you require further assistance with this case, please? Thanks!
from realsense-ros.
Case closed due to no further comments received.
from realsense-ros.
Related Issues (20)
- Can't execute "ros2 run realsense2_camera realsense2_camera_node" HOT 60
- Error while building the ROS Wrapepr for Framos D435e Camera. HOT 2
- Issues with projecting pixel to point HOT 7
- Setting Dynamic reconfig parameters does not return. HOT 28
- Inconsistent Point Cloud Data Between Gazebo Simulation and Real-World RealSense D405 HOT 3
- Version Mismatch Between Firmware and Librealsense Causing Invalid Value Error on D455 with ROS Noetic on Jetson Orin Nano HOT 8
- Issues with features appearing as two different features when revisiting an area using RTABMAP. HOT 3
- Best way to install for L515 with ROS1 wrapper HOT 3
- RGB image and depth image time sync HOT 4
- Ubuntu Virtualbox VM - ROS Noetic - D415 RealSense not recognized HOT 22
- Jetson Orin Nano, No point cloud data in the published topic HOT 5
- Wrong frame_id in /camera/camera/infra2/camera_info HOT 6
- Question on tf frames and VI Odom (D435i) HOT 1
- No realsense device were found HOT 11
- ROS wrapper disabling camera detection HOT 19
- Loss of quality in depth data when saving videos in ROSBAG or .npy frames HOT 4
- How to set up json file in l515? HOT 5
- 2D pixel and 3D pointcloud coordinates dismatch HOT 12
- T265 works on Foxy but not Humble
- Unable to subscribe to color and depth from separate computer HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realsense-ros.