The invention discloses a
robot online positioning and mapping method for an
underwater vision degradation scene. The method comprises the following steps: calibrating online external parameters; carrying out initialization by using
camera image data, and if the initialization fails, carrying out initialization by using
sonar image data; reading image data of the
imaging sonar and the binocular camera to obtain matched
sonar image feature points and
camera image feature points, judging whether visual degradation occurs or not, and if visual degradation occurs, performing
sonar pose estimation by using the sonar image feature points to optimize the
pose obtained by IMU propagation
estimation; iMU sensor data are read, IMU pre-integration is carried out, IMU propagation
estimation is carried out by using a pre-integration quantity, and the
pose of the IMU of the
robot at the current moment relative to a world coordinate
system is obtained; and carrying out optimization solution on the pose of the
robot based on a beam adjustment method, and carrying out mapping. According to the method, the more accurate and more robust
underwater robot positioning and mapping capability in the visual degradation scene is improved by fusing the data of the binocular camera, the IMU and the
imaging sonar.