-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #651 from nasa/develop
Release 0.16.7
- Loading branch information
Showing
247 changed files
with
6,623 additions
and
2,465 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM ghcr.io/nasa/astrobee:latest-ubuntu20.04 | ||
ENV DEBIAN_FRONTEND=dialog |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"dockerFile": "Dockerfile", | ||
"build": { | ||
"args": { | ||
"WORKSPACE": "${containerWorkspaceFolder}" | ||
} | ||
}, | ||
"remoteUser": "root", | ||
"runArgs": [ | ||
"--network=host", | ||
"--cap-add=SYS_PTRACE", | ||
"--security-opt=seccomp:unconfined", | ||
"--security-opt=apparmor:unconfined", | ||
"--volume=/tmp/.X11-unix:/tmp/.X11-unix" | ||
], | ||
"containerEnv": { | ||
"DISPLAY": "${localEnv:DISPLAY}", | ||
"LIBGL_ALWAYS_SOFTWARE": "1" // Needed for software rendering of opengl | ||
}, | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"zsh": { | ||
"path": "/bin/zsh" | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.linux": "zsh" | ||
}, | ||
"extensions": [ | ||
// "althack.ament-task-provider", | ||
"DotJoshJohnson.xml", | ||
"ms-azuretools.vscode-docker", | ||
"ms-python.python", | ||
"ms-vscode.cpptools", | ||
"redhat.vscode-yaml", | ||
"smilerobotics.urdf", | ||
"streetsidesoftware.code-spell-checker", | ||
"twxs.cmake", | ||
"yzhang.markdown-all-in-one", | ||
"zachflower.uncrustify" | ||
], | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/src/astrobee/src,type=bind", | ||
"workspaceFolder": "/workspace" | ||
} |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,48 @@ | ||
# Install | ||
|
||
## Quick start using the Astrobee Docker image | ||
## System requirements | ||
|
||
*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.* | ||
Ubuntu 20.04 is the preferred host OS for most Astrobee developers to use. | ||
|
||
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). | ||
Here are the available host OS options with development roadmap details: | ||
- 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. | ||
- 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. | ||
- 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. | ||
|
||
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/). | ||
Graphical interfaces will perform best if your host OS is running natively (not in a virtual machine). | ||
|
||
For some systems (with discrete graphics cards), you may need to install [additional software](http://wiki.ros.org/docker/Tutorials/Hardware%20Acceleration). | ||
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. | ||
|
||
``` bash | ||
git clone https://github.com/nasa/astrobee.git | ||
cd astrobee | ||
./scripts/docker/run.sh --remote | ||
``` | ||
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. | ||
|
||
## Building the code natively | ||
## Option 1: Install inside a Docker container | ||
|
||
There are different ways to build and test the code. | ||
1. Make sure you have Docker installed in your system by following: | ||
- [Docker installation instructions](https://docs.docker.com/engine/install/ubuntu/) | ||
- [Docker post-installation configuration for Linux](https://docs.docker.com/engine/install/linux-postinstall/) | ||
- 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). | ||
|
||
### Non-NASA users | ||
2. Check out the Astrobee Robot Software with: | ||
```bash | ||
export ASTROBEE_WS=$HOME/astrobee # your choice where | ||
git clone https://github.com/nasa/astrobee.git $ASTROBEE_WS/src | ||
cd $ASTROBEE_WS/src | ||
git submodule update --init --depth 1 description/media | ||
``` | ||
|
||
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. | ||
3. Here is a quick-start command to install the Astrobee Robot Software inside a Docker container and start a simulation run: | ||
```bash | ||
./scripts/docker/run.sh --remote | ||
``` | ||
|
||
\subpage install-nonNASA | ||
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! | ||
|
||
For much more discussion, see: \subpage install-docker. | ||
|
||
### NASA users | ||
## Option 2: Install in your native OS | ||
|
||
If you are a NASA user and want to install the cross-compiler for robot testing follow these instructions: | ||
The native installation instructions below walk you through manually running the same steps that are fully automated in a Docker installation. | ||
|
||
\subpage install-NASA | ||
- If you are an external developer, see: \subpage install-nonNASA | ||
|
||
## Using Docker | ||
|
||
Docker builds are available for Ubuntu 16.04, 18.04 and 20.04. | ||
|
||
Instructions on how to build the images natively and run the containers are in: | ||
|
||
\subpage install-docker | ||
- If you have NASA internal access and need to cross-compile for the robot hardware, see: \subpage install-NASA |
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
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
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
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
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
Oops, something went wrong.