Research Article
Advanced Software Ground Station and UAV Development for NLoS Control Using Mobile Communications
Algorithm 3
Proposed file manipulation thread.
(1) Loop | (2) If File_Buffer Elements 0 then | (3) Lock Access (File Buffer) | (4) Copy File_Buffer → Temp_Buffer | (5) Clear All File_Buffer | (6) Unlock Access (File_Buffer) | (7) Else | (8) GoTo (1) | (9) End if | (10) Loop (Temp_Buffer) | (11) Seek to end of File | (12) Write Temp_Buffer Data | (13) Clear Temp_Buffer Data | (14) End Loop | (15) End loop |
|