Giter VIP home page Giter VIP logo

3004-group-project's Introduction

COMP3004 Final Project - HeartWave (Group 60)

This is the final group project for COMP3004: implementing a simulation HeartWave machine using C++ and QTDesigner

Group Members

⭐️ Arian Taherzadeh (101176357)
⭐️ Colin Vrugteman (101222385)
⭐️ Daniel Mejia (101245999)
⭐️ Rosa Li (101224337)

Installation and Execution Instructions

1️⃣ Go into your terminal and enter git clone https://github.com/rosali2003/3004-group-project.git
2️⃣ Navigate into the folder: cd 3004-group-project
3️⃣ Open the HeartWave.pro file in QTDesigner
4️⃣ When the project is open, hit the big, green play button in the bottom left (you can't miss it)

Assigned TA

Yanan Mao

Files Included

  • HeartDB.cpp
  • HeartDB.h
  • HeartWave.pro
  • SessionRecord.h
  • battery.cpp
  • battery.h
  • defs.h
  • device.cpp
  • device.h
  • display.cpp
  • display.h
  • main.cpp
  • mainwindow.cpp
  • mainwindow.h
  • mainwindow.ui
  • qcustomplot.h
  • qcustomeplot.cpp

3004-group-project's People

Contributors

colinmatti avatar mejiadaniel2021 avatar rosali2003 avatar ariantaherzadeh avatar

Watchers

 avatar

3004-group-project's Issues

Add coherence scores according to simple function that corresponds to heart rate

Purpose:
Calculate coherence scores to determine how the user is doing and display them to the UI.

Breakdown:

  • Add function to calculate coherence values based on heart rate values. Ensure coherence scores are between 0 and 16 (inclusive)
  • display coherence score to the UI and update them every 5 seconds (or every 5 heart rate values)

Write `README.md`

Please write in Markdown so it can be displayed properly on GitHub repo page
Refer to assignment specs for what to write about

Create UML Diagram

Create UML Diagram in Draw.io using the Classes Needed page in Notion

Build use cases

Write use cases on several success scenarios to do with the device (with extensions included)

  • Use case created for main success scenario (session started and finished without error)
  • Use case for checking the history logs

Create Sequence Diagrams

Make sequence diagrams in draw.io and then transfer them over to the team Notion

  • Create Sequence Diagrams for Success Cases
  • Create Sequence Diagrams for Checking History
  • Create Sequence Diagrams for Failure Cases (i.e. battery is out, etc.)

Write Written Description of our Code Structure

Write a couple paragraph description of why we chose the structure of our code (i.e. why we have certain classes, their purpose, and how they work together)

Write the description in Notion

  • Written description of the function of each class
  • How each of the classes works together/hierarchy
  • Why this is the most efficient way to tackle the project

Handle Menu and Display

  • only allow buttons on menu clicked if device is on

  • the first click of the center button will display either 'start session' or 'log history'

  • the up and down arrows should allow the user to choose between 'start session' or 'log history'

  • the center click of the center button to select

  • Add functionality to the Menu Source File

  • Add functionality to the Display Source File

  • Up, down and ok buttons are mapped

handle low battery use case

  • determine an interval in which the battery level decreases
  • if battery level is less than 10%, prompt user to recharge
  • once recharged, change battery level to 100%
  • add button to charge battery
  • if power hits 0% print error message

Feel free to make changes to this design

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.