The invention discloses a multi-
robot affine formation path optimization method driven by a virtual navigator, and the method comprises the steps: firstly setting a
point set composed of the virtual navigator and followers, enabling the virtual navigator to form a convex
hull and meet an affine localization condition, so as to guarantee that the followers are always located in the convex
hull; generating a collision-free reference trajectory of the
mass center of the virtual navigator based on a fast
random tree algorithm; constructing a nonlinear constraint
optimization problem NCO which contains linear transformation constraint and meets smoothness,
obstacle avoidance, speed and angular speed constraint; and establishing a communication graph of the virtual navigator and the follower, calculating balance stress, designing a smoother follower distributed differential speed control law, and realizing formation path optimization and
obstacle avoidance control. Compared with an existing method, the formation
path generation method has the advantages that the smooth and stable formation path fitting the reference trajectory can be generated while
obstacle avoidance and physical feasibility are guaranteed, and the cooperative motion capability and the control performance of a multi-
robot system in a complex environment are improved.