ObstacleAvoidanceBehavior
io.github.srs.model.entity.dynamicentity.behavior.behaviors.ObstacleAvoidanceBehavior
object ObstacleAvoidanceBehavior
A Behavior that avoid obstacles using proximity sensor readings.
The behavior operates in three phases:
- Free: No obstacles detected, the robot moves forward at cruise speed.
- Warn: Obstacles detected but not critical, the robot slows down and steers away from the closest obstacle.
- Blocked: Obstacles detected at a critical distance, the robot performs a pivot turn
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
In this article