Conceptcore
Velocity obstacle
Also called collision cone.
The set of robot velocities that lead to a collision with a moving obstacle within some time, if both keep their velocities.
A velocity obstacle is the set of velocities of a robot that would make it collide with a moving obstacle at some future time, if the robot and the obstacle both keep a constant velocity. For two discs, it is a cone in the plane of the robot's velocities, with its apex at the obstacle's velocity and its axis toward the obstacle. Any velocity outside the cone keeps the robot clear of that obstacle for all time; any velocity inside it leads to a contact. With many obstacles, the robot takes the union of the cones and picks a velocity outside all of them that it can reach in the next control cycle, often the one closest to the velocity it would like to have. Paolo Fiorini and Zvi Shiller introduced the idea for planning in dynamic environments in 1998. It is the basis of the reciprocal velocity obstacle and ORCA methods for groups of robots and crowds.
In plain words
You walk across a station hall and someone walks toward you. If you both keep your speed and direction, will you bump into each other? That depends on your speed and direction. Some choices lead to a bump; the others do not. The choices that lead to a bump form a wedge: aim inside it and you collide, aim outside it and you pass.
A robot draws one such wedge for each moving thing around it. Then it picks a speed and direction outside all the wedges, as close as it can to where it wants to go. It does this again many times each second, because people change their speed and direction.
The idea
Relative motion. Let robot be a disc of radius at with velocity , and let obstacle be a disc of radius at with velocity . Seen from , the robot moves with the relative velocity . In the configuration space of 's center, grows to the disc of radius about ; for other shapes, it grows to the Minkowski sum .
Collision cone. The collision cone is the set of relative velocities whose ray from meets the grown obstacle:
If , this is a closed cone with its apex at the origin, its axis along , and the half-angle .
Velocity obstacle. The velocity obstacle is the collision cone shifted by the obstacle's velocity:
The name "collision cone" is sometimes used for this shifted set too; strictly, the collision cone lives in relative velocities and the velocity obstacle in the robot's own velocities.
Facts that follow from the definition (theorem).
- If and both velocities stay constant, then and never touch.
- If , they touch at some time .
- For several obstacles, the velocities that avoid all of them are the complement of the union .
Both statements hold only under the constant-velocity assumption. When an obstacle turns or speeds up, the cone is out of date, and the robot must recompute it at every cycle.
Time horizon. A collision far in the future is not a threat yet. The truncated velocity obstacle keeps only the collisions within a time :
In relative velocities it is the union of the discs for : the cone with its tip near the apex cut off by the disc .
Choosing a velocity. The robot can reach only some velocities in one cycle, because of its acceleration limits. Fiorini and Shiller call the reachable velocities outside the union of the velocity obstacles the reachable avoidance velocities. A common rule picks, among them, the velocity closest to a preferred velocity that points to the goal, as the dynamic window approach does with its own score. If the set is empty, no constant velocity is safe for the horizon, and the robot picks the velocity with the latest collision, or stops.
Examples
One disc that comes head on. Robot is at the origin with , and obstacle is at with and . So , , and the half-angle is . The axis of the cone points along .
| Angle to the axis | In ? | First contact | ||
|---|---|---|---|---|
| yes | ||||
| yes | ||||
| no | never |
For , the closest approach of the relative ray to is , and the first contact solves , which gives . For , the closest approach is . With a horizon of , the velocity is outside : the contact would come at 2.31 s, later than the horizon. The velocity is on the boundary of , with contact at exactly .
Two robots that both avoid. If both and use velocity obstacles and treat each other as passive, each moves fully out of the other's cone. At the next cycle, each sees that the old velocity is now safe again and turns back, and they oscillate. The reciprocal velocity obstacle fixes this by letting each robot take half of the avoidance.
Where it is used
- Mobile robots among moving obstacles. Reactive collision avoidance with people, vehicles or other robots, as a local layer under a global planner.
- Multi-robot systems and crowds. Reciprocal velocity obstacles and ORCA, which replaces each cone by a half-plane and picks the velocity by a small linear program, as in Seidel's algorithm. Crowd simulation in games and films uses them for thousands of agents.
- Ships and aircraft. Collision avoidance at sea and in the air, where the vehicles move at almost constant velocity for long times, so the assumption fits well.
- Kinodynamic planning. As a fast test inside kinodynamic planners that must check many velocities against moving obstacles.
References
- Paolo Fiorini and Zvi Shiller, Motion planning in dynamic environments using velocity obstacles, The International Journal of Robotics Research 17(7), pp. 760-772, the whole paper (the collision cone, the velocity obstacle as the cone shifted by the obstacle velocity, the reachable avoidance velocities, and the avoidance maneuvers)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag 2DNNAR Edit this page History Report an error Markdown