Follow Everything: A Leader-Following and Obstacle Avoidance Framework with Goal-Aware Adaptation
Qianyi Zhang, Shijian Ma, Boyi Liu, Jianhao Jiao, Dimitrios Kanoulas
TL;DR
Robotic leader-following is challenged by arbitrary leader forms and temporary occlusion from the follower's field of view. The authors present Follow Everything, a unified framework that combines a SAM-based segmentation with a distance frame buffer, a goal-aware adaptation mechanism, and a graph-based planner to robustly track and follow leaders while avoiding obstacles. Key contributions include distance-aware segmentation memory enabling re-identification across occlusions, a multi-state adaptation that modulates $V_t^{max}$ and $D_t$ and yields dynamic goals, and a topological-graph planner that generates and optimizes time-efficient trajectories under obstacle and goal constraints. Across simulations and real-world tests with diverse leaders (human, ground robot, UAV, stop sign) in indoor and outdoor settings, the method achieves higher follow success, lower leader-loss time, fewer collisions, and tighter robot–leader distances, indicating strong potential for practical deployment.
Abstract
Robust and flexible leader-following is a critical capability for robots to integrate into human society. While existing methods struggle to generalize to leaders of arbitrary form and often fail when the leader temporarily leaves the robot's field of view, this work introduces a unified framework addressing both challenges. First, traditional detection models are replaced with a segmentation model, allowing the leader to be anything. To enhance recognition robustness, a distance frame buffer is implemented that stores leader embeddings at multiple distances, accounting for the unique characteristics of leader-following tasks. Second, a goal-aware adaptation mechanism is designed to govern robot planning states based on the leader's visibility and motion, complemented by a graph-based planner that generates candidate trajectories for each state, ensuring efficient following with obstacle avoidance. Simulations and real-world experiments with a legged robot follower and various leaders (human, ground robot, UAV, legged robot, stop sign) in both indoor and outdoor environments show competitive improvements in follow success rate, reduced visual loss duration, lower collision rate, and decreased leader-follower distance.
