Swarm-IITKgp/APF-Simulator

Name: APF-Simulator

Owner: Swarm IIT Kharagpur

Description: APF Simulation code for Path Planning of swarm bots

Created: 2017-05-13 14:06:15.0

Updated: 2017-05-18 09:33:47.0

Pushed: 2017-05-18 09:33:45.0

Homepage: null

Size: 23

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

APF-simulator

Introduction

The main idea behind artificial potential field methods is finding a function that represents the energy of the system,and generating a force on the robot so that the energy of the system is minimized and reach it?s minimum value, preferably only, at the goal position.

This repository contains python,cpp,matlab simulator for APF

Link to the documentation

https://drive.google.com/drive/folders/0B0UXcR6jjCx3UnBMYzFaN09SYUE

Installation and Usage

Simulator requires Python or Cpp to run.

Make sure you have Python 2.7(or later) installed. Open the terminal and enter the 'python' (without quotes) command, if the python shell doesn't run, execute the following commands:

do apt-get install python2.7
do apt-get install python-pip python-dev build-essential 
do pip install --upgrade pip 
do pip install --upgrade virtualenv 

Below Python packages are to be downloaded and installed to their default locations.

  • xlrd If not installed, execute the following command
    p install xlrd
    
  • opencv If not installed, refer OpenCV Python Installation
  • numpy If not installed, execute the following command
    p install numpy
    
    To run the simulator, clone the repository and run the following commands
  • python
     APF-Simulator/PythonCode
    thon simulator.py
    
  • cpp If Opencv not installed, refer OpenCV C++ Installation
     APF-Simulator/C++Code
    ke
    bin
    
Contribution

Want to contribute? Great!

1.Fork it! 2.Create your feature branch: git checkout -b my-new-feature 3.Commit your changes: git commit -m 'Add some feature' 4.Push to the branch: git push origin my-new-feature 5.Submit a pull request :D


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.