New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aeroscore

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aeroscore

Gliding Competition Scoring

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

aeroscore

Build Status

Gliding Competition Scoring

Content

The current status of the project is: work in progress

This project contains code and algorithms to score gliding competition flights using the TypeScript programming language. The reason for using TypeScript is being able to compile to JavaScript and run the code in the browser to ultimately allow live scoring using either SkyLines or OGN live tracking data.

The examples folder contains some basic scripts to demonstrate what the library is currently capable of. It is recommended to run them using ts-node. For example:

ts-node examples/calc-ranking.ts fixtures/2017-07-17-lev

Installation

To install aeroscore you need to install:

GIT and curl

sudo apt-get install git curl

Node.js

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

Yarn

curl -o- -L https://yarnpkg.com/install.sh | bash

Logout (exit) and back in again

yarn global add ts-node typescript

aeroscore

git clone https://github.com/Turbo87/aeroscore.git

Change into aeroscore directory and install dependencies

cd aeroscore
yarn install

To check if you installation was successfull, run

ts-node examples/live-scoring.ts

Live-Scoring

You can use aeroscore to perform a live scoring of a running contest task. aeroscore can read a given task (XCSoar tsk format) and filter (Glidertracker.org fromat) to perform live scoring of the task. aeroscore connects to Glidertracker.org via WebSocket connection and continuously receives OGN data from the GliderTracker, which it evaluates into a live scoring.

Live-scoring using local filter and task files can be started like this

ts-node examples/live-scoring.ts fixtures/Luesse/task.tsk fixtures/Luesse/filter.csv

Live-scoring using remote filter and task files directly from GliderTracker.org can be started like this

ts-node examples/live-scoring.ts "http://glidertracker.org/#tsk=https://gist.github.com/hsteinhaus/4369987643f0081d49c4458baa8c1422/raw/task&lst=https://gist.github.com/hsteinhaus/4369987643f0081d49c4458baa8c1422/raw/filter"

License

aeroscore is licensed under the MIT License.

FAQs

Package last updated on 22 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc