This C++ program is designed for interfacing with hardware to collect and process real-time data. It features curve-fitting algorithms, real-time data manipulation, and configurable compiler features.
- C++ Compiler (e.g., g++)
- Boost Libraries
- Eigen Library
For Ubuntu, you can install the g++ compiler using:
sudo apt update
sudo apt install g++
For macOS, install Xcode Command Line Tools:
xcode-select --install
Installing Boost Libraries
For Ubuntu:
sudo apt update
sudo apt install libboost-all-dev
For macOS:
brew install boost
Installing Eigen Library
For Ubuntu:
sudo apt update
sudo apt install libeigen3-dev
For macOS:
brew install eigen
- Save the code into a file named ThermalViscosityInterface.cpp.
- Open a terminal and navigate to the folder containing the code.
- Compile the code using:
g++ -o ThermalViscosityInterface ThermalViscosityInterface.cpp -lboost_system
- Connect your microprocessor board via USB.
- Run the program:
./ThermalViscosityInterface
- Follow the on-screen instructions to adjust the decay factor, gain, and offset as needed.
- Written by Geoff Clark of ClarkTribeGames, LLC.