Skip to main content

First class data visualization and communication with embedded devices

Project description

pytelemetry

This module implements a powerful communication protocol that makes remote control and monitoring of embedded devices an effortless task.

from pytelemetry import Pytelemetry
from pytelemetry.transports.serialtransport import SerialTransport
import time

transport = SerialTransport()
tlm = Pytelemetry(transport)
transport.connect({port:'com9',baudrate:'9600'})

# publish once on topic 'throttle' (a named communication channel)
tlm.publish('throttle',0.8,'float32')

def printer(topic, data, opts):
    print(topic," : ", data)

# Subscribe a `printer` function called on every frame with topic 'feedback'.
tlm.subscribe("feedback", printer)

# Update during 3 seconds
timeout = time.time() + 3
while True:
    tlm.update()
    if time.time() > timeout:
        break

# disconnect
transport.disconnect()
print("Done.")

Language C implementation

Telemetry is the same protocol implemented in C language.

Command Line Interface (CLI)

Pytelemetry CLI is a powerful command interface perfectly suited for fast prototyping with this protocol. It allows for plotting embedded device’s data on-the-fly, publishing values on any topics, listing serial ports and much more.

Centralized documentation

The documentation for all three projects is centralized here.

MIT License, (C) 2015-2016 Rémi Bèges (remi.beges@gmail.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pytelemetry-1.1.9-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file pytelemetry-1.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for pytelemetry-1.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7abc706cfb57025dc510af14f6686053d9dea8880c7268670a7841192f67d615
MD5 2e828b89de4efa38e5faafeecd426b17
BLAKE2b-256 64c16b8e85d6f61b45b249b2ce5b3ef71aa24484472148adac8f98036c17d262

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page