Autonomous Drone Navigation for Surveillance Gym Environment
Project description
Autonomus Drone Navigation for Surveillance Environment
Environments
This repository contains the implementation of Gym environment for the drone navigation in surveillance environment by dtungpka
Drone-v0
Installation
python3 -m pip install DroneNavigationGym-RL
Usage
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()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.