From: Ibrahim Sanhoury on
Hi to every one
I am simulating a mobile robot
I have the equations for the robot
I already done the simulation for the robot and its movement

my second step now I want to make an environment for the robot in 2-D
this environment include an obstacles and a goal for the robot to move to it.
I want to represent the obstacle in matlab
also the goal
and the enviroment
so the robot will not go out from this enviroment and avoide the obstacles and move twards the goal.
is there any way to do that in 2-D.
also how the robot can sense the obstacle and the goal
thank you.