Robotics Telemetry Logger
Project Description This is a command-line simulation of a robotic sensor system. The project demonstrates core principles of sensor data management, dynamic memory handling, and persistent logging, forming a foundation for robotics telemetry and control system simulations.
The system collects simulated sensor readings (temperature, distance, battery), logs them into a CSV file, and applies simple reactive logic to mimic robotic decision-making.
Features
-
Sensor Simulation
-
Temperature (ยฐC), distance (cm), battery (%)
-
Randomized but realistic values for testing
-
Dynamic Memory Management
-
Stores an arbitrary number of readings using a dynamically resizing array
-
Reactive Logic
-
Low battery โ returns to bโฆ
Robotics Telemetry Logger
Project Description This is a command-line simulation of a robotic sensor system. The project demonstrates core principles of sensor data management, dynamic memory handling, and persistent logging, forming a foundation for robotics telemetry and control system simulations.
The system collects simulated sensor readings (temperature, distance, battery), logs them into a CSV file, and applies simple reactive logic to mimic robotic decision-making.
Features
-
Sensor Simulation
-
Temperature (ยฐC), distance (cm), battery (%)
-
Randomized but realistic values for testing
-
Dynamic Memory Management
-
Stores an arbitrary number of readings using a dynamically resizing array
-
Reactive Logic
-
Low battery โ returns to base
-
Overheating โ activates cooling
-
Obstacle detected โ triggers rerouting
-
Persistent Data
-
Save readings to CSV (
data_log.csv) -
Load previously saved data into memory
-
View CSV contents directly from the program
-
Interactive Menu
-
Menu-driven CLI for running simulations and managing data
Project Structure
telemetry-sim/ โโโ src โ โโโ main.c โ โโโ logic.c โ โโโ sensors.c โ โโโ logger.c โโโ include/ โ โโโ logic.h โ โโโ sensors.h โ โโโ logger.h โโโ data/ โ โโโ data_log.csv โโโ README.md โโโ LICENSE โโโ .gitignore