Skip to main content

OpenSpace

Train Environment

This is the repository of the train environment of the OpenSpace project. This project is written in Python 3.6 and will be running on the computers present on the train.

The project follows the PEP008 style guide, every collaborator should make sure his code is according to the standards.

Tests are very important in this project and should be written for each functional unit. The project uses the unittest library for unit tests and nose for test discovery.

Documentation is key to working in team, so make sure your code is well documented, also following the PEP008 style rules.

alt text

Camera Handler

The camera handler uses a pubsub pattern to let subscribers know when frames are published. These frames will be transformed in the requested codec for each subscriber. These frames are sent to the broker to be redistributed amongst the components.

Vision Container

The vision container will wrap the CV-ML service in the train environment. This will be done by importing their python script into our service and expose our broker as a singleton. This way, the vision container can publish messages and subscribe to messages through the broker. The init script should contain the setup logic for their container, as our service will not call any methods from within their service (except the registered callbacks).

Broker

The broker (previously carriage communicator) is responsible for the internal routing of messages using a broker pattern. Exposed methods:

  • Broker.get_instance()
  • self.subscribe('message', callback)
  • self.publish('message', *args, **kwargs)

Election Component

The election component is responsible for the election procedure amongst the different carriages as well as initiating the (physical) TUDA at an election win.

Virtualized TUDA Module

Virtualized TUDA present on every carriage. This component has to transfer the connections to the TUDA by a HTTP connection.

Train Unit Data Aggregator

The train unit data aggregator is the central point within the current sequence of carriages. This component has to buffer the received information and needs to communicate with the internal API and the transfer module.

Main TUDA Module

This module has to make sure the data is timestamped and routed to the other transfer modules (internal API & transfer module).

Internal API Module

This module has to buffer/store the data and respond to API calls that originate from the internal network on the train.

Transfer Module

This module is responsible for the connection to the wayside (backend). This module has to transfer the data to the AMQP module already present on the train (not part of our service).

Test Simulations

To simulate the AMQP communication and the internal API, we need to create simple simulations of these components.

Metadata

Release files for openspacetrainenv 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openspacetrainenv 0.0.15
File Size Uploaded Provenance Actions
openspacetrainenv-0.0.15.tar.gz 27.8 kB Without provenance Details for openspacetrainenv-0.0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openspacetrainenv 0.0.15
File Interpreter ABI Platform Actions
openspacetrainenv-0.0.15-py3-none-any.whl Python 3 none any Details for openspacetrainenv-0.0.15-py3-none-any.whl

Total release size: 56.4 kB

Release files / openspacetrainenv-0.0.15.tar.gz

Download URL openspacetrainenv-0.0.15.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
91f9b0e3512e65c0dec1d103e6b1dfc422191920c72710ff9fd18bd698de744b
BLAKE2b-256 checksum
How to use checksums
5c9aa5b9f91474bcd1898d82bac3bda2cf8149bbe35980a1e1d8ee2ee27f76c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / openspacetrainenv-0.0.15-py3-none-any.whl

Download URL openspacetrainenv-0.0.15-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81de8915aea62e575f169603544ea0a051f95be6bba3abb4e76fc783182553be
BLAKE2b-256 checksum
How to use checksums
dfae06f806e4d7c38522fba0860ef7ac5db86e0271c94879619156ae1c2f10f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for openspacetrainenv 0.0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page