|
1 | 1 | # Install |
2 | 2 |
|
3 | | -## Quick start using the Astrobee Docker image |
| 3 | +## System requirements |
4 | 4 |
|
5 | | -*The following has been tested on native (non-VM) Ubuntu systems using X11 (the default). Please see [these ROS pages](http://wiki.ros.org/docker/Tutorials#Tooling_with_Docker) for more resources.* |
| 5 | +Ubuntu 20.04 is the preferred host OS for most Astrobee developers to use. |
6 | 6 |
|
7 | | -If you just want to try out the astrobee simulator, you can use one of the Docker images in the [Github Container Registry](https://github.com/nasa/astrobee/pkgs/container/astrobee). |
| 7 | +Here are the available host OS options with development roadmap details: |
| 8 | +- Ubuntu 20.04: This is the preferred host OS for most Astrobee developers to use. The Astrobee Facility team is currently preparing to upgrade the robots on ISS from Ubuntu 16.04 to Ubuntu 20.04, but we aren't yet ready to announce a deployment date for that upgrade. |
| 9 | +- Ubuntu 18.04: We are not aware of any current robot users that still need Ubuntu 18.04 support, and expect to discontinue support in the near future. New users should not select this host OS. |
| 10 | +- Ubuntu 16.04: The Astrobee robot hardware on ISS currently runs Ubuntu 16.04. Only developers with NASA internal access can cross-compile software to run on the robot, and must use 16.04 for that. Most developers shouldn't need to work with 16.04, especially when just getting started. Support will eventually be discontinued after the robot hardware on ISS is upgraded to Ubuntu 20.04. |
8 | 11 |
|
9 | | -Make sure you have Docker installed in your Ubuntu system following the [installation instructions](https://docs.docker.com/engine/install/ubuntu/) and [post-installation steps for Linux](https://docs.docker.com/engine/install/linux-postinstall/). |
| 12 | +Graphical interfaces will perform best if your host OS is running natively (not in a virtual machine). |
10 | 13 |
|
11 | | -For some systems (with discrete graphics cards), you may need to install [additional software](http://wiki.ros.org/docker/Tutorials/Hardware%20Acceleration). |
| 14 | +Your host OS must have an X11 server installed if you want to use graphical applications, even if you are developing inside a Docker container (the X11 application running inside the container will forward its interface to the host's X11 server). X11 comes with Ubuntu Desktop by default. |
12 | 15 |
|
13 | | -``` bash |
14 | | -git clone https://github.com/nasa/astrobee.git |
15 | | -cd astrobee |
16 | | -./scripts/docker/run.sh --remote |
17 | | -``` |
| 16 | +If you plan to develop inside Docker, see [this page on using ROS with Docker](http://wiki.ros.org/docker/Tutorials#Tooling_with_Docker) for more details. |
18 | 17 |
|
19 | | -## Building the code natively |
| 18 | +## Option 1: Install inside a Docker container |
20 | 19 |
|
21 | | -There are different ways to build and test the code. |
| 20 | +1. Make sure you have Docker installed in your system by following: |
| 21 | + - [Docker installation instructions](https://docs.docker.com/engine/install/ubuntu/) |
| 22 | + - [Docker post-installation configuration for Linux](https://docs.docker.com/engine/install/linux-postinstall/) |
| 23 | + - If your system has a discrete graphics card, you may need to install [additional software for hardware acceleration](http://wiki.ros.org/docker/Tutorials/Hardware%20Acceleration). |
22 | 24 |
|
23 | | -### Non-NASA users |
| 25 | +2. Check out the Astrobee Robot Software with: |
| 26 | + ```bash |
| 27 | + export ASTROBEE_WS=$HOME/astrobee # your choice where |
| 28 | + git clone https://github.com/nasa/astrobee.git $ASTROBEE_WS/src |
| 29 | + cd $ASTROBEE_WS/src |
| 30 | + git submodule update --init --depth 1 description/media |
| 31 | + ``` |
24 | 32 |
|
25 | | -If you are a non-NASA user the preferred supported method is to use Ubuntu 16 and ROS kinetic. Ubuntu 18 and ROS melodic instructions are included, but not officially supported. This method does not require VPN access. |
| 33 | +3. Here is a quick-start command to install the Astrobee Robot Software inside a Docker container and start a simulation run: |
| 34 | + ```bash |
| 35 | + ./scripts/docker/run.sh --remote |
| 36 | + ``` |
26 | 37 |
|
27 | | -\subpage install-nonNASA |
| 38 | +There is also experimental support for using the Visual Studio Code Dev Containers plugin to access an integrated development environment running inside the Docker container! |
28 | 39 |
|
| 40 | +For much more discussion, see: \subpage install-docker. |
29 | 41 |
|
30 | | -### NASA users |
| 42 | +## Option 2: Install in your native OS |
31 | 43 |
|
32 | | -If you are a NASA user and want to install the cross-compiler for robot testing follow these instructions: |
| 44 | +The native installation instructions below walk you through manually running the same steps that are fully automated in a Docker installation. |
33 | 45 |
|
34 | | -\subpage install-NASA |
| 46 | +- If you are an external developer, see: \subpage install-nonNASA |
35 | 47 |
|
36 | | -## Using Docker |
37 | | - |
38 | | -Docker builds are available for Ubuntu 16.04, 18.04 and 20.04. |
39 | | - |
40 | | -Instructions on how to build the images natively and run the containers are in: |
41 | | - |
42 | | -\subpage install-docker |
| 48 | +- If you have NASA internal access and need to cross-compile for the robot hardware, see: \subpage install-NASA |
0 commit comments