Inferensys

Glossary

Velocity Obstacle (VO)

Velocity Obstacle (VO) is a geometric collision avoidance concept that defines the set of velocities for an agent that would lead to a collision with another moving object within a specified time horizon.
Developer reviewing multi-agent chat interface on laptop, agent conversation logs visible, casual coding session at WeWork desk.
MULTI-AGENT PATH PLANNING

What is Velocity Obstacle (VO)?

A geometric framework for decentralized, reactive collision avoidance between moving agents.

A Velocity Obstacle (VO) is the set of all velocities for a robot that would result in a collision with another moving obstacle within a specified time horizon, assuming both maintain constant velocity. This collision cone is constructed geometrically in the robot's velocity space, enabling real-time avoidance by simply selecting any velocity outside the forbidden set. The method is reciprocal, meaning each agent independently performs the calculation, leading to cooperative maneuvers without explicit communication.

The core VO algorithm is distributed and reactive, making it highly scalable for dense, dynamic environments like warehouses. Extensions like Optimal Reciprocal Collision Avoidance (ORCA) linearize the VO constraints to solve for the velocity closest to a preferred one, ensuring smooth navigation. While powerful for local avoidance, VO does not guarantee global goal convergence, often requiring integration with a higher-level path planner for complete multi-agent navigation.

GEOMETRIC COLLISION AVOIDANCE

Key Features of Velocity Obstacle

The Velocity Obstacle (VO) is a foundational concept for reactive, distributed collision avoidance. It provides a geometric framework for an agent to select safe velocities by calculating which future motions would lead to a collision with other moving objects.

01

Core Geometric Definition

The Velocity Obstacle for agent A with respect to agent B is defined as the set of all velocities for A that would cause a collision with B within a specified time horizon (τ). It is constructed by taking the Minkowski sum of agent B's shape with agent A's shape, then translating this combined shape into velocity space. Any velocity vector for A that originates from its current velocity and points into this VO region is guaranteed to cause a future collision if B maintains its current velocity.

02

Reciprocal Velocity Obstacle (RVO)

The Reciprocal Velocity Obstacle (RVO) is a critical extension that assumes cooperative behavior. Instead of one agent bearing full responsibility for avoidance, RVO models the assumption that both agents will share the effort. The algorithm calculates a new, collision-free velocity for each agent that is the average of its preferred velocity and the velocity that would avoid the other agent if it were stationary. This leads to more natural, symmetric, and oscillation-free maneuvers, forming the basis for many modern multi-robot navigation libraries.

03

Optimal Reciprocal Collision Avoidance (ORCA)

Optimal Reciprocal Collision Avoidance (ORCA) is the predominant algorithm derived from VO theory. It transforms the VO problem into a linear programming optimization. For each neighboring agent, ORCA defines a half-plane of permissible velocities that guarantees collision avoidance under reciprocal assumptions. The intersection of all these half-planes forms the ORCA feasible region. The agent then selects the new velocity closest to its preferred velocity within this region, ensuring optimal and provably collision-free navigation in dense, dynamic settings.

04

Time Horizon (τ) and the Collision Cone

The time horizon (τ) is a crucial parameter that defines how far into the future the algorithm predicts collisions. It directly shapes the size of the VO region. A larger τ makes the VO larger and the agent more cautious. Geometrically, the VO for a point agent is a collision cone in velocity space—a cone whose apex is at the agent's current velocity and whose sides are tangent to the expanded obstacle. Velocities inside this cone lead to a collision before time τ. This cone visualization is key to understanding the algorithm's reactive nature.

05

Distributed and Reactive Nature

VO-based methods are fundamentally distributed and reactive. Each agent performs its own calculations based solely on the observed positions and velocities of nearby agents, without centralized coordination or long-term path planning. This makes the approach highly scalable and robust to dynamic changes. However, it is generally non-optimal in a global sense and can lead to local minima (e.g., agents becoming trapped in symmetric scenarios) because it lacks long-horizon reasoning.

06

Integration with Global Planners

In practice, VO/RVO/ORCA is rarely used in isolation. It is typically deployed in a hierarchical architecture alongside a global path planner (e.g., A* on a static map). The global planner computes an optimal path to the goal, while the local VO-based controller handles dynamic obstacle avoidance in real-time, deviating from the planned path as necessary. This combines the benefits of global optimality with local reactivity, which is the standard paradigm for autonomous navigation in warehouses and crowded environments.

METHOD COMPARISON

Velocity Obstacle vs. Related Collision Avoidance Methods

A comparison of geometric and algorithmic approaches for reactive and predictive collision avoidance in multi-agent systems.

Feature / CharacteristicVelocity Obstacle (VO)Optimal Reciprocal Collision Avoidance (ORCA)Conflict-Based Search (CBS)Time-Expanded Graph Search

Core Principle

Geometric set of velocities leading to future collision

Reciprocal velocity selection based on half-plane constraints

Centralized search with constraint-based conflict resolution

Static graph search over discretized space-time

Planning Paradigm

Reactive / Local

Reactive / Local

Centralized / Global

Centralized / Global

Optimality Guarantee

No (selects any feasible velocity)

Yes (for convex, holonomic agents)

Yes (for solution cost)

Yes (for solution cost)

Reciprocity Assumption

No

Yes (agents share responsibility)

N/A (centralized control)

N/A (centralized control)

Handles Kinematic Constraints

Yes (via admissible velocity space)

Yes (for linear dynamics)

Indirectly (via agent model)

Yes (via motion primitives)

Scalability (Agent Count)

High (distributed, local computation)

High (distributed, local computation)

Low-Medium (exponential joint state space)

Low (graph size grows with horizon)

Time Horizon

Finite (specified parameter τ)

Finite (specified parameter τ)

Full path to goal

Full path to goal within horizon

Primary Use Case

Local, reactive navigation in open spaces

Smooth, reciprocal navigation in dense crowds

Optimal, conflict-free path planning

Planning in dynamic environments with moving obstacles

VELOCITY OBSTACLE

Frequently Asked Questions

The Velocity Obstacle (VO) is a foundational geometric method for decentralized, reactive collision avoidance between moving agents. These questions address its core principles, applications, and relationship to other path planning techniques.

A Velocity Obstacle (VO) is a geometric construct that defines the set of all velocities for a robot (the agent) that would result in a collision with another moving object within a specified time horizon. It works by transforming the physical collision condition in workspace into a constraint in the agent's velocity space. For a given obstacle, the VO is a cone-shaped region emanating from the agent's position. By selecting any velocity outside this cone, the agent guarantees it will not collide with that obstacle for the defined time window, assuming constant velocities. This allows for real-time, reactive navigation without a pre-computed global path.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.