Skip to content

Commit

Permalink
Add initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
yun-long committed Feb 16, 2022
1 parent 813122f commit e474ef6
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
BasedOnStyle: Google
ColumnLimit: 80
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
IndentWidth: 2
Language: Cpp
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
SortUsingDeclarations: true
SpaceAfterTemplateKeyword: false
SpaceInEmptyParentheses: false
Standard: Cpp11
TabWidth: 2
UseTab: Never
...
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

# Python stuff
*.pyc
*__pycache__

# Compile Commands
*/compile_commands.json
*/.clangd

# VScode stuff
.vscode/*

# CLion Stuff
.idea/
cmake-build-debug/

# Vim Stuff
*.swp
Session.vim

# Tag files
TAGS
GTAGS
GRTAGS
GPATH

# temporary files
*~

.history/*
.vscode/*

12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[submodule "agilicious"]
path = agilicious
url = [email protected]:uzh-rpg/agilicious.git
[submodule "flightmare"]
path = flightmare
url = [email protected]:uzh-rpg/flightmare_internal.git
[submodule "catkin_simple"]
path = catkin_simple
url = https://github.com/catkin/catkin_simple
[submodule "mav_comm"]
path = mav_comm
url = https://github.com/ethz-asl/mav_comm
25 changes: 25 additions & 0 deletions setup.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

if [[ ! -f "$(pwd)/setup.bash" ]]
then
echo "please launch from the racing folder!"
exit
fi

echo "Making sure submodules are initialized and up-to-date"
git submodule update --init --recursive


echo "Using apt to install dependencies..."
echo "Will ask for sudo permissions:"
sudo apt update
sudo apt install -y --no-install-recommends build-essential cmake libzmqpp-dev libopencv-dev

echo "Ignoring unused Flightmare folders!"
touch flightmare/flightros/CATKIN_IGNORE

echo "Downloading Flightmare Unity standalone..."
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

echo "Done!"
echo "Have a save flight!"

0 comments on commit e474ef6

Please sign in to comment.