This application discloses a positioning method,
system, device, and medium for long straight corridors, belonging to the field of
robot positioning technology. The method involves: determining when the
robot enters a long straight corridor area, controlling the
robot's direction to be consistent with the corridor's extension direction, and collecting first
pose data, first mileage data, and attitude
yaw angle; during the robot's movement, collecting second
pose data and second mileage data in real time; constructing a constraint line based on the corridor slope determined by the attitude
yaw angle and the second
pose data; calculating the movement distance using the first and second mileage data, and constructing a constraint circle with the first pose's corresponding coordinates as the center and the movement distance as the
radius; solving the equations of the constraint line and constraint circle simultaneously, and determining the final positioning pose based on the results. Therefore, by implementing this application, the missing longitudinal positioning constraints in the context of long straight corridor feature degradation can be supplemented, solving the problem of unreliable robot positioning.