Concept Flow - Obstacle avoidance
Start
Sense obstacles
Is obstacle close?
No→Move forward
Yes
Calculate avoidance direction
Change movement direction
Move
Repeat
The agent senses obstacles, decides if it needs to avoid, calculates a new direction, and moves accordingly.