Skip to content
frozeneyefree edited this page Feb 22, 2021 · 2 revisions

$ sudo chmod +x redtail/ZED_SDK_Tegra_JP42_v3.2.2.run

$ ./redtail/ZED_SDK_Tegra_JP42_v3.2.2.run

cd /etc

sudo gedit hosts

在文件末尾添加

151.101.84.133 github.com/ghraw

然后保存文件退出即可。

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #为防止误操作后无法恢复,先备份原文件sources.list

sudo gedit /etc/apt/sources.list #打开sources.list,将原来的内容使用”#”符号全部注释掉,然后在文件结尾出添加中国科学技术大学或清华的源

  • 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse

sudo apt-get update

本项目由建模平台实现两大部分组成。

建模

The project's AI that enables autonomous navigation is based on a deep neural network (DNN) which can be trained from scratch using publicly available data. A few pre-trained DNNs are also available as a part of this project. In case you want to train TrailNet DNN from scratch, follow the steps on this page.

平台实现

The following platforms are currently supported:

一般来说,任何使用Pixhawk飞控的平台都可以进行部署。

Getting started

Building a complete autonomous drone platform requires proper hardware and software configuration.

Jetson setup

The NVIDIA Jetson platform is used to run most of the components, such as DNN inference, the controller, and video streaming. The Jetson setup guide describes steps to install all required software and dependencies.

GCS (Ground Control Station) setup

A laptop is a convenient way to run GCS software like QGroundControl as well to control the drone using an NVIDIA Shield or an XBox controller. Follow these steps to setup GCS machine.

Simulation

It is usually a good idea to test your code in a simulator. Follow these steps to run simulations using Gazebo.

Flying

Once the hardware and software setup steps are complete, it's time to take off! Follow these steps to fly the drone.

References