forked from jetsonhacks/installROSTK1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
installROS.sh
executable file
·43 lines (42 loc) · 1.54 KB
/
installROS.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
# Install Robot Operating System (ROS) on NVIDIA Jetson TK1
# Maintainer of ARM builds for ROS is http://answers.ros.org/users/1034/ahendrix/
# Information from:
# http://wiki.ros.org/NvidiaJetsonTK1
# http://wiki.ros.org/indigo/Installation/UbuntuARM
# When asking questions or looking for help running ROS on NVIDIA Jetson TK1
# use the jetson_tk1 tag on ROS answers
# http://answers.ros.org/questions/scope:all/sort:activity-desc/tags:jetson_tk1/page:1/
# Configure repositories
sudo apt-add-repository universe
sudo apt-add-repository multiverse
sudo apt-add-repository restricted
sudo apt-get update
# Setup Locale
sudo update-locale LANG=C LANGUAGE=C LC_ALL=C LC_MESSAGES=POSIX
# Setup sources.lst
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
# Setup keys
wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -
# Installation
sudo apt-get update
sudo apt-get install ros-indigo-ros-base -y
# Add Individual Packages here
# You can install a specific ROS package (replace underscores with dashes of the package name):
# sudo apt-get install ros-indigo-PACKAGE
# e.g.
# sudo apt-get install ros-indigo-navigation
#
# To find available packages:
# apt-cache search ros-indigo
#
# Initialize rosdep
sudo apt-get install python-rosdep -y
sudo rosdep init
# To find available packages, use:
rosdep update
# Environment Setup
echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
source ~/.bashrc
# Install rosinstall
sudo apt-get install python-rosinstall -y