Skip to main content

BST Flight Management SDK

Project description

This is the public SDK for the Black Swift Technologies SwiftCore flight management system. More information on the products this works with can be found on our website https://bst.aero

For information on using this with a gazebo multi-rotor simulation, see here: https://gitlab.com/bstaero/sdk/-/wikis/gazebo-setup

For information interfacing with the BST SwiftFlow wind probe, see here: https://gitlab.com/bstaero/sdk/-/wikis/swiftflow-interface

Python SDK

Install

pip install BSTPythonSDK

Import

import bst_python_sdk

Usage

Parse Log

from bst_python_sdk.logparse import Parser

log_path = "path/to/log.bin"
parser = Parser()

# parsed_log will be a dict containing all packets from the provided log
parsed_log = parser.parse_log(log_path)

Log -> NetCDF

from bst_python_sdk.log_to_nc import convert_to_nc

log_path = "path/to/log.bin"

# output will be a list of the converted logs in netcdf format
# Ex: ["log_010_FW0001.nc", "log_010_SwiftStation.nc"]
output = convert_to_nc(log_path)

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

BSTPythonSDK-3.22.0.dev2.tar.gz (322.1 kB view details)

Uploaded Source

Built Distribution

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

BSTPythonSDK-3.22.0.dev2-cp311-cp311-macosx_14_0_arm64.whl (413.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

Details for the file BSTPythonSDK-3.22.0.dev2.tar.gz.

File metadata

  • Download URL: BSTPythonSDK-3.22.0.dev2.tar.gz
  • Upload date:
  • Size: 322.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for BSTPythonSDK-3.22.0.dev2.tar.gz
Algorithm Hash digest
SHA256 35d5e54a491300ebc7bc3013577261e68cf9277cb6395bb03ca722d266f65cf6
MD5 6dcf337851405389a91f282b2067cbc8
BLAKE2b-256 d85fec277bbb700704de9e8ec4acc724ea248b4ecd28b6f588211ac9684e29f1

See more details on using hashes here.

File details

Details for the file BSTPythonSDK-3.22.0.dev2-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for BSTPythonSDK-3.22.0.dev2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 17b4f13a11d2874664743ad2b1b5ef884cfb738cbfede2899fde451d0222eb8c
MD5 5006e3e9c21e95ea0c45dcad81746660
BLAKE2b-256 7f1880d321570ddc3280768f33c93c55a00ca7abe6586fc968a89c6bed811e97

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