WO2021046682A1 - Mobile robot remote control method and device as well as remote control terminal - Google Patents

Mobile robot remote control method and device as well as remote control terminal Download PDF

Info

Publication number
WO2021046682A1
WO2021046682A1 PCT/CN2019/104934 CN2019104934W WO2021046682A1 WO 2021046682 A1 WO2021046682 A1 WO 2021046682A1 CN 2019104934 W CN2019104934 W CN 2019104934W WO 2021046682 A1 WO2021046682 A1 WO 2021046682A1
Authority
WO
WIPO (PCT)
Prior art keywords
remote control
geomagnetic
mobile robot
geomagnetic direction
information
Prior art date
Application number
PCT/CN2019/104934
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 深圳市无限动力发展有限公司
Priority to PCT/CN2019/104934 priority Critical patent/WO2021046682A1/en
Publication of WO2021046682A1 publication Critical patent/WO2021046682A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions

Definitions

  • This application relates to the field of remote control technology, in particular to a remote control method, device and remote control terminal for a mobile robot.
  • Sweeping robots have gradually entered thousands of households, bringing great convenience to users' lives. Although the current sweeping robot can clean automatically, it also has the problems of unreasonable path planning, low efficiency, and inability to clean targeted. Such problems may be more obvious when cleaning more complex spaces. At this time, manually Remote cleaning may be more efficient than automatic cleaning.
  • the main purpose of this application is to provide a remote control method, device and remote control terminal for a mobile robot, aiming to solve the problem of inconvenient control and prone to unwillingness of the mobile robot when manually remotely controlling the mobile robot in the prior art.
  • This application proposes a remote control method for a mobile robot, which is applied to a remote control terminal.
  • the mobile robot has the function of recognizing the geomagnetic direction of the current use environment.
  • the method includes:
  • This application also proposes a mobile robot working method, which has the function of recognizing the geomagnetic direction of the current use environment, and the method includes:
  • This application also proposes a mobile robot remote control device, which is applied to a remote control terminal.
  • the mobile robot has the function of recognizing the geomagnetic direction of the current use environment.
  • the device includes:
  • the acquisition module is used to acquire the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display a remote control icon indicating that the direction is consistent with the geomagnetic direction, where the geomagnetic direction information is used to determine the geomagnetic direction;
  • the receiving module is used to receive the target direction command triggered by the user for the remote control icon, and send the target direction command to the mobile robot, so that the mobile robot moves in the target direction according to the target direction command.
  • This application also proposes a remote control terminal, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor implements the aforementioned mobile robot remote control method when the processor executes the computer program.
  • the present application has the beneficial effect that the mobile robot remote control method proposed in the present application obtains the geomagnetic information of the current environment, so that the remote control terminal can recognize the geomagnetic direction of the current use environment, and the remote control terminal can be based on the obtained geomagnetism.
  • the information displays the remote control icon indicating the direction consistent with the geomagnetic direction for the user to manually remote control, so that the mobile robot that can also recognize the geomagnetic direction of the current use environment can accurately follow the target direction command triggered by the user for the remote control icon The user needs to move in the target direction.
  • the user when the user remotely controls the mobile robot through the remote control terminal, the user does not need to consider various complex factors such as the relative position between himself and the vacuum cleaner, the rotation angle of the vacuum cleaner, and so on.
  • Use demand to control the moving direction of the sweeping robot which is very convenient to control, and realizes the effect of "what you see is what you get” on the remote control terminal, thereby effectively avoiding the unwillingness of the sweeping robot when manually remotely controlling the sweeping robot. Problem, greatly improving the user experience.
  • FIG. 1 is a schematic flowchart of a method for remote control of a mobile robot in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a working method of a mobile robot in an embodiment of the present application
  • Fig. 3 is a schematic diagram of the structure of a remote control icon in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the structure of a remote control icon in another embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a mobile robot remote control device in an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of a mobile robot working device in an embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of a remote control terminal in an embodiment of the present application.
  • an embodiment of the present application proposes a remote control method for a mobile robot, which is applied to a remote control terminal.
  • the mobile robot has the function of recognizing the geomagnetic direction of the current use environment. In some specific embodiments, it can be added to the mobile robot.
  • the geomagnetic sensor makes the mobile robot have the function of identifying the direction of the geomagnetism.
  • the remote control terminal and the mobile robot realize the communication connection through WIFI, Bluetooth, etc.
  • the remote control terminal is installed with a specific application program (APP), and the user can use it on the remote control terminal
  • the APP performs remote control and other operations on the mobile robot.
  • the remote control terminal can be a smart terminal device such as a smart phone or a tablet computer.
  • a mobile robot is an intelligent electronic device with a mobile function and a remote control function, such as a sweeping robot, a medical transportation robot, etc.
  • a remote control function such as a sweeping robot, a medical transportation robot, etc.
  • the mobile robot remote control method includes:
  • S11 Acquire geomagnetic direction information of the current use environment, and display a remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information, where the geomagnetic direction information is used to determine the geomagnetic direction;
  • S12 Receive a target direction instruction triggered by the user for the remote control icon, and send the target direction instruction to the mobile robot, so that the mobile robot moves in the target direction according to the target direction instruction.
  • the geomagnetic sensor built into the sweeping robot can be used to collect the geomagnetic direction information of the current use environment, and the geomagnetic direction information of the current use environment can be obtained through the geomagnetic direction information (for example, which direction is southward). Which direction is the direction to the north, etc.), specifically, in some embodiments, when the user remotely controls the cleaning robot through the remote control terminal (the user is facing the direction of the cleaning robot, that is, the user is facing If the sweeping robot performs remote control operations), the remote control terminal can send an acquisition instruction to the sweeping robot (for example, the acquisition instruction is triggered by a user operation).
  • the sweeping robot When the sweeping robot receives the acquisition instruction, the sweeping robot will collect the geomagnetic direction information in real time and send it to On the remote control terminal, the remote control terminal can obtain the geomagnetic direction information of the current use environment; in other embodiments, when the remote control terminal establishes a communication connection with the sweeping robot, the remote control terminal can send an acquisition instruction to the sweeping robot.
  • the sweeping robot can send the collected geomagnetic direction information to the remote control terminal in real time or at intervals of a preset time period, so that the remote control terminal can obtain the geomagnetic direction information of the current use environment;
  • the remote control terminal can also obtain the geomagnetic direction information of the current use environment through the built-in geomagnetic sensor (for example, the built-in geomagnetic sensor is triggered by a user operation, and then the geomagnetic direction information of the current use environment is collected through the built-in geomagnetic sensor);
  • a remote control icon for the user to remotely control is generally displayed on the application interface of the remote control terminal by default.
  • the remote control icon has a The circle and four arrows.
  • the circle in the middle represents the sweeping robot.
  • the four arrows are set in the way of "up, north, down, south, left, west, right, east", which represent the four moving directions of southeast, northwest, and the user presses the middle with a finger
  • the circle of dragging to different directions means that the remote control sweeping robot is moving in different directions.
  • the remote control terminal can change the remote control icon on the remote control terminal according to the geomagnetic direction information.
  • the indication direction is adjusted to be consistent with the geomagnetic direction.
  • the remote control terminal can reverse the direction indicated by the remote control icon accordingly. Rotate the clockwise by 90° or clockwise by 270°, so that the indication direction of the remote control icon is consistent with the actual geomagnetic direction.
  • the above target direction is determined by the user's own use requirements.
  • the remote control icon indicating the direction consistent with the geomagnetic direction is displayed on the remote control terminal, the user only needs to control the moving direction of the sweeping robot according to actual use requirements. There is no need to consider various complicated factors such as the relative position between itself and the sweeping robot, the rotation angle of the sweeping robot, and so on.
  • the remote control icon is displayed by default on the remote control terminal and its initial indication direction is "up, north, down, south, left, west, right, east", then adjust according to the geomagnetic direction information Then, the indication direction is "Up, East, Down, West, Left, North, Right, South”.
  • the remote control terminal When the user wants to control the sweeping robot to move directly in front of him, the user can drag the middle vertically upwards with his finger according to his own needs. Circle, the remote control terminal will generate a target direction instruction to "East”, and send the target direction instruction to the sweeping robot through WIFI, Bluetooth, etc., and then when the sweeping robot receives the target direction command, the sweeping robot can According to the target direction command to move in the "East" direction, that is, the sweeping robot moves directly in front of the user.
  • the mobile robot remote control method obtains the geomagnetic information of the current environment, so that the remote control terminal can recognize the geomagnetic direction of the current use environment, and the remote control terminal can display the remote control indicating the direction consistent with the geomagnetic direction according to the obtained geomagnetic information.
  • the icon is used for the user to manually remote control, so that the mobile robot that can also recognize the geomagnetic direction of the current use environment can accurately move in the target direction required by the user according to the target direction instruction triggered by the user for the remote control icon.
  • the user When remotely controlling a mobile robot through a remote control terminal, the user does not need to consider various complex factors such as the relative position between himself and the sweeping robot, the rotation angle of the sweeping robot, etc., and only need to control the moving direction of the sweeping robot according to actual needs. It is very convenient to control and realizes the effect of "what you see is what you get" on the remote control terminal, which effectively avoids the problem of unwillingness of the sweeping robot when the sweeping robot is manually controlled remotely, and greatly improves the user experience.
  • the above steps of acquiring the geomagnetic direction information of the current use environment, and displaying the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information include:
  • S111 Acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
  • S113 Rotate the indication direction according to the deviation information to adjust the indication direction to be consistent with the geomagnetic direction.
  • the geomagnetic direction information can come from the sweeping robot or the remote control terminal itself. Specifically, in some embodiments, assuming that the geomagnetic direction information comes from the sweeping robot, when the sweeping robot receives the signal sent by the remote control terminal When obtaining instructions, the sweeping robot can send the geomagnetic direction information collected by the built-in geomagnetic sensor to the remote control terminal.
  • the remote control terminal After the remote control terminal receives the geomagnetic direction information sent by the sweeping robot, the remote control terminal can further judge based on the geomagnetic direction information Whether the indication direction of the remote control icon displayed by default is consistent with the actual geomagnetic direction, or judge whether the indication direction of the remote control icon displayed in real time on the display interface of the current remote control terminal is consistent with the actual geomagnetic direction, for example, the indication direction of the remote control icon is " Up north down south, left west right east", the geomagnetic direction contained in the geomagnetic direction information is "up east down west, left north right south", the remote control terminal can determine that the direction indicated by the remote control icon is inconsistent with the actual geomagnetic direction .
  • the remote control terminal may further calculate the deviation information between the indicated direction and the geomagnetic direction, so as to subsequently adjust the indicated direction, where the deviation information includes the deviation direction And the deviation angle, for example, the initial indication direction of the remote control icon is "up-north, lower-south, left-west-right-east", and the actual geomagnetic direction is "up-east-down-west, left-north-right-south", which can be calculated by the preset algorithm
  • the deviation information between the indicated direction and the geomagnetic direction is a counterclockwise deviation of 90°, that is, the deviation direction is a counterclockwise direction, and the deviation angle is 90°.
  • the remote control terminal can rotate the indication direction of the remote control icon 90° counterclockwise accordingly, thereby automatically turning the indication direction of the remote control icon Accurately adjust to the actual geomagnetic direction.
  • the foregoing steps of acquiring the geomagnetic direction information of the current use environment, and displaying the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information include:
  • S11a Acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
  • the geomagnetic direction information can come from the sweeping robot or the remote control terminal itself.
  • the remote control terminal can use the built-in geomagnetic sensor Collect the geomagnetic direction information of the current use environment, and then determine whether the indicated direction of the remote control icon displayed by default is consistent with the actual geomagnetic direction according to the collected geomagnetic direction information, or determine the remote control displayed in real time on the display interface of the current remote control terminal Whether the indicated direction of the icon is consistent with the actual geomagnetic direction, for example, the indicated direction of the remote control icon is "up-north, lower-south, left-west-right-east", and the geomagnetic direction contained in the geomagnetic direction information is "up-east-down-west, left-north-right” "South", the remote control terminal can determine that the indicated direction of the remote control icon is inconsistent with the actual geomagnetic direction; in
  • the remote control terminal prompts the user to perform a specified operation on the remote control icon by issuing prompt information, such as voice prompts, text prompts, etc.
  • Prompt message "There is a deviation in the current indication direction, please refer to the guide to correct the indicated direction”; for another example, a prompt message: "The current indication direction is deviated, please rotate the indicated direction 90° counterclockwise", what needs to be explained here Yes, after collecting the geomagnetic direction information, the remote control terminal can also calculate the deviation information between the indicated direction and the geomagnetic direction through the above preset algorithm, where the deviation information includes the deviation direction and the deviation angle, for example, the initial indication direction of the remote control icon If it is "Up North, Lower South, Left West, Right East", and the geomagnetic direction is "Up East, Lower West, Left North, Right South", the deviation information between the indicated direction and the geomagnetic direction can be calculated as a counterclockwise deviation through a preset algorithm 90°, that is, the deviation direction is counterclockwise, and the deviation angle is 90°. Therefore, when the remote control terminal determines that the preset indication direction is inconsistent with the geomagnetic direction, the remote control terminal can send out a more intelligent
  • the user can drag the indicated direction (that is, four arrows) around the center of the circle clockwise or counterclockwise by long pressing the arrow according to the prompt message sent by the remote control terminal.
  • Rotation for example, when the user hears the voice prompt from the remote control terminal: "The current indication direction is deviated, please rotate the indication direction 90° counterclockwise", the user can press the arrow in the "north" direction with a finger and move it counterclockwise Drag to realize the adjustment of the indicated direction.
  • the remote control terminal when the user drags one of the arrows in the indicated direction to rotate, it will trigger the remote control terminal to generate a rotation command (such as a counterclockwise rotation command), and the remote control terminal can follow
  • the rotation instruction rotates the indicated direction according to the user's gesture until it is detected that the indicated direction is consistent with the actual geomagnetic direction (that is, when the indicated direction is consistent with the actual geomagnetic direction, the indicated direction of the remote control icon is automatically changed.
  • the user is prompted to stop the operation, for example, a voice prompts the user to let go, and then when the user let go, the indicated direction of the remote control icon is “fixed”, thereby The direction of the remote control icon can be adjusted manually to be consistent with the actual geomagnetic direction.
  • the above steps of acquiring the geomagnetic direction information of the current use environment and displaying the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information includes:
  • S11A Obtain the geomagnetic direction information, and based on the geomagnetic direction information, generate and display a remote control icon indicating the same direction as the geomagnetic direction.
  • the geomagnetic direction information can come from the sweeping robot, or it can come from the remote control terminal itself.
  • the remote control icon for user remote control may not be displayed by default on the application interface of the remote control terminal ( For example, when the sweeping robot is in automatic cleaning mode), for this situation, after the remote control terminal obtains the geomagnetic direction information, the remote control terminal can generate a remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information and display it for the user Manual remote control (that is, equivalent to generating a compass that can be used for remote control operations).
  • the remote control terminal can be generated accordingly as shown in Figure 3.
  • the remote control icon shown is displayed on the application interface.
  • the remote control terminal can generate the remote control icon shown in Figure 4 accordingly. And displayed on the application interface.
  • the method before the step of acquiring the geomagnetic direction information of the current use environment, and displaying the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information, the method further includes:
  • S101 Obtain the current working mode of the mobile robot, and determine whether the working mode is an automatic mode, where the working mode includes an automatic mode and a manual mode;
  • the user when using the sweeping robot for cleaning work, the user can manually set the working mode of the sweeping robot on the specific application interface of the remote control terminal according to their actual use needs.
  • the working modes include automatic mode and Manual mode.
  • a "start cleaning" button will be displayed on the specific application interface of the remote control terminal.
  • the sweeping robot will automatically follow the preset method Carry out cleaning work, such as automatic cleaning work according to the "bow"-shaped cleaning path, and in manual mode, a remote control icon is generally displayed on the specific application interface of the remote control terminal for the user to perform remote control operations.
  • the sweeping robot establishes a communication connection with the remote control terminal
  • the current working mode of the sweeping robot is read, and the working mode is judged whether the working mode is automatic mode. If the working mode is manual mode, the above acquisition can be performed directly
  • the geomagnetic direction information of the current use environment and according to the geomagnetic direction information, displays the steps of the remote control icon indicating the direction consistent with the geomagnetic direction; and if the working mode is automatic mode, you can enter S102 to perform related operations.
  • the remote control terminal when the sweeping robot is currently in automatic mode, if the user wants to manually control the sweeping robot to perform cleaning work (for example, when the user finds that the sweeping robot is in the automatic cleaning state, the cleaning in some places is omitted) , The user needs to manually set the manual mode.
  • the remote control terminal When the user manually sets the manual mode (such as by clicking, etc.), the remote control terminal will be triggered to generate a manual mode selection instruction, and then when the remote control terminal receives the manual mode selection instruction, the remote control According to this, the terminal can automatically switch the current working mode of the cleaning robot from automatic mode to manual mode.
  • the cleaning robot may be in a static state or in a moving state before switching the working mode, and when manually controlling the cleaning robot to perform cleaning work, it generally needs to start from the static state, so it is necessary to check whether the cleaning robot is If it is in a moving state, if not, it can directly execute the above steps of acquiring the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display the remote control icon indicating the direction consistent with the geomagnetic direction; if yes, proceed to S104.
  • a shift touch button is preset on the remote control interface of the remote control terminal.
  • S13 Receive a gear instruction triggered by the user for shifting the touch button, and send the gear instruction to the mobile robot, so that the mobile robot moves at a speed corresponding to the gear instruction according to the gear instruction.
  • the gear position of the shift touch button can be determined according to requirements. For example, three gears of high speed, medium speed and low speed can be set. Different gears correspond to different speeds.
  • the user can touch the shift touch The button is used to control the moving speed of the sweeping robot. In this way, the user’s different speed requirements can be met, which is beneficial to improve the user’s experience.
  • the gear instruction can be triggered by the user before the mobile robot moves. In this way, when the user triggers the target direction instruction, the sweeping robot can follow the speed corresponding to the gear instruction. (Such as high-speed) move to the target direction.
  • the gear command can also be triggered by the user after the mobile robot moves.
  • the gear instruction such as a medium-speed gear instruction
  • the sweeping robot can adjust the current moving speed to the speed corresponding to the gear instruction.
  • the embodiment of the present application also proposes a mobile robot working method, which is applied to a mobile robot.
  • the mobile robot has the function of recognizing the geomagnetic direction of the current use environment. In some specific embodiments, it can be used on the mobile robot.
  • the addition of a geomagnetic sensor makes the mobile robot have the function of identifying the direction of the geomagnetism.
  • the mobile robot and the remote control terminal realize communication connection through WIFI, Bluetooth, etc.
  • the remote control terminal is installed with a specific application program (APP), and the user can use the remote control terminal Use APP to perform remote control and other operations on the mobile robot.
  • the working method of the mobile robot includes:
  • S31 Use the built-in geomagnetic sensor to collect the geomagnetic direction information of the current use environment, and send the geomagnetic direction information to the remote control terminal, where the geomagnetic direction information is used to determine the geomagnetic direction;
  • S32 Receive a target direction instruction returned by the remote control terminal in response to the geomagnetic direction information, and move in the target direction according to the target direction instruction.
  • the sweeping robot when the sweeping robot receives the acquisition instruction sent by the remote control terminal, the sweeping robot can collect the geomagnetic direction information of the current use environment through the built-in geomagnetic sensor, and then send the collected geomagnetic direction information to the remote control terminal
  • the remote control terminal when the remote control terminal receives the geomagnetic direction information, the remote control terminal can adjust the indication direction of the remote control icon preset on the application interface to be consistent with the actual geomagnetic direction; in other embodiments
  • the remote control terminal When the remote control terminal receives the geomagnetic direction information, the remote control terminal can generate and display a remote control icon indicating the same direction as the geomagnetic direction according to the geomagnetic direction information (that is, equivalent to generating a compass that can be used for remote control operations).
  • the remote control terminal can also pass The way of sending out the prompt message prompts the user to carry out remote control operation through the remote control icon.
  • the remote control terminal adjusts the indication direction of the preset remote control icon to be consistent with the actual geomagnetic direction or when the remote control terminal generates and executes the remote control icon with the indication direction consistent with the geomagnetic direction according to the geomagnetic direction information
  • the user can remotely operate the sweeping robot through the remote control icon.
  • the remote control terminal when the user conducts a remote control operation through the remote control icon, the remote control terminal will generate a corresponding target direction instruction according to the user's corresponding operation, for example, refer to Figure 4 , Assuming that the indication direction of the remote control icon is "up, north, down, south, left, west, right, east", when the user drags the circle in the middle vertically with a finger, the remote control terminal will generate a target direction instruction to "north" at this time, and The target direction instruction is sent to the cleaning robot through WIFI, Bluetooth, etc., and when the cleaning robot receives the target direction instruction, the cleaning robot can move in the "north" direction according to the target direction instruction.
  • the working method of the mobile robot sends the collected geomagnetic direction information to the remote control terminal, so that the remote control terminal can provide the user with a remote control icon indicating the direction consistent with the actual geomagnetic direction according to the geomagnetic direction information.
  • the mobile robot with the function of recognizing the geomagnetic direction receives the target direction command sent by the remote control terminal, the mobile robot can accurately move along the target direction according to the target direction command, thereby improving the accuracy of the direction movement of the mobile robot and avoiding manual
  • the mobile robot does not listen to the problem.
  • the step of moving in the target direction according to the target direction instruction includes:
  • S321 Analyze the target direction instruction to obtain target direction information
  • S322 Obtain head direction information of the mobile robot, and compare whether the head direction information is consistent with the target direction information;
  • S323 is executed to rotate the head direction of the mobile robot to the target direction and then move in the target direction.
  • the remote control terminal A target direction command to "north" will be generated, and the target direction command will be sent to the sweeping robot through WIFI, Bluetooth, etc., and then when the sweeping robot receives the target direction command, the sweeping robot performs the target direction command Analysis, the corresponding target direction information can be obtained as the "north" direction.
  • the part where the collision sensor is located is the head of the sweeping robot, so by reading the collision sensor in the sweeping robot
  • the head orientation of the sweeping robot ie head direction information
  • the target direction information can be compared with the target direction information to determine the two Whether they are consistent, if they are consistent, the cleaning robot can directly execute the target direction instruction and move along the target direction, and if they are not consistent, it can enter S323 to perform related operations.
  • the sweeping robot will rotate in place according to this until Turn the location of the collision sensor toward the "north" direction indicated by the remote control terminal, and then move along the "north" direction.
  • an embodiment of the present application also proposes a mobile robot remote control device, which is applied to a remote control terminal.
  • the mobile robot has the function of recognizing the geomagnetic direction of the current use environment.
  • the mobile robot remote control device includes:
  • the obtaining module 11 is used to obtain the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display a remote control icon indicating the direction consistent with the geomagnetic direction, wherein the geomagnetic direction information is used to determine the geomagnetic direction;
  • the receiving module 12 is configured to receive a target direction command triggered by the user for the remote control icon, and send the target direction command to the mobile robot, so that the mobile robot moves in the target direction according to the target direction command.
  • the above-mentioned obtaining module 11 includes:
  • the first acquiring unit is configured to acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
  • the calculation unit is used to calculate the deviation information between the indicated direction and the geomagnetic direction through a preset algorithm when the indicated direction of the remote control icon is inconsistent with the geomagnetic direction;
  • the rotating unit is used to rotate the indication direction according to the deviation information so as to adjust the indication direction to be consistent with the geomagnetic direction.
  • the above-mentioned obtaining module 11 includes:
  • the second acquiring unit is configured to acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
  • the prompt unit is used to send a prompt message to the user when the indication direction of the remote control icon is inconsistent with the geomagnetic direction to prompt the user to perform a specified operation on the remote control icon;
  • the adjustment unit is used to receive a rotation instruction triggered by a user performing a designated operation, and adjust the instruction direction to be consistent with the geomagnetic direction according to the rotation instruction.
  • the above-mentioned obtaining module 11 includes:
  • the first generating unit is used to obtain the geomagnetic direction information, and according to the geomagnetic direction information, generate and display the remote control icon indicating the direction consistent with the geomagnetic direction.
  • the above-mentioned obtaining module 11 further includes:
  • the second generating unit is used to generate and display a compass icon according to the geomagnetic direction information.
  • the above-mentioned mobile robot remote control device further includes:
  • the judgment module is used to obtain the current working mode of the mobile robot and judge whether the working mode is an automatic mode, where the working mode includes automatic mode and manual mode;
  • the detection module is used to detect whether the manual mode selection instruction input by the user is received when the current working mode of the mobile robot is the automatic mode;
  • the switching module is used to switch the automatic mode to the manual mode when the manual mode selection instruction input by the user is received, and to detect whether the mobile robot is in a moving state;
  • the control module is used to control the mobile robot to enter the stationary state when the mobile robot is in the moving state, and in the manual mode, execute the above-mentioned acquisition of the geomagnetic direction information of the current use environment, and display the indication direction and the geomagnetic direction according to the geomagnetic direction information Steps for consistent remote control icons.
  • the above-mentioned mobile robot remote control device further includes:
  • the speed control module is used to receive the gear instruction triggered by the user for shifting the touch button, and send the gear instruction to the mobile robot, so that the mobile robot moves at the speed corresponding to the gear instruction according to the gear instruction .
  • an embodiment of the present application also proposes a mobile robot working device, which is applied to a mobile robot, and the mobile robot working device includes:
  • the collection module 31 is used to collect the geomagnetic direction information of the current use environment by using the built-in geomagnetic sensor, and send the geomagnetic direction information to the remote control terminal, where the geomagnetic direction information is used to determine the geomagnetic direction;
  • the moving module 32 is used for receiving the target direction instruction returned by the remote control terminal in response to the geomagnetic direction information, and moving along the target direction according to the target direction instruction.
  • the above-mentioned moving module 32 includes:
  • the parsing unit is used to parse the target direction instruction to obtain target direction information
  • the comparison unit is used to obtain the head direction information of the mobile robot and compare whether the head direction information is consistent with the target direction information;
  • the rotation unit is used to rotate the head direction of the mobile robot to the target direction and move along the target direction when the head direction information is inconsistent with the target direction information.
  • an embodiment of the present application also proposes a remote control terminal 300, including a memory 400, a processor 500, and a computer program 200 stored in the memory 400 and running on the processor 500.
  • a remote control terminal 300 including a memory 400, a processor 500, and a computer program 200 stored in the memory 400 and running on the processor 500.
  • the processor 500 executes the computer program 200 Realize the mobile robot remote control method in any of the above embodiments.
  • the remote control terminal 300 in the embodiment of the present invention is the aforementioned device for executing one or more of the methods in the present application.
  • These devices may be specially designed and manufactured for the required purpose, or may also include known devices in general-purpose computers.
  • These devices have computer programs 200 or application programs stored therein, and these computer programs 200 are selectively activated or reconfigured.
  • Such a computer program 200 may be stored in a device (for example, a computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus.
  • the computer readable medium includes but is not limited to any type Disks (including floppy disks, hard disks, CD-ROMs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, Erasable programmable read-only memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, flash memory, magnetic card or optical card. That is, the readable medium includes any medium that stores or transmits information in a readable form by a device (for example, a computer).
  • a device for example, a computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)
  • Selective Calling Equipment (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

A mobile robot remote control method and device as well as a remote control terminal, wherein the method comprises: acquiring geomagnetic direction information of a current use environment, and displaying a remote control icon with the indicating direction consistent with the geomagnetic direction according to the geomagnetic direction information, wherein the geomagnetic direction information is used for determining a geomagnetic direction (S11); receiving a target direction instruction triggered by a user for the remote control icon, and sending the target direction instruction to the mobile robot, so that the mobile robot moves in the target direction according to the target direction instruction (S12). The mobile robot remote control method can solve the problem that the mobile robot does not follow the instruction.

Description

移动机器人遥控方法、装置及遥控终端Mobile robot remote control method, device and remote control terminal 技术领域Technical field
本申请涉及到遥控技术领域,特别是涉及到一种移动机器人遥控方法、装置及遥控终端。This application relates to the field of remote control technology, in particular to a remote control method, device and remote control terminal for a mobile robot.
背景技术Background technique
扫地机器人已逐渐进入千家万户,给用户的生活带来了极大的方便。目前的扫地机器人虽然能够自动清扫,但也会存在路径规划不合理、效率低、不能有针对性的清扫的问题,在需要清扫较为复杂的空间时,此类问题可能会更加明显,此时手动遥控清扫可能比自动清扫的效率要高。Sweeping robots have gradually entered thousands of households, bringing great convenience to users' lives. Although the current sweeping robot can clean automatically, it also has the problems of unreasonable path planning, low efficiency, and inability to clean targeted. Such problems may be more obvious when cleaning more complex spaces. At this time, manually Remote cleaning may be more efficient than automatic cleaning.
目前扫地机器人在手动遥控时,由于遥控者并非处于扫地机器人上,而且遥控者与扫地机器人的相对方位不确定,这就导致遥控器上的方向标示和扫地机器人的行进方向并不一致,加上扫地机器人的头部并不明显,因此目前的手动控制旋转和行进操控会感觉很别扭,而且在智能终端上利用APP进行遥控时,经常会出现扫地机器人不听使唤的问题,导致用户的手动控制体验非常差。At present, when the sweeping robot is manually remotely controlled, because the remote controller is not on the sweeping robot, and the relative position of the remote controller and the sweeping robot is uncertain, this causes the direction indication on the remote control to be inconsistent with the sweeping robot's traveling direction, and the sweeping robot The head of the robot is not obvious, so the current manual control of rotation and travel will feel very awkward, and when using the APP to remote control on the smart terminal, the problem that the sweeping robot does not listen to the call often occurs, resulting in the user's manual control experience very bad.
技术问题technical problem
本申请的主要目的为提供一种移动机器人遥控方法、装置及遥控终端,旨在解决现有技术中在手动遥控移动机器人时,操控不方便且容易出现移动机器人不听使唤的问题。The main purpose of this application is to provide a remote control method, device and remote control terminal for a mobile robot, aiming to solve the problem of inconvenient control and prone to unwillingness of the mobile robot when manually remotely controlling the mobile robot in the prior art.
技术解决方案Technical solutions
本申请提出一种移动机器人遥控方法,应用于遥控终端上,移动机器人具有识别当前使用环境的地磁方向的功能,该方法包括:This application proposes a remote control method for a mobile robot, which is applied to a remote control terminal. The mobile robot has the function of recognizing the geomagnetic direction of the current use environment. The method includes:
获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标,其中,地磁方向信息用于确定地磁方向;Obtain the geomagnetic direction information of the current use environment, and display the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information, where the geomagnetic direction information is used to determine the geomagnetic direction;
接收用户针对遥控图标而触发的目标方向指令,并将目标方向指令发送至移动机器人上,以使移动机器人根据目标方向指令沿目标方向移动。Receive the target direction command triggered by the user for the remote control icon, and send the target direction command to the mobile robot, so that the mobile robot moves in the target direction according to the target direction command.
本申请还提出一种移动机器人工作方法,移动机器人具有识别当前使用环境的地磁方向的功能,该方法包括:This application also proposes a mobile robot working method, which has the function of recognizing the geomagnetic direction of the current use environment, and the method includes:
利用内置的地磁传感器采集当前使用环境的地磁方向信息,并将地磁方向信息发送至遥控终端上,其中,地磁方向信息用于确定地磁方向;Use the built-in geomagnetic sensor to collect the geomagnetic direction information of the current use environment, and send the geomagnetic direction information to the remote control terminal, where the geomagnetic direction information is used to determine the geomagnetic direction;
接收遥控终端响应地磁方向信息而返回的目标方向指令,并根据目标方向指令沿目标方向移动。Receive the target direction command returned by the remote control terminal in response to the geomagnetic direction information, and move along the target direction according to the target direction command.
本申请还提出一种移动机器人遥控装置,应用于遥控终端上,移动机器人具有识别当前使用环境的地磁方向的功能,该装置包括:This application also proposes a mobile robot remote control device, which is applied to a remote control terminal. The mobile robot has the function of recognizing the geomagnetic direction of the current use environment. The device includes:
获取模块,用于获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标,其中,地磁方向信息用于确定地磁方向;The acquisition module is used to acquire the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display a remote control icon indicating that the direction is consistent with the geomagnetic direction, where the geomagnetic direction information is used to determine the geomagnetic direction;
接收模块,用于接收用户针对遥控图标而触发的目标方向指令,并将目标方向指令发送至移动机器人上,以使移动机器人根据目标方向指令沿目标方向移动。The receiving module is used to receive the target direction command triggered by the user for the remote control icon, and send the target direction command to the mobile robot, so that the mobile robot moves in the target direction according to the target direction command.
本申请还提出一种遥控终端,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现前述的移动机器人遥控方法。This application also proposes a remote control terminal, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. The processor implements the aforementioned mobile robot remote control method when the processor executes the computer program.
有益效果Beneficial effect
本申请与现有技术相比,有益效果在于:本申请提出的移动机器人遥控方法,通过获取当前环境的地磁信息,使得遥控终端可识别当前使用环境的地磁方向,进而遥控终端可根据获得的地磁信息显示出指示方向与地磁方向一致的遥控图标以供用户手动遥控,从而使得亦可识别当前使用环境的地磁方向的移动机器人,可根据用户针对遥控图标而触发的目标方向指令,准确地沿着用户所需的目标方向移动,因此在用户通过遥控终端对移动机器人进行遥控时,用户无需考虑自身与扫地机器人之间的相对方位、扫地机器人的旋转角度等各种复杂的因素,只需按实际使用需求控制扫地机器人的移动方向即可,操控起来非常方便,实现了在遥控终端上“所见即所得”的效果,从而有效地避免了在手动遥控扫地机器人时,扫地机器人出现不听使唤的问题,大大地提高了用户的使用体验。Compared with the prior art, the present application has the beneficial effect that the mobile robot remote control method proposed in the present application obtains the geomagnetic information of the current environment, so that the remote control terminal can recognize the geomagnetic direction of the current use environment, and the remote control terminal can be based on the obtained geomagnetism. The information displays the remote control icon indicating the direction consistent with the geomagnetic direction for the user to manually remote control, so that the mobile robot that can also recognize the geomagnetic direction of the current use environment can accurately follow the target direction command triggered by the user for the remote control icon The user needs to move in the target direction. Therefore, when the user remotely controls the mobile robot through the remote control terminal, the user does not need to consider various complex factors such as the relative position between himself and the vacuum cleaner, the rotation angle of the vacuum cleaner, and so on. Use demand to control the moving direction of the sweeping robot, which is very convenient to control, and realizes the effect of "what you see is what you get" on the remote control terminal, thereby effectively avoiding the unwillingness of the sweeping robot when manually remotely controlling the sweeping robot. Problem, greatly improving the user experience.
附图说明Description of the drawings
图1是本申请一实施例中移动机器人遥控方法的流程示意图;FIG. 1 is a schematic flowchart of a method for remote control of a mobile robot in an embodiment of the present application;
图2是本申请一实施例中移动机器人工作方法的流程示意图;FIG. 2 is a schematic flowchart of a working method of a mobile robot in an embodiment of the present application;
图3是本申请一实施例中遥控图标的结构示意图;Fig. 3 is a schematic diagram of the structure of a remote control icon in an embodiment of the present application;
图4是本申请另一实施例中遥控图标的结构示意图;4 is a schematic diagram of the structure of a remote control icon in another embodiment of the present application;
图5是本申请一实施例中移动机器人遥控装置的结构示意图;Fig. 5 is a schematic structural diagram of a mobile robot remote control device in an embodiment of the present application;
图6是本申请一实施例中移动机器人工作装置的结构示意图;Fig. 6 is a schematic structural diagram of a mobile robot working device in an embodiment of the present application;
图7是本申请一实施例中遥控终端的结构示意图。Fig. 7 is a schematic structural diagram of a remote control terminal in an embodiment of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本申请的最佳实施方式The best implementation of this application
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.
参照图1,本申请实施例提出一种移动机器人遥控方法,应用于遥控终端上,移动机器人具有识别当前使用环境的地磁方向的功能,在一些具体的实施例中,可通过在移动机器人上增设地磁传感器,使得移动机器人具有识别地磁方向的功能,其中,遥控终端与移动机器人通过WIFI、蓝牙等方式实现通信连接,遥控终端上安装有特定的应用程序(APP),用户可在遥控终端上利用APP对移动机器人进行遥控等操作,遥控终端可以是智能手机、平板电脑等智能终端设备,移动机器人为一种具有移动功能和遥控功能的智能电子设备,如扫地机器人、医用运输机器人等,对此不作具体的限制,为方便理解,本申请以扫地机器人为例进行阐述。该移动机器人遥控方法包括:1, an embodiment of the present application proposes a remote control method for a mobile robot, which is applied to a remote control terminal. The mobile robot has the function of recognizing the geomagnetic direction of the current use environment. In some specific embodiments, it can be added to the mobile robot. The geomagnetic sensor makes the mobile robot have the function of identifying the direction of the geomagnetism. Among them, the remote control terminal and the mobile robot realize the communication connection through WIFI, Bluetooth, etc. The remote control terminal is installed with a specific application program (APP), and the user can use it on the remote control terminal The APP performs remote control and other operations on the mobile robot. The remote control terminal can be a smart terminal device such as a smart phone or a tablet computer. A mobile robot is an intelligent electronic device with a mobile function and a remote control function, such as a sweeping robot, a medical transportation robot, etc. There is no specific limitation. For ease of understanding, this application uses a sweeping robot as an example for illustration. The mobile robot remote control method includes:
S11,获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标,其中,地磁方向信息用于确定地磁方向;S11: Acquire geomagnetic direction information of the current use environment, and display a remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information, where the geomagnetic direction information is used to determine the geomagnetic direction;
S12,接收用户针对遥控图标而触发的目标方向指令,并将目标方向指令发送至移动机器人上,以使移动机器人根据目标方向指令沿目标方向移动。S12: Receive a target direction instruction triggered by the user for the remote control icon, and send the target direction instruction to the mobile robot, so that the mobile robot moves in the target direction according to the target direction instruction.
在上述S11中,在一些具体的实施例中,可利用扫地机器人内置的地磁传感器采集当前使用环境的地磁方向信息,通过该地磁方向信息可获知当前使用环境的地磁方向(例如哪个方向是向南的方向,哪个方向是向北的方向等),具体地,在一些实施例中,在用户通过遥控终端对扫地机器人进行遥控时(此时用户面朝扫地机器人所在的方向,即用户是面对扫地机器人进行遥控操作的),遥控终端可向扫地机器人发送一个获取指令(如通过用户操作触发该获取指令),当扫地机器人接收到该获取指令时,扫地机器人将实时采集到地磁方向信息发送至遥控终端上,从而使遥控终端可获取到当前使用环境的地磁方向信息;在另一些实施例中,当遥控终端与扫地机器人建立起通信连接时,遥控终端可向扫地机器人发送一个获取指令,当扫地机器人接收到该获取指令时,扫地机器人可实时或间隔预设时间周期将采集到的地磁方向信息发送至遥控终端上,从而使遥控终端可获取到当前使用环境的地磁方向信息;在其它一些实施例中,遥控终端还可通过内置的地磁传感器获取到当前使用环境的地磁方向信息(例如通过用户操作触发内置的地磁传感器工作,进而通过内置的地磁传感器采集当前使用环境的地磁方向信息);在一些具体的实施例中,可参照图3,在用户通过遥控终端对扫地机器人进行手动遥控时,在遥控终端的应用界面上一般默认显示有供用户遥控使用的遥控图标,该遥控图标具有一个圆圈和四个箭头,其中,中间的圆圈代表扫地机器人,四个箭头按照“上北下南,左西右东”的方式进行设置,分别代表东南西北四个移动方向,用户用手指按住中间的圆圈拖向不同的方向,即代表遥控扫地机器人朝不同的方向移动,例如:如果拖向“北”箭头的方向,即代表扫地机器人朝北方向移动(假设用户处于“南”方向,即相当于扫地机器人沿用户的正前方移动),又例如:如果拖向“北”和“东”两个箭头之间的方向,即代表扫地机器人朝东北方向移动(假设用户处于“南”方向,即相当于扫地机器人沿用户的右前方移动);因此,在一些具体的实施例中,当获取到当前使用环境的地磁方向信息后,遥控终端可根据地磁方向信息,将遥控终端上的遥控图标的指示方向调整至与地磁方向一致,例如,参照图3和图4,假设获得的地磁方向信息为“上东下西,左北右南”,则遥控终端可据此将遥控图标的指示方向逆时针旋转90°或者顺时针旋转270°,使得遥控图标的指示方向与实际的地磁方向保持一致。In the above S11, in some specific embodiments, the geomagnetic sensor built into the sweeping robot can be used to collect the geomagnetic direction information of the current use environment, and the geomagnetic direction information of the current use environment can be obtained through the geomagnetic direction information (for example, which direction is southward). Which direction is the direction to the north, etc.), specifically, in some embodiments, when the user remotely controls the cleaning robot through the remote control terminal (the user is facing the direction of the cleaning robot, that is, the user is facing If the sweeping robot performs remote control operations), the remote control terminal can send an acquisition instruction to the sweeping robot (for example, the acquisition instruction is triggered by a user operation). When the sweeping robot receives the acquisition instruction, the sweeping robot will collect the geomagnetic direction information in real time and send it to On the remote control terminal, the remote control terminal can obtain the geomagnetic direction information of the current use environment; in other embodiments, when the remote control terminal establishes a communication connection with the sweeping robot, the remote control terminal can send an acquisition instruction to the sweeping robot. When the sweeping robot receives the acquisition instruction, the sweeping robot can send the collected geomagnetic direction information to the remote control terminal in real time or at intervals of a preset time period, so that the remote control terminal can obtain the geomagnetic direction information of the current use environment; In an embodiment, the remote control terminal can also obtain the geomagnetic direction information of the current use environment through the built-in geomagnetic sensor (for example, the built-in geomagnetic sensor is triggered by a user operation, and then the geomagnetic direction information of the current use environment is collected through the built-in geomagnetic sensor); In some specific embodiments, referring to Figure 3, when the user manually remotely controls the sweeping robot through the remote control terminal, a remote control icon for the user to remotely control is generally displayed on the application interface of the remote control terminal by default. The remote control icon has a The circle and four arrows. The circle in the middle represents the sweeping robot. The four arrows are set in the way of "up, north, down, south, left, west, right, east", which represent the four moving directions of southeast, northwest, and the user presses the middle with a finger The circle of dragging to different directions means that the remote control sweeping robot is moving in different directions. For example, if it is dragged in the direction of the "north" arrow, it means the sweeping robot is moving in the north direction (assuming the user is in the "south" direction, which is equivalent The sweeping robot moves directly in front of the user), another example: If you drag to the direction between the two arrows "North" and "East", it means the sweeping robot moves in the northeast direction (assuming the user is in the "south" direction, that is, It is equivalent to the sweeping robot moving along the right front of the user); therefore, in some specific embodiments, after obtaining the geomagnetic direction information of the current use environment, the remote control terminal can change the remote control icon on the remote control terminal according to the geomagnetic direction information. The indication direction is adjusted to be consistent with the geomagnetic direction. For example, referring to Figures 3 and 4, assuming that the obtained geomagnetic direction information is "Up, East, Down, West, Left North, Right South", the remote control terminal can reverse the direction indicated by the remote control icon accordingly. Rotate the clockwise by 90° or clockwise by 270°, so that the indication direction of the remote control icon is consistent with the actual geomagnetic direction.
在上述S12中,上述目标方向由用户自身的使用需求而定,在遥控终端上显示出指示方向与地磁方向一致的遥控图标后,用户只需按实际使用需求控制扫地机器人的移动方向即可,而无需考虑自身与扫地机器人之间的相对方位、扫地机器人的旋转角度等各种复杂的因素。在一些具体的实施例中,参照图3和图4,假设遥控终端上默认显示有遥控图标且其初始的指示方向为“上北下南,左西右东”,那么根据地磁方向信息进行调整后,其指示方向为“上东下西,左北右南”,当用户想要控制扫地机器人朝自己的正前方进行移动时,则用户可根据自身的使用需求用手指垂直向上拖动中间的圆圈,此时遥控终端会产生一个向“东”的目标方向指令,并将该目标方向指令通过WIFI、蓝牙等方式发送给扫地机器人,进而当扫地机器人接收到该目标方向指令时,扫地机器人可根据该目标方向指令沿“东”方向移动,即扫地机器人沿着用户的正前方进行移动,同理,在用户面朝扫地机器人所在的方向时,如果用户想要控制扫地机器人朝自己所在的方向进行移动,则用户只需用手指垂直向下拖动中间的圆圈即可(相当于向移动机器人发送了一个向“西”的目标方向指令),这样,用户就无需考虑自身与扫地机器人之间的相对方位、扫地机器人的旋转角度等各种复杂的因素,只需按实际使用需求控制扫地机器人的移动方向即可,操控起来非常方便,实现了在遥控终端上“所见即所得”的效果,从而有效地避免了在手动遥控扫地机器人时,扫地机器人出现不听使唤的问题,大大地提高了用户的使用体验。In the above S12, the above target direction is determined by the user's own use requirements. After the remote control icon indicating the direction consistent with the geomagnetic direction is displayed on the remote control terminal, the user only needs to control the moving direction of the sweeping robot according to actual use requirements. There is no need to consider various complicated factors such as the relative position between itself and the sweeping robot, the rotation angle of the sweeping robot, and so on. In some specific embodiments, referring to Figures 3 and 4, assuming that the remote control icon is displayed by default on the remote control terminal and its initial indication direction is "up, north, down, south, left, west, right, east", then adjust according to the geomagnetic direction information Then, the indication direction is "Up, East, Down, West, Left, North, Right, South". When the user wants to control the sweeping robot to move directly in front of him, the user can drag the middle vertically upwards with his finger according to his own needs. Circle, the remote control terminal will generate a target direction instruction to "East", and send the target direction instruction to the sweeping robot through WIFI, Bluetooth, etc., and then when the sweeping robot receives the target direction command, the sweeping robot can According to the target direction command to move in the "East" direction, that is, the sweeping robot moves directly in front of the user. Similarly, when the user is facing the direction of the sweeping robot, if the user wants to control the sweeping robot to the direction where he is To move, the user only needs to drag the circle in the middle vertically with his finger (equivalent to sending a target direction instruction to the mobile robot to "west"), so that the user does not need to consider the relationship between himself and the sweeping robot The relative position of the robot, the rotation angle of the sweeping robot and other complicated factors, you only need to control the moving direction of the sweeping robot according to the actual use needs. It is very convenient to control and realize the "what you see is what you get" effect on the remote control terminal. , Thus effectively avoiding the problem that the sweeping robot does not listen when the sweeping robot is manually controlled remotely, and greatly improving the user experience.
在本实施例中,该移动机器人遥控方法通过获取当前环境的地磁信息,使得遥控终端可识别当前使用环境的地磁方向,进而遥控终端可根据获得的地磁信息显示出指示方向与地磁方向一致的遥控图标以供用户手动遥控,从而使得亦可识别当前使用环境的地磁方向的移动机器人,可根据用户针对遥控图标而触发的目标方向指令,准确地沿着用户所需的目标方向移动,因此在用户通过遥控终端对移动机器人进行遥控时,用户无需考虑自身与扫地机器人之间的相对方位、扫地机器人的旋转角度等各种复杂的因素,只需按实际使用需求控制扫地机器人的移动方向即可,操控起来非常方便,实现了在遥控终端上“所见即所得”的效果,从而有效地避免了在手动遥控扫地机器人时,扫地机器人出现不听使唤的问题,大大地提高了用户的使用体验。In this embodiment, the mobile robot remote control method obtains the geomagnetic information of the current environment, so that the remote control terminal can recognize the geomagnetic direction of the current use environment, and the remote control terminal can display the remote control indicating the direction consistent with the geomagnetic direction according to the obtained geomagnetic information. The icon is used for the user to manually remote control, so that the mobile robot that can also recognize the geomagnetic direction of the current use environment can accurately move in the target direction required by the user according to the target direction instruction triggered by the user for the remote control icon. When remotely controlling a mobile robot through a remote control terminal, the user does not need to consider various complex factors such as the relative position between himself and the sweeping robot, the rotation angle of the sweeping robot, etc., and only need to control the moving direction of the sweeping robot according to actual needs. It is very convenient to control and realizes the effect of "what you see is what you get" on the remote control terminal, which effectively avoids the problem of unwillingness of the sweeping robot when the sweeping robot is manually controlled remotely, and greatly improves the user experience.
在一个可选的实施例中,上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤,包括:In an optional embodiment, the above steps of acquiring the geomagnetic direction information of the current use environment, and displaying the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information, include:
S111,获取地磁方向信息,并根据地磁方向信息,判断遥控图标的指示方向与地磁方向是否一致;S111: Acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
若遥控图标的指示方向与地磁方向不一致,则执行S112,通过预设算法计算指示方向与地磁方向之间的偏差信息;If the indicated direction of the remote control icon is inconsistent with the geomagnetic direction, execute S112, and calculate the deviation information between the indicated direction and the geomagnetic direction through a preset algorithm;
S113,根据偏差信息,对指示方向进行旋转,以将指示方向调整至与地磁方向一致。S113: Rotate the indication direction according to the deviation information to adjust the indication direction to be consistent with the geomagnetic direction.
在上述S111中,地磁方向信息可来源于扫地机器人,亦可来源于遥控终端本身,具体地,在一些实施例中,假设地磁方向信息来源于扫地机器人,则当扫地机器人接收到遥控终端发送的获取指令时,扫地机器人可将通过内置的地磁传感器采集到的地磁方向信息发送至遥控终端上,当遥控终端接收到扫地机器人发送的地磁方向信息后,则遥控终端可进一步根据地磁方向信息,判断默认显示的遥控图标的指示方向与实际的地磁方向是否一致,或者,判断当前遥控终端显示界面所实时显示的遥控图标的指示方向与实际的地磁方向是否一致,例如,遥控图标的指示方向为“上北下南,左西右东”,地磁方向信息所蕴含的地磁方向为“上东下西,左北右南”,则遥控终端可据此判定遥控图标的指示方向与实际的地磁方向不一致。In the above S111, the geomagnetic direction information can come from the sweeping robot or the remote control terminal itself. Specifically, in some embodiments, assuming that the geomagnetic direction information comes from the sweeping robot, when the sweeping robot receives the signal sent by the remote control terminal When obtaining instructions, the sweeping robot can send the geomagnetic direction information collected by the built-in geomagnetic sensor to the remote control terminal. After the remote control terminal receives the geomagnetic direction information sent by the sweeping robot, the remote control terminal can further judge based on the geomagnetic direction information Whether the indication direction of the remote control icon displayed by default is consistent with the actual geomagnetic direction, or judge whether the indication direction of the remote control icon displayed in real time on the display interface of the current remote control terminal is consistent with the actual geomagnetic direction, for example, the indication direction of the remote control icon is " Up north down south, left west right east", the geomagnetic direction contained in the geomagnetic direction information is "up east down west, left north right south", the remote control terminal can determine that the direction indicated by the remote control icon is inconsistent with the actual geomagnetic direction .
在上述S112中,若遥控图标的指示方向与实际的地磁方向不一致,则遥控终端可进一步计算指示方向与地磁方向之间的偏差信息,以便后续对指示方向进行调整,其中,偏差信息包括偏差方向和偏差角度,例如,遥控图标初始的指示方向为“上北下南,左西右东”,实际的地磁方向为“上东下西,左北右南”,则通过预设算法可计算出指示方向与地磁方向之间的偏差信息为逆时针偏差90°,即,偏差方向为逆时针方向,偏差角度为90°。In the above S112, if the indicated direction of the remote control icon is inconsistent with the actual geomagnetic direction, the remote control terminal may further calculate the deviation information between the indicated direction and the geomagnetic direction, so as to subsequently adjust the indicated direction, where the deviation information includes the deviation direction And the deviation angle, for example, the initial indication direction of the remote control icon is "up-north, lower-south, left-west-right-east", and the actual geomagnetic direction is "up-east-down-west, left-north-right-south", which can be calculated by the preset algorithm The deviation information between the indicated direction and the geomagnetic direction is a counterclockwise deviation of 90°, that is, the deviation direction is a counterclockwise direction, and the deviation angle is 90°.
在上述S113中,假设遥控终端通过计算获得的偏差信息为逆时针偏差90°,则遥控终端可据此将遥控图标的指示方向逆时针旋转90°,从而通过自动的方式将遥控图标的指示方向准确地调整至与实际的地磁方向一致。In the above S113, assuming that the deviation information obtained by the remote control terminal through calculation is a counterclockwise deviation of 90°, the remote control terminal can rotate the indication direction of the remote control icon 90° counterclockwise accordingly, thereby automatically turning the indication direction of the remote control icon Accurately adjust to the actual geomagnetic direction.
在另一个可选的实施例中,上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤,包括:In another optional embodiment, the foregoing steps of acquiring the geomagnetic direction information of the current use environment, and displaying the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information, include:
S11a,获取地磁方向信息,并根据地磁方向信息,判断遥控图标的指示方向与地磁方向是否一致;S11a: Acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
若遥控图标的指示方向与地磁方向不一致,则执行S11b,向用户发出提示信息,以提示用户针对遥控图标执行指定操作;If the indication direction of the remote control icon is inconsistent with the geomagnetic direction, execute S11b to send a prompt message to the user to prompt the user to perform a specified operation on the remote control icon;
S11c,接收用户执行指定操作而触发的旋转指令,并根据旋转指令将指示方向调整至与地磁方向一致。S11c, receiving a rotation instruction triggered by a user performing a specified operation, and adjusting the instruction direction to be consistent with the geomagnetic direction according to the rotation instruction.
在上述S11a中,地磁方向信息可来源于扫地机器人,亦可来源于遥控终端本身,具体地,在一些实施例中,假设地磁方向信息来源于遥控终端本身,则遥控终端可利用内置的地磁传感器采集当前使用环境的地磁方向信息,进而可进一步根据采集到的地磁方向信息,判断默认显示的遥控图标的指示方向与实际的地磁方向是否一致,或者,判断当前遥控终端显示界面所实时显示的遥控图标的指示方向与实际的地磁方向是否一致,例如,遥控图标的指示方向为“上北下南,左西右东”,地磁方向信息所蕴含的地磁方向为“上东下西,左北右南”,则遥控终端可据此判定遥控图标的指示方向与实际的地磁方向不一致;另外,在其它一些实施例中,遥控终端获取到地磁方向信息后,还可根据地磁方向信息,生成指南针图标并在供用户进行遥控操作的应用界面上进行显示,这样,可方便用户直观地获知当前使用环境的地磁方向。In the above S11a, the geomagnetic direction information can come from the sweeping robot or the remote control terminal itself. Specifically, in some embodiments, assuming that the geomagnetic direction information comes from the remote control terminal itself, the remote control terminal can use the built-in geomagnetic sensor Collect the geomagnetic direction information of the current use environment, and then determine whether the indicated direction of the remote control icon displayed by default is consistent with the actual geomagnetic direction according to the collected geomagnetic direction information, or determine the remote control displayed in real time on the display interface of the current remote control terminal Whether the indicated direction of the icon is consistent with the actual geomagnetic direction, for example, the indicated direction of the remote control icon is "up-north, lower-south, left-west-right-east", and the geomagnetic direction contained in the geomagnetic direction information is "up-east-down-west, left-north-right" "South", the remote control terminal can determine that the indicated direction of the remote control icon is inconsistent with the actual geomagnetic direction; in addition, in some other embodiments, after the remote control terminal obtains the geomagnetic direction information, it can also generate a compass icon based on the geomagnetic direction information And it is displayed on the application interface for the user to perform remote control operations, so that the user can intuitively know the geomagnetic direction of the current use environment.
在上述S11b中,若遥控图标的指示方向与实际的地磁方向不一致,则遥控终端通过发出提示信息的方式,如发出语音提示、输出文字提示等方式提示用户针对遥控图标执行指定操作,例如,发出提示信息:“当前指示方向存在偏差,请参考指南针对指示方向进行校正”;又例如,发出提示信息:“当前指示方向存在偏差,请将指示方向逆时针旋转90°”,此处需要说明的是,采集到地磁方向信息后,遥控终端还可通过上述预设算法计算出指示方向与地磁方向之间的偏差信息,其中,偏差信息包括偏差方向和偏差角度,例如,遥控图标初始的指示方向为“上北下南,左西右东”,地磁方向为“上东下西,左北右南”,则通过预设算法可计算出指示方向与地磁方向之间的偏差信息为逆时针偏差90°,即,偏差方向为逆时针方向,偏差角度为90°,因此,当遥控终端判断出预设的指示方向与地磁方向不一致时,遥控终端可发出更为智能的提示信息,从而可更好地引导用户执行指定操作。In the above S11b, if the indication direction of the remote control icon is inconsistent with the actual geomagnetic direction, the remote control terminal prompts the user to perform a specified operation on the remote control icon by issuing prompt information, such as voice prompts, text prompts, etc. Prompt message: "There is a deviation in the current indication direction, please refer to the guide to correct the indicated direction"; for another example, a prompt message: "The current indication direction is deviated, please rotate the indicated direction 90° counterclockwise", what needs to be explained here Yes, after collecting the geomagnetic direction information, the remote control terminal can also calculate the deviation information between the indicated direction and the geomagnetic direction through the above preset algorithm, where the deviation information includes the deviation direction and the deviation angle, for example, the initial indication direction of the remote control icon If it is "Up North, Lower South, Left West, Right East", and the geomagnetic direction is "Up East, Lower West, Left North, Right South", the deviation information between the indicated direction and the geomagnetic direction can be calculated as a counterclockwise deviation through a preset algorithm 90°, that is, the deviation direction is counterclockwise, and the deviation angle is 90°. Therefore, when the remote control terminal determines that the preset indication direction is inconsistent with the geomagnetic direction, the remote control terminal can send out a more intelligent prompt message, which can be more intelligent. Good guide users to perform specified operations.
在上述S11c中,在一些具体的实施例中,用户可根据遥控终端发出的提示信息,通过长按箭头的方式拖动指示方向(即四个箭头)绕着圆圈的中心顺时针或者逆时针进行旋转,例如,当用户听到遥控终端发出的语音提示:“当前指示方向存在偏差,请将指示方向逆时针旋转90°”时,则用户可用手指按住“北”方向的箭头沿逆时针方向进行拖动,实现对指示方向的调整,具体地,当用户拖动指示方向中的其中一个箭头进行旋转时,会触发遥控终端产生一个旋转指令(如逆时针旋转指令),进而遥控终端可根据该旋转指令随着用户的手势而对指示方向进行相应的旋转,直至检测到指示方向与实际的地磁方向一致为止(即,当指示方向与实际的地磁方向一致时,自动将遥控图标的指示方向进行“固定”)或者直至检测到指示方向与实际的地磁方向一致时,提示用户停止操作,例如通过发出语音提示用户松手,进而当用户松手后,将遥控图标的指示方向进行“固定”,从而通过手动的方式实现将遥控图标的指示方向准确地调整至与实际的地磁方向一致。In the above S11c, in some specific embodiments, the user can drag the indicated direction (that is, four arrows) around the center of the circle clockwise or counterclockwise by long pressing the arrow according to the prompt message sent by the remote control terminal. Rotation, for example, when the user hears the voice prompt from the remote control terminal: "The current indication direction is deviated, please rotate the indication direction 90° counterclockwise", the user can press the arrow in the "north" direction with a finger and move it counterclockwise Drag to realize the adjustment of the indicated direction. Specifically, when the user drags one of the arrows in the indicated direction to rotate, it will trigger the remote control terminal to generate a rotation command (such as a counterclockwise rotation command), and the remote control terminal can follow The rotation instruction rotates the indicated direction according to the user's gesture until it is detected that the indicated direction is consistent with the actual geomagnetic direction (that is, when the indicated direction is consistent with the actual geomagnetic direction, the indicated direction of the remote control icon is automatically changed. “Fix”) or until it is detected that the indicated direction is consistent with the actual geomagnetic direction, the user is prompted to stop the operation, for example, a voice prompts the user to let go, and then when the user let go, the indicated direction of the remote control icon is “fixed”, thereby The direction of the remote control icon can be adjusted manually to be consistent with the actual geomagnetic direction.
在又一个可选实施例中,上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤,包括:In yet another optional embodiment, the above steps of acquiring the geomagnetic direction information of the current use environment and displaying the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information includes:
S11A,获取地磁方向信息,并根据地磁方向信息,生成指示方向与地磁方向一致的遥控图标并进行显示。S11A: Obtain the geomagnetic direction information, and based on the geomagnetic direction information, generate and display a remote control icon indicating the same direction as the geomagnetic direction.
在本实施例中,地磁方向信息可来源于扫地机器人,亦可来源于遥控终端本身,在一些实施例中,在遥控终端的应用界面上可能不会默认显示有供用户遥控使用的遥控图标(例如当扫地机器人处于自动清扫模式时),因此针对此情况,当遥控终端获取到地磁方向信息后,遥控终端可根据地磁方向信息,生成指示方向与地磁方向一致的遥控图标并进行显示以供用户手动遥控(即,相当于生成一个可用于进行遥控操作的指南针),例如,遥控终端获得的地磁方向信息为“上北下南,左西右东”,则遥控终端可据此生成如图3所示的遥控图标并显示在应用界面上,又例如,遥控终端获得的地磁方向信息为“上东下西,左北右南”,则遥控终端可据此生成如图4所示的遥控图标并显示在应用界面上。In this embodiment, the geomagnetic direction information can come from the sweeping robot, or it can come from the remote control terminal itself. In some embodiments, the remote control icon for user remote control may not be displayed by default on the application interface of the remote control terminal ( For example, when the sweeping robot is in automatic cleaning mode), for this situation, after the remote control terminal obtains the geomagnetic direction information, the remote control terminal can generate a remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information and display it for the user Manual remote control (that is, equivalent to generating a compass that can be used for remote control operations). For example, if the geomagnetic direction information obtained by the remote control terminal is "up, north, down, south, left, west, right, east", the remote control terminal can be generated accordingly as shown in Figure 3. The remote control icon shown is displayed on the application interface. For another example, if the geomagnetic direction information obtained by the remote control terminal is "Up East, Lower West, Left North, Right South", the remote control terminal can generate the remote control icon shown in Figure 4 accordingly. And displayed on the application interface.
在一个可选的实施例中,上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤之前,还包括:In an optional embodiment, before the step of acquiring the geomagnetic direction information of the current use environment, and displaying the remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information, the method further includes:
S101,获取移动机器人当前的工作模式,并判断工作模式是否为自动模式,其中,工作模式包括自动模式和手动模式;S101: Obtain the current working mode of the mobile robot, and determine whether the working mode is an automatic mode, where the working mode includes an automatic mode and a manual mode;
若移动机器人当前的工作模式为自动模式,则执行S102,检测是否接收到用户输入的手动模式选择指令;If the current working mode of the mobile robot is the automatic mode, execute S102 to detect whether the manual mode selection instruction input by the user is received;
若接收到用户输入的手动模式选择指令,则执行S103,将自动模式切换为手动模式,并检测移动机器人是否处于移动状态;If the manual mode selection instruction input by the user is received, execute S103, switch the automatic mode to manual mode, and detect whether the mobile robot is in a moving state;
若移动机器人处于移动状态,则执行S104,控制移动机器人进入静止状态,并在手动模式下,执行上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤。If the mobile robot is in a moving state, execute S104 to control the mobile robot to enter a stationary state, and in manual mode, execute the above to obtain the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display the indication direction that is consistent with the geomagnetic direction Steps of remote control icon.
在上述S101中,一般地,在使用扫地机器人进行清扫工作时,用户可根据自身的实际使用需求,在遥控终端特定的应用界面上手动设置扫地机器人的工作模式,其中,工作模式包括自动模式和手动模式,一般地,在自动模式下,在遥控终端特定的应用界面上会显示有“开始清扫”的按钮,当用户点击该“开始清扫”的按钮时,扫地机器人会按照预设的方式自动进行清扫工作,例如按照“弓”字型的清扫路径进行自动清扫工作,而在手动模式下,在遥控终端特定的应用界面上一般会显示有遥控图标供用户进行遥控操作。在本步骤中,具体地,在扫地机器人与遥控终端建立通信连接时,读取扫地机器人当前的工作模式,并判断工作模式是否为自动模式,若工作模式为手动模式,则可直接执行上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤;而若工作模式为自动模式,则可进入S102执行相关操作。In the above S101, generally, when using the sweeping robot for cleaning work, the user can manually set the working mode of the sweeping robot on the specific application interface of the remote control terminal according to their actual use needs. The working modes include automatic mode and Manual mode. Generally, in automatic mode, a "start cleaning" button will be displayed on the specific application interface of the remote control terminal. When the user clicks the "start cleaning" button, the sweeping robot will automatically follow the preset method Carry out cleaning work, such as automatic cleaning work according to the "bow"-shaped cleaning path, and in manual mode, a remote control icon is generally displayed on the specific application interface of the remote control terminal for the user to perform remote control operations. In this step, specifically, when the sweeping robot establishes a communication connection with the remote control terminal, the current working mode of the sweeping robot is read, and the working mode is judged whether the working mode is automatic mode. If the working mode is manual mode, the above acquisition can be performed directly The geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, displays the steps of the remote control icon indicating the direction consistent with the geomagnetic direction; and if the working mode is automatic mode, you can enter S102 to perform related operations.
在上述S102中,一般地,当扫地机器人当前处于自动模式时,若用户想要手动控制扫地机器人进行清扫工作(例如,当用户发现扫地机器人处于自动清扫状态时,有些地方的清扫被遗漏了),则需要用户手动设置手动模式,当用户手动设置手动模式时(如通过点击等方式),会触发遥控终端产生一个手动模式选择指令,进而当遥控终端接收到该手动模式选择指令时,则遥控终端可据此自动将扫地机器人当前的工作模式由自动模式转换为手动模式。In the above S102, generally, when the sweeping robot is currently in automatic mode, if the user wants to manually control the sweeping robot to perform cleaning work (for example, when the user finds that the sweeping robot is in the automatic cleaning state, the cleaning in some places is omitted) , The user needs to manually set the manual mode. When the user manually sets the manual mode (such as by clicking, etc.), the remote control terminal will be triggered to generate a manual mode selection instruction, and then when the remote control terminal receives the manual mode selection instruction, the remote control According to this, the terminal can automatically switch the current working mode of the cleaning robot from automatic mode to manual mode.
在上述S103中,由于扫地机器人在转换工作模式之前,可能处于静止状态,也可能处于移动状态,而手动控制扫地机器人进行清扫工作时,一般需要从静止状态开始进行,因此需要先检测扫地机器人是否处于移动状态,若否,则可直接执行上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤;若是,则进入S104。In the above S103, because the cleaning robot may be in a static state or in a moving state before switching the working mode, and when manually controlling the cleaning robot to perform cleaning work, it generally needs to start from the static state, so it is necessary to check whether the cleaning robot is If it is in a moving state, if not, it can directly execute the above steps of acquiring the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display the remote control icon indicating the direction consistent with the geomagnetic direction; if yes, proceed to S104.
在上述S104中,若扫地机器人处于移动状态,则可先控制移动机器人进入静止状态,然后再执行上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤,以供用户后续通过该遥控图标对扫地机器人进行遥控操作。In the above S104, if the sweeping robot is in a moving state, you can first control the mobile robot to enter a stationary state, and then execute the above to obtain the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display that the indicated direction is consistent with the geomagnetic direction The steps of the remote control icon allow the user to perform remote control operations on the sweeping robot through the remote control icon.
在一个可选的实施例中,遥控终端的遥控界面上预设有换挡触摸按键,上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤之后,还包括:In an optional embodiment, a shift touch button is preset on the remote control interface of the remote control terminal. The above-mentioned acquisition of the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, displays a remote control icon indicating the direction consistent with the geomagnetic direction After the steps, it also includes:
S13,接收用户针对换挡触摸按键而触发的挡位指令,并将挡位指令发送至移动机器人上,以使移动机器人根据挡位指令,按照与挡位指令相对应的速度移动。S13: Receive a gear instruction triggered by the user for shifting the touch button, and send the gear instruction to the mobile robot, so that the mobile robot moves at a speed corresponding to the gear instruction according to the gear instruction.
在本实施例中,换档触摸按键的挡位情况可根据需求而定,例如可设置高速、中速和低速三个挡位,不同的挡位对应不同的速度,用户可通过触摸换挡触摸按键来控制扫地机器人的移动速度,这样,可满足用户不同的速度使用需求,有利于提高用户的使用体验,一般地,在使用过程中,若用户未触摸换挡触摸按键,则扫地机器人会按默认的预设速度进行移动,具体地,在一些实施例中,挡位指令可在移动机器人移动之前由用户触发,这样,当用户触发目标方向指令时,扫地机器人可按照挡位指令对应的速度(如高速)向目标方向移动,在另一些实施例中,挡位指令也可在移动机器人移动之后由用户触发,这样,在扫地机器人沿着目标方向移动的过程中,当接收到遥控终端发送的挡位指令时(如中速的挡位指令),扫地机器人可将当前的移动速度调整为挡位指令对应的速度。In this embodiment, the gear position of the shift touch button can be determined according to requirements. For example, three gears of high speed, medium speed and low speed can be set. Different gears correspond to different speeds. The user can touch the shift touch The button is used to control the moving speed of the sweeping robot. In this way, the user’s different speed requirements can be met, which is beneficial to improve the user’s experience. Generally, during use, if the user does not touch the shifting touch button, the sweeping robot will press The default preset speed moves. Specifically, in some embodiments, the gear instruction can be triggered by the user before the mobile robot moves. In this way, when the user triggers the target direction instruction, the sweeping robot can follow the speed corresponding to the gear instruction. (Such as high-speed) move to the target direction. In other embodiments, the gear command can also be triggered by the user after the mobile robot moves. In this way, when the sweeping robot moves along the target direction, when the remote control terminal sends When the gear instruction is selected (such as a medium-speed gear instruction), the sweeping robot can adjust the current moving speed to the speed corresponding to the gear instruction.
参照图2,本申请实施例还提出一种移动机器人工作方法,应用于移动机器人上,移动机器人具有识别当前使用环境的地磁方向的功能,在一些具体的实施例中,可通过在移动机器人上增设地磁传感器,使得移动机器人具有识别地磁方向的功能,其中,移动机器人与遥控终端通过WIFI、蓝牙等方式实现通信连接,遥控终端上安装有特定的应用程序(APP),用户可在遥控终端上利用APP对移动机器人进行遥控等操作,具体地,该移动机器人工作方法包括:2, the embodiment of the present application also proposes a mobile robot working method, which is applied to a mobile robot. The mobile robot has the function of recognizing the geomagnetic direction of the current use environment. In some specific embodiments, it can be used on the mobile robot. The addition of a geomagnetic sensor makes the mobile robot have the function of identifying the direction of the geomagnetism. Among them, the mobile robot and the remote control terminal realize communication connection through WIFI, Bluetooth, etc. The remote control terminal is installed with a specific application program (APP), and the user can use the remote control terminal Use APP to perform remote control and other operations on the mobile robot. Specifically, the working method of the mobile robot includes:
S31,利用内置的地磁传感器采集当前使用环境的地磁方向信息,并将地磁方向信息发送至遥控终端上,其中,地磁方向信息用于确定地磁方向;S31: Use the built-in geomagnetic sensor to collect the geomagnetic direction information of the current use environment, and send the geomagnetic direction information to the remote control terminal, where the geomagnetic direction information is used to determine the geomagnetic direction;
S32,接收遥控终端响应地磁方向信息而返回的目标方向指令,并根据目标方向指令沿目标方向移动。S32: Receive a target direction instruction returned by the remote control terminal in response to the geomagnetic direction information, and move in the target direction according to the target direction instruction.
在上述S31中,具体地,当扫地机器人接收到遥控终端发送的获取指令时,扫地机器人可将通过内置的地磁传感器采集当前使用环境的地磁方向信息,进而将采集到地磁方向信息发送至遥控终端上,在一些实施例中,当遥控终端接收到该地磁方向信息时,遥控终端可据此将应用界面上预设的遥控图标的指示方向调整至与实际的地磁方向一致;在另一些实施例中,当遥控终端接收到该地磁方向信息时,遥控终端可根据地磁方向信息,生成指示方向与地磁方向一致的遥控图标并进行显示(即,相当于生成一个可用于进行遥控操作的指南针)。当遥控终端将预设的遥控图标的指示方向调整至与实际的地磁方向一致时或者当遥控终端根据地磁方向信息,生成指示方向与地磁方向一致的遥控图标并进行显示时,遥控终端还可通过发出提示信息的方式提示用户通过遥控图标进行遥控操作。In the above S31, specifically, when the sweeping robot receives the acquisition instruction sent by the remote control terminal, the sweeping robot can collect the geomagnetic direction information of the current use environment through the built-in geomagnetic sensor, and then send the collected geomagnetic direction information to the remote control terminal Above, in some embodiments, when the remote control terminal receives the geomagnetic direction information, the remote control terminal can adjust the indication direction of the remote control icon preset on the application interface to be consistent with the actual geomagnetic direction; in other embodiments When the remote control terminal receives the geomagnetic direction information, the remote control terminal can generate and display a remote control icon indicating the same direction as the geomagnetic direction according to the geomagnetic direction information (that is, equivalent to generating a compass that can be used for remote control operations). When the remote control terminal adjusts the indication direction of the preset remote control icon to be consistent with the actual geomagnetic direction or when the remote control terminal generates and displays a remote control icon with the indication direction consistent with the geomagnetic direction according to the geomagnetic direction information, the remote control terminal can also pass The way of sending out the prompt message prompts the user to carry out remote control operation through the remote control icon.
在上述S32中,具体地,当遥控终端将预设的遥控图标的指示方向调整至与实际的地磁方向一致时或者当遥控终端根据地磁方向信息,生成指示方向与地磁方向一致的遥控图标并进行显示时,用户可通过遥控图标对扫地机器人进行遥控操作,具体地,当用户通过遥控图标进行遥控操作时,遥控终端会根据用户相应的操作而产生一个相应的目标方向指令,例如,参照图4,假设遥控图标的指示方向为“上北下南,左西右东”,当用户用手指垂直向上拖动中间的圆圈时,此时遥控终端会产生一个向“北”的目标方向指令,并将该目标方向指令通过WIFI、蓝牙等方式发送给扫地机器人,进而当扫地机器人接收到该目标方向指令时,扫地机器人可根据该目标方向指令沿“北”方向移动。In the above S32, specifically, when the remote control terminal adjusts the indication direction of the preset remote control icon to be consistent with the actual geomagnetic direction or when the remote control terminal generates and executes the remote control icon with the indication direction consistent with the geomagnetic direction according to the geomagnetic direction information When displayed, the user can remotely operate the sweeping robot through the remote control icon. Specifically, when the user conducts a remote control operation through the remote control icon, the remote control terminal will generate a corresponding target direction instruction according to the user's corresponding operation, for example, refer to Figure 4 , Assuming that the indication direction of the remote control icon is "up, north, down, south, left, west, right, east", when the user drags the circle in the middle vertically with a finger, the remote control terminal will generate a target direction instruction to "north" at this time, and The target direction instruction is sent to the cleaning robot through WIFI, Bluetooth, etc., and when the cleaning robot receives the target direction instruction, the cleaning robot can move in the "north" direction according to the target direction instruction.
在本实施例中,该移动机器人工作方法,通过将采集到地磁方向信息发送至遥控终端,使得遥控终端可根据地磁方向信息为用户提供指示方向与实际的地磁方向一致的遥控图标,进而当具有识别地磁方向功能的移动机器人接收到遥控终端发送的目标方向指令时,移动机器人可根据该目标方向指令准确地沿着目标方向进行移动,从而提高了移动机器人方向移动的准确性,避免了在手动遥控移动机器人时,移动机器人不听使唤的问题。In this embodiment, the working method of the mobile robot sends the collected geomagnetic direction information to the remote control terminal, so that the remote control terminal can provide the user with a remote control icon indicating the direction consistent with the actual geomagnetic direction according to the geomagnetic direction information. When the mobile robot with the function of recognizing the geomagnetic direction receives the target direction command sent by the remote control terminal, the mobile robot can accurately move along the target direction according to the target direction command, thereby improving the accuracy of the direction movement of the mobile robot and avoiding manual When the mobile robot is remotely controlled, the mobile robot does not listen to the problem.
在一个可选的实施例中,根据目标方向指令沿目标方向移动的步骤,包括:In an optional embodiment, the step of moving in the target direction according to the target direction instruction includes:
S321,对目标方向指令进行解析,获得目标方向信息;S321: Analyze the target direction instruction to obtain target direction information;
S322,获取移动机器人的头部方向信息,并比对头部方向信息与目标方向信息是否一致;S322: Obtain head direction information of the mobile robot, and compare whether the head direction information is consistent with the target direction information;
若头部方向信息与目标方向信息不一致,则执行S323,将移动机器人的头部方向旋转至目标方向后,沿目标方向移动。If the head direction information is inconsistent with the target direction information, S323 is executed to rotate the head direction of the mobile robot to the target direction and then move in the target direction.
在上述S321中,举例而言,可参照图4,假设遥控图标的指示方向为“上北下南,左西右东”,当用户用手指垂直向上拖动中间的圆圈时,此时遥控终端会产生一个向“北”的目标方向指令,并将该目标方向指令通过WIFI、蓝牙等方式发送给扫地机器人,进而当扫地机器人接收到该目标方向指令时,扫地机器人通过对该目标方向指令进行解析,可获得对应的目标方向信息为“北”方向。In the above S321, for example, referring to FIG. 4, assuming that the indication direction of the remote control icon is "up, north, bottom, south, left, west, right, east", when the user drags the circle in the middle vertically with a finger, the remote control terminal A target direction command to "north" will be generated, and the target direction command will be sent to the sweeping robot through WIFI, Bluetooth, etc., and then when the sweeping robot receives the target direction command, the sweeping robot performs the target direction command Analysis, the corresponding target direction information can be obtained as the "north" direction.
在上述S322中,由于扫地机器人在移动时时总是碰撞传感器在前,以便及时发现障碍物而减速直至停止,因此碰撞传感器所在的部位就是扫地机器人的头部,因此通过读取碰撞传感器在扫地机器人上的位置信息,并结合地磁传感器采集到的地磁方向信息可获知扫地机器人头部的朝向(即头部方向信息),进而可将获得的头部方向信息与目标方向信息进行比较,判断两者是否一致,若一致,则扫地机器人可直接执行目标方向指令,沿着目标方向移动,而若不一致,则可进入S323执行相关操作。在上述S323中,当头部方向信息与目标方向信息不一致时,例如,头部方向信息为“东”方向,目标方向信息为“北”方向,则扫地机器人会据此原地进行旋转,直至将碰撞传感器所在的部位朝向遥控终端所指示的“北”方向,进而再沿着“北”方向进行移动。In the above S322, since the sweeping robot always collides with the sensor in front when it is moving, so as to find obstacles in time and slow down until it stops, the part where the collision sensor is located is the head of the sweeping robot, so by reading the collision sensor in the sweeping robot Combining with the geomagnetic direction information collected by the geomagnetic sensor, the head orientation of the sweeping robot (ie head direction information) can be obtained, and then the obtained head direction information can be compared with the target direction information to determine the two Whether they are consistent, if they are consistent, the cleaning robot can directly execute the target direction instruction and move along the target direction, and if they are not consistent, it can enter S323 to perform related operations. In the above S323, when the head direction information is inconsistent with the target direction information, for example, the head direction information is the "East" direction and the target direction information is the "North" direction, the sweeping robot will rotate in place according to this until Turn the location of the collision sensor toward the "north" direction indicated by the remote control terminal, and then move along the "north" direction.
参照图5,本申请实施例还提出一种移动机器人遥控装置,应用于遥控终端上,移动机器人具有识别当前使用环境的地磁方向的功能,该移动机器人遥控装置包括:5, an embodiment of the present application also proposes a mobile robot remote control device, which is applied to a remote control terminal. The mobile robot has the function of recognizing the geomagnetic direction of the current use environment. The mobile robot remote control device includes:
获取模块11,用于获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标,其中,地磁方向信息用于确定地磁方向;The obtaining module 11 is used to obtain the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display a remote control icon indicating the direction consistent with the geomagnetic direction, wherein the geomagnetic direction information is used to determine the geomagnetic direction;
接收模块12,用于接收用户针对遥控图标而触发的目标方向指令,并将目标方向指令发送至移动机器人上,以使移动机器人根据目标方向指令沿目标方向移动。The receiving module 12 is configured to receive a target direction command triggered by the user for the remote control icon, and send the target direction command to the mobile robot, so that the mobile robot moves in the target direction according to the target direction command.
在一个可选的实施例中,上述获取模块11,包括:In an optional embodiment, the above-mentioned obtaining module 11 includes:
第一获取单元,用于获取地磁方向信息,并根据地磁方向信息,判断遥控图标的指示方向与地磁方向是否一致;The first acquiring unit is configured to acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
计算单元,用于当遥控图标的指示方向与地磁方向不一致时,通过预设算法计算指示方向与地磁方向之间的偏差信息;The calculation unit is used to calculate the deviation information between the indicated direction and the geomagnetic direction through a preset algorithm when the indicated direction of the remote control icon is inconsistent with the geomagnetic direction;
旋转单元,用于根据偏差信息,对指示方向进行旋转,以将指示方向调整至与地磁方向一致。The rotating unit is used to rotate the indication direction according to the deviation information so as to adjust the indication direction to be consistent with the geomagnetic direction.
在另一个可选的实施例中,上述获取模块11,包括:In another optional embodiment, the above-mentioned obtaining module 11 includes:
第二获取单元,用于获取地磁方向信息,并根据地磁方向信息,判断遥控图标的指示方向与地磁方向是否一致;The second acquiring unit is configured to acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
提示单元,用于当遥控图标的指示方向与地磁方向不一致时,向用户发出提示信息,以提示用户针对遥控图标执行指定操作;The prompt unit is used to send a prompt message to the user when the indication direction of the remote control icon is inconsistent with the geomagnetic direction to prompt the user to perform a specified operation on the remote control icon;
调整单元,用于接收用户执行指定操作而触发的旋转指令,并根据旋转指令将指示方向调整至与地磁方向一致。The adjustment unit is used to receive a rotation instruction triggered by a user performing a designated operation, and adjust the instruction direction to be consistent with the geomagnetic direction according to the rotation instruction.
在又一个可选的实施例中,上述获取模块11,包括:In yet another optional embodiment, the above-mentioned obtaining module 11 includes:
第一生成单元,用于获取地磁方向信息,并根据地磁方向信息,生成指示方向与地磁方向一致的遥控图标并进行显示。The first generating unit is used to obtain the geomagnetic direction information, and according to the geomagnetic direction information, generate and display the remote control icon indicating the direction consistent with the geomagnetic direction.
在一个可选的实施例中,上述获取模块11,还包括:In an optional embodiment, the above-mentioned obtaining module 11 further includes:
第二生成单元,用于根据地磁方向信息,生成指南针图标并进行显示。The second generating unit is used to generate and display a compass icon according to the geomagnetic direction information.
在一个可选的实施例中,上述移动机器人遥控装置,还包括:In an optional embodiment, the above-mentioned mobile robot remote control device further includes:
判断模块,用于获取移动机器人当前的工作模式,并判断工作模式是否为自动模式,其中,工作模式包括自动模式和手动模式;The judgment module is used to obtain the current working mode of the mobile robot and judge whether the working mode is an automatic mode, where the working mode includes automatic mode and manual mode;
检测模块,用于当移动机器人当前的工作模式为自动模式时,检测是否接收到用户输入的手动模式选择指令;The detection module is used to detect whether the manual mode selection instruction input by the user is received when the current working mode of the mobile robot is the automatic mode;
切换模块,用于当接收到用户输入的手动模式选择指令时,将自动模式切换为手动模式,并检测移动机器人是否处于移动状态;The switching module is used to switch the automatic mode to the manual mode when the manual mode selection instruction input by the user is received, and to detect whether the mobile robot is in a moving state;
控制模块,用于当移动机器人处于移动状态时,控制移动机器人进入静止状态,并在手动模式下,执行上述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤。The control module is used to control the mobile robot to enter the stationary state when the mobile robot is in the moving state, and in the manual mode, execute the above-mentioned acquisition of the geomagnetic direction information of the current use environment, and display the indication direction and the geomagnetic direction according to the geomagnetic direction information Steps for consistent remote control icons.
在一个可选的实施例中,上述移动机器人遥控装置,还包括:In an optional embodiment, the above-mentioned mobile robot remote control device further includes:
速度控制模块,用于接收用户针对换挡触摸按键而触发的挡位指令,并将挡位指令发送至移动机器人上,以使移动机器人根据挡位指令,按照与挡位指令相对应的速度移动。The speed control module is used to receive the gear instruction triggered by the user for shifting the touch button, and send the gear instruction to the mobile robot, so that the mobile robot moves at the speed corresponding to the gear instruction according to the gear instruction .
参照图6,本申请实施例还提出一种移动机器人工作装置,应用于移动机器人上,该移动机器人工作装置包括:6, an embodiment of the present application also proposes a mobile robot working device, which is applied to a mobile robot, and the mobile robot working device includes:
采集模块31,用于利用内置的地磁传感器采集当前使用环境的地磁方向信息,并将地磁方向信息发送至遥控终端上,其中,地磁方向信息用于确定地磁方向;The collection module 31 is used to collect the geomagnetic direction information of the current use environment by using the built-in geomagnetic sensor, and send the geomagnetic direction information to the remote control terminal, where the geomagnetic direction information is used to determine the geomagnetic direction;
移动模块32,用于接收遥控终端响应地磁方向信息而返回的目标方向指令,并根据目标方向指令沿目标方向移动。The moving module 32 is used for receiving the target direction instruction returned by the remote control terminal in response to the geomagnetic direction information, and moving along the target direction according to the target direction instruction.
在一个可选的实施例中,上述移动模块32,包括:In an optional embodiment, the above-mentioned moving module 32 includes:
解析单元,用于对目标方向指令进行解析,获得目标方向信息;The parsing unit is used to parse the target direction instruction to obtain target direction information;
比对单元,用于获取移动机器人的头部方向信息,并比对头部方向信息与目标方向信息是否一致;The comparison unit is used to obtain the head direction information of the mobile robot and compare whether the head direction information is consistent with the target direction information;
旋转单元,用于当头部方向信息与目标方向信息不一致时,将移动机器人的头部方向旋转至目标方向,并沿目标方向移动。The rotation unit is used to rotate the head direction of the mobile robot to the target direction and move along the target direction when the head direction information is inconsistent with the target direction information.
需要说明的是,关于上述实施例中的移动机器人遥控装置和移动机器人工作装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,本领域技术人员可以理解,此处不再赘述。It should be noted that with regard to the mobile robot remote control device and the mobile robot working device in the above-mentioned embodiments, the specific manners for performing operations of each module have been described in detail in the embodiments related to the method, and those skilled in the art can understand that, I won't repeat them here.
参照图7,本申请实施例还提出一种遥控终端300,包括存储器400、处理器500以及存储在存储器400上并可在处理器500上运行的计算机程序200,处理器500执行计算机程序200时实现上述任一实施例中的移动机器人遥控方法。7, an embodiment of the present application also proposes a remote control terminal 300, including a memory 400, a processor 500, and a computer program 200 stored in the memory 400 and running on the processor 500. When the processor 500 executes the computer program 200 Realize the mobile robot remote control method in any of the above embodiments.
本领域技术人员可以理解,本发明实施例的遥控终端300为上述所涉及用于执行本申请中方法中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序200或应用程序,这些计算机程序200选择性地激活或重构。这样的计算机程序200可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。Those skilled in the art can understand that the remote control terminal 300 in the embodiment of the present invention is the aforementioned device for executing one or more of the methods in the present application. These devices may be specially designed and manufactured for the required purpose, or may also include known devices in general-purpose computers. These devices have computer programs 200 or application programs stored therein, and these computer programs 200 are selectively activated or reconfigured. Such a computer program 200 may be stored in a device (for example, a computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus. The computer readable medium includes but is not limited to any type Disks (including floppy disks, hard disks, CD-ROMs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, Erasable programmable read-only memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, flash memory, magnetic card or optical card. That is, the readable medium includes any medium that stores or transmits information in a readable form by a device (for example, a computer).
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the specification and drawings of this application, or directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of this application.

Claims (15)

  1. 一种移动机器人遥控方法,应用于遥控终端上,其特征在于,所述移动机器人具有识别当前使用环境的地磁方向的功能,所述方法包括:A remote control method for a mobile robot, applied to a remote control terminal, characterized in that the mobile robot has the function of recognizing the geomagnetic direction of the current use environment, and the method includes:
    获取当前使用环境的地磁方向信息,并根据所述地磁方向信息,显示出指示方向与所述地磁方向一致的遥控图标,其中,所述地磁方向信息用于确定所述地磁方向;Acquire geomagnetic direction information of the current use environment, and display a remote control icon indicating the direction consistent with the geomagnetic direction according to the geomagnetic direction information, wherein the geomagnetic direction information is used to determine the geomagnetic direction;
    接收用户针对所述遥控图标而触发的目标方向指令,并将所述目标方向指令发送至所述移动机器人上,以使所述移动机器人根据所述目标方向指令沿目标方向移动。A target direction instruction triggered by a user for the remote control icon is received, and the target direction instruction is sent to the mobile robot, so that the mobile robot moves in a target direction according to the target direction instruction.
  2. 根据权利要求1所述的移动机器人遥控方法,其特征在于,所述获取当前使用环境的地磁方向信息,并根据所述地磁方向信息,显示出指示方向与所述地磁方向一致的遥控图标的步骤,包括:The mobile robot remote control method according to claim 1, wherein the step of acquiring geomagnetic direction information of the current use environment, and displaying a remote control icon indicating a direction consistent with the geomagnetic direction according to the geomagnetic direction information ,include:
    获取所述地磁方向信息,并根据所述地磁方向信息,判断所述遥控图标的所述指示方向与所述地磁方向是否一致;Acquiring the geomagnetism direction information, and judging whether the indication direction of the remote control icon is consistent with the geomagnetism direction according to the geomagnetism direction information;
    若所述遥控图标的所述指示方向与所述地磁方向不一致,则通过预设算法计算所述指示方向与所述地磁方向之间的偏差信息;If the indication direction of the remote control icon is inconsistent with the geomagnetism direction, calculating the deviation information between the indication direction and the geomagnetism direction by using a preset algorithm;
    根据所述偏差信息,对所述指示方向进行旋转,以将所述指示方向调整至与所述地磁方向一致。According to the deviation information, the indication direction is rotated to adjust the indication direction to be consistent with the geomagnetic direction.
  3. 根据权利要求1所述的移动机器人遥控方法,其特征在于,所述获取当前使用环境的地磁方向信息,并根据所述地磁方向信息,显示出指示方向与所述地磁方向一致的遥控图标的步骤,包括:The mobile robot remote control method according to claim 1, wherein the step of acquiring geomagnetic direction information of the current use environment, and displaying a remote control icon indicating a direction consistent with the geomagnetic direction according to the geomagnetic direction information ,include:
    获取所述地磁方向信息,并根据所述地磁方向信息,判断所述遥控图标的所述指示方向与所述地磁方向是否一致;Acquiring the geomagnetism direction information, and judging whether the indication direction of the remote control icon is consistent with the geomagnetism direction according to the geomagnetism direction information;
    若所述遥控图标的所述指示方向与所述地磁方向不一致,则向用户发出提示信息,以提示所述用户针对所述遥控图标执行指定操作;If the indication direction of the remote control icon is inconsistent with the geomagnetic direction, sending a prompt message to the user to prompt the user to perform a designated operation on the remote control icon;
    接收所述用户执行所述指定操作而触发的旋转指令,并根据所述旋转指令将所述指示方向调整至与所述地磁方向一致。Receiving a rotation instruction triggered by the user performing the specified operation, and adjusting the instruction direction to be consistent with the geomagnetic direction according to the rotation instruction.
  4. 根据权利要求1所述的移动机器人遥控方法,其特征在于,所述获取当前使用环境的地磁方向信息,并根据所述地磁方向信息,显示出指示方向与所述地磁方向一致的遥控图标的步骤,包括:The mobile robot remote control method according to claim 1, wherein the step of acquiring geomagnetic direction information of the current use environment, and displaying a remote control icon indicating a direction consistent with the geomagnetic direction according to the geomagnetic direction information ,include:
    获取所述地磁方向信息,并根据所述地磁方向信息,生成指示方向与所述地磁方向一致的所述遥控图标并进行显示。The geomagnetism direction information is acquired, and the remote control icon indicating the direction consistent with the geomagnetism direction is generated and displayed according to the geomagnetism direction information.
  5. 根据权利要求1至4中任一项所述的移动机器人遥控方法,其特征在于,所述获取当前使用环境的地磁方向信息,并根据所述地磁方向信息,显示出指示方向与所述地磁方向一致的遥控图标的步骤之前,还包括:The remote control method for a mobile robot according to any one of claims 1 to 4, characterized in that said acquiring the geomagnetic direction information of the current use environment, and displaying the indication direction and the geomagnetic direction according to the geomagnetic direction information Before the steps of consistent remote control icons, it also includes:
    获取所述移动机器人当前的工作模式,并判断所述工作模式是否为自动模式,其中,所述工作模式包括自动模式和手动模式;Acquiring the current working mode of the mobile robot, and determining whether the working mode is an automatic mode, wherein the working mode includes an automatic mode and a manual mode;
    若所述工作模式为自动模式,则检测是否接收到用户输入的手动模式选择指令;If the working mode is the automatic mode, detecting whether a manual mode selection instruction input by the user is received;
    若接收到用户输入的手动模式选择指令,则将所述自动模式切换为所述手动模式,并检测所述移动机器人是否处于移动状态;If a manual mode selection instruction input by the user is received, switching the automatic mode to the manual mode, and detecting whether the mobile robot is in a moving state;
    若所述移动机器人处于移动状态,则控制所述移动机器人进入静止状态,并在所述手动模式下,执行所述获取当前使用环境的地磁方向信息,并根据所述地磁方向信息,显示出指示方向与所述地磁方向一致的遥控图标的步骤。If the mobile robot is in a moving state, control the mobile robot to enter a stationary state, and in the manual mode, execute the acquisition of geomagnetic direction information of the current use environment, and display instructions based on the geomagnetic direction information The step of the remote control icon whose direction is consistent with the geomagnetic direction.
  6. 根据权利要求1至4中任一项所述的移动机器人遥控方法,其特征在于,所述遥控终端的遥控界面上预设有换挡触摸按键,所述获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标的步骤之后,还包括:The remote control method for a mobile robot according to any one of claims 1 to 4, wherein a shift touch button is preset on the remote control interface of the remote control terminal, and the geomagnetic direction information of the current use environment is acquired, and According to the geomagnetic direction information, after the step of displaying the remote control icon indicating the same direction as the geomagnetic direction, it also includes:
    接收用户针对所述换挡触摸按键而触发的挡位指令,并将所述挡位指令发送至所述移动机器人上,以使所述移动机器人根据所述挡位指令,按照与所述挡位指令相对应的速度移动。Receive the gear instruction triggered by the user for the shift touch button, and send the gear instruction to the mobile robot, so that the mobile robot will follow the gear instruction according to the gear instruction. Move at the speed corresponding to the command.
  7. 根据权利要求3所述的移动机器人遥控方法,其特征在于,所述获取所述地磁方向信息的步骤之后,还包括:The remote control method for a mobile robot according to claim 3, characterized in that, after the step of obtaining the geomagnetic direction information, the method further comprises:
    根据所述地磁方向信息,生成指南针图标并进行显示。According to the geomagnetic direction information, a compass icon is generated and displayed.
  8. 一种移动机器人遥控装置,应用于遥控终端上,其特征在于,所述移动机器人具有识别当前使用环境的地磁方向的功能,所述装置包括:A remote control device for a mobile robot, applied to a remote control terminal, characterized in that the mobile robot has the function of recognizing the geomagnetic direction of the current use environment, and the device includes:
    获取模块,用于获取当前使用环境的地磁方向信息,并根据所述地磁方向信息,显示出指示方向与所述地磁方向一致的遥控图标,其中,所述地磁方向信息用于确定所述地磁方向;The acquiring module is used to acquire the geomagnetic direction information of the current use environment, and according to the geomagnetic direction information, display a remote control icon indicating the direction consistent with the geomagnetic direction, wherein the geomagnetic direction information is used to determine the geomagnetic direction ;
    接收模块,用于接收用户针对所述遥控图标而触发的目标方向指令,并将所述目标方向指令发送至所述移动机器人上,以使所述移动机器人根据所述目标方向指令沿目标方向移动。The receiving module is configured to receive a target direction instruction triggered by the user for the remote control icon, and send the target direction instruction to the mobile robot, so that the mobile robot moves in the target direction according to the target direction instruction .
  9. 根据权利要求8所述的移动机器人遥控装置,其特征在于,所述获取模块,包括:The mobile robot remote control device according to claim 8, wherein the acquisition module comprises:
    第一获取单元,用于获取地磁方向信息,并根据地磁方向信息,判断遥控图标的指示方向与地磁方向是否一致;The first acquiring unit is configured to acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
    计算单元,用于当遥控图标的指示方向与地磁方向不一致时,通过预设算法计算指示方向与地磁方向之间的偏差信息;The calculation unit is used to calculate the deviation information between the indicated direction and the geomagnetic direction through a preset algorithm when the indicated direction of the remote control icon is inconsistent with the geomagnetic direction;
    旋转单元,用于根据偏差信息,对指示方向进行旋转,以将指示方向调整至与地磁方向一致。The rotating unit is used to rotate the indication direction according to the deviation information so as to adjust the indication direction to be consistent with the geomagnetic direction.
  10. 根据权利要求8所述的移动机器人遥控装置,其特征在于,所述获取模块,包括:The mobile robot remote control device according to claim 8, wherein the acquisition module comprises:
    第二获取单元,用于获取地磁方向信息,并根据地磁方向信息,判断遥控图标的指示方向与地磁方向是否一致;The second acquiring unit is configured to acquire geomagnetic direction information, and determine whether the indicated direction of the remote control icon is consistent with the geomagnetic direction according to the geomagnetic direction information;
    提示单元,用于当遥控图标的指示方向与地磁方向不一致时,向用户发出提示信息,以提示用户针对遥控图标执行指定操作;The prompt unit is used to send a prompt message to the user when the indication direction of the remote control icon is inconsistent with the geomagnetic direction to prompt the user to perform a specified operation on the remote control icon;
    调整单元,用于接收用户执行指定操作而触发的旋转指令,并根据旋转指令将指示方向调整至与地磁方向一致。The adjustment unit is used to receive a rotation instruction triggered by a user performing a designated operation, and adjust the instruction direction to be consistent with the geomagnetic direction according to the rotation instruction.
  11. 根据权利要求8所述的移动机器人遥控装置,其特征在于,所述获取模块,包括:The mobile robot remote control device according to claim 8, wherein the acquisition module comprises:
    第一生成单元,用于获取地磁方向信息,并根据地磁方向信息,生成指示方向与地磁方向一致的遥控图标并进行显示。The first generating unit is used to obtain the geomagnetic direction information, and according to the geomagnetic direction information, generate and display the remote control icon indicating the direction consistent with the geomagnetic direction.
  12. 根据权利要求8至11中任一项所述的移动机器人遥控装置,其特征在于,还包括:The mobile robot remote control device according to any one of claims 8 to 11, further comprising:
    判断模块,用于获取移动机器人当前的工作模式,并判断工作模式是否为自动模式,其中,工作模式包括自动模式和手动模式;The judgment module is used to obtain the current working mode of the mobile robot and judge whether the working mode is an automatic mode, where the working mode includes automatic mode and manual mode;
    检测模块,用于当移动机器人当前的工作模式为自动模式时,检测是否接收到用户输入的手动模式选择指令;The detection module is used to detect whether the manual mode selection instruction input by the user is received when the current working mode of the mobile robot is the automatic mode;
    切换模块,用于当接收到用户输入的手动模式选择指令时,将自动模式切换为手动模式,并检测移动机器人是否处于移动状态;The switching module is used to switch the automatic mode to the manual mode when the manual mode selection instruction input by the user is received, and to detect whether the mobile robot is in a moving state;
    控制模块,用于当移动机器人处于移动状态时,控制移动机器人进入静止状态,并在手动模式下,获取当前使用环境的地磁方向信息,并根据地磁方向信息,显示出指示方向与地磁方向一致的遥控图标。The control module is used to control the mobile robot to enter the stationary state when the mobile robot is in the moving state, and in the manual mode, obtain the geomagnetic direction information of the current use environment, and display the indication direction consistent with the geomagnetic direction according to the geomagnetic direction information Remote control icon.
  13. 根据权利要求8至11中任一项所述的移动机器人遥控装置,其特征在于,所述遥控终端的遥控界面上预设有换挡触摸按键,所述移动机器人遥控装置还包括:The mobile robot remote control device according to any one of claims 8 to 11, wherein a shift touch button is preset on the remote control interface of the remote control terminal, and the mobile robot remote control device further comprises:
    速度控制模块,用于接收用户针对所述换挡触摸按键而触发的挡位指令,并将所述挡位指令发送至所述移动机器人上,以使所述移动机器人根据所述挡位指令,按照与所述挡位指令相对应的速度移动。The speed control module is used to receive the gear instruction triggered by the user for the shift touch button, and send the gear instruction to the mobile robot, so that the mobile robot can, according to the gear instruction, Move at a speed corresponding to the gear command.
  14. 根据权利要求10所述的移动机器人遥控装置,其特征在于,所述获取模块,还包括:The mobile robot remote control device according to claim 10, wherein the acquisition module further comprises:
    第二生成单元,用于根据所述地磁方向信息,生成指南针图标并进行显示。The second generating unit is configured to generate and display a compass icon according to the geomagnetic direction information.
  15. 一种遥控终端,其特征在于,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7中任一项所述的移动机器人遥控方法。A remote control terminal, which is characterized by comprising a memory, a processor, and a computer program stored in the memory and running on the processor. The processor executes the computer program as claimed in claims 1 to 7. The mobile robot remote control method described in any one of 7.
PCT/CN2019/104934 2019-09-09 2019-09-09 Mobile robot remote control method and device as well as remote control terminal WO2021046682A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/104934 WO2021046682A1 (en) 2019-09-09 2019-09-09 Mobile robot remote control method and device as well as remote control terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/104934 WO2021046682A1 (en) 2019-09-09 2019-09-09 Mobile robot remote control method and device as well as remote control terminal

Publications (1)

Publication Number Publication Date
WO2021046682A1 true WO2021046682A1 (en) 2021-03-18

Family

ID=74866652

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104934 WO2021046682A1 (en) 2019-09-09 2019-09-09 Mobile robot remote control method and device as well as remote control terminal

Country Status (1)

Country Link
WO (1) WO2021046682A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222226A (en) * 2004-02-04 2005-08-18 Funai Electric Co Ltd Autonomous traveling robot cleaner
CN103177545A (en) * 2011-12-26 2013-06-26 联想(北京)有限公司 Remote controller, mobile equipment and method for controlling mobile equipment by using remote controller
CN105022400A (en) * 2015-07-22 2015-11-04 上海思依暄机器人科技有限公司 Controlled robot, remote control device, robot system and control method thereof
CN106023554A (en) * 2016-06-17 2016-10-12 深圳市元征科技股份有限公司 Remote control method and remote controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222226A (en) * 2004-02-04 2005-08-18 Funai Electric Co Ltd Autonomous traveling robot cleaner
CN103177545A (en) * 2011-12-26 2013-06-26 联想(北京)有限公司 Remote controller, mobile equipment and method for controlling mobile equipment by using remote controller
CN105022400A (en) * 2015-07-22 2015-11-04 上海思依暄机器人科技有限公司 Controlled robot, remote control device, robot system and control method thereof
CN106023554A (en) * 2016-06-17 2016-10-12 深圳市元征科技股份有限公司 Remote control method and remote controller

Similar Documents

Publication Publication Date Title
CN110764497A (en) Mobile robot remote control method, device, storage medium and remote control terminal
US9423946B2 (en) Context sensitive actions in response to touch input
EP3033669B1 (en) Context sensitive actions in response to touch input
CN110051289B (en) Voice control method and device for sweeping robot, robot and medium
JP2012502393A (en) Portable electronic device with relative gesture recognition mode
US20150301727A1 (en) Map information display device, map information display method and program
WO2018223605A1 (en) Input method, apparatus and system
US11226734B1 (en) Triggering multiple actions from a single gesture
US9213482B2 (en) Touch control device and method
WO2015043113A1 (en) Method for operating screen of handheld device by using single hand
WO2013189014A1 (en) Terminal and interface operation management method
US9575578B2 (en) Methods, devices, and computer readable storage device for touchscreen navigation
CN110471584A (en) A kind of the cursor of mouse control method and device of handheld input device
US20180224997A1 (en) Method and system for one-handed operations of mobile terminal
EP3156889A1 (en) Terminal control method and device
JP2015195567A (en) Display control method, display control program, and information processing terminal
EP2752831B1 (en) Input device, display device and method of controlling thereof
CN109579826B (en) Direction display control method, device and chip of robot navigation map
WO2012151914A1 (en) Method using three-dimensional movement trajectory as input and mobile terminal
TWI506487B (en) A touch panel and a controlling method thereof
CN104331249A (en) Operation control method and operation control device using terminal equipment simulation remote controller
WO2021046682A1 (en) Mobile robot remote control method and device as well as remote control terminal
WO2019178863A1 (en) Control method, control device, control system, and computer readable storage medium
CN110962132B (en) Robot system
CN107392843B (en) Image processing method, device and system

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: 19945033

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: 19945033

Country of ref document: EP

Kind code of ref document: A1