The invention relates to the technical field of grass
trimmer control, in particular to a grass
trimmer control method and
system driven by
environmental perception, and the method comprises the steps: obtaining the slope, boundary coordinates and obstacle direction of an operation area, constructing a propelling direction, a turning
point sequence and a cutterhead track, determining path control and adjustment demands, extracting a propelling angle, a turning amplitude and a cutterhead lifting amount, and carrying out the control of a grass
trimmer. The combined modules act, time matching is carried out, triggering
delay and action overlapping are marked, instructions are sent to all the modules in sequence, and grass mowing operation execution instructions are completed. According to the method, through space-
time correlation calibration and dynamic layer construction, the
terrain gradient, the obstacle direction and the boundary are converted into quantitative parameters, the environmental feature analysis precision is improved, based on propulsion inclination angle and edge sequence derivation, the path adaptability is enhanced, the matching of a propulsion motor, cutterhead lifting and path rotation is optimized, the action conflict risk is reduced, and the method is suitable for popularization and application. The control instruction and execution synchronization is ensured, closed-loop adjustment is formed, the power redundancy loss is reduced, and the
cutting track continuity is improved.