latent-pixel / 808X_TDD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

808X_TDD

ENPM808X - Week 5 - Test Driven Development (TDD)

This repository pertains to the test driven development exercise. The group members are:

Divyansh Agrawal Sahruday Patti Madhu Narra Chittibabu Bhargav Soothram Kumar

Part 1:

The members of the pair for Part 1 of this repository are :

Divyansh Agrawal (Navigator)
Sahruday Patti (Driver)

Part 2:

The members of the pair for Part 2 of this repository are :

Madhu Narra Chittibabu (Navigator)
Bhargav Soothram Kumar (Driver)

Design : We want to implement a PID control system for an autonomous robot. Our input sensor measurement gives feedback values of present velocities for every one second. So we want out control system to run at every one second to save processing time and power. For this rate in change in time we have determined by electrical simulations of real system that our optimal Proportional, Integral and Derivative constants are 0.1, 0.01, 0.001 and with a tolerance of 0.1 will be a stable system.

Problem Statement: Implement a PID Control Software system in C++ using the above hyperparameters.

UML Diagram: Alt text

Activity Diagram: Alt text

Steps to build:

go to the root directory
mkdir build
cd build
cmake ..
make

Steps to run:

./app/shell-app

Steps to unit tests:

./test/cpp-test 

Steps to code coverage:

sudo apt-get install lcov
cmake -D COVERAGE=ON -D CMAKE_BUILD_TYPE=Debug ../
make
make code_coverage

For any other queries, please contact us at dagrawa1@umd.edu OR sahruday@umd.edu.

About


Languages

Language:HTML 99.0%Language:CSS 0.3%Language:CMake 0.3%Language:C++ 0.2%Language:Python 0.2%