Research Article
Advanced Software Ground Station and UAV Development for NLoS Control Using Mobile Communications
Algorithm 2
Proposed data logging thread.
| (1) Initialize Global_Buffer of the Type (Synchronized Array List) | | (2) Initialize File_Buffer of the Type (Synchronized Array List) | | (3) Start File Manipulation Thread | | (4) Loop | | (5) If Global_Buffer Elements >0 then | | (6) Lock Access (Global_Buffer Array List) | | (7) Copy Global_Buffer File Buffer | | (8) Clear All Global_Buffer | | (9) Unlock Access (Global_Buffer) | | (10) Else | | (11) GoTo (4) | | (12) End if | | (13) End loop |
|