Patent attributes
Embodiments of the present disclosure disclose a mounting bracket and a self-propelled robot. The mounting bracket includes a housing, a rotating shaft and a magnetic positioning assembly. The housing is provided with an inner cavity. The rotating shaft is configured to rotate about an axis in the inner cavity. The magnetic positioning assembly includes a first magnetic element and a second magnetic element which are respectively arranged on the housing and the rotating shaft. The laser distance sensor is attached to the rotating shaft and configured to rotate about the axis. The mounting bracket is configured to prevent the rotating shaft from deviating from the axis by generating a force between the first magnetic element and the second magnetic element in a radial direction of the rotating shaft.