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

Prerequisites

Installing the Python SDK requires the following to be installed on your machine:

  • swig
  • python3-dev

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.dev17.tar.gz (419.6 kB view details)

Uploaded Source

File details

Details for the file bstpythonsdk-3.22.0.dev17.tar.gz.

File metadata

  • Download URL: bstpythonsdk-3.22.0.dev17.tar.gz
  • Upload date:
  • Size: 419.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for bstpythonsdk-3.22.0.dev17.tar.gz
Algorithm Hash digest
SHA256 ea7d1ebaf2e1fb38ff84ffea85b6c4a5a17a90c2bdc25a2bb04b63170f07d102
MD5 a99313c0ba7928ab07bf1b08c4be9d83
BLAKE2b-256 8872e951f242177dc20bf0fa874740596ad4536e6b44fa482c9fa15054eb64d1

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