Computer-implemented method for robot posture detection and robot
AssigneeUbtech Robotics Corp Ltd
InventorsYoujun Xiong, Haiwu Su
Life of this patent
Estimating the term…
Abstract
The present disclosure is applicable to robot technology. A method for robot posture detection and a robot are provided. The method includes: obtaining a position parameter of each of nodes of a robot; obtaining a first weighted value of each of the nodes corresponding to the position parameter of the corresponding node; calculating a weighted value of each of body parts of the robot based on the first weighted value of the node of the corresponding body part; and correcting an original parameter of a center of gravity of the robot according to a body gravity center influence factor of each of the body parts, and the weighted value of each of the body parts.
Claims10
A computer-implemented method for robot posture detection, comprising:
- providing a robot comprising a processor, a plurality of body parts configured to move, and a gyroscope, wherein each of the body parts has at least one node, and each of the nodes comprises a servo having a position sensor, the processor is electronically coupled to the gyroscope and the servo of each of the nodes;
- obtaining, by the position sensor, a position parameter of each of the nodes;
- obtaining, by the processor, a first weighted value of each of the nodes corresponding to the position parameter of the corresponding node, according to a preset first corresponding relationship, wherein the preset first corresponding relationship comprises correspondence between a plurality of position parameters of each of the nodes and a plurality of the first weighted values of each of the nodes, and the preset first corresponding relationship is set based on a weight, a geometric center, and a volume of an entirety of the robot;
- calculating, by the processor, a weighted value of each of the body parts, based on the first weighted value of the node of the corresponding body part;
- searching, by the processor, a body gravity center influence factor of each of the body parts, according to a preset second corresponding relationship, and wherein the preset second corresponding relationship comprises correspondence between the body parts and body gravity center influence factors and is set based on a relationship between a weight, a geometric center, and a volume of each of the body parts and the weight, the geometric center, and the volume of the entirety of the robot;
- correcting, by the processor, an original parameter of a center of gravity of the robot obtained by the gyroscope, according to the body gravity center influence factor of each of the body parts, and the weighted value of each of the body parts.
A robot, comprising:
- a processor;
- a plurality of body parts configured to move, wherein each of the body parts has at least one node, and each of the nodes comprises a servo having a position sensor;
- a gyroscope, wherein the processor is electronically coupled to the gyroscope and the servo of each of the nodes;
- a memory;
- and
- one or more computer programs stored in the memory and configured to execute a method, the method comprising steps of:
- obtaining a position parameter of each of the nodes;
- obtaining a first weighted value of each of the nodes corresponding to the position parameter of the corresponding node, according to a preset first corresponding relationship, wherein the preset first corresponding relationship comprises correspondence between a plurality of position parameters of each of the nodes and a plurality of the first weighted values of each of the nodes, and the preset first corresponding relationship is set based on a weight, a geometric center, and a volume of an entirety of the robot;
- calculating a weighted value of each of the body parts, based on the first weighted value of the node of the corresponding body part;
- searching a body gravity center influence factor of each of the body parts, according to a preset second corresponding relationship, and wherein the preset second corresponding relationship comprises correspondence between the body parts and body gravity center influence factors and is set based on a relationship between a weight, a geometric center, and a volume of each of the body parts and the weight, the geometric center, and the volume of the entirety of the robot;
- correcting an original parameter of a center of gravity of the robot obtained by the gyroscope, according to the body gravity center influence factor of each of the body parts, and the weighted value of each of the body parts.
Dependencies are inferred from the claim text.