Skip to main content

No project description provided

Project description

tau-log

tau-log is a Python package that provides tools for reading and decoding binary log files, used in Tau project.

Messages decription

tau-log needs a json file with information about all message types in the log file.

{
  "GyroMessage": {
    "index": 10,
    "field_names": [
        "time_ms",
        "gx",
        "gy",
        "gz"
    ],
    "field_types": [
        "uint32",
        "float",
        "float",
        "float"
    ]
    }
}

Each message info should have the following fields:

  • Message name
  • Unique message id (0-255). Index is always the first message field and always has uint8 type
  • Field names. All names must be unique within one message. Order of the fields is the same as in the binary message
  • Field data types

This package currently supports only the following data types:

Desctiption Data type
4-byte signed integers int32
4-byte unsigned integers uint32
2-byte signed integers int16
2-byte unsigned integers uint16
1-byte signed integers int8
1-byte unsigned integers uint8
4-byte floating point numbers float
8-byte floating point numbers double

Usage example

import pathlib
import tau_log

log_path = pathlib.Path("LOG2.TAU")
msg_path = pathlib.Path("messages.json")
dataframes = tau_log.parse_file(log_path, msg_path)

for msg_name in dataframes:
    print(dataframes[msg_name])

The decoder provides data in the form of a dictionary, where the data from each message is stored in a separate pandas DataFrame.

Project details


Download files

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

Source Distribution

tau_log-0.2.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tau_log-0.2.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file tau_log-0.2.1.tar.gz.

File metadata

  • Download URL: tau_log-0.2.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for tau_log-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ab359bc85f75a7bbbc7494320628b519ea1ee25d55b5cd40a58139cd7a1347a3
MD5 3851dae7d24b4d2f2009584ac8bb8a42
BLAKE2b-256 22b5a0878896547cb0b4c86c42adbac8c085e6b5c044a574b09bbdb9201da5ad

See more details on using hashes here.

File details

Details for the file tau_log-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: tau_log-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for tau_log-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3e39e8bee62434d16919ace628be03f0ca9fb72d5d050efb5a33f102d3d395d
MD5 0296ea8cd0833b3beeca3302f3203a2e
BLAKE2b-256 10699193a334b73e793d943fb9aee25eb7864ca17008dd502611c2aa51eb8d0e

See more details on using hashes here.

Supported by

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