Last active
September 14, 2018 01:41
-
-
Save cvcore/bd651f228b35787a77fbecd116d995dd to your computer and use it in GitHub Desktop.
NVIDIA Drive PX 2 ROS Installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# taken from https://devtalk.nvidia.com/default/topic/1011002/cross-compiling-driveworks-on-the-px2-with-ros/ | |
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 | |
# sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | |
sudo sh -c 'echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | |
# this is crucial | |
sudo apt-get install libssl1.0.0/xenial libssl-doc/xenial libssl-dev/xenial | |
sudo apt-get install ros-kinetic-desktop-full | |
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc | |
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib/aarch64-linux-gnu" >> ~/.bashrc | |
source ~/.bashrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment