Skip to content

This repo is to track my personal changes for the interview task

Notifications You must be signed in to change notification settings

hw17/TrackTaskSatellite_personal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrackTaskSatellite_personal

This repo is to track my changes for the task

to generate client1 exe in Terminal:

g++ -std=c++17 client.cpp classClient.cpp time.cpp thread.cpp -o client1

to execute:

./client1

The output in terminal currently is:

...
{"timestamp": 1724343098159, "out1": "2.7", "out2": "4.0", "out3": "5.0"},
{"timestamp": 1724343098263, "out1": "4.0", "out2": "4.0", "out3": "5.0"},
{"timestamp": 1724343098369, "out1": "4.8", "out2": "3.0", "out3": "5.0"},
{"timestamp": 1724343098474, "out1": "5.0", "out2": "3.0", "out3": "5.0"},
...

The graph in python Figure_1

Note

!!!

  • To be able to generate the plot make sure to install matplotlib library:
pip install matplotlib
  • to update/create the json_test.json file:
./client1 > json_test.json
  • edit json_test.json file by adding open square bracket [ at the top and close square bracket ] at the very bottom as the example below:
Screenshot 2024-08-22 at 22 29 11

to see the plot run:

python3 Docs/plotJsonFile.py

About

This repo is to track my personal changes for the interview task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published