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.
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.