You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,14 @@
1
1
# NVIDIA Redtail project
2
2
3
-
Autonomous drone navigation using deep learning. Refer to [wiki](https://github.com/NVIDIA-Jetson/redtail/wiki) for more information on how to get started.
3
+
Autonomous navigation for drones and ground vehicles using deep learning. Refer to [wiki](https://github.com/NVIDIA-Jetson/redtail/wiki) for more information on how to get started.
4
4
5
5
# News
6
+
***2017-10-12**: added full simulation Docker image, experimental support for APM Rover and support for MAVROS v0.21+.
7
+
8
+
* Redtail simulation Docker image contains all the components required to run full Redtail simulation in Docker. Refer to [wiki](../../wiki/Testing-in-Simulator) for more information.
9
+
* Experimental support for APM Rover. Refer to [wiki](../../wiki#platforms) for more information.
10
+
* Several other changes including support for MAVROS v0.21+, updated Jetson install script and few bug fixes.
11
+
6
12
***2017-09-07**: NVIDIA Redtail project is released as an open source project.
7
13
8
14
Redtail's AI modules allow building autonomous drones and mobile robots based on Deep Learning and NVIDIA Jetson TX1 and TX2 embedded systems.
# Running simulation in Docker for Erle Robotics vehicles
2
+
3
+
This repository contains scripts and instructions on building Docker container for the purpose of running simulations with [Erle Robotics](http://erlerobotics.com/) vehicles. It is essentially dockerized instructions provided on the official [Erle Robotics website](http://docs.erlerobotics.com/simulation). Currently only ROS Indigo is supported and tested, Kinetic is in the works.
4
+
5
+
## Building Docker image
6
+
To build a Docker container, run the following command from this directory:
This command will create a Docker image with the tag ```erle-sim:indigo```. Once the build is finished, you can verify that the image is built by running ```docker images``` command.
11
+
12
+
## Creating Docker container
13
+
In order to be able to run Gazebo from the Docker container, you need to connect host's X server to the Docker container. A good tutorial on various methods is documented on the [ROS Wiki](http://wiki.ros.org/docker/Tutorials/GUI), here we use the most simple (and insecure!) way.
This command will create a container named ```erle-sim``` from the image with the same name (```erle-sim```) and enable executing GUI programs.
19
+
2. Exit the container and restart/attach the container granting the permissions to xhost first:
20
+
```sh
21
+
xhost +local:`docker ps -aqf "name=erle-sim"`
22
+
docker start erle-sim && docker attach erle-sim
23
+
```
24
+
Replace ```erle-sim``` with your container name if needed.
25
+
3. Run Gazebo to make sure everything is working:
26
+
```sh
27
+
gazebo
28
+
```
29
+
You should see Gazebo window.
30
+
### Troubleshooting
31
+
In case you see messages like ```failed to load driver```while executing step 3 **and** no Gazebo window opens up, you might be missing drivers. The current Docker script already contains command that installs Mesa drivers (```libgl1-mesa-dri```) but that might not be enough so try googling for more information.
32
+
## Testing
33
+
Once the container is created, try running simulator. For example, to run Rover simulator, run the following commands from the container:
34
+
```sh
35
+
source~/simulation/ros_catkin_ws/devel/setup.bash
36
+
cd~/simulation/ardupilot/APMrover2/
37
+
../Tools/autotest/sim_vehicle.sh -j 4 -f Gazebo
38
+
# once MAVProxy has launched completely, load the parameters
0 commit comments