This project implements a sensor data processing system that simulates the acquisition, processing, and transmission of sensor data from various types of sensors to a central receiver. The system utilizes multithreading, mutexes, condition variables, and design patterns to achieve concurrent and synchronized processing.
- Simulates multiple types of sensor objects: temperature, pressure, and capacitive sensors.
- Utilizes multithreading ( C++11's thread library ) to acquire sensor data concurrently from multiple threads.
- Implements a central Bus Controller (BC) for coordinating access to shared resources.
- Uses a Receiver to collect and process sensor data.
- Implements a Link Access Controller (LAC) to manage access to communication links.
- Includes error handling for thread synchronization and resource access.
- Provides efficient handling of sensor data using deque containers.
C++11 compiler CMake (for building)
- Clone the repository to your local machine.
- Navigate to the project directory.
- Use CMake to build the project.
- Run the compiled executable.