GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - llDev-Rootll/PID_Control: A C++ implementation of a PID Controller

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

102 Commits
102 Commits

Folders and files

NameName
Last commit message
Last commit date
Doxygen_Docs
Doxygen_Docs
 
 
app
app
 
 
assets
assets
 
 
cmake
cmake
 
 
include
include
 
 
results
results
 
 
src
src
 
 
test
test
 
 
vendor/googletest
vendor/googletest
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
.ycm_extra_conf.py
.ycm_extra_conf.py
 
 
808X_PID_Activity_Diagram.pdf
808X_PID_Activity_Diagram.pdf
 
 
808X_PID_Class_UML.drawio.pdf
808X_PID_Class_UML.drawio.pdf
 
 
CMakeLists.txt
CMakeLists.txt
 
 
build_coverage_off.sh
build_coverage_off.sh
 
 
build_with_coverage.sh
build_with_coverage.sh
 
 
doxy_config
doxy_config
 
 
readme.md
readme.md
 
 
run_cppcheck.sh
run_cppcheck.sh
 
 
run_cpplint.sh
run_cpplint.sh
 
 

Repository files navigation

Build Status Coverage Status

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

Overview

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

  • Arunava Basu
  • Shon Cortes
  • Anubhav Paras
  • Charu Sharma

Part 1

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

  • Arunava Basu (Driver)
  • Shon Cortes (Navigator)

Part 2

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

  • Charu Sharma (Driver)
  • Anubhav Paras (Navigator)

Description

The design contains one class, PID. The main function takes the target velocity and present velocity 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

A C++ implementation of a PID Controller

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.