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

sensor-core

Core library for the sensor-bridge/display project

28 stable releases

new 1.12.25 Dec 11, 2024
1.12.24 Oct 22, 2024
1.12.22 Sep 16, 2024
1.12.16 Jul 7, 2024
1.12.6 Mar 11, 2024

#53 in Rendering

Download history 165/week @ 2024-08-14 153/week @ 2024-08-21 5/week @ 2024-08-28 171/week @ 2024-09-11 50/week @ 2024-09-18 40/week @ 2024-09-25 41/week @ 2024-10-02 217/week @ 2024-10-16 130/week @ 2024-10-23 1/week @ 2024-10-30

2,157 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
~300K SLoC