Skip to content

Commit e474ef6

Browse files
committedFeb 16, 2022
Add initial files
1 parent 813122f commit e474ef6

File tree

4 files changed

+87
-0
lines changed

4 files changed

+87
-0
lines changed
 

‎.clang-format

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
BasedOnStyle: Google
3+
ColumnLimit: 80
4+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
5+
ConstructorInitializerIndentWidth: 2
6+
ContinuationIndentWidth: 2
7+
Cpp11BracedListStyle: true
8+
IndentWidth: 2
9+
Language: Cpp
10+
MaxEmptyLinesToKeep: 2
11+
NamespaceIndentation: None
12+
SortUsingDeclarations: true
13+
SpaceAfterTemplateKeyword: false
14+
SpaceInEmptyParentheses: false
15+
Standard: Cpp11
16+
TabWidth: 2
17+
UseTab: Never
18+
...

‎.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
# Python stuff
3+
*.pyc
4+
*__pycache__
5+
6+
# Compile Commands
7+
*/compile_commands.json
8+
*/.clangd
9+
10+
# VScode stuff
11+
.vscode/*
12+
13+
# CLion Stuff
14+
.idea/
15+
cmake-build-debug/
16+
17+
# Vim Stuff
18+
*.swp
19+
Session.vim
20+
21+
# Tag files
22+
TAGS
23+
GTAGS
24+
GRTAGS
25+
GPATH
26+
27+
# temporary files
28+
*~
29+
30+
.history/*
31+
.vscode/*
32+

‎.gitmodules

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[submodule "agilicious"]
2+
path = agilicious
3+
url = git@github.com:uzh-rpg/agilicious.git
4+
[submodule "flightmare"]
5+
path = flightmare
6+
url = git@github.com:uzh-rpg/flightmare_internal.git
7+
[submodule "catkin_simple"]
8+
path = catkin_simple
9+
url = https://github.com/catkin/catkin_simple
10+
[submodule "mav_comm"]
11+
path = mav_comm
12+
url = https://github.com/ethz-asl/mav_comm

‎setup.bash

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
if [[ ! -f "$(pwd)/setup.bash" ]]
4+
then
5+
echo "please launch from the racing folder!"
6+
exit
7+
fi
8+
9+
echo "Making sure submodules are initialized and up-to-date"
10+
git submodule update --init --recursive
11+
12+
13+
echo "Using apt to install dependencies..."
14+
echo "Will ask for sudo permissions:"
15+
sudo apt update
16+
sudo apt install -y --no-install-recommends build-essential cmake libzmqpp-dev libopencv-dev
17+
18+
echo "Ignoring unused Flightmare folders!"
19+
touch flightmare/flightros/CATKIN_IGNORE
20+
21+
echo "Downloading Flightmare Unity standalone..."
22+
curl --show-error --progress-bar --location "https://github.com/uzh-rpg/flightmare/releases/download/0.0.5/RPG_Flightmare.tar.xz" | tar Jxf - -C flightmare/flightrender/ --strip 1
23+
24+
echo "Done!"
25+
echo "Have a save flight!"

0 commit comments

Comments
 (0)
Please sign in to comment.