This repository contains the implementation of Gym environment for the drone navigation in surveillance environment by dtungpka
Drone-v0
python3 -m pip install DroneNavigationGym-RL
import gymnasium as gym
import Autonomus_Drones_Navigation_For_Surveillance
env = gym.make('Drone-v0',drones=2,render_mode='human',size=20,targets=2,obstacles=2,battery=100)
obs, info = env.reset()
while True:
action = env.action_space.sample()
obs, reward, terminated, _, info = env.step(action)
if terminated:
break
env.close()