JacSchn / 5G-Beamforming-from-Visual-and-Lidar-Rendering

Regent Scholarship Research with UWW where we are using machine learning in an autonomous driving lab to collect visual and lidar-based models to have optimal guidance of 60GHz Wireless Network.
GNU Lesser General Public License v2.1
2 stars 1 forks source link

Creation of a Log Directory #19

Closed flynn248 closed 2 years ago

flynn248 commented 2 years ago

\tA log directory was created in the home directory. This will hold a log for the stdout and stderr for each sensor except the routers. This cleans up the terminal and allows each sensor to be booted up in the background. A disadvantage is that there is no output to the terminal to easily see if an issue occurred while booting up the sensor. The logs can be looked at, but this isn't the best of options. Since each process is started in the background with a shell script, there is also a file for each sensor that holds its Process ID (PID) number. This allows the stop_collection.sh script to kill those background processes since the jobs command will not list them. ps will be able to list them, but a file with the PID is the simplest method to avoid having to search the output of ps.