Skip to content

Commit

Permalink
Revert "Revert "Pegged librealsense Version as a Temporary Fix (UBC-S…
Browse files Browse the repository at this point in the history
…nowbots#359)" (UBC-Snowbots#361)"

This reverts commit 863ae21.
  • Loading branch information
RobynCastro committed Dec 1, 2018
1 parent b46daeb commit ae0d4c0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion setup_scripts/setup_realsense.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,20 @@ sudo apt-get install -y software-properties-common
sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
sudo rm -f /etc/apt/sources.list.d/realsense-public.list

sudo apt-get update -y
sudo apt-get install -y librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg

# TODO (#359): We can (and SHOULD) switch back to using the below line once
# the ros realsense packages are updated to work with librealsense2 2.16.2
# see https://github.com/intel-ros/realsense/issues/502 for updates.
# (Right now we just peg the version to 2.16.1)
# sudo apt-get install -y librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg
version="2.16.1-0~realsense0.51"
sudo apt-get install librealsense2-dkms -y
sudo apt install librealsense2=${version} -y
sudo apt-get install librealsense2-utils=${version} -y
sudo apt-get install librealsense2-dev=${version} -y
sudo apt-get install librealsense2-dbg=${version} -y

echo "================================================================"
echo "Finished configuring realsense. "
Expand Down

0 comments on commit ae0d4c0

Please sign in to comment.