Jetson NXにrosをインストールする 備忘録


普通にできた

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
sudo apt install ros-melodic-desktop-full
cd
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt install python-rosinstall
sudo apt install python-catkin-tools
sudo apt install python-rosdep
sudo rosdep init
rosdep update
mkdir catkin_ws
cd catkin_ws
mkdir src
catkin init
catkin_make