-
Notifications
You must be signed in to change notification settings - Fork 96
ros foxy installation #171
Comments
Check the |
Hi @dbgarasiya, (Updated as of 25th June 2021) If you still encountering this issue, you can follow the installation instructions below: # Download Realsense SDK 2.0
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
# Use intel servers instead of using the now defunct amazon servers that were used to distribute these binaries.
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" -u
sudo apt-get install librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg -y
# Create a ROS2 workspace
mkdir -p ~/camera_ws/src && cd ~/camera_ws/src
# Download and Set-up ros2_intel_realsense package.
git clone https://github.com/intel/ros2_intel_realsense --single-branch --branch refactor --depth 1
cd ~/camera_ws
colcon build
source install/setup.bash
# Launch It
ros2 run realsense_node realsense_node Hope this helps whoever is still encountering this issue. |
Hello, thank you for the installation process. I did try this process but without success. Here below are the details :
The realsense viewer works. the rs-enumerate-devices gives :
But after setting the right serial number in t265.yaml, I have the following error :
I did the same test on a standard desktop with the same configuration, and we have same error. Have you heard about this kind of issue (realsense camera on ros2 foxy) ? Thanks, |
@ThotAlion For my case, my Hardware is a This issue may be specific to this model series of
I have encountered it myself when attempting to use |
@ThotAlion (Updated as of 25th June 2021) I have updated my previous instructions to use the code under realsense_ros instead. See below: # Download Realsense SDK 2.0
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
# Use intel servers instead of using the now defunct amazon servers that were used to distribute these binaries.
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" -u
sudo apt-get install librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg -y
# Create a ROS2 workspace
mkdir -p ~/camera_ws/src && cd ~/camera_ws/src
# Download and Set-up ros2_intel_realsense package.
git clone --depth 1 --branch `git ls-remote --tags https://github.com/IntelRealSense/realsense-ros.git | grep -Po "(?<=tags/)3.\d+\.\d+" | sort -V | tail -1` https://github.com/IntelRealSense/realsense-ros.git
cd ~/camera_ws
colcon build
source install/setup.bash
# Launch It
ros2 launch realsense2_camera rs_launch.py enable_pointcloud:=true |
Yeah this project is pretty much deprecated. I just noticed the |
@cardboardcode |
Hello,
I want to install foxy(ROS) on Ubuntu 20.04.1 LTS
I was unable to install and got error while : colcon build --symlink-install
CMake Error at CMakeLists.txt:19 (find_package):
Failed <<< realsense_msgs [1.73s, exited with code 1]
Summary: 0 packages finished [2.49s]
1 package failed: realsense_msgs
1 package had stderr output: realsense_msgs
3 packages not processed
colcon build failed:realsense_msgs
The text was updated successfully, but these errors were encountered: