#sensor #display #embedded #desktop-applications #rust

sensor-core

Core library for the sensor-bridge/display project

27 stable releases

1.12.24 Oct 22, 2024
1.12.21 Aug 24, 2024
1.12.16 Jul 7, 2024
1.12.6 Mar 11, 2024

#50 in Rendering

Download history 7/week @ 2024-07-13 106/week @ 2024-08-03 381/week @ 2024-08-10 26/week @ 2024-08-17 156/week @ 2024-08-24 2/week @ 2024-08-31 200/week @ 2024-09-14 35/week @ 2024-09-21 66/week @ 2024-09-28 1/week @ 2024-10-05 323/week @ 2024-10-19 25/week @ 2024-10-26

358 downloads per month

GPL-3.0 license

46KB
944 lines

Sensor Core

Sensor Core is a core library for the Sensor Bridge and Sensor Display projects. These projects allow you to display sensor information from one device on another device's screen. This document provides an overview of the Sensor Core library.

Sensor Bridge

Sensor Bridge is a cross-platform desktop application that collects sensor data. It's designed to reduce memory and CPU consumption on the device collecting the data, as rendering is offloaded to the device running Sensor Display.

Sensor Display

Sensor Display is part of a two-application system that receives sensor information from the Sensor Bridge application and displays it on the screen. It's designed to reduce memory and CPU consumption on the device collecting the data, as rendering is offloaded to the device running Sensor Display.

Architecture

Both Sensor Bridge and Sensor Display are designed to work together. Sensor Bridge runs on the device collecting the sensor data, and Sensor Display runs on a separate device with a connected display. The sensor data is sent from the device running Sensor Bridge to the device running Sensor Display, where it is then displayed.

The sensor core library is used by both Sensor Bridge and Sensor Display. It provides the following functionality:

  • Rendering sensor data to an raster image
  • Shared data structures for sensor data
  • Shared functionality

Building and Running the Project

To run the project, execute the following command in the root directory of the project:

cargo build

Dependencies

~13–25MB
~301K SLoC