跳转到主要内容

NMEA和SignalK遥测数据显示仪表板

项目描述

https://github.com/maritime-labs/boatface/workflows/Tests/badge.svg https://codecov.io/gh/maritime-labs/boatface/branch/main/graph/badge.svg https://pepy.tech/badge/boatface/month https://img.shields.io/pypi/v/boatface.svg https://img.shields.io/pypi/status/boatface.svg https://img.shields.io/pypi/pyversions/boatface.svg https://img.shields.io/pypi/l/boatface.svg

Maritime Labs Boatface

关于

一款用于显示NMEA和SignalK遥测数据的仪表盘,特别适用于电子墨水显示屏。

NMEA-0183遥测数据通过UDP端口10110接收。

屏幕截图

https://user-images.githubusercontent.com/453543/181004242-49231c0d-8c2c-4470-81d5-8d882b073736.png

功能

  • 接收并解析NMEA语句

  • 将用户界面渲染为PIL图像

  • 在以下后端显示用户界面:PNGpygletPySDL2eips

设备支持

设置

pip install --upgrade boatface[ui]

要从仓库安装最新开发版本,请执行以下命令

pip install --upgrade git+https://github.com/maritime-labs/boatface#egg=boatface[ui]

使用方法

终端

# Submit telemetry messages in NMEA-0183 format to UDP broadcast.
pip install calypso-anemometer
calypso-anemometer fake --subscribe --rate=hz_8 --target=udp+broadcast+nmea0183://255.255.255.255:10110

# Listen on the network for NMEA-0183 messages and display them on the terminal.
boatface log --source=udp+broadcast+nmea0183://0.0.0.0:10110

GUI

# Display demo data in preview application, single-shot.
boatface ui --source=demo:// --display=viewer

# Display demo data on the screen, using the `eips` program, in landscape orientation.
boatface ui --source=demo:// --display=eips --landscape

# Display demo data on the user interface, using Pyglet.
boatface ui --source=demo:// --display=pyglet

# Display demo data on the user interface, using SDL.
boatface ui --source=demo:// --display=sdl

以下是一个由calypso-anemometer发出的NMEA-0183语句示例:

$IIVWR,154.0,L,11.06,N,5.69,M,20.48,K*65

更多选项

# Enable verbose output.
boatface --verbose ui --source=demo:// --display=pyglet

其他项目

项目信息

词源

纪念Boaty McBoatface

贡献

任何形式的贡献、反馈或补丁都备受欢迎!只需创建一个问题或提交补丁,如果您认为我们应该包括一个新功能,或者报告或修复一个错误。

开发

为了在您的工作站上设置开发环境,请参阅开发沙箱文档。当您看到软件测试成功,您应该准备好开始开发。

资源

许可证

该项目采用GNU AGPL许可协议。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装软件包的信息。

源代码分发

boatface-0.0.2.tar.gz (49.9 kB 查看散列值)

上传时间:

构建分发

boatface-0.0.2-py3-none-any.whl (46.4 kB 查看散列值)

上传时间: Python 3

由以下支持