Abstract
Motion planning in dynamic environments remains a significant challenge due to the presence of local minima in trajectory optimization. When a robot's path is obstructed by a moving obstacle, standard optimizers often fail to "jump" to a different topological route—a separate homotopy class—because the cost barrier of the obstacle is too high. We introduce POSH (Planning Online by Switching Homotopies), an algorithm that maintains and re-optimizes a graph of multiple potential trajectories in real-time. By leveraging a multi-chain factor graph and Gaussian Process (GP) inference, POSH allows robots to evaluate an exponential number of paths and switch strategies seamlessly as obstacles move. In simulated tests, POSH achieved a 100% success rate in dynamic narrow passageways, vastly outperforming traditional single-trajectory planners.
Introduction
In the field of robotics, trajectory optimization is a powerful tool for generating smooth, collision-free paths. However, these algorithms are inherently local; they refine an initial guess within a specific homotopy class (e.g., passing to the left of an obstacle). In dynamic environments, a previously optimal homotopy class may become blocked. Because transitioning between classes requires passing through high-cost obstacle regions, standard optimizers often get "stuck," leading to collisions or planning failures.
Previous approaches like GPMP-GRAPH addressed this by finding multiple homotopy classes offline. However, these methods struggle when the "best" class changes dynamically. POSH addresses this gap by providing an online framework that can evaluate and switch between topological options on the fly.
Methodology: The POSH Framework
POSH builds upon the foundation of GPMP-GRAPH, which treats trajectory optimization as a probabilistic inference problem on a factor graph. The core innovations of POSH enable real-time adaptability:
Multi-Chain Factor Graph
Instead of a single path, POSH maintains a graph of interconnected "chains" or initial trajectory guesses. This structure, illustrated in Figure 1, allows the robot to represent a wide variety of potential paths through the environment simultaneously.
Online Re-optimization and Search
At every time step, POSH updates its internal representation of the environment (a Signed Distance Field) to account for moving obstacles. It then re-optimizes the entire graph. To ensure efficiency, the algorithm "warm-starts" the optimizer using the results from the previous time step. After optimization, an A* search is performed over the graph to identify the current lowest-cost path.
Graph Pruning
To maintain computational tractability, POSH employs a Depth First Search (DFS) to prune "unreachable" states (those in the past). This ensures the planner focuses its resources on future candidate paths that may become viable as the environment evolves.
Experimental Evaluation
The authors evaluated POSH in two challenging 2D simulations: a Dynamic Narrow Passageway and a Dynamic Forest.
Dynamic Narrow Passageway
In this scenario, a single obstacle moves to alternately block two different entrances. This environment specifically tests the ability to switch homotopies. As shown in Figure 2, POSH successfully identifies when its current path is becoming blocked and switches to an alternative route in a different homotopy class.
Dynamic Forest
The "Dynamic Forest" serves as a stress test, featuring numerous obstacles moving with random bounded acceleration. This environment requires constant re-evaluation of multiple potential paths to avoid collisions in a chaotic setting.
Results and Discussion
POSH demonstrated significant improvements over baseline algorithms like GPMP2 and GPMP-GRAPH:
- Success Rates: In the narrow passageway, POSH achieved a 100% success rate, compared to just 10% for the baselines. In the dynamic forest, POSH more than doubled the success rate of GPMP-GRAPH (29.23% vs. 11.92%).
- Efficiency: Despite the complexity of optimizing a graph, POSH maintained an average computation time of 0.077 seconds per step, making it suitable for real-time applications.
Key Insights
The success of POSH stems from "hedging its bets." By maintaining multiple homotopy classes, the robot is prepared for environmental changes. However, the researchers noted a "sweet spot" for complexity; adding too many chains can lead to "homotopy collapse," where paths merge, increasing computation without adding functional diversity.
Conclusion and Future Work
POSH provides a robust solution for online motion planning in dynamic environments by explicitly managing multiple homotopy classes. Future work includes extending the framework to 3D environments and high-DOF robot arms. Additionally, integrating sampling-based strategies could help the algorithm discover new homotopy classes that emerge during execution, further enhancing its adaptability.
Summary updated