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

sensor-core

Core library for the sensor-bridge/display project

11 stable releases

new 1.12.8 Apr 27, 2024
1.12.7 Apr 17, 2024
1.12.6 Mar 11, 2024
1.12.5 Feb 29, 2024
1.12.2 Jan 6, 2024

#59 in Rendering

Download history 19/week @ 2024-01-05 1/week @ 2024-02-02 20/week @ 2024-02-09 148/week @ 2024-02-16 373/week @ 2024-02-23 121/week @ 2024-03-01 293/week @ 2024-03-08 34/week @ 2024-03-15 28/week @ 2024-03-22 41/week @ 2024-03-29 1/week @ 2024-04-05 156/week @ 2024-04-12 22/week @ 2024-04-19

220 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

~20–31MB
~294K SLoC