This repository pertains to the test driven development exercise. The group members of which are :
- Madhu Narra Chittibabu
- Bhargav Soothram Kumar
- Sahruday Patti
- Divyansh Agarwal
The members of the pair for Part 1 of this repository are :
- Madhu Narra Chittibabu (Driver)
- Bhargav Soothram Kumar (Navigator)
The members of the pair for Part 2 of this repository are :
- Sahruday Patti (Choose)
- Divyansh Agarwal (Choose)
The design contains one class, PID. The main function takes the current and goal state as input to pid class which should be initialized with kp, ki, kd and dt values. The goal and current state is then passed to runController method which calls computUpdate method 100 times to compute final state.
The UML class diagram is as follows :
cd pid-controller/
mkdir build
cd build
cmake ..
make
./app/shell-app
./test/cpp-test
sudo apt-get install lcov
cmake -D COVERAGE=ON -D CMAKE_BUILD_TYPE=Debug ../
make
make code_coverage