Skip to content

Latest commit

 

History

History
79 lines (34 loc) · 1.32 KB

README.md

File metadata and controls

79 lines (34 loc) · 1.32 KB

AirSim Unity Reinforcement Learning Quadrotor Pytorch

Reinforcement learning for AirSim Unity Quadrotor environment and DQN pytorch

dqn_quadrotor

Environment (Setup)

Test

Simulation test of agent_v0.py is completed, but not in agent.py.

agent_v0.py is simple version of dqn script to test work well in Airsim Simulator.

To use

Put 3 files env.py , agent.py , run.py in directory ~/Airsim/PythonClient/multirotor.

To run

  • Launch Unity Editor.

    cd ~/Unity-2018.2.7f1/Editor
    ./Unity
    
  • Choose your own environment.

  • Default example UnityDemo is given in directory ~/Airsim/Unity .

  • Select Play button.

  • If simulation is playing, select Drone Mode.

  • Now run script.

    cd ~/Airsim/PythonClient/multirotor
    python run.py
    
    # or run
    python agent_v0.py
    

Author