Version 2023.11
X-plane 11 simulator
Pytorch 1.10.0
python 3.8
numpy 1.18.5
gym 0.10.5
pandas 1.3.5
The codes provide a Reinforcement Learning (RL)-based obstacle avoidance strategy for aircraft. The RL-based obstacle avoidance strategy is based on the SAC RL algorithm and includes a pre-training stage and a fine-tuning stage. The codes also include a baseline 3DVO-based obstacle avoidance strategy. The codes require X-plane 11 flight simulator, Pytorch (1.10.0), Python (3.8), Numpy (1.18.5), Gym (0.10.5), and Pandas (1.3.5).
SAC.py
- Establish an RL-based navigator according to the SAC RL algorithmReplayBuffer.py
- Establish a replay buffer
main_pretrain.py
- The main file of pre-trainingmain_pretrain_test.py
- Test a pre-trained RL-based navigatorEnv_pre.py
- Environment for pre-training and testing a pre-trained RL-based navigator
main.py
- The main file of fine-tuningenv.py
- Environment for fine-tuningmain_test
- Test a fine-turned RL-based navigatorEnv_test.py
- Environment for testing a fine-turned RL-based navigator
main_test_vo
- Test the 3DVO-based obstacle avoidance strategyEnv_test_vo.py
- Environment for testing the 3DVO-based obstacle avoidance strategy