embeddedgyro / shakey-table

Repo for team 2 of the Real Time Embedded Programming 5 course at the University of Glasgow, creating an anti-quake cup holder.
GNU General Public License v3.0
0 stars 2 forks source link

CMake and Unit testing #14

Closed Jambu1234 closed 5 months ago

Jambu1234 commented 6 months ago

Working on incorporating CMake build system to our overall project module and developing unit tests for each modules.

Jambu1234 commented 5 months ago

Unit test case developed for PID controller with customized input values.

Jambu1234 commented 5 months ago

Unit tests has been classified as online and offline testing validating modules communication attributes through i2c bus via online testing and methods intended static functioning through offline testing. Modules like MPU6050 and INA260 has been online tested, followed by MotorDriver and PID control is validated through offline testing. CMake file structure is updated to validate the unit testing in a single go.

Jambu1234 commented 5 months ago

Unit testing task has been successfully completed as defined.