sanchit2843 / PID_Control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

https://app.travis-ci.com/github/sanchit2843/PID_Control

PID_Control (Team 1 REPO)

Week 5: Test-Driven Development Assignment - ENPM 808X

Overview

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

  • Anukriti Singh
  • Bharadwaj Chukkala
  • Sanchit Tanwar
  • Shantanu Parab

Part 1

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

  • Sanchit Tanwar(Driver)
  • Anukriti Singh (Navigator)

Part 2

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

  • Shantanu Parab (Driver)
  • Bharadwaj Chukkala (Navigator)

Description

The design contains one class, PID. The main function takes the target temperature and present temperature as input and calls the calculate function of the PID class for 100 iterations. The present voltage is updated with the controller output until it reaches within a margin of the target voltage. The UML class diagram is as follows :

UML

*Fig 1 : UML class diagram*

The activity diagram is as follows :

Activity

*Fig 2 : Activity diagram*

Steps to build

    cd ...<path_to_directory>/
    mkdir build
    cd build
    cmake ..
    make

Steps to run

    ...<path_to_directory>/app/shell-app

Steps to run cppcheck and cpplint

Run cppcheck: Results are stored in ./results/cppcheck_process_part2.txt, ./results/cppcheck_result_part2.txt

sh run_cppcheck.sh

Run cpplint: Results are stored in ./results/cpplint_result_part2.txt

sh run_cpplint.sh

About


Languages

Language:HTML 99.2%Language:CSS 0.3%Language:CMake 0.3%Language:C++ 0.1%Language:Shell 0.0%