Skip to content

A simple implementation of a telemetry client for communication with the telemetry server of NoLimits 2 - Roller Coaster Simulation

License

Notifications You must be signed in to change notification settings

bestdani/py_nl2telemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Python Client for the NoLimits 2 Telemetry Server

A simple implementation of a telemetry client for communication with the telemetry server of NoLimits 2 - Roller Coaster Simulation.

Usage

A Minimal Example

Launch NoLimits with the --telemetry option and execute on the same machine:

from pprint import pprint

from nl2telemetry import NoLimits2
from nl2telemetry.message import get_telemetry, Answer

with NoLimits2() as nl2:
    nl2.send(get_telemetry)
    data = Answer.get_data(nl2.receive())
    pprint(data.__dict__)

Requirements

  • NoLimits 2 - Roller Coaster Simulation (tested with 2.5.6.0)
  • Python 3 (developed in 3.7, confirmed to work with at least 3.5.2)

Features

  • All messages available in NoLimits 2.5.6.0 Standard and Professional are implemented as IDE friendly classes.
  • Simple demonstration applications.
    • The Minimal example.

    • Live plotting of G-Forces (uses matplotlib).

    • Logging of G-Forces as CSV data.

    • A Station Control Panel.

Limitations

  • No messages that require the Attraction License of NoLimits 2 are implemented.
  • No efforts have been made to ensure or even test parallel execution capability or stability.

About

A simple implementation of a telemetry client for communication with the telemetry server of NoLimits 2 - Roller Coaster Simulation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages