Skip to content

Commit

Permalink
Merge branch 'master' into PR/manual_cam_speed
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmy87 committed Jun 7, 2021
2 parents f33bce5 + 31f38b6 commit 8a64330
Show file tree
Hide file tree
Showing 621 changed files with 58,973 additions and 39,871 deletions.
56 changes: 56 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
# clang-format documentation
# http://clang.llvm.org/docs/ClangFormat.html
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html

# Preexisting formats:
# LLVM
# Google
# Chromium
# Mozilla
# WebKit

Language: Cpp
BasedOnStyle: Mozilla

AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignTrailingComments: false
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
BinPackArguments: false
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
ContinuationIndentWidth: 4
ConstructorInitializerIndentWidth: 4
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ColumnLimit: 0
Cpp11BracedListStyle: false
IndentWidth: 4
IndentCaseLabels: false
# KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: Inner
ReflowComments: false
PenaltyBreakBeforeFirstCallParameter: 100000
PenaltyBreakComment: 100000
SortIncludes: false
SpaceAfterTemplateKeyword: true
# Standard: Cpp11 # Broken
UseTab: Never
...
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: User Support and General Questions
- name: General Questions
url: https://github.com/microsoft/AirSim/discussions
about: Please ask on https://github.com/microsoft/AirSim/discussions
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Support Questions
about: Your question may be moved to https://github.com/microsoft/AirSim/discussions.
---
<!-- ⚠️⚠️ Do Not Delete This! question_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Add clear and concise title -->

## Question
### What's your question?
<!-- Describe your question in detail. -->

### Include context on what you are trying to achieve
<!-- If any section does not apply, replace its contents with "N/A". -->

#### Context details
<!-- Add OS, AirSim version, Python version, Unreal version if applicable -->
<!-- If not the default, include the settings.json file you are using -->
<!-- If it's too large, you can create a [gist](https://gist.github.com/) and past the link here. -->

### Include details of what you already did to find answers
13 changes: 13 additions & 0 deletions .github/workflows/clang_format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '11'
check-path: '.'
47 changes: 47 additions & 0 deletions .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Documentation Build & Deploy

# Controls when the action will run.
on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
architecture: 'x64'

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install mkdocs pymdown-extensions # Mkdocs requirements
- name: Build API reference docs
run: |
python3 -m venv .env # Virtual env to avoid dep. issues
source .env/bin/activate
pip install Sphinx sphinx_rtd_theme numpy msgpack-rpc-python
pushd PythonClient >/dev/null
./build_api_docs.sh
popd >/dev/null
cp -r PythonClient/docs/_build docs/api_docs/ # Copy generated files
deactivate
- name: Build AirSim Documentation
run: ./build_docs.sh

# Only on commits to 'master' branch
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build_docs

5 changes: 4 additions & 1 deletion .github/workflows/test_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,14 @@ ModelManifest.xml
/cmake/MavLinkCom/Makefile
/cmake/Makefile
/cmake/HelloDrone/Makefile
/cmake/HelloSpawnedDrones/Makefile
/cmake/DroneShell/Makefile
/cmake/DroneServer/Makefile
/cmake/AirLib/Makefile
/cmake/AirLibUnity/Makefile
/cmake/AirLibUnity/AirLibUnity
/cmake/HelloDrone/HelloDrone
/cmake/HelloSpawnedDrones/HelloSpawnedDrones
/cmake/DroneShell/DroneShell
/cmake/DroneServer/DroneServer
cmake/AirLibUnitTests/Makefile
Expand Down
66 changes: 0 additions & 66 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 8a64330

Please sign in to comment.