Inferensys

Glossary

Velocity Obstacle (VO)

The Velocity Obstacle (VO) is a geometric collision avoidance algorithm that defines, for a moving agent, the set of all velocities that would result in a collision with another moving obstacle within a specified time horizon.
Developer reviewing multi-agent chat interface on laptop, agent conversation logs visible, casual coding session at WeWork desk.
COLLISION AVOIDANCE ALGORITHM

What is Velocity Obstacle (VO)?

A geometric method for reactive navigation that identifies unsafe velocities for a moving agent.

A Velocity Obstacle (VO) is a geometric collision avoidance algorithm that defines, for a moving agent, the set of all velocities that would result in a collision with another moving obstacle within a specified time horizon. It transforms the physical problem of avoiding a collision into a velocity space selection problem. The agent can then select any velocity outside this forbidden set, typically the one closest to its preferred goal-directed velocity, to guarantee safety for the defined time horizon. This provides a clear, mathematically sound framework for reactive navigation in dynamic environments.

The core VO construct is a collision cone in the relative velocity space, originating from the agent and encompassing all relative velocity vectors that would cause an intersection with the obstacle's expanded shape. This cone is then translated into the agent's own velocity space to form the VO set. Key extensions include the Reciprocal Velocity Obstacle (RVO), which assumes cooperative responsibility among agents for smoother maneuvers, and Optimal Reciprocal Collision Avoidance (ORCA), which provides efficient, linear-time solutions for multi-agent navigation. The VO family is foundational for decentralized collision avoidance in robotics and autonomous vehicles.

ALGORITHMIC FOUNDATIONS

Core Characteristics of Velocity Obstacles

The Velocity Obstacle (VO) algorithm provides a geometric, predictive framework for collision avoidance by mapping the set of velocities that would lead to a future collision. Its core characteristics define its analytical power, computational properties, and practical applications in multi-agent systems.

01

Geometric Predictive Model

The VO is fundamentally a geometric construct in velocity space. For a given agent A and obstacle B, it calculates the Minkowski sum of B's shape and A's shape, then projects this expanded region into the space of A's possible velocities relative to B. Any velocity vector whose ray intersects this region represents a collision course within a specified time horizon (τ). This transforms the spatial collision problem into a simpler velocity selection problem.

02

Velocity Space Formulation

Unlike path-based planners, VO operates directly in velocity space. This allows agents to reason about immediate actions (what velocity to command now) rather than committing to a long-term path. The set of permissible velocities is the complement of the VO set. Selecting a new velocity from this safe set guarantees collision-free motion for at least the time horizon τ, provided other agents maintain their current velocities. This makes the algorithm highly reactive to dynamic changes.

03

Time Horizon (τ) Dependency

The size and shape of the VO are directly controlled by the time horizon parameter τ. A larger τ creates a larger VO, representing a more conservative, long-term lookahead. A smaller τ creates a smaller VO, allowing agents to pass closer but requiring more frequent replanning. This parameter allows a tunable trade-off between:

  • Safety vs. Efficiency: Longer horizons increase safety margins but can be overly restrictive.
  • Reactivity: Shorter horizons enable quicker reactions to sudden velocity changes by other agents.
04

Assumption of Constant Velocity

The classic VO formulation assumes all agents and obstacles move at a constant velocity over the time horizon τ. This is a key linear prediction model that makes the geometric construction tractable in real time. While this assumption is often valid for short horizons (e.g., 2-5 seconds in robotics), it is a primary limitation. Violations occur when agents accelerate, decelerate, or turn. Extensions like the Generalized Velocity Obstacle (GVO) address this by incorporating known acceleration bounds or more complex motion models.

05

Decentralized and Reciprocal Nature

VO is inherently a decentralized algorithm. Each agent computes its own VO set based on its local perception of other agents' positions and velocities, requiring no central coordinator. The Reciprocal Velocity Obstacle (RVO) and Optimal Reciprocal Collision Avoidance (ORCA) extensions formalize this by assuming all agents share responsibility for avoidance. Each agent selects a velocity outside its VO while moving halfway toward a mutually avoidant velocity, preventing oscillatory "dancing" behavior and enabling smooth, cooperative navigation in dense crowds.

06

Computational Efficiency & Real-Time Viability

For circular or polygonal agents, the VO can be represented as a cone or a union of convex regions in velocity space. Checking if a candidate velocity is collision-free becomes a simple point-in-cone test. This O(1) per obstacle complexity enables real-time performance for dozens of agents, a critical requirement for autonomous vehicles and mobile robots. The efficiency allows it to run at high control frequencies (10-100 Hz) as part of a reactive control loop, complementing slower, global path planners.

O(1)
Per-Obstacle Check
10-100 Hz
Typical Control Frequency
METHOD COMPARISON

Velocity Obstacle vs. Other Collision Avoidance Methods

A feature comparison of the Velocity Obstacle (VO) algorithm against other prominent reactive and predictive collision avoidance techniques used in robotics and autonomous systems.

Algorithmic FeatureVelocity Obstacle (VO)Artificial Potential Field (APF)Dynamic Window Approach (DWA)Model Predictive Control (MPC)

Core Principle

Geometric velocity space exclusion

Virtual attractive/repulsive forces

Search over admissible velocities

Finite-horizon trajectory optimization

Planning Horizon

Predictive (finite time window)

Reactive (instantaneous)

Reactive (short-term)

Predictive (configurable horizon)

Multi-Agent Cooperation

Requires extension (e.g., RVO, ORCA)

Implicit via summed force fields

No inherent cooperation

Explicit via coupled constraints

Formal Safety Guarantee

Yes, for deterministic models

No (local minima risk)

No (greedy search)

Yes, with proper constraint formulation

Computational Complexity

O(n) for n obstacles

O(n) for n obstacles

O(v * θ) for velocity samples

High (solves QP at each step)

Handles Kinematic Constraints

No (post-processed)

No

Yes (core to the search)

Yes (core to the model)

Primary Output

Set of forbidden velocities

Steering vector (force gradient)

Optimal (v, ω) command

Optimal control input sequence

Typical Use Case

Multi-robot navigation

Simple goal-reaching

Differential-drive robots

High-dynamics vehicles

INDUSTRIAL DEPLOYMENT

Practical Applications of Velocity Obstacles

The Velocity Obstacle (VO) algorithm is a foundational geometric method for reactive collision avoidance. Its core applications span from warehouse logistics to autonomous vehicles, where it enables agents to navigate safely among dynamic obstacles by calculating inadmissible velocities.

01

Warehouse & Logistics Robotics

Velocity Obstacles are deployed in automated warehouses to coordinate fleets of Autonomous Mobile Robots (AMRs). Each robot calculates VOs for nearby agents and static obstacles to select a collision-free velocity.

  • Key Use: Enables safe, high-density traffic in narrow aisles for order-picking and material transport.
  • Benefit: Provides real-time, decentralized decision-making, allowing robots to react instantly to human workers or other robots entering their path.
  • Example: A robot carrying a shelf to a picking station must avoid a suddenly stopped peer; its VO calculation immediately identifies all velocities that would cause a collision within the next 2 seconds, forcing a selection from the remaining safe set.
02

Unmanned Aerial Vehicle (UAV) Navigation

For drones operating in cluttered airspace, VO provides a lightweight method for sense-and-avoid. The algorithm treats other UAVs, buildings, and no-fly zones as dynamic obstacles.

  • Key Use: Essential for Beyond Visual Line of Sight (BVLOS) operations and drone delivery services in urban environments.
  • Benefit: The geometric nature of VO allows for extremely low-latency replanning, critical for fast-moving aircraft.
  • Implementation: Often combined with Trajectory Prediction models. The drone doesn't just consider an obstacle's current velocity but predicts its future position, constructing a probabilistic velocity obstacle (PVO) for robust avoidance.
03

Maritime Collision Avoidance

In maritime navigation, VO is applied as a decision-support tool for officers and in the development of Maritime Autonomous Surface Ships (MASS). The Collision Regulations (COLREGs) are encoded as additional constraints on the VO.

  • Key Use: Calculating Closest Point of Approach (CPA) and determining Time to CPA (TCPA) to evaluate risk and plan course changes.
  • Benefit: Provides a clear, visualizable representation of forbidden maneuvers, aiding human comprehension of complex multi-ship encounters.
  • Constraint: The selected velocity must not only avoid the VO but also respect COLREGs rules like "give-way" and "stand-on" responsibilities, making the admissible velocity set a intersection of geometric and regulatory constraints.
04

Multi-Robot Coordination in Manufacturing

On a factory floor, heterogeneous robots—articulated arms, automated guided vehicles (AGVs), and collaborative robots (cobots)—use VO-based protocols for shared workspace safety.

  • Key Use: Enables human-robot collaboration by allowing cobots to dynamically adjust their speed and path in real-time as a human operator approaches their work envelope.
  • Benefit: Facilitates flexible manufacturing where robot tasks and paths are not pre-programmed but adapt to the current state of the production line.
  • Extension: Algorithms like Reciprocal Velocity Obstacle (RVO) and Optimal Reciprocal Collision Avoidance (ORCA) build on VO by assuming all agents cooperate, leading to more natural and oscillation-free maneuvers in dense, multi-agent scenarios.
05

Autonomous Vehicle Intersection Management

VO is used in research and prototyping for unsignalized intersection negotiation among connected autonomous vehicles. Each vehicle broadcasts its intended velocity, and others compute the corresponding VO.

  • Key Use: Replaces traffic lights with cooperative, priority-based negotiation, potentially increasing throughput.
  • Benefit: Provides a formal safety guarantee; if every vehicle selects a velocity outside the union of all VOs, collisions are mathematically prevented for the defined time horizon.
  • Challenge: Requires reliable Vehicle-to-Everything (V2X) communication and consensus protocols to handle intentions. The Dynamic Window Approach (DWA) is often used downstream to convert the selected velocity into feasible steering and acceleration commands.
06

Service & Social Robot Navigation

Robots operating in human environments (hospitals, hotels, airports) use VO variants for socially-aware navigation. The obstacle set includes not just physical objects but also personal space models around people.

  • Key Use: Enables robots to navigate crowded, dynamic spaces like hospital corridors or airport terminals without causing discomfort or obstruction.
  • Benefit: Models like the Social Force Model can be integrated with VO, where people exert a repulsive "force" that expands their effective velocity obstacle, encouraging the robot to pass at a respectful distance and speed.
  • Consideration: The time horizon (tau) is critical; a short horizon makes the robot agile but potentially myopic, while a long horizon promotes smoother, more predictable paths essential for human comfort.
VELOCITY OBSTACLE (VO)

Frequently Asked Questions

A geometric algorithm for reactive collision avoidance in multi-agent systems. These questions address its core mechanics, applications, and relationship to other key robotics concepts.

A Velocity Obstacle (VO) is a geometric collision avoidance algorithm that defines, for a moving agent, the set of all velocities that would result in a collision with another moving obstacle within a specified time horizon, known as the collision cone. The agent then selects a velocity from the complement set of safe velocities. The core mechanism constructs a collision cone in the velocity space, originating from the agent's position. This cone represents all relative velocity vectors that would cause the agent to intersect the obstacle's expanded shape within time tau (τ). By subtracting this cone from the agent's set of dynamically feasible velocities (dynamic window), the algorithm identifies the VO—the velocities to avoid. The agent then selects the optimal velocity from the remaining safe set, typically the one closest to a preferred goal-directed velocity.

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.