The invention discloses a mechanical arm control method and
system based on real-time attitude
estimation, and the method comprises the steps: obtaining a real-time
point cloud image of a mechanical arm, and carrying out the attitude
estimation based on the real-time
point cloud image to obtain an initial attitude of the mechanical arm; the target posture of the mechanical arm is determined, the target posture and the initial posture are analyzed, and the posture error difference is determined; the attitude error difference is analyzed, the
error state of the mechanical arm in each direction is determined, and a
motion optimization coefficient matrix of the mechanical arm is determined based on the
error state; the operation parameters of the mechanical arm are optimized on the basis of the
motion optimization coefficient matrix, and motion of the mechanical arm is controlled on the basis of the optimized operation parameters; and after the mechanical arm moves, the steps are repeated, and closed-loop circulation control over the mechanical arm is completed.
Visual monitoring is converted into real-time
dynamic monitoring from static monitoring, continuous closed-loop deviation correction can be achieved in the movement process of the mechanical arm, accordingly, dynamic deviation correction and accurate operation are achieved, and the grabbing and assembling success rate and efficiency of the mechanical arm are greatly improved.