Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Replace realsense package with install from git, and add librealsense…
…2 package to core_packages

Signed-off-by: Rosalie <[email protected]>
  • Loading branch information
rosalievanark authored and Jelmerdw committed Nov 4, 2025
commit 67a2cbaa1988ba4b965b4d572bcc0516cdee3a13
3 changes: 1 addition & 2 deletions dockerfiles/install_scripts/core_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ apt install -y \

apt install -y \
ros-$ROS_DISTRO-launch-pytest \
ros-$ROS_DISTRO-librealsense2 \
ros-$ROS_DISTRO-moveit \
ros-$ROS_DISTRO-moveit-servo \
ros-$ROS_DISTRO-moveit-visual-tools \
ros-$ROS_DISTRO-navigation2 \
ros-$ROS_DISTRO-nav2-bringup \
ros-$ROS_DISTRO-ouster-ros \
ros-$ROS_DISTRO-plotjuggler-ros \
ros-$ROS_DISTRO-realsense2-camera \
ros-$ROS_DISTRO-realsense2-description \
ros-$ROS_DISTRO-rmw-cyclonedds-cpp \
ros-$ROS_DISTRO-ros-gz \
ros-$ROS_DISTRO-ros2-controllers \
Expand Down
21 changes: 21 additions & 0 deletions dockerfiles/install_scripts/realsense_sdk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash -i

# SPDX-FileCopyrightText: Alliander N. V.
#
# SPDX-License-Identifier: Apache-2.0

set -e
source /home/$UNAME/.bashrc
apt update

cd /home/$UNAME
mkdir realsense_ws
cd /home/$UNAME/realsense_ws
git clone -b 4.57.3 [email protected]:IntelRealSense/realsense-ros.git

sudo apt update
rosdep update
rosdep install --from-paths src --rosdistro $ROS_DISTRO -y -r
colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release

echo "source /home/$UNAME/realsense_ws/install/setup.bash" >>/home/$UNAME/.bashrc