Trajectory planner adapts safely in real time to active pursuers

TrajEdit: Real-Time Flow-Matching Trajectory Adaptation via FlowEdit and CBF Safety Filter

Robotics

Summary

Planning safe paths for robots or vehicles gets really hard when something is chasing them because the plan needs to change quickly. The authors created TrajEdit, which updates a route on the fly instead of planning a new one from scratch every time. It adjusts the remaining path when the pursuer comes closer using a smart editing step called FlowEdit and switches to a safety filter if things get too risky. Their method saves computing time while keeping the chance of escaping high.

What this means in practice

  • For autonomous vehicle engineers: Design vehicle path planners that update trajectories quickly to avoid active pursuers and obstacles in real time.$Commercial implications: This approach enables safer autonomous driving systems that handle adversarial or rapidly changing environments, improving vehicle responsiveness and passenger safety.
  • For robotics navigation developers: Implement efficient motion planners that adapt robot routes during pursuit-evasion tasks while maintaining safety, reducing computation cost.

Authors

Wondmgezahu Teshome, Arya Honarpisheh, Octavia Camps, Mario Sznaier

Abstract

Safe, real-time motion planning is especially difficult when a dynamic obstacle actively pursues the ego agent, requiring rapid adaptation as the environment changes. We present TrajEdit, a hierarchical trajectory planner for pursuit-evasion that combines flow matching, trajectory editing, and safety filtering. Rather than regenerating trajectories from scratch at every step, TrajEdit follows the current plan under nominal conditions and adapts its remaining portion through FlowEdit as the pursuer approaches, and falls back to a control barrier function safety filter if the adversarial agent is within a safety threshold. Our use of FlowEdit for trajectory editing reduces computation time while maintaining a comparable success rate. We evaluate TrajEdit in 2D pursuit-evasion with static obstacles and an adversarial pursuer, demonstrating high success rates with low capture and collision rates, while achieving computational time savings over full replanning baselines.