WO2017185208A1 - 一种机器人三维模型的建立方法、装置及电子设备 - Google Patents
一种机器人三维模型的建立方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2017185208A1 WO2017185208A1 PCT/CN2016/080133 CN2016080133W WO2017185208A1 WO 2017185208 A1 WO2017185208 A1 WO 2017185208A1 CN 2016080133 W CN2016080133 W CN 2016080133W WO 2017185208 A1 WO2017185208 A1 WO 2017185208A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- robot
- mirror
- image
- predetermined
- dimensional model
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J19/00—Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
Definitions
- the present application relates to a robot technology, and in particular, to a method, an apparatus, and an electronic device for establishing a three-dimensional model of a robot.
- the cloud robot is an intelligent robot that puts the cognitive system in the cloud, the body, the drive and the sensor are placed on the robot body, and connects the two through mobile communication; the cloud robot is the development direction of the intelligent humanoid robot.
- the prior art adopts the following scheme: the robot provides a setting interface of a 3D (3-Dimensions, three-dimensional) model, and the maintenance personnel sets the 3D model of the robot according to the current shape of the robot, and stores the 3D model to The robot's control module is saved, and then the robot dynamically controls the robot's respective degrees of motion based on the 3D model, so that the robot can avoid obstacles or can avoid the respective degrees of collision.
- the inventors have found that the method for establishing a three-dimensional model of a robot in the prior art is changed if a certain structural shape of the robot changes, for example, a new functional module is added, a new outer casing is replaced, or the robot has When the load is heavy, the maintenance personnel need to reset the 3D model of the robot through the interface and update to the control module, resulting in cumbersome operation.
- a method and a device for establishing a three-dimensional model of a robot are provided, which are used to solve the problem of cumbersome operation when the three-dimensional model of the robot is established in the prior art.
- a method for establishing a three-dimensional model of a robot includes: determining that a mirror surface exists in a visible region when detecting a first predetermined condition that satisfies establishing a model; acquiring the robot at the mirror surface The image in the image; based on the acquired image, a three-dimensional model of the robot is established.
- satisfying the first predetermined condition for establishing the model specifically includes: initializing the robot; or increasing or decreasing the weight of the robot itself beyond a first predetermined threshold when the robot is not in the state of extracting an object or lifting an object.
- determining that the visible area exists in the visible area comprises: acquiring one or more images in the visible area of the robot, and separately recording the time of acquiring each image; determining corresponding actions performed by the robot at each moment; and identifying Whether there is content in the image corresponding to the action performed by the robot at the corresponding time in the image at the corresponding time; when there is a number of images of the content consistent with the action performed by the robot at the corresponding time exceeding the second predetermined threshold, determining the visual There is a mirror in the area.
- determining that the visible area exists in the visible area comprises: acquiring pre-stored position information, where the position information includes a position of the mirror; and triggering a predetermined distance that the robot moves to the position.
- the method further includes: determining that the mirror meets the second predetermined condition.
- satisfying the second predetermined condition specifically includes: an angle between the mirror surface and a body upright axis of the robot is less than a first predetermined angle.
- determining that the mirror meets the second predetermined condition comprises: triggering a predetermined structure of the robot to start rotating with the body upright axis as a central axis; and rotating, when rotating, a second predetermined angle, perpendicular to the body Transmitting a first ray in a direction of the upright axis or emitting a first ray in a direction perpendicular to the upright axis of the body every first predetermined time; wherein an axis of the predetermined structure is perpendicular to the upright axis of the body; receiving the specular reflection a second light corresponding to the first light; when the angle between the first light and the second light is less than a third predetermined angle, determining to determine that the mirror is full The second predetermined condition.
- acquiring an image of the robot in the mirror surface specifically includes: an image capturing component that triggers the robot is facing the mirror surface, and is relatively stationary with the mirror surface, and the remaining structures are rotated about a body upright axis; Upon rotation, the fourth predetermined angle of rotation triggers the image capture component to capture an image of the robot in the mirror, or triggers the image capture component to capture an image of the robot in the mirror every second predetermined time.
- the method further includes: receiving an action instruction and an execution time corresponding to the action instruction; and at a predetermined time before the execution time, according to the action instruction and the three-dimensional The model simulates the state of the robot when the motion command is executed; according to the state, the obstacle avoidance operation is performed.
- performing the obstacle avoidance operation according to the state specifically: determining, according to the state, whether the robot will have a degree of freedom collision when executing the motion instruction; if yes, according to the state, the collision is free. Modify the action instruction by the degree of collision between degrees.
- performing the obstacle avoidance operation according to the state specifically, determining, according to the state and the spatial relationship of other objects in the visible area of the robot that are acquired in advance, determining whether the robot performs the motion instruction Collision of other objects; if so, modify the action command based on the location of the colliding object.
- a device for establishing a three-dimensional model of a robot comprising: a mirror determining module, configured to determine that a visible region exists when a first predetermined condition that satisfies the model is detected is met a mirror image; an image acquisition module, configured to acquire an image of the robot in the mirror; and a three-dimensional model building module, configured to establish a three-dimensional model of the robot according to the acquired image.
- satisfying the first predetermined condition for establishing the model specifically includes: initializing the robot; or increasing or decreasing the weight of the robot itself beyond a first predetermined threshold when the robot is not in the state of extracting an object or lifting an object.
- the mirror determining module is specifically configured to acquire one or more of the visible areas of the robot Images, and respectively record the time at which each image is acquired; determine the corresponding action performed by the robot at each time; identify whether there is content in the image at the corresponding time that is consistent with the action performed by the robot at the corresponding time; when present and the robot When the number of images of the content consistent with the actions performed at the corresponding time exceeds the second predetermined threshold, it is determined that there is a mirror in the visible region.
- the mirror determining module is configured to acquire pre-stored location information, where the location information includes a position of the mirror; and trigger a predetermined distance that the robot moves to the location.
- the apparatus for establishing a three-dimensional model of the robot further includes: a second predetermined condition determining module, configured to determine that the mirror meets the second predetermined condition.
- satisfying the second predetermined condition specifically includes: an angle between the mirror surface and a body upright axis of the robot is less than a first predetermined angle.
- the second predetermined condition determining module is specifically configured to trigger a predetermined structure of the robot to start rotating with the body upright axis as a central axis; and to rotate the second predetermined angle, perpendicular to the body upright axis a direction of emitting the first ray or emitting a first ray in a direction perpendicular to the upright axis of the body every first predetermined time; wherein the axis of the predetermined structure is perpendicular to the body upright axis; receiving the specular reflection a second light corresponding to the first light; when the angle between the first light and the second light is less than a third predetermined angle, determining to determine that the mirror meets the second predetermined condition.
- the image acquisition module is specifically configured to trigger the image capturing component of the robot to face the mirror surface, and remain relatively stationary with the mirror surface, and the remaining structure rotates with the body upright axis as a central axis;
- the fourth predetermined angle triggers the image capture component to capture an image of the robot in the mirror or to trigger the image capture component to capture an image of the robot in the mirror every second predetermined time.
- the apparatus for establishing a three-dimensional model of the robot further includes: a receiving module, configured to receive an action instruction and an execution time corresponding to the action instruction; and a state simulation module, configured to: at the predetermined time before the execution time, according to the action instruction and The three-dimensional model simulates a state of the robot when the motion command is executed; the obstacle avoidance module is configured to perform an obstacle avoidance operation according to the state.
- the obstacle avoidance module is specifically configured to determine, according to the state, whether the robot will have a degree of freedom collision when executing the motion instruction; if yes, according to the degree of collision between the degrees of freedom in which the collision occurs Modify the action instructions.
- the obstacle avoidance module is specifically configured to determine, according to the state and the spatial relationship of other objects in the visible area of the robot, whether the robot collides with the other object when executing the motion instruction; , modify the action command according to the position of the colliding object.
- the method, device and electronic device for establishing a three-dimensional model of the robot in the embodiment of the present application further determine that a mirror surface exists in the visible region when the first predetermined condition is met, and obtain an image of the robot in the mirror surface, and then according to The acquired image establishes a three-dimensional model of the robot, so that when the robot detects that the first predetermined condition is satisfied, it triggers an action of establishing its own three-dimensional model through the mirror, thereby eliminating the need for maintenance personnel setting and reducing the operation steps.
- FIG. 1 is a flow chart showing a method for establishing a three-dimensional model of a robot according to Embodiment 1 of the present application;
- FIG. 2 is a flow chart showing a method for establishing a three-dimensional model of a robot according to Embodiment 2 of the present application;
- FIG. 3 is a schematic structural diagram of a device for establishing a three-dimensional model of a robot according to Embodiment 3 of the present application;
- FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application.
- the inventors have found that, using the method for establishing a three-dimensional model of a robot in the prior art, if a certain structural shape of the robot changes, for example, a new functional module is added, and a new one is replaced.
- the maintenance personnel need to reset the three-dimensional model of the robot through the interface and update to the control module, resulting in cumbersome operation.
- the inventor also found that although the robot has made great progress in acquiring external information, the robot lacks the ability to understand its own shape change, which leads to the judgment of the original size after the change of its own size. It is not possible to avoid obstacles correctly, for example, when the hand hits the foot again, when it is out, it is stuck at the door, the vase is knocked down, and so on.
- a method and a device for establishing a three-dimensional model of a robot are provided.
- the first predetermined condition it is determined that a mirror surface exists in the visible region, and an image of the robot in the mirror surface is obtained.
- the three-dimensional model of the robot is established, so that when the robot detects that the first predetermined condition is met, the action of establishing a three-dimensional model of the mirror through the mirror is triggered, thereby eliminating the need for maintenance personnel to set the operation step.
- the state of the robot when the motion command is executed is simulated according to the three-dimensional model and the motion command, and the obstacle avoidance operation is performed according to the state, thereby making the robot Can avoid obstacles correctly.
- the method for establishing a three-dimensional model of the robot in the present application may be implemented by a 3D modeling module installed on a robot head or other rotatable part, or may be combined by multiple modules in other modules of the robot. Implementation, this application does not limit this.
- the words "the robot sees" and "in the visible area of the robot” mean that the related content is in the image capturing component of the robot. Within the area of the image.
- FIG. 1 is a flow chart showing a method for establishing a three-dimensional model of a robot according to Embodiment 1 of the present application. As shown in Figure 1, the following steps are included:
- the initialization may be an initialization process performed when the robot is assembled, and is performed when the robot is first powered on, or may be an initialization process that is re-executed by returning to the factory setting after the robot is assembled and operated.
- the first predetermined threshold may be a preset weight value, for example, 0.5 kg, etc.; specifically, the first predetermined threshold may be an average of the functional modules of the robot according to the developer of the 3D modeling module.
- the value of the weight setting may also be a value set by the maintenance personnel of the robot according to the weight change value of the commonly used replaceable casing, the function module, etc. of the robot, and the like, which is not limited in this application.
- the first predetermined threshold is 1 kg; at a certain moment, the foot pressure sensor of the robot detects that the weight of the robot is increased by 2 kg, and the data returned by the pressure sensor of the hand or the upper limb of the robot can be further obtained; If the data returned by the hand pressure sensor of the machine indicates that the robot has lifted the object of 2kg, it is judged that the first predetermined condition is not satisfied at this time; if the data returned by the hand pressure sensor of the robot is 0, then It is judged that 2 kg is greater than 1 kg; it is determined that the first predetermined condition is satisfied.
- the determination step of whether the weight increase or decrease of the robot itself exceeds the first predetermined threshold there is no strict timing relationship between whether the robot is in the state of extracting the object or lifting the object, and the determination step of whether the weight increase or decrease of the robot itself exceeds the first predetermined threshold. That is, it can be first determined whether the robot is in the state of extracting the object or lifting the object, and further determining the weight of the robot itself when not in the state of extracting the object or lifting the object Whether the robot increases or decreases the first predetermined threshold; or determines whether the weight increase or decrease of the robot itself exceeds a first predetermined threshold, and further determines whether the robot is in the extracted object or when the weight increases or decreases beyond the first predetermined threshold.
- the state of the lifting object it can also be carried out in two steps; this application does not limit this.
- the visible area of the robot may refer to an image capturing component of the robot, for example, a range in which the camera can acquire an image.
- the robot can find the mirror by image recognition.
- the robot may acquire one or more images in the visible area of the robot through an image capturing component such as a camera, and separately record the time at which each image is acquired; determine corresponding actions performed by the robot at each time; identify the corresponding time Whether there is content in the image that is consistent with the action performed by the robot at the corresponding time; when there is a number of images of the content that is consistent with the action performed by the robot at the corresponding time exceeds a second predetermined threshold, then the determination may be There is a mirror in the view area.
- the second predetermined threshold may be 1, or may be a predetermined threshold such as 2, 3, 5, or the like.
- a robot shape completely coincident with its own motion when a robot shape completely coincident with its own motion is found in the image, it may first be determined that there may be a mirror surface in the direction; when it is determined that there may be a mirror surface in the direction, the specific motion may be further performed and further acquired.
- the robot when detecting that the first predetermined condition is met, may interrupt the currently executed running instruction, directly acquire an image in the current visible area to determine whether there is a mirror surface, or may not interrupt the currently executed running instruction. Whether or not a mirror is present is determined based on the acquired image in normal motion or in a normal execution task.
- the mirror can also be found by reading pre-stored information.
- the pre-stored location information may be read, the location information including the position of the mirror;
- the predetermined distance may be a distance that enables the robot to see its own whole body image in the mirror surface, or may be a distance that the robot can see a specific part of itself in the mirror surface; specifically, the specific part may include setting according to experience The body part of the robot's shape changes.
- the predetermined distance can be calculated by using the mirror imaging principle according to the height of the robot, the height of the mirror, and the like; the present application will not be described herein.
- the location information may be multiple, the robot may select the mirror closest to itself; or the robot may select the best route between the current location, the mirror, and the destination according to the destination in the next running instruction. .
- the pre-stored location information may be a location preset by a maintenance personnel, for example, on the left side of the living room door, on the bedroom closet door, or the like; or the position of the mirror automatically recorded by the robot, etc.; No restrictions.
- the position information of the pre-stored mirror may be read when the mirror is not found in the current visible area or in the normal motion for a predetermined length of time; then the predetermined distance or the like for the robot to move to the position is triggered.
- the modeling is inaccurate.
- the first light may be emitted to the mirror surface, and whether the mirror surface is parallel to the vertical axis of the robot body is determined according to the angle between the received reflected light and the first light.
- the first predetermined angle may be a smaller angle such as 1 degree, 2 degrees, or the like.
- the predetermined structure of the triggering robot starts with the body upright axis as a center axis; when rotating, each time Rotating a second predetermined angle to emit a first ray in a direction perpendicular to the upright axis of the body, or along a square perpendicular to the upright axis of the body every first predetermined time Transmitting a first light; wherein the axis of the predetermined structure is perpendicular to the body upright axis; receiving the mirror-reflected second light corresponding to the first light; the angle between the first light and the second light is less than At the third predetermined angle, it is determined that the angle between the mirror surface and the body upright axis of the robot is less than the first predetermined angle.
- the first light may be light such as infrared rays or laser light.
- the predetermined structure may be the head of the robot or other structure that can be rotated 360 degrees around the axis of the upright axis of the body, which is not limited in this application.
- the second predetermined angle may be a smaller angle such as 1 degree, 2 degrees, or the like.
- the third predetermined angle may be a smaller angle such as 1 degree, 2 degrees, or the like.
- the first predetermined time may be, for example, 0.1 second, 1 second, or the like.
- the robot can keep itself perpendicular to the vertical movement of the body and the ground; then, with the body upright axis as the central axis, 360 degrees rotate the structure of the 3D modeling module, for example, the head, and each turn 1 degree outward emits infrared rays in a direction perpendicular to the vertical axis of the body; during the rotation, a total of 35 first rays are emitted, and two second rays are received, wherein an angle between the incident rays of one of the rays and the reflected rays Less than 2 degrees; at this time, it is judged that the mirror surface is relatively parallel to the body upright axis of the robot.
- determining that the angle between the mirror surface and the body upright axis of the robot is less than the first predetermined angle, determining that the mirror surface meets the requirements of three-dimensional modeling, at this time, the position, direction, and the like of the mirror surface may be further recorded, so that the robot can next Used when remodeling.
- the image of the robot in the mirror surface can be obtained by: the image capturing component of the triggering robot is facing the mirror surface, and is relatively stationary with the mirror surface, and the rest of the structure is rotated about the body vertical axis; when rotating, Each rotation of the fourth predetermined angle triggers the image capturing component to capture an image of the robot in the mirror, or triggers the image capturing component to capture an image of the robot in the mirror every second predetermined time.
- step S104 it can be received When the angle between the incident light and the reflected light is less than a third predetermined angle, it is determined that the image capturing component is facing the mirror at this time, triggering the predetermined structure to stop rotating, and acquiring an image of the robot in the mirror.
- the orientation of the image capturing component of the robot may be further adjusted before the image of the robot in the mirror is acquired, so that the image capturing component is directly opposite.
- Mirror surface For example, the orientation of the image capturing component is 180 degrees from the direction of light emission; and when the light is emitted to the left, receiving a third predetermined angle and reflected light that is less than an angle with the incident light, and stopping the reservation.
- the structure rotates and will rotate 180 degrees with the robot's image capture component.
- the mirror surface may be a mirror surface that the robot can see the whole body image, or may be a mirror surface that the robot can see a specific part of the robot; specifically, the specific portion may include a shape change of the robot according to experience. Or a body part that is loaded with weight; this application does not limit this.
- the robot head if the image capturing component of the 3D modeling module is located at the robot head, the robot head is stationary and rotates along the axis below the neck; during the rotation, the image capturing component can be photographed in real time, that is, every predetermined time period For example, one shot is taken in 0.1 second; or the rest of the structure may be taken at a predetermined angle, for example, 1 degree.
- the robot can move a specific degree of freedom or trigger a certain degree of freedom to pose a specific shape; in particular, the specific degree of freedom can be a body shape change based on empirical values or a weight-bearing body Partial.
- a three-dimensional model of the robot may be established according to the acquired two-dimensional image by using the prior art, for example, Image-Based Modeling and Rendering (IBMR) technology.
- IBMR Image-Based Modeling and Rendering
- the main purpose of image-based modeling is to restore the three-dimensional geometry of the scene from a two-dimensional image.
- IBMR technology has many unique advantages, such as faster and more convenient modeling, high drawing speed and high realism.
- Obtain stereo mode with traditional modeling software or 3D scanner Compared with the type method, the image modeling based method is low in cost, strong in realism and high in automation.
- Many companies have developed such algorithms.
- the domestic 3D Cloud runs in the cloud, and as long as the photos are uploaded to the cloud, the 3D model can be fully generated.
- the Disney Zurich research team has developed a new program that uses hundreds of two-dimensional photographs and a specially designed algorithm to make complex and realistic 3D modeling of movies, TV and games, as well as to produce or print high-precision model.
- step 105 can be implemented using a variety of algorithms that typically reconstruct a three-dimensional image from a two-dimensional image, which is shown for illustrative purposes only and is not intended to limit the application.
- the method for establishing a three-dimensional model of the robot in the embodiment of the present application, when it is detected that the first predetermined condition is met, it is determined that a mirror surface exists in the visible region, and an image of the robot in the mirror surface is acquired, and then the image is acquired according to the acquired image.
- the three-dimensional model of the robot is capable of triggering an action of establishing a three-dimensional model of itself through the mirror when the robot detects that the first predetermined condition is satisfied, thereby eliminating the need for maintenance personnel to set up, reducing operational steps.
- the implementation of the method for establishing a three-dimensional model of the robot in the embodiment of the present application is described in detail.
- the robot may also perform a corresponding obstacle avoidance action according to the newly established three-dimensional model; a description will be made below in conjunction with another embodiment.
- FIG. 2 A flow chart of a method of establishing a three-dimensional model of a robot according to a second implementation of the present application is shown in FIG. As shown in FIG. 2, the method for establishing a three-dimensional model of a robot according to the second embodiment of the present application includes the following steps:
- the obstacle can be avoided according to the three-dimensional model stored by the robot.
- the three-dimensional model may be an original three-dimensional model; or may be a three-dimensional model established in steps 201-205.
- the obstacle avoidance may be adopted by: receiving an execution time corresponding to the action instruction and the action instruction, and executing the simulation robot according to the action instruction and the three-dimensional model at a predetermined time before the execution time a state at the time of the motion command; then determining whether the robot has a degree of freedom collision when the motion command is executed; if so, modifying the motion command according to the degree of collision between the degrees of freedom in which the collision occurs, In order to cause a collision The part becomes just squatted or left with a small gap that does not touch.
- the predetermined time may be a length of time set according to an empirical value, for example, 2 minutes, 1 minute, 10 seconds, etc. before the execution time.
- the state of the robot when executing the motion instruction may be simulated according to the motion instruction and the three-dimensional model in a simulation manner.
- the action command is: "lift the right hand forward 10 cm”; then trigger the simulated three-dimensional model to perform the action of "lifting the right hand forward 10 cm”.
- the action instruction may be modified according to the degree of the collision, for example, canceling the The action command is changed to "lift the right hand forward 5 cm" and so on.
- the obstacle avoidance may be adopted by: receiving an execution time corresponding to the action instruction and the action instruction, and executing the simulated robot according to the action instruction and the three-dimensional model at a predetermined time before the execution time a state at the time of the motion command; and then determining, according to the state and the spatial relationship of the other objects in the visible area of the robot that are acquired in advance, whether the robot collides with the other object when executing the motion instruction; Yes, the action command is modified according to the position of the colliding object.
- the robot may collide with the object in combination with the spatial relationship of other objects in the visible area, and whether there is a problem in the passability. If found, the motion mode or the motion track may be modified to avoid possible collision. .
- the action command is “moving 20 cm forward”, and 10 cm in front of the robot is the door.
- the size of the door is 2 meters high and 1 meter wide.
- the robot changes shape and the width exceeds 1 meter.
- the action command can be modified, for example, cancel the action command or change to "20 degrees to the right, 20 cm to the right".
- the method for establishing a three-dimensional model of the robot in the embodiment of the present application after establishing the three-dimensional model of the robot through the mirror surface, after receiving the motion instruction, simulates the state of the robot when executing the motion instruction according to the three-dimensional model and the motion instruction. And performing an obstacle avoidance operation according to the state, thereby This makes the robot correct obstacle avoidance.
- the embodiment of the present application further provides a device for establishing a three-dimensional model of a robot.
- the principle of solving the problem is similar to the method provided by the first and second embodiments of the present application. The implementation of the method, the repetition will not be repeated.
- FIG. 3 is a schematic structural diagram of an apparatus for establishing a three-dimensional model of a robot according to Embodiment 3 of the present application.
- the multiple modules in the apparatus for establishing a three-dimensional model of the robot shown in the third embodiment of the present application may be integrated into a dedicated 3D modeling module, or may be dispersed in each structure of the robot, or may be independent of The robot provides, and this application does not limit this.
- the apparatus 3 for establishing a three-dimensional model of the robot includes: a mirror determining module 301, configured to determine that a mirror surface exists in the visible area when the first predetermined condition that satisfies the model is detected.
- the image acquisition module 302 is configured to acquire an image of the robot in the mirror surface
- the three-dimensional model establishing module 303 is configured to establish a three-dimensional model of the robot according to the acquired image.
- the image acquisition module 302 may include an existing image capturing component of the robot, and may also include a new image capturing component, which is not limited in this application.
- satisfying the first predetermined condition for establishing the model may specifically include: initializing the robot; or increasing or decreasing the weight of the robot itself beyond a first predetermined threshold when the robot is not in the state of extracting an object or lifting an object.
- the mirror determination module may be specifically configured to acquire one or more images in the visible area of the robot, and separately record the time at which each image is acquired; determine corresponding actions performed by the robot at each moment; and identify corresponding moments Whether there is content in the image that is consistent with the action performed by the robot at the corresponding time; determining the visible area memory when there is a number of images of the content that is consistent with the action performed by the robot at the corresponding time exceeds a second predetermined threshold On the mirror.
- the mirror determining module is specifically configured to acquire pre-stored position information, where the position information includes a position of the mirror; and trigger a predetermined distance that the robot moves to the position.
- the apparatus for establishing a three-dimensional model of the robot further includes: a second predetermined condition determining module, configured to determine that the mirror meets the second predetermined condition.
- satisfying the second predetermined condition may specifically include: an angle between the mirror surface and a body upright axis of the robot is less than a first predetermined angle.
- the second predetermined condition determining module may be specifically configured to trigger a predetermined structure of the robot to start rotating with the body upright axis as a central axis; and to rotate the second predetermined angle, perpendicular to the body Transmitting a first ray in a direction of the upright axis or emitting a first ray in a direction perpendicular to the upright axis of the body every first predetermined time; wherein an axis of the predetermined structure is perpendicular to the upright axis of the body; receiving the specular reflection And a second light corresponding to the first light; when the angle between the first light and the second light is less than a third predetermined angle, determining to determine that the mirror meets the second predetermined condition.
- the image acquisition module may be specifically configured to trigger the image capturing component of the robot to face the mirror surface, and remain relatively stationary with the mirror surface, and the remaining structure rotates with the body upright axis as a central axis;
- Each rotation of the fourth predetermined angle triggers the image capturing component to capture an image of the robot in the mirror, or triggers the image capturing component to capture an image of the robot in the mirror every second predetermined time.
- the apparatus for establishing a three-dimensional model of the robot may further include: a receiving module, configured to receive an action instruction and an execution time corresponding to the action instruction; and a state simulation module, configured to perform the action according to the action at a predetermined time before the execution time
- the instruction and the three-dimensional model simulate a state of the robot when the motion instruction is executed;
- the obstacle avoidance module is configured to perform an obstacle avoidance operation according to the state.
- the obstacle avoidance module may be specifically configured to determine, according to the state, whether the robot will have a degree of freedom collision when executing the motion instruction; if yes, according to the state, the degree of freedom between the collisions occurs. The degree of collision modifies the action instruction.
- the obstacle avoidance module may be specifically configured to determine, according to the state and the spatial relationship of other objects in the visible area of the robot, whether the robot collides with the other object when executing the motion instruction; If so, the action command is modified according to the position of the colliding object.
- the apparatus for establishing a three-dimensional model of the robot in the embodiment of the present application determines that a mirror surface exists in the visible region when the first predetermined condition is met, and acquires an image of the robot in the mirror surface, and then establishes the image according to the acquired image.
- the three-dimensional model of the robot is capable of triggering an action of establishing a three-dimensional model of itself through the mirror when the robot detects that the first predetermined condition is satisfied, thereby eliminating the need for maintenance personnel to set up, reducing operational steps.
- the robot after the three-dimensional model of the robot in the embodiment of the present application is used, after the three-dimensional model is established by the mirror, after receiving the motion instruction, the robot is simulated in advance according to the three-dimensional model and the motion instruction. The state, and the obstacle avoidance operation is performed according to the state, so that the robot can correctly avoid obstacles.
- an electronic device 400 as shown in FIG. 4 is also provided in the embodiment of the present application.
- the electronic device 400 includes a processor 401, a memory 402, a communication interface 403, and a bus 404.
- the processor 401, the memory 402, and the communication interface 403 are connected by a bus 404 and complete communication with each other;
- the memory stores executable program code;
- the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for executing a method for establishing a three-dimensional model of the robot, including: detecting that the model is satisfied When a predetermined condition is met, it is determined that there is a mirror surface in the visible area; an image of the robot in the mirror surface is acquired; and the three-dimensional model of the robot is established according to the acquired image.
- the electronic device can include a robot.
- the method for solving the problem in the electronic device is similar to the method provided in Embodiment 1 or 2 of the present application. Therefore, the implementation of the electronic device may refer to the implementation of the method, and the repeated description is not repeated.
- the electronic device in the embodiment of the present application when it is detected that the first predetermined condition is met, it is determined that a mirror surface exists in the visible area, and an image of the electronic device in the mirror surface is acquired, and then according to the acquired The image establishes a three-dimensional model of the electronic device, so that when the first predetermined condition is met, the action of establishing a three-dimensional model of the mirror by the mirror is triggered, thereby eliminating the need for maintenance personnel to set the operation step.
- the state at the time of executing the motion command is simulated in advance based on the three-dimensional model and the motion command, and the obstacle avoidance operation is performed according to the state, so that the obstacle avoidance operation can be avoided. barrier.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation in the flowchart The steps of a process or a plurality of processes and/or block diagrams of a function specified in a block or blocks.
Abstract
Description
Claims (23)
- 一种机器人三维模型的建立方法,其特征在于,包括:在检测到满足建立模型的第一预定条件时,确定可视区域内存在镜面;获取所述机器人在所述镜面中的图像;根据获取的所述图像,建立所述机器人的三维模型。
- 根据权利要求1所述的方法,其特征在于,满足建立模型的第一预定条件具体包括:所述机器人初始化;或者在所述机器人未处于提取物体或托举物体状态时,所述机器人自身重量增加或减少超过第一预定阈值。
- 根据权利要求1所述的方法,其特征在于,确定可视区域内存在镜面,具体包括:获取所述机器人可视区域内的一个或多个图像,并分别记录获取各图像的时刻;确定在各时刻所述机器人执行的相应动作;识别相应时刻的图像中是否存在与所述机器人在所述相应时刻执行的动作一致的内容;当存在与所述机器人在所述相应时刻执行的动作一致的内容的图像数量超过第二预定阈值时,则确定可视区域内存在镜面。
- 根据权利要求1所述的方法,其特征在于,确定可视区域内存在镜面,具体包括:获取预先存储的位置信息,所述位置信息包括镜面的位置;触发所述机器人移动至所述位置的预定距离。
- 根据权利要求1所述的方法,其特征在于,在确定可视区域内存在镜面之后,在获取所述机器人在所述镜面中的图像之前,还包括:确定所述镜面满足第二预定条件。
- 根据权利要求5所述的方法,其特征在于,满足第二预定条件具体包括:所述镜面与所述机器人的身体直立轴之间的夹角小于第一预定角度。
- 根据权利要求6所述的方法,其特征在于,确定所述镜面满足第二预定条件具体包括:触发所述机器人的预定结构以所述身体直立轴为中心轴,开始转动;在转动时,每转动第二预定角度,沿垂直于所述身体直立轴的方向发射第一光线;或者每隔第一预定时间沿垂直于所述身体直立轴的方向发射第一光线;接收经所述镜面反射的、与所述第一光线对应的第二光线;在所述第一光线和所述第二光线之间的夹角小于第三预定角度时,判断确定所述镜面满足第二预定条件。
- 根据权利要求1所述的方法,其特征在于,获取所述机器人在所述镜面中的图像具体包括:触发所述机器人的图像拍摄组件正对所述镜面,且与所述镜面保持相对静止,其余结构以身体直立轴为中心轴转动;在转动时,每转动第四预定角度触发所述图像拍摄组件拍摄所述机器人在所述镜面中的图像;或者触发所述图像拍摄组件每隔第二预定时间拍摄所述机器人在所述镜面中的图像。
- 根据权利要求1所述的方法,其特征在于,在根据获取的所述图像,建立所述机器人的三维模型之后,还包括:接收动作指令和所述动作指令对应的执行时刻;在所述执行时刻之前的预定时刻,根据所述动作指令和所述三维模型,模拟所述机器人在执行所述动作指令时的状态;根据所述状态,执行避障操作。
- 根据权利要求9所述的方法,其特征在于,根据所述状态,执行避障 操作,具体包括:根据所述状态,判断在执行所述动作指令时,所述机器人是否会发生自由度碰撞;如果是,则根据所述状态中,发生碰撞的自由度之间的碰撞程度修改动作指令。
- 根据权利要求9所述的方法,其特征在于,根据所述状态,执行避障操作,具体包括:根据所述状态和预先获取的、所述机器人可视区域内的其他物体的空间关系,判断所述机器人在执行所述动作指令时,是否与所述其他物体碰撞;如果是,则根据发生碰撞物体的位置修改动作指令。
- 一种机器人三维模型的建立装置,其特征在于,包括:镜面确定模块,用于在检测到满足建立模型的第一预定条件时,确定可视区域内存在镜面;图像获取模块,用于获取所述机器人在所述镜面中的图像;三维模型建立模块,用于根据获取的所述图像,建立所述机器人的三维模型。
- 根据权利要求12所述的装置,其特征在于,所述满足建立模型的第一预定条件具体包括:所述机器人初始化;或者在所述机器人未处于提取物体或托举物体状态时,所述机器人自身重量增加或减少超过第一预定阈值。
- 根据权利要求12所述的装置,其特征在于,镜面确定模块,具体用于获取所述机器人可视区域内的一个或多个图像,并分别记录获取各图像的时刻;确定在各时刻所述机器人执行的相应动作;识别相应时刻的图像中是否存在与所述机器人在所述相应时刻执行的动作一致的内容;当存在与所述机器人在所述相应时刻执行的动作一致的内容的图像数量超过第二预定阈值 时,则确定可视区域内存在镜面。
- 根据权利要求12所述的装置,其特征在于,镜面确定模块,具体用于获取预先存储的位置信息,所述位置信息包括镜面的位置;触发所述机器人移动至所述位置的预定距离。
- 根据权利要求12所述的装置,其特征在于,还包括:第二预定条件确定模块,用于确定所述镜面满足第二预定条件。
- 根据权利要求16所述的装置,其特征在于,满足第二预定条件具体包括:所述镜面与所述机器人的身体直立轴之间的夹角小于第一预定角度。
- 根据权利要求17所述的装置,其特征在于,第二预定条件确定模块具体用于触发所述机器人的预定结构以所述身体直立轴为中心轴,开始转动;在转动时,每转动第二预定角度,沿垂直于所述身体直立轴的方向发射第一光线,或者每隔第一预定时间沿垂直于所述身体直立轴的方向发射第一光线;其中,所述预定结构的轴线垂直于所述身体直立轴;接收经所述镜面反射的、与所述第一光线对应的第二光线;在所述第一光线和所述第二光线之间的夹角小于第三预定角度时,判断确定所述镜面满足第二预定条件。
- 根据权利要求12所述的装置,其特征在于,图像获取模块具体用于触发所述机器人的图像拍摄组件正对所述镜面,且与所述镜面保持相对静止,其余结构以身体直立轴为中心轴转动;在转动时,每转动第四预定角度触发所述图像拍摄组件拍摄所述机器人在所述镜面中的图像,或者触发所述图像拍摄组件每隔第二预定时间拍摄所述机器人在所述镜面中的图像。
- 根据权利要求12所述的装置,其特征在于,还包括:接收模块,用于接收动作指令和所述动作指令对应的执行时刻;状态模拟模块,用于在所述执行时刻之前的预定时刻,根据所述动作指令和所述三维模型,模拟所述机器人在执行所述动作指令时的状态;避障模块,用于根据所述状态,执行避障操作。
- 根据权利要求20所述的装置,其特征在于,避障模块具体用于根据所述状态,判断在执行所述动作指令时,所述机器人是否会发生自由度碰撞;如果是,则根据所述状态中,发生碰撞的自由度之间的碰撞程度修改动作指令。
- 根据权利要求20所述的装置,其特征在于,避障模块具体用于根据所述状态和预先获取的、所述机器人可视区域内的其他物体的空间关系,判断所述机器人在执行所述动作指令时,是否与所述其他物体碰撞;如果是,则根据发生碰撞物体的位置修改动作指令。
- 一种电子设备,其特征在于,包括:处理器、存储器、通信接口和总线;所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;所述存储器存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种机器人三维模型的建立方法;其中,所述机器人三维模型的建立方法,包括:在检测到满足建立模型的第一预定条件时,确定可视区域内存在镜面;获取所述机器人在所述镜面中的图像;根据获取的所述图像,建立所述机器人的三维模型。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201680002792.3A CN107004298B (zh) | 2016-04-25 | 2016-04-25 | 一种机器人三维模型的建立方法、装置及电子设备 |
PCT/CN2016/080133 WO2017185208A1 (zh) | 2016-04-25 | 2016-04-25 | 一种机器人三维模型的建立方法、装置及电子设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/080133 WO2017185208A1 (zh) | 2016-04-25 | 2016-04-25 | 一种机器人三维模型的建立方法、装置及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017185208A1 true WO2017185208A1 (zh) | 2017-11-02 |
Family
ID=59431655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/080133 WO2017185208A1 (zh) | 2016-04-25 | 2016-04-25 | 一种机器人三维模型的建立方法、装置及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107004298B (zh) |
WO (1) | WO2017185208A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109410322A (zh) * | 2018-10-23 | 2019-03-01 | 北京旷视科技有限公司 | 三维对象建模方法、装置及电子设备 |
CN110956580A (zh) * | 2019-11-28 | 2020-04-03 | 广州华多网络科技有限公司 | 图像换脸的方法、装置、计算机设备以及存储介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108873014A (zh) * | 2018-06-28 | 2018-11-23 | 北方工业大学 | 一种基于激光雷达的镜面检测方法及装置 |
CN111015650A (zh) * | 2019-11-18 | 2020-04-17 | 安徽机电职业技术学院 | 一种多点确定目标位置的工业机器人智能视觉系统及方法 |
CN113879921B (zh) * | 2021-10-13 | 2023-10-10 | 苏州塔米机器人有限公司 | 一种机器人进入电梯的控制方法及装置 |
CN114265399A (zh) * | 2021-11-25 | 2022-04-01 | 北京顺造科技有限公司 | 障碍物识别方法及自动清洁设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1840298A (zh) * | 2005-04-01 | 2006-10-04 | 北京理工大学 | 基于多信息融合的仿人型机器人作业场景的重构 |
CN101587329A (zh) * | 2009-06-18 | 2009-11-25 | 北京理工大学 | 机器人预测的方法和系统 |
CN104057453A (zh) * | 2013-03-18 | 2014-09-24 | 株式会社安川电机 | 机器人装置以及被加工物的制造方法 |
CN104944168A (zh) * | 2015-05-19 | 2015-09-30 | 电子科技大学 | 一种基于图像三维重构的码垛机器人安全控制方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8432435B2 (en) * | 2011-08-10 | 2013-04-30 | Seiko Epson Corporation | Ray image modeling for fast catadioptric light field rendering |
CN102650886B (zh) * | 2012-04-28 | 2014-03-26 | 浙江工业大学 | 基于主动全景视觉传感器的机器人视觉系统 |
CN102980513B (zh) * | 2012-11-02 | 2016-01-20 | 浙江工业大学 | 以物为中心的单目全景立体视觉传感器 |
CN104567818B (zh) * | 2014-12-31 | 2016-09-28 | 浙江工业大学 | 一种便携式全天候主动全景视觉传感器 |
-
2016
- 2016-04-25 CN CN201680002792.3A patent/CN107004298B/zh active Active
- 2016-04-25 WO PCT/CN2016/080133 patent/WO2017185208A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1840298A (zh) * | 2005-04-01 | 2006-10-04 | 北京理工大学 | 基于多信息融合的仿人型机器人作业场景的重构 |
CN101587329A (zh) * | 2009-06-18 | 2009-11-25 | 北京理工大学 | 机器人预测的方法和系统 |
CN104057453A (zh) * | 2013-03-18 | 2014-09-24 | 株式会社安川电机 | 机器人装置以及被加工物的制造方法 |
CN104944168A (zh) * | 2015-05-19 | 2015-09-30 | 电子科技大学 | 一种基于图像三维重构的码垛机器人安全控制方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109410322A (zh) * | 2018-10-23 | 2019-03-01 | 北京旷视科技有限公司 | 三维对象建模方法、装置及电子设备 |
CN110956580A (zh) * | 2019-11-28 | 2020-04-03 | 广州华多网络科技有限公司 | 图像换脸的方法、装置、计算机设备以及存储介质 |
CN110956580B (zh) * | 2019-11-28 | 2024-04-16 | 广州方硅信息技术有限公司 | 图像换脸的方法、装置、计算机设备以及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN107004298B (zh) | 2020-11-10 |
CN107004298A (zh) | 2017-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017185208A1 (zh) | 一种机器人三维模型的建立方法、装置及电子设备 | |
KR102235003B1 (ko) | 충돌 검출, 추정 및 회피 | |
US20230016490A1 (en) | Systems and methods for virtual and augmented reality | |
TWI620627B (zh) | 機器人及用於機器人之定位之方法 | |
TWI467494B (zh) | 使用深度圖進行移動式攝影機定位 | |
TWI442311B (zh) | 在遊戲中使用三維環境模型 | |
CA3073900C (en) | Methods and systems for generating detailed datasets of an environment via gameplay | |
CN102385237B (zh) | 基于结构化光和立体视觉的深度相机 | |
JP2021192250A (ja) | 単眼カメラを用いたリアルタイム3d捕捉およびライブフィードバックのための方法およびシステム | |
CN108170137A (zh) | 移动机器人及其控制方法和控制系统 | |
KR101810415B1 (ko) | 정보 처리 장치, 정보 처리 시스템, 블록 시스템, 및 정보 처리 방법 | |
Peasley et al. | Real-time obstacle detection and avoidance in the presence of specular surfaces using an active 3D sensor | |
JP2018136632A (ja) | 形状推定装置 | |
JP6054831B2 (ja) | 画像処理装置、画像処理方法及び画像処理プログラム | |
Diakité et al. | First experiments with the tango tablet for indoor scanning | |
Senthilvel et al. | Comparison of handheld devices for 3D reconstruction in construction | |
CN107462153A (zh) | 一种快速建立三维空间模型的方法 | |
TWI413018B (zh) | 體積識別方法及系統 | |
Albrektsen | Using the Kinect Sensor for Social Robotics | |
Guo et al. | A control system of human-computer interaction based on Kinect somatosensory equipment | |
Budiharto et al. | Ball distance estimation and tracking system of humanoid soccer robot | |
Callemein et al. | Multi-view real-time 3D occupancy map for machine-patient collision avoidance | |
JP6429240B2 (ja) | 形状検出装置、形状検出方法、及びプログラム | |
RATSAMEE et al. | A Comparison of Adaptive View Techniques for Exploratory 3D Drone Teleoperation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16899722 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16899722 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.01.2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16899722 Country of ref document: EP Kind code of ref document: A1 |