Subscribe the topic from UAV mavros and record the data to the *.txt file. rosrun uav_data_get position_data