Skip to content

Monbert/sensorFusion_Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sensorFusion_Demo

Project of sensor fusion

Table of Contents

Introduction

This software can calculate a single and weighted value from your input data which include many sensors values. And the value generated by the algorithm is representative of the correct raw data, which means there are some wrong measures in raw data.

Organization

Carleton University

Authors

Kai Xia @Monbert
Hui Tang @htang085

File organization

  • /bin (it will be automatically created when program is executed)
  • /build (it will be automatically created when program is executed)
  • /data
    • /input/inputdata.csv
    • /output/outputdata.xls
  • /doc
    • Software_documentation.pdf
  • /include
    • algorithm.h
    • data.h
  • /src
    • algorithm.c
    • data.c
    • main.c
  • /test
    • data/inputdata.csv
    • src/main.c
  • makefile
  • README
    Details information about file organization can be found in doc/Software_documentation.pdf

Pre-Requisites to run the software

Platform compatibility: Mac OS 10.12.6, Linux Ubuntu 18.04, Windows 10

  1. GNU packages (make, cmake)
  2. gcc compiler

Installing and running

Step 1 : Download the whole project
Step 2 : cd to this project location in the terminal
Step 3 : clean residual files -- terminal command "make clean"
Step 4 : compile all files -- terminal command "make all"
Step 5 : run the executable file -- terminal command "make run"

Testing

Here we prepare two set of sensor data to test functions, comparing expected results and actual results to tell the function PASS or FAIL in the part of testing.

Step 1 : cd to this project location in the terminal
Step 2 : clean residual files -- terminal command "make clean"
Step 3 : compile all files used in testing-- terminal command "make test"
Step 4 : run the executable testing file -- terminal command "make run_test"
Step 5 : input 1 or 2 in terminal, then press enter

Input

Input is stored in /data/input/inputdata.csv. In order to have different results of output, please change different input values of set of sensor data to compute, then save and name it as data/input/inputdate.csv
Details about format of input was showed in doc/Software_documentation.pdf

Output

The output is stored and showed in an output folder /data/output/outputdata.xls
Details about format of output was showed in doc/Software_documentation.pdf

Where to find

Software Design Diagram
Details of Function Implementation
Coding Convention
Code Comments Rules
Those details for developers can be found in doc/Software_documentation.pdf

About

Project of sensor fusion for course_sysc5709F

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •