How to simulate a path planning algorith in static environment

조회 수: 2 (최근 30일)
Borison ningthoujam
Borison ningthoujam 2018년 5월 23일
댓글: Ameer Hamza 2018년 5월 23일
Guys help me out...m writing a GUI program to simulate a path planning algorithm of a robot from initial to destination points by avoiding obstacles.my obstacles have a impact radius of 1.so my program is to move the points form initial point to destination without passing through the obstacle.There is something wrong with the looping of my program.see my GUI program

답변 (2개)

Ameer Hamza
Ameer Hamza 2018년 5월 23일
편집: Ameer Hamza 2018년 5월 23일
Instead of defining your obstacles as points on an axis, MATLAB Robotics toolbox provides a more convenient interface to simulate obstacles on a map. Refer to this link for further details. Especially check the occupancygrid() and binaryoccupancygrid(). They provide methods to easily detect collision detection. For more examples to use them refer here, here and here.

Borison ningthoujam
Borison ningthoujam 2018년 5월 23일
i need to write in gui...can u please tell me how to make changes to my code to make it functional
  댓글 수: 1
Ameer Hamza
Ameer Hamza 2018년 5월 23일
The occupancy grid provided by robotics toolbox can also be displayed on the axis. So from GUI point of view, you don't need to make any major changes. Although you will need to change the code to work with occupancy grids. The examples will provide you enough information to learn how to use occupancy grids through your code.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by