#Robotics_Demo
##Introduction: The main purpose of this demonstration is to recognize color patches on the cars and ball, and find a path by A* algorithm in further.
##Procedure:
- Recognizing color patches
- Creating map
- A* path finding
Source code comprises one main code, robotics_demo.m, and three M-file functions.
##Functions Description:
###* color_rec:
Input: Image in HSV, HSV parameter, structuring element
Output: centroid point (2x1)array
###* obstacle_img:
Input: Color patches' centroid point
Output: 48x64 Binary Image
###* astar:
Input: pic_b(48x64 map image), start point, target point, structuring element
Output: path bank (2xN) matrix
##Reference:
More details about A* algorithm: A* Pathfinding for Beginner