Giter Club home page Giter Club logo

comp3004-project's Introduction

COMP3004-Project

Project Overview

This is the final project for COMP3004 at Carleton University.

Team #43

  • Karl Damus
  • Jong Sheen Alias Gabriel Chung
  • Evan Allen

GitHub

Project Deliverables

Feature List

  • Power: Turn On / Turn Off + Ending a Session
  • Battery level
  • Select a session (pre-determined or user designated)
  • Connection test
  • Adjust intensity
  • Record / save a session
  • Replay a session

Getting Started

  1. Clone this repository
  2. Launch QTCreator
  3. Select Open Project
  4. Select COMP3004-Project/src/src.pro
  5. Run the program

Who Did What?

Evan Allen

  • UI:
    • Session Group
    • Session Type
    • tDCS Numbers
    • CES Mode
    • Session Display Timer
    • User Designated Time Input
  • Implementation:
    • MainWindow: selecting session groups and displaying
    • MainWindow: selecting session types and displaying
    • MainWindow: starting sessions and updating display timer
    • MainWindow: adjust intensity levels and displaying
    • MainWindow: connection test
  • Use Cases
  • Class Diagram
  • Sequence Diagrams

Karl Damus

  • UI:
    • Power
    • Intensity Level Display
    • Increment Intensity
  • Implementation:
    • User: read from json file
    • User: write to file
    • User: create new file
    • User: other helper methods for user file
    • Session: initialization and helper methods
    • MainWindow: save session
    • MainWindow: power button helpers
    • MainWindow: load user designated session
  • Use Cases
  • Sequence Diagrams

Gabriel Chung

  • UI:
    • User Session list
    • Switch user interface
    • Styled buttons
  • Implementation:
    • MainWindow: power on and off methods
    • MainWindow: soft off method
    • MainWindow: switch between users and default user init
    • MainWindow: recording sessions
    • MainWindow: displaying user sessions
    • MainWindow: intensity light controls
    • MainWindow and User: saving user sessions intensity
    • User: refactored code
    • Session: refactored code
  • Use Cases
  • Sequence Diagrams
  • Class Diagram

Tests

Start a User Designated Length Session

  1. Hold power button, wait for device to turn on
  2. Press power button 3 times to cycle to User Designated session group
  3. Set User Designated session length with the scroll box
  4. Use intensity arrows to select a session type
  5. Press start button
  6. Wait for connection test to finish
  7. Wait for session to finish
  8. Wait for soft off to finish
  9. Device will be turned off

Save a Session

  1. Hold power button, wait for device to turn on
  2. Select user by pressing the cycle button beside users list
  3. Press record button
  4. Change session time in the scroll box
  5. Change session type with the intensity buttons
  6. Press save button

Start a Saved Session

  1. Hold power button, wait for device to turn on
  2. Select user by pressing the cycle button beside users list
  3. Select a saved session
  4. Press start button

File Structure

comp3004-project's People

Contributors

gabe-72 avatar jibet33 avatar karldamus avatar

Watchers

 avatar  avatar

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.