# artificial-potential-field-matlab **Repository Path**: linshu1994/artificial-potential-field-matlab ## Basic Information - **Project Name**: artificial-potential-field-matlab - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-01 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MATLAB implementation of Artificial Potential Field

## Running instruction: - Run the main.m file from directory. - User can defined objects like Robot, Goal, Obstacles in this file. ## Requirements - MATLAB ## Features - Single robot and goal object - Two obstacle objects ## Objective: - The aim is to move mobile robot from start point to goal point while avoiding obstacle in path ## Flow Chart Artificial Potential Field: ![FlowChart](https://user-images.githubusercontent.com/37571161/58727204-1c85b500-83fd-11e9-87a1-1e3b23c4ecef.PNG) ## Attractive – Repulsive Potentials ![5](https://user-images.githubusercontent.com/37571161/82117049-224be600-9787-11ea-9ff5-f87e8f16afb9.png) ### Figure 2 Obstacle for Environment

### Figure 3 Obstacles and Target in Environment

## Mobile Robot Phases: ### The Glide Phase Initially, Mobile Robot(MR) will move in a straight line from start-point to End-point, unless and until the sensor detects an obstacle ### The Maneuver Phase The Mobile Robot(MR) enters the maneuver phase to “go around” the obstacle, as shown in Figure 4 below with the robot (R), obstacle (O) and target(T) in a line. Artificial Particles (AP) are placed, at equal angle intervals, on a circle of radius C t . #### Figure 4 2D Grid

## Selection Criteria for point ![selection](https://user-images.githubusercontent.com/37571161/82116813-be74ed80-9785-11ea-9fae-8fb9b8f20b7c.png) ## Cost Function ![cost](https://user-images.githubusercontent.com/37571161/82116852-f2501300-9785-11ea-8613-3d0eb0b7b413.png) ## Algorithm Development (Steps and Input Data) ![Algorithm_Development_(Steps_and_Input_Data)1](https://user-images.githubusercontent.com/37571161/82116873-1f042a80-9786-11ea-8eb6-b13ee28d8b97.png) ![Algorithm_Development_(Steps_and_Input_Data)2](https://user-images.githubusercontent.com/37571161/82116897-5d014e80-9786-11ea-9c16-bb362c04c9df.png) ![Algorithm_Development_(Steps_and_Input_Data)3](https://user-images.githubusercontent.com/37571161/82116916-8cb05680-9786-11ea-9f43-f1680d7f10be.png) ## Limitations ![4](https://user-images.githubusercontent.com/37571161/82116950-bd908b80-9786-11ea-8d39-d0f89e5fc4ff.png)