WO2021027970A1 - Traveling method, traveling device and storage medium - Google Patents

Traveling method, traveling device and storage medium Download PDF

Info

Publication number
WO2021027970A1
WO2021027970A1 PCT/CN2020/109630 CN2020109630W WO2021027970A1 WO 2021027970 A1 WO2021027970 A1 WO 2021027970A1 CN 2020109630 W CN2020109630 W CN 2020109630W WO 2021027970 A1 WO2021027970 A1 WO 2021027970A1
Authority
WO
WIPO (PCT)
Prior art keywords
control instruction
traveling
respond
equipment
judgment result
Prior art date
Application number
PCT/CN2020/109630
Other languages
French (fr)
Chinese (zh)
Inventor
王游
陈子冲
张向辉
薛舟
Original Assignee
纳恩博(常州)科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 纳恩博(常州)科技有限公司 filed Critical 纳恩博(常州)科技有限公司
Publication of WO2021027970A1 publication Critical patent/WO2021027970A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions

Definitions

  • This application relates to robotics, in particular to a traveling method, traveling equipment, and computing storage medium.
  • the advable device is used as a controlled device, and upon receiving a control instruction sent by the control device, in response to the control instruction, it travels at least along the travel direction indicated by the control instruction.
  • This method is equivalent to that as long as the control device sends an instruction to the accessible device, the accessible device will respond. At least this direct response method cannot save response resources.
  • embodiments of the present application provide a traveling method, traveling equipment, and computing storage medium, which can at least save response resources and avoid waste of response resources.
  • the embodiment of the present application provides a traveling method, the method includes:
  • the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generating a first determination result
  • the method further includes:
  • the judging whether the second control instruction is received includes:
  • the determining whether to respond to at least the first control instruction according to the third judgment result includes:
  • the third judgment result indicates that the second control instruction is received at a predetermined frequency, it is determined that at least the first control instruction is responded to to at least cause the traveling equipment to travel in the first traveling direction ;
  • the method further includes:
  • the third judgment result indicates that the second control instruction is received at a predetermined frequency
  • the embodiment of the application provides a traveling equipment, including:
  • a receiving unit configured to receive a first control instruction, the first control instruction being at least used to indicate a first traveling direction of the traveling equipment;
  • a sensor configured to determine whether there is a target object in the first traveling direction of the traveling device, the target object can at least hinder the traveling of the traveling device in the first traveling direction, and generate a first determination result ;
  • the determining unit is configured to determine whether to respond to the first control instruction at least according to the first determination result.
  • the device further includes:
  • the second determining unit is configured to determine whether the first traveling direction is within the visible area of the traveling equipment when the first determining result indicates that there is a target object in the first traveling direction, and generating The second judgment result.
  • the determining unit is configured to determine not to respond to the first control instruction when the second determination result indicates that the first traveling direction is not within the visible area of the traveling equipment.
  • the device further includes:
  • the third judging unit is configured to, when the second judging result indicates that the first traveling direction is within the visible area of the traveling equipment,
  • the determining unit is configured to determine whether to at least respond to the first control instruction according to the third judgment result.
  • the third determining unit is configured to determine whether the second control instruction is received at a predetermined frequency.
  • the determining unit is configured to determine at least to respond to the first control instruction to at least make the traveling equipment move toward the vehicle when the third determination result indicates that the second control instruction is received at a predetermined frequency. Traveling in the first direction of travel;
  • the determining unit is configured to determine not to respond to the first control instruction when the third determination result indicates that the second control instruction is not received.
  • the determining unit is configured to determine to respond to the second control instruction to at least cause the traveling equipment to move toward the same direction when the third determination result indicates that the second control instruction is received at a predetermined frequency. Travel in the same direction indicated by the first control instruction.
  • the embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the foregoing method are implemented.
  • the embodiment of the present application provides a traveling device including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements the steps of the foregoing method when the program is executed.
  • the embodiments of the present application provide a traveling method, traveling equipment, and computing storage medium.
  • the method includes: receiving a first control instruction, where the first control instruction is at least used to indicate a first traveling direction of the traveling equipment; Whether there is a target object in the first traveling direction of the traveling equipment, the target object can at least hinder the traveling of the traveling equipment in the first traveling direction to generate a first judgment result; at least according to the first judgment result, It is determined whether to respond to at least the first control instruction.
  • the technical solution of the embodiment of the present application does not directly respond to the received control instruction, but according to whether there is a control instruction in the direction of travel. Responding to the judgment result of the obstacle can at least avoid the problem of waste of response resources and waste of power resources due to direct response.
  • FIG. 1 is a schematic diagram of the implementation process of the first embodiment of the traveling method provided by this application;
  • FIG. 2 is a schematic diagram of the implementation process of the second embodiment of the traveling method provided by this application.
  • FIG. 3 is a schematic diagram of the implementation process of the third embodiment of the traveling method provided by this application.
  • FIG. 4 is a schematic diagram of the viewable area image collected by the traveling equipment provided by this application.
  • Fig. 5 is a schematic diagram of traveling indoors of traveling equipment provided by this application.
  • FIG. 6 is a schematic diagram of the hardware structure of the traveling equipment embodiment provided by this application.
  • FIG. 7 is a schematic diagram of the composition structure of an embodiment of traveling equipment provided by this application.
  • the control instruction sent by the control device to the traveling device may be a correct instruction or an incorrect instruction.
  • the reason for the error instruction is: the control instruction may be generated based on the operator's operation of the control equipment, and the operator may have an operation error. If the operation instruction is generated based on the operator's misoperation, it is feasible in this case If the advanced device still responds to the wrong command sent by the control device, it is equivalent to responding to the wrong command. On the one hand, the wrong response will lead to a waste of response resources; on the other hand, the wrong response command may cause the traveling device to collide with it. Therefore, the safety of traveling equipment cannot be guaranteed.
  • the traveling equipment described in the following embodiments of the present application may be any equipment with traveling functions, such as a robot, a balance car, a balance wheel, and the like. Further, the traveling equipment may have equipment for traveling in different directions based on a control operation of a control equipment such as a remote control terminal.
  • the preferred traveling equipment in the embodiment of the present application may be a robot equipment.
  • the first embodiment of the traveling method provided in this application is applied to traveling equipment. As shown in FIG. 1, the method includes:
  • Step (S) 101 Receive a first control instruction, where the first control instruction is used to at least instruct the first traveling direction of the traveling equipment;
  • the traveling equipment receives the (first) control instruction, which can at least indicate the traveling direction, and can be sent to the traveling equipment by the control equipment such as a remote control terminal.
  • Step 102 Determine whether there is a target object in the first traveling direction of the traveling equipment, and the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generate a first determination result;
  • the target object can be regarded as any object that can be used as an obstacle, such as walls, trees, vehicles, etc.
  • the target object in the embodiment of the present application may also include a person, and a person as an obstacle may also hinder the travel of the traveling equipment. That is, it is determined whether there is an obstacle in the first direction of travel.
  • Step 103 Determine whether to respond to the first control instruction at least according to the first judgment result.
  • the technical solution of the embodiment of the present application no longer blindly responds to the received control instruction, but according to the traveling direction indicated by the control instruction. Responding to the judgment result of whether there is an obstacle on the above can at least avoid the problem of waste of response resources and waste of power resources due to blind response.
  • the blind response in the related technology will also bring about the following problems: if the control instruction instructs the traveling equipment to travel backward, there is an object hindering its backward progress, and the blind response will cause the traveling equipment to collide with the object. It may cause damage to the traveling equipment and cannot guarantee the safety of the traveling equipment itself.
  • the step 103 may specifically be:
  • the foregoing solution can be used as a safety protection mechanism for traveling equipment, at least avoiding the problem of damage caused by collision of traveling equipment with obstacles due to the blind response of traveling equipment, and ensuring the safety of traveling equipment.
  • the second embodiment of the traveling method provided in this application is applied to traveling equipment. As shown in FIG. 2, the method includes:
  • S201 Receive a first control instruction, where the first control instruction is used at least to indicate a first traveling direction of a traveling device;
  • S202 Determine whether there is a target object in the first traveling direction of the traveling equipment, and the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generate a first determination result;
  • S204 Determine whether to respond to the first control instruction at least according to the first judgment result and the second judgment result that the target object exists in the first traveling direction.
  • the first judgment result indicates that there is a target object in the first direction of travel
  • the two judgment results are used to determine whether to respond, which can ensure the accuracy of determining whether to respond.
  • the determining whether to respond to at least the first control instruction according to the first judgment result and the second judgment result that the target object exists in the first traveling direction includes:
  • the traveling equipment In the case where there is a target object in the first traveling direction and the second judgment result indicates that the first traveling direction is not within the visible area of the traveling equipment, it is determined not to respond to the first control instruction . That is, if there is an obstacle in the direction of travel indicated by the control instruction and the direction of travel is outside the visible area of the traveling equipment, so that the traveling equipment cannot predict which adverse consequences will occur in the case of blind response, this application is implemented For example, it does not respond to the control command to avoid collisions between the traveling equipment and obstacles in the traveling direction, avoid collision damage, and ensure the safety of the traveling equipment, which is a safety protection mechanism for the traveling equipment.
  • the third embodiment of the traveling method provided in this application is applied to traveling equipment. As shown in FIG. 3, the method includes:
  • S301 Receive a first control instruction, where the first control instruction is at least used to instruct the first traveling direction of the traveling equipment;
  • S302 Determine whether there is a target object in the first traveling direction of the traveling equipment, and the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generate a first determination result;
  • the traveling device in the case that there is an obstacle in the first direction of travel and the first direction of travel is located within the visible area of the traveling device, it is combined with whether the traveling device has received a control instruction that is at least the same as the traveling direction indicated by the first control instruction.
  • the judgment result of (the second control command) determines whether to respond to the first control command. It is equivalent to combining the first judgment result, the second judgment result and the third judgment result to determine whether to respond, which can greatly ensure the accuracy of determining whether to respond.
  • the embodiment of the application at least considers the problem that the detection of obstacles by the traveling equipment may be wrong.
  • this application The embodiment combines the manual judgment of the operator to realize the judgment of whether to respond to the control instruction (the second control instruction is generated by the control terminal based on the operation of the operator), thereby effectively avoiding resources caused by the response to the wrong instruction
  • the problem of waste and power waste it can also ensure that the safety of traveling equipment will not be damaged due to inadvertent response.
  • the problem of not being able to respond normally to the correct command can also be avoided.
  • the determining whether the second control instruction is received may be: determining whether the second control instruction is received at a predetermined frequency. That is, in combination with the judgment result of whether the second control instruction is received at a certain frequency, it is determined whether to respond to the first control instruction at least, which can at least improve the accuracy of determining whether to respond to the first control instruction.
  • the determining whether to respond to at least the first control instruction according to the third judgment result may include the following two situations:
  • Case 1 In the case where the third judgment result indicates that the second control instruction is received or the second control instruction is received at a predetermined frequency, it is determined that at least the first control instruction is responded to at least The traveling equipment is caused to travel in the first traveling direction, which is characterized by the presence of obstacles in the first traveling direction, the first traveling direction being located in the visible area of the traveling equipment, and the receiving or receiving of the first traveling direction at a predetermined frequency.
  • the judgment result of the second control instruction determines the response to the first control instruction, which can greatly avoid the problem that the normal response to the correct instruction cannot be performed.
  • first control instruction and second control instruction may be the same control instruction, or may be different control instructions.
  • the traveling equipment may not only respond to the first control instruction, but also Respond to the second control instruction to realize the normal response of the traveling equipment to the correct instruction.
  • the feasible equipment is the robot equipment
  • the control equipment used to control the robot equipment is the control terminal as an example.
  • the control instructions sent by the control terminal to the robot equipment can be instructions with directional instructions such as forward, backward, turn left, turn right, etc., to realize the forward, backward, left turn, right turn, etc. of the robot equipment. action.
  • it can also be a compound command with directional instructions, such as forward acceleration/deceleration, backward acceleration/deceleration, left turn and acceleration/deceleration, and right turn acceleration/deceleration.
  • the robot device in the embodiment of the present application has one or more collection units such as a camera.
  • the camera can collect the environment image (real-time image) of the robot device in the process of traveling, and send the environment image to the control terminal, so that the operator can
  • the environment image received by the control terminal checks the traveling environment of the robot device, and controls the traveling direction or speed of the robot device according to the environment image during the traveling process of the robot device.
  • the operator may make a mistaken touch operation, such as accidentally pressing the back button, and then the control terminal generates an erroneous control command based on the mistaken touch operation and sends it to the robot.
  • the technical solutions shown in the following application scenarios can solve the above problems.
  • Figure 4 is a schematic diagram of a real-time image collected by a robot through a camera. It can be understood that the image shown in Figure 4 was collected by the robot through a camera, and the area shown in the collected image is the visible area (non-blind area) of the robot, which is also the area where the robot can see the traveling environment of the robot through the control terminal . As shown in Figure 4, the two boundary lines (boundary lines 1 and 2) generated by the robot are used to represent its own passable area. If there is an obstacle in the passable area, the robot will hit the obstacle if it continues to move forward. It is understandable that the camera can be set at any reasonable position, such as set at the position above the head of the robot.
  • the image collected by the camera is related to the rotation direction of the robot head, the setting position of the camera on the robot head, and the collection angle of the camera.
  • boundary lines 1 and 2 are used to indicate that the robot's head or camera rotates a certain angle so that the camera reaches a certain direction, and the passable area in that direction is indicated Come out, the robot can decide whether to walk in this direction according to the actual traveling environment in the communication area, such as the presence or absence of obstacles.
  • Figure 5 is an image of a robot traveling in an indoor space.
  • the robot collects real-time environmental images to the control terminal, and the operator moves forward from position A based on the real-time environmental images received by the control terminal Forward instruction to position B.
  • the control terminal After the robot advances to position B, assuming that the operator touches the forward button, the control terminal generates a forward instruction (first control instruction) based on the operator's touch on the forward button, and sends it to the robot.
  • first control instruction first control instruction
  • the robot at position B uses its own sensor to detect whether there is an obstacle in the forward direction, and further detects that when the robot is at position B, the direction of travel indicated by the control terminal is located at the boundary in the forward direction. Whether there are obstacles in the area between lines 1 and 2. Assuming that there is an obstacle such as a sofa not far in front of the robot position B, the robot does not respond to the forward command and does not continue forward. In this way, the robot decides whether to move in the indicated direction by judging whether there is an obstacle in the forward direction indicated by the control terminal. This kind of decision whether to move forward depends on the result of its own judgment, which is equivalent to a safety protection mechanism.
  • the safety protection mechanism of the robot can at least avoid Responding to the problem of waste of resources and waste of electricity caused by the wrong operation of the operator can also avoid the collision between the robot and the obstacle and ensure the safety of the robot.
  • Application scenario 2 As shown in Figure 5, assuming that when the robot is in position A, the operator accidentally presses the back button (the first control instruction), the control terminal generates a back instruction based on the operator's misoperation and sends a back Command to the robot.
  • the robot receives the back instruction and uses the sensor to detect whether there is an obstacle behind. As shown in Figure 5, when the robot is at position A, there is an obstacle-wall behind the robot. The robot does not respond to the background instruction of the control instruction, at least it can be guaranteed The robot is not collided and the wrong response to misoperation is also avoided. Further, in the case of detecting that there is an obstacle in the rear, it is determined whether the rear direction of the robot is within the visible area of the robot.
  • the visible area of the robot is usually the area range that can be collected by the camera of the robot, such as the front area.
  • the rear direction of the robot is not in the visible area of the robot (outside the visible area), that is, the direction indicated by the operator's misoperation is in the blind zone of the robot. In this case, it is wrong to ensure the safety of the robot.
  • the back command responds.
  • the sensor in the embodiment of the present application may be any sensor with an obstacle detection function, such as a proximity sensor, an infrared sensor, a laser sensor, and the like.
  • the specific obstacle detection principle will not be detailed in this article.
  • the sensor's detection of obstacles is affected by its environment and specifically by the noise of its environment. If the environment where the robot is noisy, there may be a problem of inaccurate detection.
  • the camera of the robot can collect the traveling environment in which it is located in real time and send the collected images to the control terminal. The operator can view the image through the control terminal.
  • the embodiment of this application further combines the judgment of the operator, specifically the judgment of the real-time environment of the robot received by the operator from the control terminal, to determine whether the robot can be controlled to continue along the first Travel in the direction of travel.
  • the judgment of the operator specifically the judgment of the real-time environment of the robot received by the operator from the control terminal, to determine whether the robot can be controlled to continue along the first Travel in the direction of travel.
  • Application scenario 3 As shown in Figure 5, assuming that the robot device is in the A position, the operator transmits the image of the traveling environment of the robot to the control terminal and finds that the robot can still travel forward, then press the forward button of the control terminal , The control terminal generates a forward instruction (first control instruction) based on the operation of the operator and sends the robot.
  • the robot receives the forward instruction, and detects whether there is an obstacle in the passable area within the two boundary lines in the direction indicated by the control terminal through the sensor. It is assumed that the sensor is affected by the noise of the environment at this time, and a false detection result is produced: there is an obstacle in the passable area where the control terminal indicates the direction. In this application scenario, the direction indicated by the control terminal is forward.
  • the direction indicated by the current control instruction-forward instruction received by the robot is in the visible area.
  • the environment image of the robot seen by the operator is the image of the visible area of the robot and the image collected by the camera. Assuming that in this case, the image collected by the camera is transmitted to the control terminal without time delay or the time delay is within an easy range. At this time, the operator can manually confirm the front of the robot at this time through the real-time transmission image and it is unobstructed. You can move on.
  • the operator presses the forward button at a certain frequency, and the control terminal generates a forward command of the corresponding frequency at the frequency of the operator presses the forward button, and sends it to the robot.
  • the robot receives the forward command (second control command) at a certain frequency, it can be considered that the image operator transmitted by the robot manually confirms that it can also move forward at this time. Then the robot responds to the received forward command and continues to move forward.
  • the manual judgment is combined with the manual judgment generated by the operator through the collected real-time images.
  • the method of whether the second control instruction of the operator is received in a certain frequency manner, that is, combined with the manual judgment, at least avoids This solves the problem that the robot cannot respond to the correct command normally due to the inaccurate detection of the sensor.
  • the aforementioned solution can also be regarded as a solution for controlling the terminal to remotely control the robot equipment.
  • the result of sensor detection is not used as the basis for response, but the control command generated by the operator on the control terminal is used as the basis.
  • the control decisions generated by humans in combination with real-time images are the main control decisions in the visible area, that is, the robot detects that the control terminal indicates the direction When there are obstacles and the indicated direction is in the visual area, if the operator remotely controls the robot in this direction through the control terminal, the robot responds to the remote control instruction from the control terminal.
  • the robot it is a solution that is directly controlled.
  • the first control instruction and the second control instruction received by the robot are at least instructions indicating the same direction of travel.
  • the first control instruction and the second control instruction are both forward instructions, and also if the first control instruction is a forward instruction ,
  • the second control command is a forward acceleration command. If the first control instruction and the second control instruction are not the same, the robot can first respond to the first control instruction and then respond to the second control instruction. Or, respond to two control commands at the same time.
  • the second control instruction is not received.
  • the image transmitted by the operator in real time is manually confirmed that there is an obstacle in front of the robot, that is, the sensor has not detected an error; 2)
  • the second control instruction will not be generated.
  • the robot will not receive the second control instruction, so the robot will not respond to the first control instruction. At least it can be avoided. Resource waste caused by responding to wrong instructions.
  • a reasonable duration can also be preset, and the robot determines whether the second control instruction is received within the first duration or the second control instruction is received at a predetermined frequency within the first duration to Avoid the problem of power waste caused by the robot waiting to receive the control command for too long.
  • the sensor may be at least one of the following: a camera, an infrared sensor, an ultrasonic sensor, a lidar sensor, etc.
  • the camera collects the image of the robot's traveling environment, and automatically recognizes obstacles in the traveling environment through sensors such as sensors other than the camera, and generates a map characterized as an obstacle, and sends the obstacle map in real time To the control terminal side.
  • the automatically recognized obstacles are marked in the sent image of the traveling environment of the robot, so that the operator can quickly confirm which direction(s) of the robot there is an obstacle based on the obstacle map.
  • the operator receives the environmental image collected by the camera in real time for manual confirmation.
  • the robot trusts the operator's judgment based on the environmental image and executes the operator's remote control command.
  • the robot decides whether to respond to the command based on the result of the sensor detecting the obstacle in the indicated travel direction.
  • An embodiment of the present application also provides a traveling device. As shown in FIG. 7, the device includes: a receiving unit 701, a sensor 702, and a determining unit 703; wherein,
  • the receiving unit 701 is configured to receive a first control instruction, where the first control instruction is used at least to indicate a first traveling direction of a traveling device;
  • the sensor 702 is configured to determine whether there is a target object in the first traveling direction of the traveling equipment, and the target object can at least hinder the traveling of the traveling equipment in the first traveling direction to generate a first determination result;
  • the determining unit 703 is configured to determine whether to respond to the first control instruction at least according to the first judgment result.
  • the device further includes:
  • the second determining unit is configured to determine whether the first traveling direction is within the visible area of the traveling equipment when the first determining result indicates that there is a target object in the first traveling direction, and generating The second judgment result.
  • the determining unit 703 is configured to determine not to control the first traveling direction when the second determination result indicates that the first traveling direction is not within the visible area of the traveling equipment. Respond to instructions.
  • the device further includes:
  • the third judging unit is configured to, when the second judging result indicates that the first traveling direction is within the visible area of the traveling equipment,
  • the determining unit 703 is configured to determine whether to respond at least to the first control instruction according to the third judgment result.
  • the third determining unit is configured to determine whether the second control instruction is received at a predetermined frequency.
  • the determining unit 703 is configured to determine at least to respond to the first control instruction in a case where the third determination result indicates that the second control instruction is received at a predetermined frequency. At least cause the traveling equipment to travel in the first traveling direction;
  • the determining unit 703 is configured to determine not to respond to the first control instruction when the third determination result indicates that the second control instruction is not received.
  • the determining unit 703 is configured to determine to respond to the second control instruction to at least respond to the second control instruction when the third determination result indicates that the second control instruction is received at a predetermined frequency.
  • the traveling device is caused to travel in the same direction as indicated by the first control instruction.
  • the traveling equipment provided in the foregoing embodiment belongs to the same concept as the foregoing traveling method embodiment, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
  • the aforementioned receiving unit 701 and determining unit 703 can all be implemented by digital signal processing (DSP), central processing unit (CPU), logic programming array (FPGA), controller (MCU), and the like.
  • the sensor 702 may be at least one of the following: a camera, an infrared sensor, an ultrasonic sensor, a lidar sensor, etc.
  • the embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, it is used to execute at least the steps of any one of the methods shown in FIGS.
  • the computer-readable storage medium may specifically be a memory.
  • the memory may be the memory 62 shown in FIG. 6.
  • FIG. 6 is a schematic diagram of the hardware structure of the traveling device according to an embodiment of the application.
  • the traveling device includes: a communication component 63 for data transmission, at least one processor 61, and a processor 61 for storing data.
  • Memory 62 for running computer programs.
  • the various components in the terminal are coupled together through the bus system 64. It can be understood that the bus system 64 is used to implement connection and communication between these components.
  • the bus system 64 also includes a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are marked as the bus system 64 in FIG. 6.
  • the processor 61 executes at least the steps of any one of the methods shown in FIGS. 1 to 3 when executing the computer program.
  • the memory 62 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the non-volatile memory can be read only memory (ROM, Read Only Memory), programmable read only memory (PROM, Programmable Read-Only Memory), erasable programmable read only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • SSRAM synchronous static random access memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM enhanced -Type synchronous dynamic random access memory
  • SLDRAM SyncLink Dynamic Random Access Memory
  • direct memory bus random access memory DRRAM, Direct Rambus Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • the memory 62 described in the embodiment of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
  • the method disclosed in the foregoing embodiment of the present application may be applied to the processor 61 or implemented by the processor 61.
  • the processor 61 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method can be completed by hardware integrated logic circuits in the processor 61 or instructions in the form of software.
  • the aforementioned processor 61 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
  • the processor 61 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in the memory 62.
  • the processor 61 reads the information in the memory 62 and completes the steps of the foregoing method in combination with its hardware.
  • the traveling equipment may be configured by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, microprocessor (Microprocessor), or other electronic components are used to implement the aforementioned travel method.
  • ASIC Application Specific Integrated Circuit
  • DSP digital signal processor
  • PLD programmable logic device
  • CPLD Complex Programmable Logic Device
  • FPGA general-purpose processor
  • controller MCU
  • microprocessor Microprocessor
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms of.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the functional units in the embodiments of the present application can all be integrated into one processing unit, or each unit can be individually used as a unit, or two or more units can be integrated into one unit;
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • a person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware.
  • the foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc.
  • ROM read-only memory
  • RAM Random Access Memory
  • magnetic disks or optical disks etc.
  • the above-mentioned integrated unit of this application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other media that can store program codes.
  • the technical solution of the embodiment of the present application does not directly respond to the received control instruction, but according to whether there is a control instruction in the direction of travel. Responding to the judgment result of the obstacle can at least avoid the problem of waste of response resources and waste of power resources due to direct response.

Abstract

A traveling method, a traveling device and a storage medium. Said method comprises: receiving a first control instruction, the first control instruction being at least used for indicating a first traveling direction of a traveling device; determining whether a target object exists in the first traveling direction of the traveling device, the target object at least blocking the travel of the traveling device in the first traveling direction, and generating a first determination result; and determining whether to respond to the first control instruction at least according to the first determination result.

Description

一种行进方法、行进设备、存储介质A traveling method, traveling equipment, and storage medium
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201910755640.6、申请日为2019年08月15日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的内容在此以引入方式并入本申请。This application is filed based on a Chinese patent application with an application number of 201910755640.6 and an application date of August 15, 2019, and claims the priority of the Chinese patent application. The content of the Chinese patent application is hereby incorporated into this application by way of introduction.
技术领域Technical field
本申请涉及机器人技术,具体涉及一种行进方法和行进设备、计算存储介质。This application relates to robotics, in particular to a traveling method, traveling equipment, and computing storage medium.
背景技术Background technique
相关技术中,可行进设备作为被控设备,在接收到控制设备发送的控制指令的情况下,响应该控制指令,至少沿着控制指令指示的行进方向进行行进。这种方式相当于,只要控制设备向可行进设备发送指令,可行进设备就给予响应。这种直接响应的方式至少无法节约响应资源。In the related art, the advable device is used as a controlled device, and upon receiving a control instruction sent by the control device, in response to the control instruction, it travels at least along the travel direction indicated by the control instruction. This method is equivalent to that as long as the control device sends an instruction to the accessible device, the accessible device will respond. At least this direct response method cannot save response resources.
发明内容Summary of the invention
为解决现有存在的技术问题,本申请实施例提供一种行进方法和行进设备、计算存储介质,至少可节约响应资源,避免造成响应资源的浪费。In order to solve the existing technical problems, embodiments of the present application provide a traveling method, traveling equipment, and computing storage medium, which can at least save response resources and avoid waste of response resources.
本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:
本申请实施例提供一种行进方法,所述方法包括:The embodiment of the present application provides a traveling method, the method includes:
接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;Receiving a first control instruction, where the first control instruction is at least used to indicate a first traveling direction of the traveling equipment;
判断在所述行进设备的所述第一行进方向上是否存在目标物体,所述 目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;Determining whether there is a target object in the first traveling direction of the traveling equipment, the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generating a first determination result;
至少根据第一判断结果,确定是否对所述第一控制指令进行响应。At least according to the first judgment result, it is determined whether to respond to the first control instruction.
上述方案中,在所述第一判断结果表征所述第一行进方向上存在所述目标物体的情况下,所述方法还包括:In the above solution, in a case where the first judgment result indicates that the target object exists in the first direction of travel, the method further includes:
判断所述第一行进方向是否位于所述行进设备的可视区域内,并生成第二判断结果。Determine whether the first traveling direction is within the visible area of the traveling equipment, and generate a second determination result.
上述方案中,In the above scheme,
在所述第二判断结果表征所述第一行进方向不位于所述行进设备的可视区域内的情况下,确定不对所述第一控制指令进行响应。In a case where the second judgment result indicates that the first traveling direction is not within the visible area of the traveling equipment, it is determined not to respond to the first control instruction.
上述方案中,In the above scheme,
在所述第二判断结果表征所述第一行进方向位于所述行进设备的可视区域内的情况下,In the case where the second judgment result indicates that the first traveling direction is within the visible area of the traveling equipment,
判断是否接收到第二控制指令,所述第二控制指令指示行进设备的第二行进方向至少与所述第一控制指令指示的所述第一行进方向相同,生成第三判断结果;Judging whether a second control instruction is received, the second control instruction instructing the second travel direction of the traveling equipment to be at least the same as the first travel direction instructed by the first control instruction, and a third judgment result is generated;
根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应。According to the third judgment result, it is determined whether to respond to at least the first control instruction.
上述方案中,所述判断是否接收到第二控制指令,包括:In the above solution, the judging whether the second control instruction is received includes:
判断是否以预定的频率接收到所述第二控制指令。It is determined whether the second control instruction is received at a predetermined frequency.
上述方案中,所述根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应,包括:In the above solution, the determining whether to respond to at least the first control instruction according to the third judgment result includes:
在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定至少对所述第一控制指令进行响应以至少使得所述行进设备向所述第一行进方向行进;In the case where the third judgment result indicates that the second control instruction is received at a predetermined frequency, it is determined that at least the first control instruction is responded to to at least cause the traveling equipment to travel in the first traveling direction ;
在所述第三判断结果表征未接收到所述第二控制指令的情况下,确定 不对所述第一控制指令进行响应。In a case where the third judgment result indicates that the second control instruction is not received, it is determined not to respond to the first control instruction.
上述方案中,所述方法还包括:In the above solution, the method further includes:
在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定对所述第二控制指令进行响应以至少使得所述行进设备向与所述第一控制指令指示的相同方向行进。In the case where the third judgment result indicates that the second control instruction is received at a predetermined frequency, it is determined to respond to the second control instruction so as to at least cause the traveling equipment to instruct the first control instruction In the same direction.
本申请实施例提供一种行进设备,包括:The embodiment of the application provides a traveling equipment, including:
接收单元,配置为接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;A receiving unit configured to receive a first control instruction, the first control instruction being at least used to indicate a first traveling direction of the traveling equipment;
传感器,配置为判断在所述行进设备的所述第一行进方向上是否存在目标物体,所述目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;A sensor configured to determine whether there is a target object in the first traveling direction of the traveling device, the target object can at least hinder the traveling of the traveling device in the first traveling direction, and generate a first determination result ;
确定单元,配置为至少根据第一判断结果,确定是否对所述第一控制指令进行响应。The determining unit is configured to determine whether to respond to the first control instruction at least according to the first determination result.
上述方案中,所述设备还包括:In the above solution, the device further includes:
第二判断单元,配置为在所述第一判断结果表征所述第一行进方向上存在目标物体的情况下,判断所述第一行进方向是否位于所述行进设备的可视区域内,并生成第二判断结果。The second determining unit is configured to determine whether the first traveling direction is within the visible area of the traveling equipment when the first determining result indicates that there is a target object in the first traveling direction, and generating The second judgment result.
上述方案中,In the above scheme,
所述确定单元,配置为在所述第二判断结果表征所述第一行进方向不位于所述行进设备的可视区域内的情况下,确定不对所述第一控制指令进行响应。The determining unit is configured to determine not to respond to the first control instruction when the second determination result indicates that the first traveling direction is not within the visible area of the traveling equipment.
上述方案中,所述设备还包括:In the above solution, the device further includes:
第三判断单元,配置为在所述第二判断结果表征所述第一行进方向位于所述行进设备的可视区域内的情况下,The third judging unit is configured to, when the second judging result indicates that the first traveling direction is within the visible area of the traveling equipment,
判断是否接收到第二控制指令,所述第二控制指令指示行进设备的第 二行进方向至少与所述第一控制指令指示的所述第一行进方向相同,生成第三判断结果;Judging whether a second control instruction is received, the second control instruction instructing the second travel direction of the traveling equipment to be at least the same as the first travel direction instructed by the first control instruction, and a third judgment result is generated;
相应的,所述确定单元,配置为根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应。Correspondingly, the determining unit is configured to determine whether to at least respond to the first control instruction according to the third judgment result.
上述方案中,In the above scheme,
所述第三判断单元,配置为判断是否以预定的频率接收到所述第二控制指令。The third determining unit is configured to determine whether the second control instruction is received at a predetermined frequency.
上述方案中,In the above scheme,
所述确定单元,配置为在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定至少对所述第一控制指令进行响应以至少使得所述行进设备向所述第一行进方向行进;The determining unit is configured to determine at least to respond to the first control instruction to at least make the traveling equipment move toward the vehicle when the third determination result indicates that the second control instruction is received at a predetermined frequency. Traveling in the first direction of travel;
所述确定单元,配置为在所述第三判断结果表征未接收到所述第二控制指令的情况下,确定不对所述第一控制指令进行响应。The determining unit is configured to determine not to respond to the first control instruction when the third determination result indicates that the second control instruction is not received.
上述方案中,In the above scheme,
所述确定单元,配置为在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定对所述第二控制指令进行响应以至少使得所述行进设备向与所述第一控制指令指示的相同方向行进。The determining unit is configured to determine to respond to the second control instruction to at least cause the traveling equipment to move toward the same direction when the third determination result indicates that the second control instruction is received at a predetermined frequency. Travel in the same direction indicated by the first control instruction.
本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述方法的步骤。The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the foregoing method are implemented.
本申请实施例提供一种行进设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现前述方法的步骤。The embodiment of the present application provides a traveling device including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements the steps of the foregoing method when the program is executed.
本申请实施例提供一种行进方法和行进设备、计算存储介质,所述方法包括:接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;判断在所述行进设备的所述第一行进方向上是否存在目标 物体,所述目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;至少根据第一判断结果,确定是否至少对所述第一控制指令进行响应。与相关技术中的行进设备对于接收到的控制指令进行直接响应相比,本申请实施例的技术方案对于接收到的控制指令不是直接进行响应,而是根据在控制指令指示的行进方向上是否存在障碍物的判断结果进行响应,至少可避免由于直接响应而导致的响应资源浪费、电量资源浪费的问题。The embodiments of the present application provide a traveling method, traveling equipment, and computing storage medium. The method includes: receiving a first control instruction, where the first control instruction is at least used to indicate a first traveling direction of the traveling equipment; Whether there is a target object in the first traveling direction of the traveling equipment, the target object can at least hinder the traveling of the traveling equipment in the first traveling direction to generate a first judgment result; at least according to the first judgment result, It is determined whether to respond to at least the first control instruction. Compared with the direct response of the traveling equipment in the related art to the received control instruction, the technical solution of the embodiment of the present application does not directly respond to the received control instruction, but according to whether there is a control instruction in the direction of travel. Responding to the judgment result of the obstacle can at least avoid the problem of waste of response resources and waste of power resources due to direct response.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative work.
图1为本申请提供的行进方法的第一实施例的实现流程示意图;FIG. 1 is a schematic diagram of the implementation process of the first embodiment of the traveling method provided by this application;
图2为本申请提供的行进方法的第二实施例的实现流程示意图;2 is a schematic diagram of the implementation process of the second embodiment of the traveling method provided by this application;
图3为本申请提供的行进方法的第三实施例的实现流程示意图;3 is a schematic diagram of the implementation process of the third embodiment of the traveling method provided by this application;
图4为本申请提供的行进设备采集的可视区图像的示意图;FIG. 4 is a schematic diagram of the viewable area image collected by the traveling equipment provided by this application;
图5为本申请提供的行进设备在室内的行进示意图;Fig. 5 is a schematic diagram of traveling indoors of traveling equipment provided by this application;
图6为本申请提供的行进设备实施例的硬件构成示意图;FIG. 6 is a schematic diagram of the hardware structure of the traveling equipment embodiment provided by this application;
图7为本申请提供的行进设备实施例的组成结构示意图。FIG. 7 is a schematic diagram of the composition structure of an embodiment of traveling equipment provided by this application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚明白,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例,都属于本申请保护的范围。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In order to make the purpose, technical solutions, and advantages of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the drawings in the embodiments of this application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application. In the case of no conflict, the embodiments in the application and the features in the embodiments can be combined with each other arbitrarily. The steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer-executable instructions. And, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
相关技术中,控制设备向行进设备发送的控制指令可能是正确的指令,也可能是错误的指令。其中,产生错误指令的原因是:控制指令可能是基于操作人员对控制设备的操作而产生,操作人员可能存在操作出错的情况,如果操作指令基于操作人员的误操作而产生,这种情况下可行进设备如果仍然对控制设备发送的错误指令进行响应,相当于是对错误指令进行响应,错误响应一方面会导致响应资源的浪费;另一方面,错误响应指令可能会造成行进设备与相撞的,从而无法保证行进设备的安全。在实际应用中,期望能够避免可行进设备盲目响应、进一步的错误响应而导致的响应资源浪费的问题,以达到节约资源的目的;也期望可行进设备能够对正确的指令进行如期的响应。本申请以下实施例至少能够解决以上的技术问题。In the related art, the control instruction sent by the control device to the traveling device may be a correct instruction or an incorrect instruction. Among them, the reason for the error instruction is: the control instruction may be generated based on the operator's operation of the control equipment, and the operator may have an operation error. If the operation instruction is generated based on the operator's misoperation, it is feasible in this case If the advanced device still responds to the wrong command sent by the control device, it is equivalent to responding to the wrong command. On the one hand, the wrong response will lead to a waste of response resources; on the other hand, the wrong response command may cause the traveling device to collide with it. Therefore, the safety of traveling equipment cannot be guaranteed. In practical applications, it is expected to avoid the problem of waste of response resources caused by the blind response of the feasible equipment and further wrong responses in order to save resources; it is also expected that the feasible equipment can respond to the correct instructions as expected. The following embodiments of the application can at least solve the above technical problems.
本领域技术人员应该而知,本申请以下各实施例中描述的行进设备可以是任何具有行进功能的设备,如机器人、平衡车、平衡轮等。进一步的,所述行进设备可具有基于控制设备如遥控终端的控制操作而进行不同方向的行进的设备。本申请实施例优选的行进设备可以是机器人设备。Those skilled in the art should know that the traveling equipment described in the following embodiments of the present application may be any equipment with traveling functions, such as a robot, a balance car, a balance wheel, and the like. Further, the traveling equipment may have equipment for traveling in different directions based on a control operation of a control equipment such as a remote control terminal. The preferred traveling equipment in the embodiment of the present application may be a robot equipment.
本申请提供的行进方法的第一实施例,应用于行进设备中,如图1所示,所述方法包括:The first embodiment of the traveling method provided in this application is applied to traveling equipment. As shown in FIG. 1, the method includes:
步骤(S)101:接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;Step (S) 101: Receive a first control instruction, where the first control instruction is used to at least instruct the first traveling direction of the traveling equipment;
本步骤中,行进设备接收到(第一)控制指令,该控制指令至少可指示了行进方向,可由控制设备如遥控终端发送至行进设备。In this step, the traveling equipment receives the (first) control instruction, which can at least indicate the traveling direction, and can be sent to the traveling equipment by the control equipment such as a remote control terminal.
步骤102:判断在所述行进设备的所述第一行进方向上是否存在目标物体,所述目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;Step 102: Determine whether there is a target object in the first traveling direction of the traveling equipment, and the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generate a first determination result;
本步骤中,所述目标物体可视为任何可作为障碍物的物体、如墙、树木、车辆等。当然,本申请实施例中的目标物体也可包括人,人作为障碍物也可阻碍行进设备的行进。也即判断在第一行进方向上是否存在障碍物。In this step, the target object can be regarded as any object that can be used as an obstacle, such as walls, trees, vehicles, etc. Of course, the target object in the embodiment of the present application may also include a person, and a person as an obstacle may also hinder the travel of the traveling equipment. That is, it is determined whether there is an obstacle in the first direction of travel.
步骤103:至少根据第一判断结果,确定是否对所述第一控制指令进行响应。Step 103: Determine whether to respond to the first control instruction at least according to the first judgment result.
本步骤中,根据判断第一行进方向上是否存在障碍物的(第一)判断结果,确定是否进行控制指令的响应以确认至少使得所述行进设备是否向所述第一行进方向行进。In this step, according to the (first) judgment result of judging whether there is an obstacle in the first direction of travel, it is determined whether to respond to the control instruction to confirm at least whether the traveling device is caused to travel in the first direction of travel.
与相关技术中的行进设备对于接收到的控制指令进行直接响应的方案相比,本申请实施例的技术方案对于接收到的控制指令不再盲目进行响应,而是根据在控制指令指示的行进方向上是否存在障碍物的判断结果进行响应,至少可避免由于盲目响应而导致的响应资源浪费、电量资源浪费的问题。Compared with the solution in the related art that the traveling equipment directly responds to the received control instruction, the technical solution of the embodiment of the present application no longer blindly responds to the received control instruction, but according to the traveling direction indicated by the control instruction. Responding to the judgment result of whether there is an obstacle on the above can at least avoid the problem of waste of response resources and waste of power resources due to blind response.
可以理解,相关技术中的盲目响应也会带来如下问题:如控制指令指示行进设备向后方行进,后方存在阻碍其向后方前进的物体,而盲目响应则会导致行进设备与该物体相撞,可能造成行进设备的损坏,无法保障行进设备自身的安全。It is understandable that the blind response in the related technology will also bring about the following problems: if the control instruction instructs the traveling equipment to travel backward, there is an object hindering its backward progress, and the blind response will cause the traveling equipment to collide with the object. It may cause damage to the traveling equipment and cannot guarantee the safety of the traveling equipment itself.
作为一种可实现方式,所述步骤103具体可以为:As an implementable manner, the step 103 may specifically be:
在第一判断结果表征在所述行进设备的所述第一行进方向上存在目标物体的情况下,不对所述第一控制指令进行响应以使所述行进设备不向所述第一行进方向行进。前述的方案,可作为行进设备的一种安全保护机制,至少可避免由于行进设备的盲目响应而导致行进设备与障碍物相撞产生损 坏的问题,保证了行进设备的安全。In the case where the first judgment result indicates that there is a target object in the first direction of travel of the traveling equipment, do not respond to the first control instruction so that the traveling equipment does not travel in the first direction of travel . The foregoing solution can be used as a safety protection mechanism for traveling equipment, at least avoiding the problem of damage caused by collision of traveling equipment with obstacles due to the blind response of traveling equipment, and ensuring the safety of traveling equipment.
对上述方法实施例一的理解请参见后续对应用场景1所示的方案的说明。For the understanding of the foregoing method embodiment 1, please refer to the subsequent description of the solution shown in application scenario 1.
本申请提供的行进方法的第二实施例,应用于行进设备中,如图2所示,所述方法包括:The second embodiment of the traveling method provided in this application is applied to traveling equipment. As shown in FIG. 2, the method includes:
S201:接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;S201: Receive a first control instruction, where the first control instruction is used at least to indicate a first traveling direction of a traveling device;
S202:判断在所述行进设备的所述第一行进方向上是否存在目标物体,所述目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;S202: Determine whether there is a target object in the first traveling direction of the traveling equipment, and the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generate a first determination result;
S203:在所述第一判断结果表征所述第一行进方向上存在目标物体的情况下,判断所述第一行进方向是否位于所述行进设备的可视区域内,并生成第二判断结果;S203: When the first judgment result indicates that there is a target object in the first direction of travel, judge whether the first direction of travel is within the visible area of the travel device, and generate a second judgment result;
S204:至少根据所述第一行进方向上存在目标物体的第一判断结果和所述第二判断结果,确定是否对所述第一控制指令进行响应。S204: Determine whether to respond to the first control instruction at least according to the first judgment result and the second judgment result that the target object exists in the first traveling direction.
前述方案中,在第一判断结果表征第一行进方向上存在目标物体的情况下,结合第一行进方向是否位于所述行进设备的可视区域内的判断结果,确定是否对第一控制指令进行响应。从第一行进方向上是否存在障碍物和第一行进方向是否位于可视区域内的两种判断结果的结合出发,确定是否对第一控制指令进行响应。一方面,可避免盲目响应而导致的响应资源浪费、电量浪费的问题,另一方面,从两种判断结果出发决定是否响应,可保证确定是否进行响应的准确性。In the foregoing solution, when the first judgment result indicates that there is a target object in the first direction of travel, it is determined whether to perform the first control instruction in combination with the judgment result of whether the first direction of travel is within the visible area of the traveling device. response. Starting from the combination of the two determination results of whether there is an obstacle in the first direction of travel and whether the first direction of travel is within the visible area, it is determined whether to respond to the first control instruction. On the one hand, it can avoid the problem of response resource waste and power waste caused by blind response. On the other hand, the two judgment results are used to determine whether to respond, which can ensure the accuracy of determining whether to respond.
前述方案中,S201和S202请参见前述对S101和S102的相关说明,不赘述。For S201 and S202 in the foregoing solution, please refer to the foregoing description of S101 and S102, which will not be repeated.
作为一种实现方式,所述根据所述第一行进方向上存在目标物体的第一判断结果和所述第二判断结果,确定是否至少对所述第一控制指令进行响应,包括:As an implementation manner, the determining whether to respond to at least the first control instruction according to the first judgment result and the second judgment result that the target object exists in the first traveling direction includes:
在所述第一行进方向上存在目标物体以及所述第二判断结果表征所述第一行进方向不位于所述行进设备的可视区域内的情况下,确定不对所述第一控制指令进行响应。也即,在控制指令指示的行进方向上存在障碍物且该行进方向位于行进设备的可视区域之外,使得行进设备无法预知在盲目响应的情况下将会产生哪些不良后果,则本申请实施例不响应该控制指令,以避免行进设备与该行进方向上的障碍物产生碰撞,避免碰撞损坏,保障了行进设备的安全,为行进设备的一种安全保护机制。In the case where there is a target object in the first traveling direction and the second judgment result indicates that the first traveling direction is not within the visible area of the traveling equipment, it is determined not to respond to the first control instruction . That is, if there is an obstacle in the direction of travel indicated by the control instruction and the direction of travel is outside the visible area of the traveling equipment, so that the traveling equipment cannot predict which adverse consequences will occur in the case of blind response, this application is implemented For example, it does not respond to the control command to avoid collisions between the traveling equipment and obstacles in the traveling direction, avoid collision damage, and ensure the safety of the traveling equipment, which is a safety protection mechanism for the traveling equipment.
对上述方法实施例二的理解请参见后续对应用场景2所示的方案的说明。For the understanding of the second embodiment of the foregoing method, please refer to the subsequent description of the solution shown in application scenario 2.
本申请提供的行进方法的第三实施例,应用于行进设备中,如图3所示,所述方法包括:The third embodiment of the traveling method provided in this application is applied to traveling equipment. As shown in FIG. 3, the method includes:
S301:接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;S301: Receive a first control instruction, where the first control instruction is at least used to instruct the first traveling direction of the traveling equipment;
S302:判断在所述行进设备的所述第一行进方向上是否存在目标物体,所述目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;S302: Determine whether there is a target object in the first traveling direction of the traveling equipment, and the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generate a first determination result;
S303:在第一判断结果表征第一行进方向上存在目标物体的情况下,判断所述第一行进方向是否位于所述行进设备的可视区域内,生成第二判断结果;S303: When the first judgment result indicates that there is a target object in the first direction of travel, judge whether the first direction of travel is within the visible area of the traveling device, and generate a second judgment result;
S304:在所述第二判断结果表征所述第一行进方向位于所述行进设备的可视区域内的情况下,判断是否接收到第二控制指令,所述第二控制指令指示行进设备的第二行进方向至少与所述第一控制指令指示的所述第一 行进方向相同,生成第三判断结果;S304: In the case where the second judgment result indicates that the first traveling direction is within the visible area of the traveling equipment, determine whether a second control instruction is received, and the second control instruction instructs the second control instruction of the traveling equipment. The second travel direction is at least the same as the first travel direction indicated by the first control instruction, and a third judgment result is generated;
S305:根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应。S305: According to the third judgment result, determine whether to respond to at least the first control instruction.
前述方案中,在第一行进方向上存在障碍物和第一行进方向位于行进设备的可视区域内的情况下,结合行进设备是否接收到至少与第一控制指令指示的行进方向相同的控制指令(第二控制指令)的判断结果,确定是否对第一控制指令进行响应。相当于结合第一判断结果、第二判断结果和第三判断结果来看,确定是否进行响应,可大大保证确定是否进行响应的准确性。In the foregoing solution, in the case that there is an obstacle in the first direction of travel and the first direction of travel is located within the visible area of the traveling device, it is combined with whether the traveling device has received a control instruction that is at least the same as the traveling direction indicated by the first control instruction The judgment result of (the second control command) determines whether to respond to the first control command. It is equivalent to combining the first judgment result, the second judgment result and the third judgment result to determine whether to respond, which can greatly ensure the accuracy of determining whether to respond.
需要说明的是,本申请实施例至少考虑到了行进设备对障碍物的检测可能会出错的问题,为避免检测出错而导致的对错误指令进行响应、对正确指令无法进行正常响应的问题,本申请实施例结合了操作人员的人工判断实现对控制指令是否进行响应的判断(其中第二控制指令是控制终端基于操作人员的操作而产生的),进而可有效避免对错误指令的响应而导致的资源浪费、电量浪费的问题;也可保证不会由于不谨慎响应而导致的行进设备安全如被撞坏的问题。另一方面,也可以避免对正确指令无法进行正常响应的问题。关于此处的理解具体请参见后续对应用场景3的描述。It should be noted that the embodiment of the application at least considers the problem that the detection of obstacles by the traveling equipment may be wrong. In order to avoid the problem of responding to wrong instructions and failing to respond normally to correct instructions caused by detection errors, this application The embodiment combines the manual judgment of the operator to realize the judgment of whether to respond to the control instruction (the second control instruction is generated by the control terminal based on the operation of the operator), thereby effectively avoiding resources caused by the response to the wrong instruction The problem of waste and power waste; it can also ensure that the safety of traveling equipment will not be damaged due to inadvertent response. On the other hand, the problem of not being able to respond normally to the correct command can also be avoided. For the understanding of this, please refer to the subsequent description of application scenario 3.
前述方案中,S301和S302请参见前述对S101和S102的相关说明,不赘述。In the foregoing solution, S301 and S302, please refer to the foregoing description of S101 and S102, and will not be repeated.
作为一种实现方式,所述判断是否接收到第二控制指令,可以为:判断是否以预定的频率接收到所述第二控制指令。也即结合是否以一定的频率接收到第二控制指令的判断结果,确定是否至少对第一控制指令进行响应,至少可提高确定是否对第一控制指令进行响应的准确性。As an implementation manner, the determining whether the second control instruction is received may be: determining whether the second control instruction is received at a predetermined frequency. That is, in combination with the judgment result of whether the second control instruction is received at a certain frequency, it is determined whether to respond to the first control instruction at least, which can at least improve the accuracy of determining whether to respond to the first control instruction.
作为一种实现方式,所述根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应,可以包括以下两种情况:As an implementation manner, the determining whether to respond to at least the first control instruction according to the third judgment result may include the following two situations:
情况一:在所述第三判断结果表征接收到所述第二控制指令、或者以预定的频率接收到所述第二控制指令的情况下,确定至少对所述第一控制指令进行响应以至少使得所述行进设备向所述第一行进方向行进,结合表征为在第一行进方向上存在障碍物、第一行进方向位于行进设备的可视区域内以及接收到或者以预定的频率接收到第二控制指令的判断结果,确定对第一控制指令进行响应,可大大避免对正确指令无法进行正常响应的问题。Case 1: In the case where the third judgment result indicates that the second control instruction is received or the second control instruction is received at a predetermined frequency, it is determined that at least the first control instruction is responded to at least The traveling equipment is caused to travel in the first traveling direction, which is characterized by the presence of obstacles in the first traveling direction, the first traveling direction being located in the visible area of the traveling equipment, and the receiving or receiving of the first traveling direction at a predetermined frequency. The judgment result of the second control instruction determines the response to the first control instruction, which can greatly avoid the problem that the normal response to the correct instruction cannot be performed.
情况二:在所述第三判断结果表征未接收到所述第二控制指令的情况下,确定不对所述第一控制指令进行响应,可大大避免对错误指令的响应。Case 2: When the third judgment result indicates that the second control instruction is not received, it is determined not to respond to the first control instruction, which can greatly avoid the response to the wrong instruction.
可以理解,前述的第一控制指令和第二控制指令可以为相同的控制指令,也可以为不同的控制指令。在所述第三判断结果表征接收到所述第二控制指令、或者以预定的频率接收到所述第二控制指令的情况下,行进设备除了可以对所述第一控制指令进行响应,还可以对第二控制指令进行响应,以实现对行进设备对正确指令的正常响应。It can be understood that the aforementioned first control instruction and second control instruction may be the same control instruction, or may be different control instructions. In the case where the third judgment result indicates that the second control instruction is received or the second control instruction is received at a predetermined frequency, the traveling equipment may not only respond to the first control instruction, but also Respond to the second control instruction to realize the normal response of the traveling equipment to the correct instruction.
对上述方法实施例三的理解所示的方案的说明。Explanation of the solution shown in the understanding of the third embodiment of the above method.
结合以下几个应用场景对本申请实施例的技术方案做详细说明。The technical solutions of the embodiments of the present application will be described in detail in combination with the following application scenarios.
在以下几个应用场景中,均以可行进设备为机器人设备、用于控制机器人设备的控制设备为控制终端为例。可以理解,控制终端对机器人设备发送的控制指令可以为前进、后退、向左转、向右转等带有方向性指示的指令,以实现对机器人设备的前进、后退、左转、右转等动作。当然,也可以为带有方向性指示的复合命令,如向前加/减速、向后加/减速、向左转并加/减速、向右转加/减速等复合指令。In the following application scenarios, the feasible equipment is the robot equipment, and the control equipment used to control the robot equipment is the control terminal as an example. It can be understood that the control instructions sent by the control terminal to the robot equipment can be instructions with directional instructions such as forward, backward, turn left, turn right, etc., to realize the forward, backward, left turn, right turn, etc. of the robot equipment. action. Of course, it can also be a compound command with directional instructions, such as forward acceleration/deceleration, backward acceleration/deceleration, left turn and acceleration/deceleration, and right turn acceleration/deceleration.
本申请实施例中的机器人设备具有一个或多个采集单元如摄像头,通过摄像头可采集机器人设备在行进过程中的环境图像(实时图像),并将环境图像发送至控制终端,以使得操作人员基于控制终端接收到的环境图像 查看机器人设备的行进环境,并在机器人设备的行进过程中,依据环境图像对机器人设备产生行进方向或速度的控制。可以理解,在实际应用中,可能存在以下问题:操作人员可能会产生误触操作,如不小心按下了后退按键,进而控制终端基于该误触操作产生了错误的控制指令并发送至机器人。以下几个应用场景所示的技术方案可解决以上问题。The robot device in the embodiment of the present application has one or more collection units such as a camera. The camera can collect the environment image (real-time image) of the robot device in the process of traveling, and send the environment image to the control terminal, so that the operator can The environment image received by the control terminal checks the traveling environment of the robot device, and controls the traveling direction or speed of the robot device according to the environment image during the traveling process of the robot device. It can be understood that in practical applications, there may be the following problems: the operator may make a mistaken touch operation, such as accidentally pressing the back button, and then the control terminal generates an erroneous control command based on the mistaken touch operation and sends it to the robot. The technical solutions shown in the following application scenarios can solve the above problems.
图4为机器人通过摄像头采集的实时图像的一示意图。可以理解,图4所示的图像为机器人通过摄像头进行采集的,采集图像所示的区域即为机器人的可视区(非盲区),也是操作人员能够通过控制终端看到的机器人行进环境的区域。在图4所示中,机器人通过产生的两条边界线(边界线1和2)用于对自身的可通行区域进行表示。如果可通行区域内存在障碍物,则机器人继续前进则会撞上障碍物。可以理解,摄像头可以设置在任何合理的位置,如设置在机器人头部的上方位置。摄像头所采集到的图像与机器人头部转动的方向、摄像头在机器人头部的设置位置以及摄像头的采集角度等有关。在摄像头的设置位置及采集角度固定的情况下,边界线1、2用于说明机器人由于头部或者摄像头转动一定角度使得摄像头到达一定方向的情况下,将其在该方向上的可通行区域表示出来,机器人可根据该通信区域内的实际行进环境如存在或不存在障碍物决定是否向该方向行走。Figure 4 is a schematic diagram of a real-time image collected by a robot through a camera. It can be understood that the image shown in Figure 4 was collected by the robot through a camera, and the area shown in the collected image is the visible area (non-blind area) of the robot, which is also the area where the robot can see the traveling environment of the robot through the control terminal . As shown in Figure 4, the two boundary lines (boundary lines 1 and 2) generated by the robot are used to represent its own passable area. If there is an obstacle in the passable area, the robot will hit the obstacle if it continues to move forward. It is understandable that the camera can be set at any reasonable position, such as set at the position above the head of the robot. The image collected by the camera is related to the rotation direction of the robot head, the setting position of the camera on the robot head, and the collection angle of the camera. In the case that the setting position and acquisition angle of the camera are fixed, boundary lines 1 and 2 are used to indicate that the robot's head or camera rotates a certain angle so that the camera reaches a certain direction, and the passable area in that direction is indicated Come out, the robot can decide whether to walk in this direction according to the actual traveling environment in the communication area, such as the presence or absence of obstacles.
应用场景1:图5为机器人在一室内空间中进行行进的图像。在图5所示的场景中,机器人从位置A行进到位置B的过程中,机器人实时采集其所处的环境图像至控制终端,操作人员依据控制终端接收到的实时环境图像产生从位置A前进到位置B的前进指令。在机器人前进至位置B后,假定操作人员触控了前进按键,控制终端基于操作人员对前进按键的触控产生前进指令(第一控制指令),并发送至机器人。机器人接收到该前进指令,处于位置B的机器人利用自身的传感器检测在前进方向上是否存在障碍物,进一步的检测在处于位置B的情况下由控制终端指示的行进方向上如 前方方向上位于边界线1和2之间的区域内是否存在障碍物。假定距离机器人位置B前方的不远处存在障碍物如沙发,则机器人不对该前进指令进行响应,不继续前进。机器人的这种通过对控制终端指示的前进方向是否有障碍物的判断,决定是否向指示方向行进。这种依靠自身的判断结果决定是否前进,相当于一种安全保护机制,与相关技术中的机器人直接对控制终端发送的指令进行响应的方案相比,机器人的这种安全保护机制,至少可避免对操作人员的错误操作进行响应而导致的响应资源浪费的问题、电量浪费的问题,还可避免机器人与障碍物之间的碰撞,保证机器人的安全。Application scenario 1: Figure 5 is an image of a robot traveling in an indoor space. In the scene shown in Figure 5, when the robot travels from position A to position B, the robot collects real-time environmental images to the control terminal, and the operator moves forward from position A based on the real-time environmental images received by the control terminal Forward instruction to position B. After the robot advances to position B, assuming that the operator touches the forward button, the control terminal generates a forward instruction (first control instruction) based on the operator's touch on the forward button, and sends it to the robot. When the robot receives the forward instruction, the robot at position B uses its own sensor to detect whether there is an obstacle in the forward direction, and further detects that when the robot is at position B, the direction of travel indicated by the control terminal is located at the boundary in the forward direction. Whether there are obstacles in the area between lines 1 and 2. Assuming that there is an obstacle such as a sofa not far in front of the robot position B, the robot does not respond to the forward command and does not continue forward. In this way, the robot decides whether to move in the indicated direction by judging whether there is an obstacle in the forward direction indicated by the control terminal. This kind of decision whether to move forward depends on the result of its own judgment, which is equivalent to a safety protection mechanism. Compared with the solution in the related technology where the robot directly responds to the instructions sent by the control terminal, the safety protection mechanism of the robot can at least avoid Responding to the problem of waste of resources and waste of electricity caused by the wrong operation of the operator can also avoid the collision between the robot and the obstacle and ensure the safety of the robot.
应用场景2:结合图5所示,假定在机器人处于位置A时,操作人员不小心按下后退按键(第一控制指令),则控制终端基于操作人员的误操作而产生后退指令,并发送后退指令至机器人。机器人接收到后退指令,利用传感器检测后方是否存在障碍物,如图5所示的机器人位于位置A时的后方存在障碍物-墙,则机器人对控制指令的该后台指令不进行响应,至少可保证机器人不被碰撞,也避免了对误操作的错误响应。进一步的,在检测后方存在障碍物的情况下,判断机器人的后方方向是否位于机器人的可视区域内。可以理解,机器人的可视区域通常为机器人的摄像头能够采集到的区域范围例如前方区域。在机器人的后方方向不位于机器人的可视区域内(位于可视区域之外)的情况也即操作人员的误操作指示的方向位于机器人的盲区,这种情况下为保证机器人的行进安全,不对该后退指令进行响应。Application scenario 2: As shown in Figure 5, assuming that when the robot is in position A, the operator accidentally presses the back button (the first control instruction), the control terminal generates a back instruction based on the operator's misoperation and sends a back Command to the robot. The robot receives the back instruction and uses the sensor to detect whether there is an obstacle behind. As shown in Figure 5, when the robot is at position A, there is an obstacle-wall behind the robot. The robot does not respond to the background instruction of the control instruction, at least it can be guaranteed The robot is not collided and the wrong response to misoperation is also avoided. Further, in the case of detecting that there is an obstacle in the rear, it is determined whether the rear direction of the robot is within the visible area of the robot. It can be understood that the visible area of the robot is usually the area range that can be collected by the camera of the robot, such as the front area. In the case that the rear direction of the robot is not in the visible area of the robot (outside the visible area), that is, the direction indicated by the operator's misoperation is in the blind zone of the robot. In this case, it is wrong to ensure the safety of the robot. The back command responds.
本领域技术人员应该理解,本申请实施例中的传感器可以是任何具有检测障碍物功能的传感器、如接近传感器、红外传感器、激光传感器等。具体的障碍物检测原理本文不做具体赘述。在实际应用中,传感器对障碍 物的检测受其所处环境而影响、具体的受所处环境的噪声而影响,如果机器人所处环境的噪声较大,可能存在检测不准确的问题。为避免传感器的检测不准确而导致的机器人无法正常响应正确指令的问题,本申请实施例由于机器人的摄像头可实时对其所处的行进环境进行采集并将采集到的图像发送至控制终端侧、操作人员可通过控制终端进行图像的查看,本申请实施例进一步结合操作人员的判断、具体是操作人员从控制终端接收到的机器人所处的实时环境的判断,决定是否可以控制机器人继续沿着第一行进方向行进。具体可参见以下应用场景来理解。Those skilled in the art should understand that the sensor in the embodiment of the present application may be any sensor with an obstacle detection function, such as a proximity sensor, an infrared sensor, a laser sensor, and the like. The specific obstacle detection principle will not be detailed in this article. In practical applications, the sensor's detection of obstacles is affected by its environment and specifically by the noise of its environment. If the environment where the robot is noisy, there may be a problem of inaccurate detection. In order to avoid the problem that the robot cannot normally respond to correct instructions due to the inaccurate detection of the sensor, in the embodiment of the present application, the camera of the robot can collect the traveling environment in which it is located in real time and send the collected images to the control terminal. The operator can view the image through the control terminal. The embodiment of this application further combines the judgment of the operator, specifically the judgment of the real-time environment of the robot received by the operator from the control terminal, to determine whether the robot can be controlled to continue along the first Travel in the direction of travel. For details, please refer to the following application scenarios to understand.
应用场景3:结合图5所示,假定机器人设备处于A位置时,操作人员通过传输至控制终端的机器人所处行进环境的图像,发现机器人还可以向前方行进,则按下控制终端的前进按键,控制终端基于操作人员的操作而产生前进指令(第一控制指令)并发送机器人。机器人接收到该前进指令,通过传感器检测在控制终端指示方向上位于两条边界线之内的可通行区域内是否存在障碍物。假定此时传感器受所处环境噪声的影响,产生了错误检测结果:在控制终端指示方向的可通行区域内存在障碍物。本应用场景,在控制终端指示方向为前方,由于机器人的前方区域为机器人的可视区域,所以可以认为当前机器人接收到的控制指令-前进指令指示的方向位于可视区。由于操作人员看到的机器人的环境图像即为机器人的可视区图像、摄像头采集到的图像。假定这种情况下摄像头采集到的图像传输至控制终端无时延或者时延在可容易的范围内,则此时操作人员可通过实时传输过来的图像人工确认此时的机器人前方并无障碍,还可以继续前进。为控制对机器人的行进,操作人员以一定的频率按下前进按键,控制终端以操作人员按下前进按键的频率产生相应频率的前进指令,并发送至机器人。机器人以一定的频率接收到前进指令(第二控制指令)的情况下,可认为通过机器人传输过来的图像操作人员人工确认此时还可以向前方前 进。则机器人对收到的前进指令进行响应,继续向前方行进。由此,结合了人工判断且该人工判断操作人员通过采集的实时图像而产生,对是否以一定频率的方式收到操作人员的第二控制指令的方式,也即结合了人工的判断,至少避免了传感器的检测不准确而导致的机器人无法正常响应正确指令的问题。Application scenario 3: As shown in Figure 5, assuming that the robot device is in the A position, the operator transmits the image of the traveling environment of the robot to the control terminal and finds that the robot can still travel forward, then press the forward button of the control terminal , The control terminal generates a forward instruction (first control instruction) based on the operation of the operator and sends the robot. The robot receives the forward instruction, and detects whether there is an obstacle in the passable area within the two boundary lines in the direction indicated by the control terminal through the sensor. It is assumed that the sensor is affected by the noise of the environment at this time, and a false detection result is produced: there is an obstacle in the passable area where the control terminal indicates the direction. In this application scenario, the direction indicated by the control terminal is forward. Since the area in front of the robot is the visible area of the robot, it can be considered that the direction indicated by the current control instruction-forward instruction received by the robot is in the visible area. Because the environment image of the robot seen by the operator is the image of the visible area of the robot and the image collected by the camera. Assuming that in this case, the image collected by the camera is transmitted to the control terminal without time delay or the time delay is within an easy range. At this time, the operator can manually confirm the front of the robot at this time through the real-time transmission image and it is unobstructed. You can move on. In order to control the progress of the robot, the operator presses the forward button at a certain frequency, and the control terminal generates a forward command of the corresponding frequency at the frequency of the operator presses the forward button, and sends it to the robot. When the robot receives the forward command (second control command) at a certain frequency, it can be considered that the image operator transmitted by the robot manually confirms that it can also move forward at this time. Then the robot responds to the received forward command and continues to move forward. As a result, the manual judgment is combined with the manual judgment generated by the operator through the collected real-time images. The method of whether the second control instruction of the operator is received in a certain frequency manner, that is, combined with the manual judgment, at least avoids This solves the problem that the robot cannot respond to the correct command normally due to the inaccurate detection of the sensor.
可以理解,前述方案也可视为控制终端对机器人设备进行遥控的方案,在可视区内不以传感器检测的结果作为是否响应的依据,而是以操作人员在控制终端上产生的控制指令作为依据,考虑到人结合实时图像产生的控制指令多数较为客观,本申请实施例中在可视区内以人结合实时图像产生的控制决策为主,也就是说,机器人检测到在控制终端指示方向上存在有障碍物且指示方向位于可视区的情况下,如果操作人员通过控制终端对机器人进行该方向上的远程遥控,则机器人对来自控制终端的遥控指令进行响应。对于机器人来说,为一种被直接遥控的方案。It can be understood that the aforementioned solution can also be regarded as a solution for controlling the terminal to remotely control the robot equipment. In the visible area, the result of sensor detection is not used as the basis for response, but the control command generated by the operator on the control terminal is used as the basis. Basis, considering that most of the control commands generated by humans in combination with real-time images are relatively objective, in the embodiment of this application, the control decisions generated by humans in combination with real-time images are the main control decisions in the visible area, that is, the robot detects that the control terminal indicates the direction When there are obstacles and the indicated direction is in the visual area, if the operator remotely controls the robot in this direction through the control terminal, the robot responds to the remote control instruction from the control terminal. For the robot, it is a solution that is directly controlled.
前述方案中,机器人接收的第一控制指令和第二控制指令至少为指示的行进方向相同的指令,如第一控制指令和第二控制指令均为前进指令,还如第一控制指令为前进指令、第二控制指令为向前加速的指令。如果第一控制指令和第二控制指令不相同,则机器人可以先对第一控制指令进行响应、再对第二控制指令进行响应。或者,同时对二个控制指令进行响应。In the foregoing solution, the first control instruction and the second control instruction received by the robot are at least instructions indicating the same direction of travel. For example, the first control instruction and the second control instruction are both forward instructions, and also if the first control instruction is a forward instruction , The second control command is a forward acceleration command. If the first control instruction and the second control instruction are not the same, the robot can first respond to the first control instruction and then respond to the second control instruction. Or, respond to two control commands at the same time.
此外,假定传感器产生了错误检测结果和确认当前机器人接收到的第一控制指令-前进指令指示的方向位于可视区的情况下,如果没有接收第二控制指令。可能存在以下几个原因:1)操作人员通过实时传输过来的图像经人工确认,机器人的前方存在障碍,也即传感器未出现错误检测;2)操作人员认为刚刚对机器人发送的第一控制指令为不小心操作而出现的错误指令。这几种原因下操作人员在产生第一控制指令的情况下,不会再产生第二控制指令,机器人自然不会收到第二控制指令,则机器人不对第一控 制指令进行响应,至少可避免对错误指令响应而导致的资源浪费问题。In addition, assuming that the sensor generates an error detection result and confirms that the direction indicated by the first control instruction-forward instruction received by the robot is in the visible area, if the second control instruction is not received. There may be the following reasons: 1) The image transmitted by the operator in real time is manually confirmed that there is an obstacle in front of the robot, that is, the sensor has not detected an error; 2) The operator thinks that the first control command just sent to the robot is Incorrect instructions due to careless operation. For these reasons, when the operator generates the first control instruction, the second control instruction will not be generated. The robot will not receive the second control instruction, so the robot will not respond to the first control instruction. At least it can be avoided. Resource waste caused by responding to wrong instructions.
前述方案中,还可以预先设置一个合理的时长(第一时长),机器人判断在第一时长内是否接收到第二控制指令或者在第一时间内以预定的频率接收到第二控制指令,以避免机器人等待接收控制指令的时间过长而导致的电量浪费的问题。In the foregoing solution, a reasonable duration (first duration) can also be preset, and the robot determines whether the second control instruction is received within the first duration or the second control instruction is received at a predetermined frequency within the first duration to Avoid the problem of power waste caused by the robot waiting to receive the control command for too long.
以上应用场景中,所述传感器可以为以下至少其中一种:摄像头、红外传感器、超声波传感器、激光雷达传感器等。其中,通过摄像头采集机器人的行进环境图像,通过传感器如除摄像头之外的其它传感器对其行进环境过程中的障碍物进行自动识别,并生成表征为障碍物的地图,并将障碍物地图实时发送至控制终端侧。或者,将自动识别的障碍物在发送的机器人所处行进环境的图像中标识出来,以供操作人员能够基于障碍物地图来快速的确认机器人的哪个(些)方向上存在障碍物。在处于可视区的方向上,操作人员通过实时接收到由摄像头采集的环境图像进行人工确认,机器人信任操作人员基于环境图像而产生的判断,执行操作人员的遥控指令。在处于视觉盲区的方向上,机器人以传感器对指示的行进方向上的障碍物进行检测的结果为准决定是否进行指令的响应。In the above application scenarios, the sensor may be at least one of the following: a camera, an infrared sensor, an ultrasonic sensor, a lidar sensor, etc. Among them, the camera collects the image of the robot's traveling environment, and automatically recognizes obstacles in the traveling environment through sensors such as sensors other than the camera, and generates a map characterized as an obstacle, and sends the obstacle map in real time To the control terminal side. Or, the automatically recognized obstacles are marked in the sent image of the traveling environment of the robot, so that the operator can quickly confirm which direction(s) of the robot there is an obstacle based on the obstacle map. In the direction of the visible area, the operator receives the environmental image collected by the camera in real time for manual confirmation. The robot trusts the operator's judgment based on the environmental image and executes the operator's remote control command. In the direction of the blind zone, the robot decides whether to respond to the command based on the result of the sensor detecting the obstacle in the indicated travel direction.
本申请实施例还提供一种行进设备,如图7所示,所述设备包括:接收单元701、传感器702、及确定单元703;其中,An embodiment of the present application also provides a traveling device. As shown in FIG. 7, the device includes: a receiving unit 701, a sensor 702, and a determining unit 703; wherein,
接收单元701,配置为接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;The receiving unit 701 is configured to receive a first control instruction, where the first control instruction is used at least to indicate a first traveling direction of a traveling device;
传感器702,配置为判断在所述行进设备的所述第一行进方向上是否存在目标物体,所述目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;The sensor 702 is configured to determine whether there is a target object in the first traveling direction of the traveling equipment, and the target object can at least hinder the traveling of the traveling equipment in the first traveling direction to generate a first determination result;
确定单元703,配置为至少根据第一判断结果,确定是否对所述第一控制指令进行响应。The determining unit 703 is configured to determine whether to respond to the first control instruction at least according to the first judgment result.
作为一种实现方式,所述设备还包括:As an implementation manner, the device further includes:
第二判断单元,配置为在所述第一判断结果表征所述第一行进方向上存在目标物体的情况下,判断所述第一行进方向是否位于所述行进设备的可视区域内,并生成第二判断结果。The second determining unit is configured to determine whether the first traveling direction is within the visible area of the traveling equipment when the first determining result indicates that there is a target object in the first traveling direction, and generating The second judgment result.
作为一种实现方式,所述确定单元703,配置为在所述第二判断结果表征所述第一行进方向不位于所述行进设备的可视区域内的情况下,确定不对所述第一控制指令进行响应。As an implementation manner, the determining unit 703 is configured to determine not to control the first traveling direction when the second determination result indicates that the first traveling direction is not within the visible area of the traveling equipment. Respond to instructions.
作为一种实现方式,所述设备还包括:As an implementation manner, the device further includes:
第三判断单元,配置为在所述第二判断结果表征所述第一行进方向位于所述行进设备的可视区域内的情况下,The third judging unit is configured to, when the second judging result indicates that the first traveling direction is within the visible area of the traveling equipment,
判断是否接收到第二控制指令,所述第二控制指令指示行进设备的第二行进方向至少与所述第一控制指令指示的所述第一行进方向相同,生成第三判断结果;Judging whether a second control instruction is received, the second control instruction instructing the second travel direction of the traveling equipment to be at least the same as the first travel direction instructed by the first control instruction, and a third judgment result is generated;
相应的,所述确定单元703,配置为根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应。Correspondingly, the determining unit 703 is configured to determine whether to respond at least to the first control instruction according to the third judgment result.
作为一种实现方式,所述第三判断单元,配置为判断是否以预定的频率接收到所述第二控制指令。As an implementation manner, the third determining unit is configured to determine whether the second control instruction is received at a predetermined frequency.
作为一种实现方式,所述确定单元703,配置为在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定至少对所述第一控制指令进行响应以至少使得所述行进设备向所述第一行进方向行进;As an implementation manner, the determining unit 703 is configured to determine at least to respond to the first control instruction in a case where the third determination result indicates that the second control instruction is received at a predetermined frequency. At least cause the traveling equipment to travel in the first traveling direction;
所述确定单元703,配置为在所述第三判断结果表征未接收到所述第二控制指令的情况下,确定不对所述第一控制指令进行响应。The determining unit 703 is configured to determine not to respond to the first control instruction when the third determination result indicates that the second control instruction is not received.
作为一种实现方式,所述确定单元703,配置为在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定对所述第二控制指令进行响应以至少使得所述行进设备向与所述第一控制指令指示的相同 方向行进。As an implementation manner, the determining unit 703 is configured to determine to respond to the second control instruction to at least respond to the second control instruction when the third determination result indicates that the second control instruction is received at a predetermined frequency. The traveling device is caused to travel in the same direction as indicated by the first control instruction.
上述实施例提供的行进设备与前述行进方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。前述的接收单元701、确定单元703均可由数字信号处理(DSP)、中央处理器(CPU)、逻辑编程阵列(FPGA)、控制器(MCU)等来实现。所述传感器702可以为以下至少其中一种:摄像头、红外传感器、超声波传感器、激光雷达传感器等。The traveling equipment provided in the foregoing embodiment belongs to the same concept as the foregoing traveling method embodiment, and its specific implementation process is detailed in the method embodiment, and will not be repeated here. The aforementioned receiving unit 701 and determining unit 703 can all be implemented by digital signal processing (DSP), central processing unit (CPU), logic programming array (FPGA), controller (MCU), and the like. The sensor 702 may be at least one of the following: a camera, an infrared sensor, an ultrasonic sensor, a lidar sensor, etc.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时至少用于执行图1至图3任一所示方法的步骤。所述计算机可读存储介质具体可以为存储器。所述存储器可以为如图6所示的存储器62。The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, it is used to execute at least the steps of any one of the methods shown in FIGS. The computer-readable storage medium may specifically be a memory. The memory may be the memory 62 shown in FIG. 6.
本申请实施例还提供了一种行进设备。图6为本申请实施例的行进设备的硬件结构示意图,如图6所示,行进设备包括:用于进行数据传输的通信组件63、至少一个处理器61和用于存储能够在处理器61上运行的计算机程序的存储器62。终端中的各个组件通过总线系统64耦合在一起。可理解,总线系统64用于实现这些组件之间的连接通信。总线系统64除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统64。The embodiment of the present application also provides a traveling equipment. FIG. 6 is a schematic diagram of the hardware structure of the traveling device according to an embodiment of the application. As shown in FIG. 6, the traveling device includes: a communication component 63 for data transmission, at least one processor 61, and a processor 61 for storing data. Memory 62 for running computer programs. The various components in the terminal are coupled together through the bus system 64. It can be understood that the bus system 64 is used to implement connection and communication between these components. In addition to the data bus, the bus system 64 also includes a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are marked as the bus system 64 in FIG. 6.
其中,所述处理器61执行所述计算机程序时至少执行图1至图3任一所示方法的步骤。Wherein, the processor 61 executes at least the steps of any one of the methods shown in FIGS. 1 to 3 when executing the computer program.
可以理解,存储器62可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储 器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器62旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 62 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, the non-volatile memory can be read only memory (ROM, Read Only Memory), programmable read only memory (PROM, Programmable Read-Only Memory), erasable programmable read only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), and dynamic random access Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced -Type synchronous dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronous connection dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, Direct Rambus Random Access Memory) ). The memory 62 described in the embodiment of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
上述本申请实施例揭示的方法可以应用于处理器61中,或者由处理器61实现。处理器61可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器61中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器61可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器61可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于 存储介质中,该存储介质位于存储器62,处理器61读取存储器62中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the foregoing embodiment of the present application may be applied to the processor 61 or implemented by the processor 61. The processor 61 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method can be completed by hardware integrated logic circuits in the processor 61 or instructions in the form of software. The aforementioned processor 61 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like. The processor 61 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor. Combining the steps of the method disclosed in the embodiments of the present application, it may be directly embodied as being executed and completed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 62. The processor 61 reads the information in the memory 62 and completes the steps of the foregoing method in combination with its hardware.
在示例性实施例中,行进设备可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述的行进方法。In an exemplary embodiment, the traveling equipment may be configured by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, microprocessor (Microprocessor), or other electronic components are used to implement the aforementioned travel method.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the embodiments of the present application can all be integrated into one processing unit, or each unit can be individually used as a unit, or two or more units can be integrated into one unit; The unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤; 而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware. The foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc. A medium that can store program codes.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of this application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present application. The aforementioned storage media include: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other media that can store program codes.
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the several method embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments.
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the several product embodiments provided in this application can be combined arbitrarily without conflict to obtain new product embodiments.
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in the several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain a new method embodiment or device embodiment.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
工业实用性Industrial applicability
与相关技术中的行进设备对于接收到的控制指令进行直接响应相比,本申请实施例的技术方案对于接收到的控制指令不是直接进行响应,而是 根据在控制指令指示的行进方向上是否存在障碍物的判断结果进行响应,至少可避免由于直接响应而导致的响应资源浪费、电量资源浪费的问题。Compared with the direct response of the traveling equipment in the related art to the received control instruction, the technical solution of the embodiment of the present application does not directly respond to the received control instruction, but according to whether there is a control instruction in the direction of travel. Responding to the judgment result of the obstacle can at least avoid the problem of waste of response resources and waste of power resources due to direct response.

Claims (16)

  1. 一种行进方法,所述方法包括:A traveling method, the method includes:
    接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;Receiving a first control instruction, where the first control instruction is at least used to indicate a first traveling direction of the traveling equipment;
    判断在所述行进设备的所述第一行进方向上是否存在目标物体,所述目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;Determining whether there is a target object in the first traveling direction of the traveling equipment, the target object can at least hinder the traveling of the traveling equipment in the first traveling direction, and generating a first determination result;
    至少根据第一判断结果,确定是否对所述第一控制指令进行响应。At least according to the first judgment result, it is determined whether to respond to the first control instruction.
  2. 根据权利要求1所述的方法,其中,在所述第一判断结果表征所述第一行进方向上存在所述目标物体的情况下,所述方法还包括:The method according to claim 1, wherein, in a case where the first judgment result indicates that the target object exists in the first direction of travel, the method further comprises:
    判断所述第一行进方向是否位于所述行进设备的可视区域内,并生成第二判断结果。Determine whether the first traveling direction is within the visible area of the traveling equipment, and generate a second determination result.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein:
    在所述第二判断结果表征所述第一行进方向不位于所述行进设备的可视区域内的情况下,确定不对所述第一控制指令进行响应。In a case where the second judgment result indicates that the first traveling direction is not within the visible area of the traveling equipment, it is determined not to respond to the first control instruction.
  4. 根据权利要求2所述的方法,其中,The method of claim 2, wherein:
    在所述第二判断结果表征所述第一行进方向位于所述行进设备的可视区域内的情况下,In the case where the second judgment result indicates that the first traveling direction is within the visible area of the traveling equipment,
    判断是否接收到第二控制指令,所述第二控制指令指示行进设备的第二行进方向至少与所述第一控制指令指示的所述第一行进方向相同,生成第三判断结果;Judging whether a second control instruction is received, the second control instruction instructing the second travel direction of the traveling equipment to be at least the same as the first travel direction instructed by the first control instruction, and a third judgment result is generated;
    根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应。According to the third judgment result, it is determined whether to respond to at least the first control instruction.
  5. 根据权利要求4所述的方法,其中,所述判断是否接收到第二控制指令,包括:The method according to claim 4, wherein said determining whether a second control instruction is received comprises:
    判断是否以预定的频率接收到所述第二控制指令。It is determined whether the second control instruction is received at a predetermined frequency.
  6. 根据权利要求5所述的方法,其中,所述根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应,包括:The method according to claim 5, wherein the determining whether to respond to at least the first control instruction according to the third judgment result comprises:
    在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定至少对所述第一控制指令进行响应以至少使得所述行进设备向所述第一行进方向行进;In the case where the third judgment result indicates that the second control instruction is received at a predetermined frequency, it is determined that at least the first control instruction is responded to to at least cause the traveling equipment to travel in the first traveling direction ;
    在所述第三判断结果表征未接收到所述第二控制指令的情况下,确定不对所述第一控制指令进行响应。In a case where the third judgment result indicates that the second control instruction is not received, it is determined not to respond to the first control instruction.
  7. 根据权利要求6所述的方法,其中,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定对所述第二控制指令进行响应以至少使得所述行进设备向与所述第一控制指令指示的相同方向行进。In the case where the third judgment result indicates that the second control instruction is received at a predetermined frequency, it is determined to respond to the second control instruction so as to at least cause the traveling equipment to instruct the first control instruction In the same direction.
  8. 一种行进设备,包括:A traveling equipment including:
    接收单元,配置为接收第一控制指令,所述第一控制指令至少用于指示行进设备的第一行进方向;A receiving unit configured to receive a first control instruction, the first control instruction being at least used to indicate a first traveling direction of the traveling equipment;
    传感器,配置为判断在所述行进设备的所述第一行进方向上是否存在目标物体,所述目标物体至少可阻碍所述行进设备在所述第一行进方向上的行进,生成第一判断结果;A sensor configured to determine whether there is a target object in the first traveling direction of the traveling device, the target object can at least hinder the traveling of the traveling device in the first traveling direction, and generate a first determination result ;
    确定单元,配置为至少根据第一判断结果,确定是否对所述第一控制指令进行响应。The determining unit is configured to determine whether to respond to the first control instruction at least according to the first determination result.
  9. 根据权利要求8所述的设备,其中,所述设备还包括:The device according to claim 8, wherein the device further comprises:
    第二判断单元,配置为在所述第一判断结果表征所述第一行进方向上存在目标物体的情况下,判断所述第一行进方向是否位于所述行进设备的可视区域内,并生成第二判断结果。The second determining unit is configured to determine whether the first traveling direction is within the visible area of the traveling equipment when the first determining result indicates that there is a target object in the first traveling direction, and generating The second judgment result.
  10. 根据权利要求9所述的设备,其中,The device according to claim 9, wherein:
    所述确定单元,配置为在所述第二判断结果表征所述第一行进方向不位于所述行进设备的可视区域内的情况下,确定不对所述第一控制指令进行响应。The determining unit is configured to determine not to respond to the first control instruction when the second determination result indicates that the first traveling direction is not within the visible area of the traveling equipment.
  11. 根据权利要求9所述的设备,其中,所述设备还包括:The device according to claim 9, wherein the device further comprises:
    第三判断单元,配置为在所述第二判断结果表征所述第一行进方向位于所述行进设备的可视区域内的情况下,The third judging unit is configured to, when the second judging result indicates that the first traveling direction is within the visible area of the traveling equipment,
    判断是否接收到第二控制指令,所述第二控制指令指示行进设备的第二行进方向至少与所述第一控制指令指示的所述第一行进方向相同,生成第三判断结果;Judging whether a second control instruction is received, the second control instruction instructing the second travel direction of the traveling equipment to be at least the same as the first travel direction instructed by the first control instruction, and a third judgment result is generated;
    相应的,所述确定单元,配置为根据所述第三判断结果,确定是否至少对所述第一控制指令进行响应。Correspondingly, the determining unit is configured to determine whether to at least respond to the first control instruction according to the third judgment result.
  12. 根据权利要求11所述的设备,其中,The device according to claim 11, wherein:
    所述第三判断单元,配置为判断是否以预定的频率接收到所述第二控制指令。The third determining unit is configured to determine whether the second control instruction is received at a predetermined frequency.
  13. 根据权利要求12所述的设备,其中,The device according to claim 12, wherein:
    所述确定单元,配置为在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定至少对所述第一控制指令进行响应以至少使得所述行进设备向所述第一行进方向行进;The determining unit is configured to determine at least to respond to the first control instruction to at least make the traveling equipment move toward the vehicle when the third determination result indicates that the second control instruction is received at a predetermined frequency. Traveling in the first direction of travel;
    所述确定单元,配置为在所述第三判断结果表征未接收到所述第二控制指令的情况下,确定不对所述第一控制指令进行响应。The determining unit is configured to determine not to respond to the first control instruction when the third determination result indicates that the second control instruction is not received.
  14. 根据权利要求13所述的设备,其中,The device according to claim 13, wherein:
    所述确定单元,配置为在所述第三判断结果表征以预定的频率接收到所述第二控制指令的情况下,确定对所述第二控制指令进行响应以至少使得所述行进设备向与所述第一控制指令指示的相同方向行进。The determining unit is configured to determine to respond to the second control instruction to at least cause the traveling equipment to move toward the same direction when the third determination result indicates that the second control instruction is received at a predetermined frequency. Travel in the same direction indicated by the first control instruction.
  15. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处 理器执行时实现权利要求1至7任一所述方法的步骤。A computer-readable storage medium with a computer program stored thereon, which, when executed by a processor, realizes the steps of the method described in any one of claims 1 to 7.
  16. 一种行进设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至7任一所述方法的步骤。A traveling device comprising a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements the steps of the method according to any one of claims 1 to 7 when the processor executes the program.
PCT/CN2020/109630 2019-08-15 2020-08-17 Traveling method, traveling device and storage medium WO2021027970A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910755640.6A CN110597246A (en) 2019-08-15 2019-08-15 Traveling method, traveling equipment and storage medium
CN201910755640.6 2019-08-15

Publications (1)

Publication Number Publication Date
WO2021027970A1 true WO2021027970A1 (en) 2021-02-18

Family

ID=68854415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/109630 WO2021027970A1 (en) 2019-08-15 2020-08-17 Traveling method, traveling device and storage medium

Country Status (2)

Country Link
CN (1) CN110597246A (en)
WO (1) WO2021027970A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597246A (en) * 2019-08-15 2019-12-20 北京致行慕远科技有限公司 Traveling method, traveling equipment and storage medium
CN111595346B (en) * 2020-06-02 2022-04-01 浙江商汤科技开发有限公司 Navigation reminding method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6845297B2 (en) * 2000-05-01 2005-01-18 Irobot Corporation Method and system for remote control of mobile robot
CN106131790A (en) * 2016-08-18 2016-11-16 联想(北京)有限公司 The control method of mobile device and mobile device
CN106444756A (en) * 2016-09-22 2017-02-22 纳恩博(北京)科技有限公司 Information processing method and electronic equipment
CN107544514A (en) * 2017-09-29 2018-01-05 广州唯品会研究院有限公司 Robot barrier thing preventing collision method, device, storage medium and robot
CN108399394A (en) * 2018-03-12 2018-08-14 海信集团有限公司 Barrier method for early warning, device and terminal
CN110597246A (en) * 2019-08-15 2019-12-20 北京致行慕远科技有限公司 Traveling method, traveling equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885444B (en) * 2012-12-21 2017-05-24 联想(北京)有限公司 Information processing method, mobile electronic equipment and decision-making control equipment
US10133270B2 (en) * 2017-03-28 2018-11-20 Toyota Research Institute, Inc. Electronic control units, vehicles, and methods for switching vehicle control from an autonomous driving mode
US10308242B2 (en) * 2017-07-01 2019-06-04 TuSimple System and method for using human driving patterns to detect and correct abnormal driving behaviors of autonomous vehicles
CN108845556A (en) * 2018-04-28 2018-11-20 济南浪潮高新科技投资发展有限公司 A kind of automatic driving vehicle test method and test device
CN109976350B (en) * 2019-04-15 2021-11-19 上海钛米机器人科技有限公司 Multi-robot scheduling method, device, server and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6845297B2 (en) * 2000-05-01 2005-01-18 Irobot Corporation Method and system for remote control of mobile robot
CN106131790A (en) * 2016-08-18 2016-11-16 联想(北京)有限公司 The control method of mobile device and mobile device
CN106444756A (en) * 2016-09-22 2017-02-22 纳恩博(北京)科技有限公司 Information processing method and electronic equipment
CN107544514A (en) * 2017-09-29 2018-01-05 广州唯品会研究院有限公司 Robot barrier thing preventing collision method, device, storage medium and robot
CN108399394A (en) * 2018-03-12 2018-08-14 海信集团有限公司 Barrier method for early warning, device and terminal
CN110597246A (en) * 2019-08-15 2019-12-20 北京致行慕远科技有限公司 Traveling method, traveling equipment and storage medium

Also Published As

Publication number Publication date
CN110597246A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
WO2021027970A1 (en) Traveling method, traveling device and storage medium
RU2735340C1 (en) Parking control method and parking control device
JP7078665B2 (en) Vehicle avoidance control methods, devices, electronic devices and storage media
US20200042005A1 (en) Obstacle avoidance method and system for robot and robot using the same
US20190337506A1 (en) Parking control device, and recording medium
US11807226B2 (en) Parking assistance apparatus
WO2021164311A1 (en) Detection method and device
US20190354246A1 (en) Airport robot and movement method therefor
CN112356846A (en) Automatic driving control system and method and vehicle
KR20180031153A (en) Airport robot, and method for operating server connected thereto
EP4180294A1 (en) Control method and apparatus, and terminal device
WO2021246169A1 (en) Information processing device, information processing system, method, and program
WO2021085429A1 (en) Remotely controlled device, remote control system, and remote control device
JP2021174135A (en) Image recognition device and image recognition method
CN114291110B (en) Vehicle control method, device, electronic equipment and storage medium
WO2022134863A1 (en) Anticollision method, mobile machine and storage medium
CN114967695A (en) Robot and its escaping method, device and storage medium
US11279379B2 (en) Assist apparatus and control method of the same
CN115195729A (en) Vehicle automatic parking method, electronic device and storage medium
CN114715031A (en) Vehicle reversing control method, device, system and medium
CN111474541A (en) Area cleaning method and device, electronic equipment and computer readable medium
JP2021031042A (en) Vehicle collision determination device
CN111762154B (en) Parking method, device, equipment and storage medium
JP7334466B2 (en) running car
EP4198671A1 (en) Methods of area mapping with a mobile robot that crosses areas without communications network availability, and sharing the same with other mobile robots

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20852673

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20852673

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20852673

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 1205 DATED 08.11.2022.)

122 Ep: pct application non-entry in european phase

Ref document number: 20852673

Country of ref document: EP

Kind code of ref document: A1