dknathalage / SIT329-Project

0 stars 3 forks source link

Create the code for the decision matrix to handle the data from 4 sensors and output a single position #46

Open nadavfedida opened 2 years ago

SachiniWitharana commented 2 years ago

Image

SachiniWitharana commented 2 years ago

Image

nadavfedida commented 2 years ago

Matrix code from Publisher to subscriber

Publisher file
takes in random integers as sensor data X4 sensors,
computes if all are above the threshold values (which are
all arbitrary for now). Once computed which are not true and false,
the program will work out which position is most likely the user
is in, then send it to the subscribed client.
Subscriber file
Receives the data send from the publisher file, decoding the
position and time spent in said position. Once a particular
flag is detected, the program will stop recording more data
and execute the analytical report gathered from the CSV file
generated.

Video of creating data, sending, receiving, and analysing the data <----- LINK

Image