This repository contains python code implementation of the paper "USV-AUV Collaboration Framework for Underwater tasks under Extreme Sea Conditions".
Plese feel free to contact @360ZMEM(Guanwen Xie) if you encounter issues on this project.
Run this command to install the dependencies:
pip install -r requirements.txt
Run this command to train the TD3(DDPG) agents:
python train_td3.py # TD3
This Python file includes the relevant classes and functions for calculating tide waves and USBL positioning. You can run this command to test and visualize the tide wave and evaluate the positioning results produced using cross-shaped hydrophones when the USV is positioned at the origin of the coordinates.
python tidewave_usbl.py
This Python file includes the environment simulation code and functions for USV-AUV collaboration. Execute this Python file to test the USV-AUV collaboration and visualize the Fisher determinant value and the optimal USV position.
python colab.py
Subsequently, execute this command to perform the simulation using the trained policies, generating the USV/AUV trajectories and the AUV tracking error:
python eval_td3.py
Finally, execute this command to generate the figures of the trajectories and tracking error, similar to Fig. 4(a) and Fig. 4(b) in the original paper.
python fig_draw_example/draw_trajectory.py #draw trajectories of AUVs and USV, fig4a
python fig_draw_example/draw_tracking_error.py #fig4b
If you find it useful for your work please cite:
@article{xu2024extreme,
title={USV-AUV Collaboration Framework for Underwater tasks under Extreme Sea Conditions},
author={Xu, Jingzehua and Xie, Guanwen and Wang, Xinqi and Ding, Yimian and Zhang, Shuai},
journal={arXiv preprint arXiv:2409.02444},
year={2024}
}