Skip to content

Commit

Permalink
Merge pull request #11 from terminal2/feature-working-with-raw-messages
Browse files Browse the repository at this point in the history
Version 0.2.0 improvements
  • Loading branch information
Douglasdc3 committed Nov 18, 2020
2 parents 28f86c5 + 2b7d737 commit f865fe1
Show file tree
Hide file tree
Showing 196 changed files with 6,778 additions and 3,862 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on: [push, pull_request]

jobs:
build:
name: JDK ${{ matrix.java_version }}
runs-on: ubuntu-latest

strategy:
matrix:
java_version: [11]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1

- name: Install JDK ${{ matrix.java_version }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}

- name: Build with Gradle
run: ./gradlew build --stacktrace

41 changes: 0 additions & 41 deletions .github/workflows/default.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/master.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish Release

on:
push:
tags:
- '*'

jobs:
publish:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Upload release
run: ./gradlew mode-s:uploadArchives --no-daemon --no-parallel
env:
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
ORG_GRADLE_PROJECT_SIGNING_PRIVATE_KEY: ${{ secrets.GPG_SECRET_KEYS }}

- name: Publish release
run: ./gradlew mode-s:closeAndReleaseRepoistory --no-daemon --no-parallel
env:
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
30 changes: 30 additions & 0 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish Snapshot

on:
push:
branches:
- master

jobs:
publish:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Retrieve version
run: |
echo "VERSION_NAME=$(cat gradle.properties | grep -w 'VERSION_NAME' | cut -d'=' -f2)" >> $GITHUB_ENV
- name: Publish snapshot
run: ./gradlew mode-s:uploadArchives --no-daemon --no-parallel
if: endsWith(env.VERSION_NAME, '-SNAPSHOT')
env:
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
target/
build/
.classpath
.project
.settings
.idea/
.gradle/
*.iml
demo-dist/
1 change: 0 additions & 1 deletion .java-version

This file was deleted.

117 changes: 0 additions & 117 deletions .mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

Binary file removed .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
2 changes: 0 additions & 2 deletions .mvn/wrapper/maven-wrapper.properties

This file was deleted.

29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,32 @@ This project adheres to [Semantic Versioning](http:https://semver.org/).
#### Added

#### Removed

### [v0.2.0][v0.2.0]

#### Fixed

- BDS21: Is not valid if first byte is 0b00100000
- BDS45: Is invalid if status = false and static pressure is likely wrong
- BDS60
- Calculate CAS and compare with IAS to increase accuracy / validity
- If status flag = true and value is non-zero it cannot be BDS60 message
- Perform status bit checks on correct data bits
- BDS50: Filter groundspeed > 600 as incorrect message to reduce number of false positives
- BDS40: Check status flags and non-zero values
- BDS40: MCP Altitude calculations
- BDS45: check radio height on correct data bits

#### Changed

- Migrate Maven POM based release to Gradle based release
- ModeSDatabase can now be loaded using external CSV files

#### Added

- DF17: Aircraft Operational Status (Version 2 Airborne/Ground)
- DF17: Aircraft Operational Status (Version 1 Airborne/Ground)
- DF17: Airborne Velocity
- Only work with Downlink Message without track management
- Disable tracks deleted on automatically

Loading

0 comments on commit f865fe1

Please sign in to comment.