Skip to content

Sensor++ is a C++ implementation for interfacing different kinds of sensors. The design is based on the strategy-design-pattern.

Notifications You must be signed in to change notification settings

open-pete/SensorPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sensor++

Sensor++ is a C++ implementation for interfacing different kinds of sensors. The design is based on the strategy-design-pattern.

Build Status Coverage Status

Requirements

  1. Installation of qt
  2. Installation of python3-pip and gitpython

Setup / Clone & Compile

# set variables
repoName="SensorPP"
repoURL="https://github.com/open-pete/SensorPP.git"
branch="master"
manifest="default.xml"

# clone this repository
git clone ${repoURL}
cd ${repoName}

# download all depency repos
git clone https://github.com/mezorian/EasyDepend.git
cp EasyDepend/*.py .
python3 example.py

# build
source /opt/qt55/bin/qt55-env.sh
/opt/qt55/bin/qmake
make clean
make

# run
./SensorPP

Roadmap

v1.1.0 Dummy Sensor

  • returning dummy values
  • storing time of readSensor
  • documentation
  • coverage report working
  • test-cases for dummy sensor
  • two readSensor implementations possible dummy-values for testing, real hardware implementation (depending on a variable during compile-time)
  • more then one value possible (for multi-sensors, or for sensors with more then one value (e.g. GPS) )
  • rename repo to SensorPP

v1.2.0 Dummy Implementation of 5-10 sensors

  • GPS
  • Power consumption / current / voltage
  • Relais Status
  • Battery Status / voltage
  • Water Tank Status
  • Temperature / Weather Sensor

v1.3.0 refactoring

  • bring code-coverage to > 80%
  • refactor code regarding style-guide
  • add more documentation in cpp files

About

Sensor++ is a C++ implementation for interfacing different kinds of sensors. The design is based on the strategy-design-pattern.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages