#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

#52 in Rendering

Download history 108/week @ 2024-08-04 389/week @ 2024-08-11 141/week @ 2024-08-18 32/week @ 2024-08-25 1/week @ 2024-09-01 206/week @ 2024-09-15 29/week @ 2024-09-22 67/week @ 2024-09-29 335/week @ 2024-10-20 13/week @ 2024-10-27

348 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