WO2023202423A1 - Path planning method of mower and related device - Google Patents

Path planning method of mower and related device Download PDF

Info

Publication number
WO2023202423A1
WO2023202423A1 PCT/CN2023/087548 CN2023087548W WO2023202423A1 WO 2023202423 A1 WO2023202423 A1 WO 2023202423A1 CN 2023087548 W CN2023087548 W CN 2023087548W WO 2023202423 A1 WO2023202423 A1 WO 2023202423A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection information
obstacle
lawn mower
working environment
sensor
Prior art date
Application number
PCT/CN2023/087548
Other languages
French (fr)
Chinese (zh)
Inventor
袁理
廖孟�
Original Assignee
松灵机器人(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 松灵机器人(深圳)有限公司 filed Critical 松灵机器人(深圳)有限公司
Publication of WO2023202423A1 publication Critical patent/WO2023202423A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle

Definitions

  • This application relates to the technical field of Internet of Vehicles, and specifically to a path planning method for a lawn mower and related devices.
  • Embodiments of the present application provide a path planning method for a lawnmower and related devices, which help to improve the accuracy of detection results and also help to reduce the failure rate of sensors.
  • embodiments of the present application provide a path planning method for a lawn mower, the method including:
  • the sensor is arranged in the working environment of the lawn mower, and the working environment is for the lawn mower to mow.
  • the environment for grass work the detection information is used to characterize the obstacles existing in the working environment, and the original map is used to characterize the terrain of the working environment;
  • the driving route of the lawn mower is determined based on the working map.
  • inventions of the present application provide a path planning system for a lawn mower.
  • the system includes:
  • the senor is arranged in the working environment of the lawn mower, and the working environment is the environment in which the lawn mower performs lawn mowing operations.
  • the sensor is used to detect the working environment and obtain detection information, so The detection information is used to characterize obstacles existing in the working environment;
  • a server the server is communicatively connected to the sensor, the server is used to obtain the detection information and the original map of the working environment, the original map is used to characterize the terrain of the working environment; and the server is used to obtain the detection information and the original map of the working environment;
  • the detection information determines the first positioning information of the obstacle; and is used to determine the working map of the lawn mower according to the first positioning information and the original map; and is used to determine the working map of the lawn mower according to the working map. Describe the driving route of the lawn mower;
  • a lawn mower the lawn mower is communicatively connected to the server, and the lawn mower is used to receive the driving route sent by the server.
  • a lawnmower path planning device which includes: an acquisition unit and a determination unit, wherein,
  • the acquisition unit is used to acquire the detection information of the working environment by the sensor and the original map of the working environment.
  • the sensor is arranged in the working environment of the lawn mower, and the working environment is The environment in which the lawn mower performs lawn mowing operations, the detection information is used to characterize obstacles existing in the operating environment, and the original map is used to represent the terrain of the operating environment;
  • the determining unit is configured to determine the first positioning information of the obstacle based on the detection information
  • the determining unit is also configured to determine a working map of the lawn mower based on the first positioning information and the original map;
  • the determining unit is also used to determine the driving route of the lawn mower according to the working map.
  • embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured by the above
  • the processor executes the above program including instructions for executing the steps in the first aspect of the embodiment of the present application.
  • embodiments of the present application provide a computer-readable storage medium, wherein the above The computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program causes the computer to execute instructions for part or all of the steps described in the first aspect of the embodiment of the present application.
  • embodiments of the present application provide a computer program product, wherein the computer program product includes a computer program, and the computer program is operable to cause the computer to execute part or all of the steps described in the first aspect of the embodiment of the present application. step.
  • the sensor is installed in the working environment of the lawn mower to obtain the detection information of the working environment by the sensor, and the detection information is used to characterize the working environment. Obstacles existing in the environment are determined based on the detection information. The first positioning information of the obstacle is determined, and the original map of the working environment is obtained. The original map is used to characterize the terrain of the working environment. Based on the first positioning information and the original map, the work of the lawn mower is determined.
  • Map determine the driving route of the lawn mower based on the work map; in this way, setting the sensor in the working environment ensures that the sensor is in a relatively stable environmental state, which helps to ensure the accuracy of the sensor detection results, which in turn helps ensure the accuracy of the sensor detection results.
  • the accurate positioning of obstacles helps the lawn mower achieve precise and flexible obstacle avoidance.
  • a stable environmental state also helps reduce the failure rate of the sensor, helps reduce the cost of using the lawn mower, and optimizes the user experience.
  • Figure 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 1B is a schematic flowchart of a path planning method for a lawnmower provided by an embodiment of the present application
  • Figure 2 is a schematic flowchart of a path planning method for a lawn mower provided by an embodiment of the present application
  • Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 4A is a functional unit block of a lawn mower path planning device provided by an embodiment of the present application. picture;
  • Figure 4B is a functional unit block diagram of a lawnmower path planning device provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of a path planning system for a lawn mower provided by an embodiment of the present application.
  • an embodiment means that a particular feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application.
  • the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art understand, both explicitly and implicitly, that the embodiments described herein may be combined with other embodiments.
  • Electronic devices can be mobile phones, tablets, wearable electronic devices with wireless communication functions (such as smart watches), etc.
  • portable electronic devices include, but are not limited to, portable electronic devices equipped with IOS system, Android system, Microsoft system or other operating systems.
  • the above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) wait.
  • the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
  • Electronic equipment may also include servers, lawn mowers, etc., which are not limited here.
  • this application provides a path planning method and related devices for a lawn mower, which will be described in detail below with reference to the accompanying drawings.
  • FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device includes a processor, a memory, and the like. Among them, the memory is connected to the processor.
  • the processor is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes electronic tasks by running or executing software programs and/or modules stored in the memory, and calling data stored in the memory. The various functions and processing data of the device are used to monitor the overall electronic device.
  • the processor can be a central processing unit (Central Processing Unit/Processor, CPU), a graphics processor (Graphics Processing Unit, GPU) or a network processor (Neural Processing Unit). -network Processing Unit, NPU).
  • the processor can integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor.
  • the memory is used to store software programs and/or modules, and the processor executes various functional applications of the electronic device by running the software programs and/or modules stored in the memory.
  • the memory may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, at least one software program required for a function, etc.; the stored data area may store data created according to the use of the electronic device, etc.
  • the memory may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state memory pieces.
  • Figure 1B is a schematic flow chart of a path planning method for a lawnmower provided by an embodiment of the present application. As shown in the figure, it is applied to the electronic device shown in Figure 1A.
  • the electronic device can be a server, or It can be a lawn mower, which is not limited here.
  • the path planning method of this lawn mower includes the following steps:
  • Step 101 Obtain the detection information of the working environment by the sensor and the original map of the working environment.
  • Step 102 Determine the first positioning information of the obstacle based on the detection information.
  • Step 103 Determine a working map of the lawn mower based on the first positioning information and the original map.
  • Step 104 Determine the driving route of the lawn mower according to the working map.
  • the above-mentioned sensors may be multiple types or a single type of sensors, such as acoustic wave sensors, image sensors, thermal sensors, mechanical sensors, etc., which are not limited here.
  • Acoustic sensors can be used for long-distance measurement and positioning of obstacles or lawn mowers.
  • Image sensors can be used for specific identification of obstacles, such as identifying birds, animals, people, cars, stones, wood, etc. on the lawn.
  • Thermal sensors can be used to identify living animals such as humans or animals to avoid accidental injuries during lawn mower operation and ensure operational safety.
  • Mechanical sensors such as pressure sensors and tactile sensors can be used as the last line of safety. Tactile sensors can be set at the boundaries of the lawn. When the tactile sensor collides with the lawn mower, the lawn mower is controlled to stop or redirect.
  • sensors that are suitable for sensing the positions of obstacles of different types or environments are different, multiple types of sensors can be set up in the working environment at the same time, and different types of sensors can complement each other and have advantages. It helps to achieve accurate and comprehensive detection of the working environment.
  • sensors may include ultrasonic radar, lidar, millimeter wave radar, monocular camera, binocular camera, depth camera, infrared sensor, thermal sensor, inertial measurement unit, sensor with positioning function, tactile sensor, etc., which will not be discussed here. limited.
  • Sensors with positioning functions can be loaded with globally available navigation satellite systems, such as the Beidou third-generation satellite navigation system (BDS), global satellite positioning system (GPS), GLONASS, Galileo satellite navigation system (GALILEO), and can also be loaded with regional navigation systems, such as quasi-zenith system (QZSS), regional navigation satellite system (IRNSS), etc., in This is not limited.
  • BDS Beidou third-generation satellite navigation system
  • GPS global satellite positioning system
  • GLONASS GLONASS
  • Galileo satellite navigation system GALILEO
  • regional navigation systems such as quasi-zenith system (QZSS), regional navigation satellite system (IRNSS), etc.
  • the above-mentioned sensor is arranged in an operating environment of the lawn mower, and the operating environment is an environment in which the lawn mower performs lawn mowing operations.
  • the above detection information can be used to characterize obstacles existing in the working environment.
  • a camera is used to detect the working environment, and the detection information obtained is an image. By identifying the image, the obstacles present in the image and the corresponding positions of the obstacles can be determined.
  • radar is used to detect the working environment, and the detection information obtained is an echo. By processing the echo using echo imaging technology, obstacles existing in the working environment and the first positioning information corresponding to the obstacles can be determined.
  • thermal sensors and mechanical sensors are used to detect the working environment.
  • the detection information obtained can be corresponding voltage signals, current signals, etc., which can be used to determine whether there are live animals in the working environment and the location of the lawnmower.
  • the above-mentioned first positioning information may be the orientation of the obstacle relative to the lawn mower, the specific longitude and latitude of the obstacle, or the positioning in the coordinate system constructed by the server, which is not limited here.
  • the above-mentioned original map can be used to represent the terrain of the working environment, such as plains, plateaus, hills, basins, mountains, rivers, etc., which are not limited here.
  • the electronic device can obtain the detection information of the working environment from the sensor, determine the first positioning information of the obstacle based on the detection information, and determine the working map of the lawn mower based on the first positioning information of the obstacle and the original map of the working environment.
  • the first positioning information of the obstacle is marked in the original map
  • the working map is an area in the original map that has no obstacles and needs to be weeded.
  • the senor when the lawn mower is cutting grass, if there are multiple obstacles in the working environment, for example, there is a small dynamic obstacle (such as a running pet dog) behind a larger obstacle, the sensor will When installed on the lawn mower body, due to light obstruction, long distance, etc., the sensor on the body is difficult to detect obstacles behind the obstacles.
  • the sensor has a detection blind zone and is difficult to effectively detect obstacles behind the obstacles. avoid.
  • the detection range of the sensor is larger, which helps reduce the The detection blind area of the small sensor helps solve the obstacle avoidance problem caused by multiple obstacles blocking each other, and helps the lawn mower achieve accurate and flexible obstacle avoidance.
  • the driving route of the lawn mower can be determined in the work map based on user input, or a certain driving route can be preset by the R&D personnel, or the electronic device can determine the driving route according to the input of the user.
  • Factors such as the terrain of the work map, the type of grass being cut, and the power of the lawn mower can be flexibly set and are not limited here.
  • the senor is installed in the working environment of the lawn mower, and the electronic device can obtain the detection information of the working environment by the sensor.
  • the detection information is used to characterize the obstacles existing in the working environment, and the detection information is determined based on the detection information.
  • the first positioning information of the obstacle is used to obtain the original map of the working environment.
  • the original map is used to characterize the terrain of the working environment. Based on the first positioning information and the original map, the working map of the lawn mower is determined. The working map of the lawn mower is determined based on the working map.
  • Driving route send the driving route to the lawn mower; in this way, setting the sensor in the working environment ensures that the sensor is in a relatively stable environmental state, which helps to ensure the accuracy of the sensor detection results, which in turn helps to ensure that obstacles are detected
  • the accurate positioning helps the lawn mower achieve precise and flexible obstacle avoidance.
  • the stable environmental state also helps reduce the failure rate of the sensor, helps reduce the cost of using the lawn mower, and optimizes the user experience.
  • the server obtains the sensor's detection information of the working environment and the original map of the working environment, the server determines the first positioning information of the obstacle based on the detection information, and the server determines the location of the lawn mower based on the first positioning information and the original map.
  • Working map the server determines the driving route of the lawnmower based on the working map.
  • the server sends the driving route to the lawnmower, and the lawnmower receives the driving route and mows the grass according to the driving route. In this way, it helps to achieve unified management and control of the lawn mower by the server.
  • the server obtains the sensor's detection information of the working environment and the original map of the working environment, determines the first positioning information of the obstacle based on the detection information, and sends the first positioning information and the original map to the lawnmower.
  • the lawn mower receives the first positioning information and the original map, and the lawn mower determines the working map based on the first positioning information and the original map. In this way, it helps to reduce the data processing pressure on the server side.
  • the server obtains the sensor's detection information of the operating environment and the job The original map of the environment and sends detection information and the original map to the lawnmower.
  • the lawn mower determines the first positioning information of the obstacle based on the detection information, the lawn mower determines the working map based on the first positioning information and the original map, and the lawn mower determines the driving route based on the working map. In this way, it helps to further reduce the data processing pressure on the server side.
  • the lawn mower obtains the sensor's detection information of the working environment and the original map of the working environment.
  • the lawn mower determines the first positioning information of the obstacle based on the detection information.
  • the lawn mower determines the first positioning information of the obstacle based on the first positioning information and the original map.
  • the map determines the working map, and the lawn mower determines the driving route based on the working map. In this way, it helps to reduce the number of interactions between the lawn mower and the server, and helps reduce the impact of network communication factors on the lawn mower.
  • the detection information includes first sub-detection information corresponding to the first time and second sub-detection information corresponding to the second time.
  • the third sub-detection information of the obstacle is determined based on the detection information.
  • Certain positioning information can include the following steps:
  • Step 1021 Determine whether the obstacle is displaced based on the first sub-detection information and the second sub-detection information;
  • Step 1022 When the obstacle is displaced, determine the corresponding type of the obstacle as a dynamic obstacle;
  • Step 1023 Predict the position of the obstacle based on the first sub-detection information and the second sub-detection information to obtain the predicted position;
  • Step 1024 Determine the predicted position and the current position as the first positioning information of the dynamic obstacle.
  • the historical location of the obstacle can be determined based on the first sub-detection information, and the current location of the obstacle can be determined based on the second sub-detection information.
  • the second time is before the first time, the historical position of the obstacle is determined based on the second sub-detection information, and the current position of the obstacle is determined based on the first sub-detection information.
  • the corresponding type of the obstacle is determined as a dynamic obstacle. Since the dynamic obstacle may still continue to move at the next moment, the position of the dynamic obstacle at the next moment can be predicted, and the predicted position and the current position together are used as the first positioning information of the dynamic obstacle. interest. In this way, not only the current position of the dynamic obstacle is taken into account, but also the predicted position is also taken into consideration.
  • the lawn mower is mowing, if the dynamic obstacle is displaced at the next moment, it can help the lawn mower to move to the dynamic obstacle. Perform precise avoidance.
  • step 1021 can be executed at a predetermined time interval.
  • the predetermined time can be 5 seconds, 10 seconds, 30 seconds, 1 minute, 3 minutes, 5 minutes, 7 minutes, 10 minutes, etc., which helps to realize the dynamic obstacle detection. Accurate positioning helps the lawnmower accurately avoid dynamic obstacles.
  • the method may further include the following steps:
  • Step 01. Obtain the second positioning information and motion information of the lawn mower.
  • the motion information includes at least one of the following: the current motion speed, motion acceleration and wheel deflection angle of the lawn mower.
  • Step 02 Determine the driving route of the lawn mower based on the second positioning information and the motion information.
  • Step 03 Determine whether the lawn mower meets the dynamic obstacle based on the first positioning information and the driving route.
  • Step 04 If the lawn mower meets the dynamic obstacle, determine the encounter time between the lawn mower and the dynamic obstacle.
  • Step 05 If the encounter time is less than or equal to the preset duration threshold, send avoidance information to the lawn mower.
  • the above-mentioned preset duration threshold can be comprehensively set based on factors such as the current movement speed of the lawn mower, movement acceleration, the distance between the lawn mower and the obstacle, and is not limited here.
  • the corresponding driving route of the lawn mower can be determined based on the movement speed, movement acceleration and wheel deflection angle of the lawn mower. If the driving route of the lawn mower overlaps with the positioning information of the dynamic obstacle, that is to say, the lawn mower may encounter the dynamic obstacle, and the encounter time is less than or equal to the preset duration threshold, then the server can send instructions to the lawn mower. The machine sends avoidance information to control the lawnmower to avoid obstacles.
  • the driving route of the lawn mower does not overlap with the positioning information of the dynamic obstacle, there is no need to send avoidance information to the lawn mower, and the lawn mower can continue driving along the driving route.
  • the dynamic obstacle will be considered The positioning information of the obstruction may still change.
  • alarm information can be sent to the client communicating with the server to prompt the user, and the user can control the lawn mower according to the actual situation.
  • the server can wait until the encounter time between the lawn mower and the dynamic obstacle is less than or equal to the preset time threshold, and then the server will send avoidance information to the lawn mower to control the lawn mowing. machine to avoid obstacles.
  • the obstacle avoidance solution in this embodiment can also be applied in the same way.
  • the path planning provided by the embodiment of this application can be executed on the server side. method.
  • the server can control one or more of the lawn mowers to avoid them. .
  • executing the path planning method provided by the embodiment of the present application on the server side also helps to reduce the number of The amount of data calculation on the server.
  • the electronic device can obtain the second positioning information and motion information of the lawn mower.
  • the motion information includes at least one of the following: the current motion speed, motion acceleration and wheel deflection angle of the lawn mower.
  • the second positioning information and motion information are used to determine the driving route of the lawn mower. Based on the first positioning information and the driving route, it is determined whether the lawn mower meets a dynamic obstacle. If the lawn mower meets a dynamic obstacle, it is determined whether the lawn mower is to be mowered. The encounter time between the machine and the dynamic obstacle is determined. If the encounter time is less than or equal to the preset duration threshold, avoidance information is sent to the lawn mower; in this way, while ensuring the accuracy of obstacle avoidance, it also helps ensure the mowing effect. Optimize user experience.
  • step 102 determining the first positioning information of the obstacle based on the detection information may include the following steps:
  • Step 1025 If the obstacle does not shift, determine the type corresponding to the obstacle as a static obstacle.
  • Step 1026 Determine the current position as the first positioning information of the static obstacle.
  • the corresponding type of the obstacle is determined as a static obstacle. Since the static obstacle is less likely to be displaced at the next moment, the current position of the static obstacle can be directly used as the first positioning information. This helps ensure The working map of the lawn mower covers a large area, and mowing a large area as much as possible helps ensure the mowing effect.
  • Step 10211 Generate a detection image according to the image information.
  • Step 10212 Divide the detection image into at least one area.
  • Step 10213 For the current area, determine the first hue value and the first brightness value of the detection image corresponding to the first sub-detection information.
  • Step 10214 Determine the second hue value and the second brightness value of the detection image corresponding to the second sub-detection information.
  • Step 10215 Determine whether the obstacle is displaced based on the first hue value, the second hue value, the first brightness value, and the second brightness value.
  • the embodiment of the present application processes the hue value and brightness value of the detected image to determine whether the obstacle has been displaced, so the above detected image should be a color image.
  • the detection image is divided into one or more areas. If the detection image is divided into multiple areas, the detection image can be divided equally, or the detection image can be divided according to the terrain of the working environment indicated in the original map, so that the detection images in one area are all the same terrain.
  • the division method is not uniquely limited here. Furthermore, if the detection image is divided according to the terrain, the size of the divided areas should be set reasonably, which will help ensure accurate determination of obstacle types.
  • the detection information at the previous and next moments that is, the first sub-detection information and the second sub-detection information
  • the corresponding hue value and brightness value will not be has changed too much, and for situations where a lawn mower is used, the green background of the lawn makes it easier to identify obstacles in the lawn. Therefore, according to the first hue value, the second hue value, the first brightness value and the second The brightness value determines whether the obstacle has displaced, which helps ensure the accuracy of the determination result, thereby helping to ensure the accurate positioning of the obstacle and helping the lawn mower achieve accurate and flexible obstacle avoidance.
  • the second The hue value, the first brightness value and the second brightness value are used to determine whether the obstacle is displaced, which may include the following steps:
  • Step 102151 Determine the first change ratio corresponding to the hue value according to the first hue value and the second hue value;
  • Step 102152 Determine the second change ratio corresponding to the brightness value based on the first brightness value and the second brightness value;
  • Step 102153 Determine the relative change value corresponding to the current area according to the first change ratio, the second change ratio and the preset weight;
  • Step 102154 If the relative change value is greater than the preset threshold, determine that the obstacle has been displaced;
  • Step 102155 If the relative change value is less than or equal to the preset threshold, determine that the obstacle has not been displaced.
  • the above-mentioned preset threshold of the relative change value can be set by the user, or can be comprehensively set by the electronic device based on the main color of the working environment, the weather of the working environment, the terrain of the working environment and other factors, which will not be discussed here. limited.
  • the above-mentioned preset weights can be set by users or R&D personnel, or can be comprehensively set by electronic equipment based on factors such as the main color of the working environment, the weather of the working environment, the terrain of the working environment, etc., which are not limited here. .
  • the obstacle type can be initially judged by the first change ratio of the hue value of the current area, and it can also be concluded that the weight corresponding to the first change ratio should be greater than the weight corresponding to the second change ratio. Furthermore, considering that when an obstacle appears in the detection image of the current area, the brightness value corresponding to the current area will also change, therefore the obstacle type can also be assisted to determine the obstacle type through the second change ratio corresponding to the brightness value.
  • the first time (n-1) corresponds to the first sub-detection information
  • the first sub-detection information corresponds to the first hue value P (n-1) of the current area x in the detection image.
  • the second time (n) corresponds to the second sub-detection information
  • the second sub-detection information corresponds to the second hue value P (n) (x) of the current area x in the detection image and the second Lightness value Q (n) (x).
  • the first change ratio corresponding to the hue value is The second change ratio corresponding to the brightness value is The weight corresponding to the first change ratio ⁇ is The weight corresponding to the second change ratio ⁇ is The relative change value ⁇ of the current area x can be determined as follows: in
  • the first change ratio and/or the second change ratio corresponding to the current area is larger, and the relative change value is greater than the preset threshold. Therefore, when the relative change value is greater than the preset threshold, it can be considered that there is an obstacle in the current area and the obstacle is displaced.
  • the first change ratio and/or the second change ratio corresponding to the current area is small, and the relative change value is less than or equal to the preset threshold. Therefore, when the relative change value is less than or equal to the preset threshold, it can be considered that there is no obstacle in the current area or that the obstacle has not been displaced.
  • the saturation of the current area can be taken into account in the relative change value. For example, for the current area, determine the first saturation value of the detection image corresponding to the first sub-detection information and the second saturation value of the detection image corresponding to the second sub-detection information, and determine the third change ratio ⁇ corresponding to the saturation value. , determine the relative change value corresponding to the current area based on the first change ratio ⁇ , the second change ratio ⁇ , the third change ratio ⁇ and the preset weight:
  • the electronic device can determine the first change ratio corresponding to the hue value based on the first hue value and the second hue value, and determine the first change ratio corresponding to the brightness value based on the first brightness value and the second brightness value.
  • the second change ratio determines the relative change value corresponding to the current area based on the first change ratio, the second change ratio and the preset weight.
  • the relative change value is greater than the preset threshold, it is determined that the obstacle has been displaced.
  • the relative change When the value is less than or equal to the preset threshold, it is determined that the obstacle has not displaced. In this way, determining whether the obstacle has displaced through the relative change value of the current area helps to ensure the accuracy of the determination result, thereby helping to ensure that the The accurate positioning of obstacles helps the lawn mower achieve precise and flexible obstacle avoidance.
  • the method further includes the following steps:
  • Step A01 Obtain the angle detection information of the sensor.
  • Step A02 Determine whether the detection angle of the sensor is abnormal based on the angle detection information.
  • Step A03 When the detection angle is abnormal, generate corresponding prompt information and send the prompt information to the client device.
  • Step A04 If no abnormality occurs in the detection angle, obtain the detection information of the working environment by the sensor.
  • the above angle detection information can be used to characterize the detection angle of the sensor.
  • the detection angle of each sensor can be determined by multiple sensors monitoring each other, or the sensor can determine its detection angle by detecting landmark objects in the working environment.
  • the shooting angle of the camera installed on the lawn guardrail may deviate, and the radar signal emission angle installed on the utility pole may deviate. Therefore, before obtaining the detection information of the sensor, you can first ensure the detection angle of the sensor. No exception occurred. Furthermore, when the detection angle of the sensor is only slightly shifted, it can still be considered that the detection angle is not abnormal. When the angular deviation amplitude of the sensor is greater than the amplitude threshold, the detection angle of the sensor is considered abnormal.
  • the above amplitude threshold can be determined by detecting landmark objects in the working environment. For example, when the detection angle of the sensor deviates too much, object B cannot be detected within its initial detection range. Object B can be used as The sensor detects an angular landmark object. When the sensor cannot detect the landmark object, it can be considered that the angular offset amplitude of the sensor is greater than the amplitude threshold.
  • the above-mentioned client device can communicate with the electronic device.
  • the electronic device When the detection angle of the sensor is abnormal, the electronic device generates corresponding prompt information and sends it to the client device to prompt the user to check the sensor to ensure the detection of the sensor. The angle is correct.
  • the electronic device can obtain the angle detection information of the sensor.
  • the angle detection information is used to characterize the detection angle of the sensor. Based on the angle detection information, it is determined whether the detection angle of the sensor is abnormal. When the detection angle is abnormal, In this case, corresponding prompt information is generated and sent to the client device.
  • the client device communicates with the electronic device and detects When there is no abnormality in the angle, the sensor's detection information of the working environment and the original map of the working environment are obtained. In this way, the sensor's detection information is only obtained when there is no abnormality in the detection angle, which helps to ensure the accuracy of the sensor detection results. This in turn helps ensure accurate positioning of obstacles and helps the lawn mower achieve accurate and flexible obstacle avoidance.
  • Figure 2 is a schematic flowchart of a path planning method for a lawnmower provided by an embodiment of the present application, applied to the electronic device shown in Figure 1A,
  • the electronic device can be a server or a lawn mower; the path planning method of this lawn mower includes:
  • Step 201 Obtain angle detection information of the sensor, where the angle detection information is used to characterize the detection angle of the sensor.
  • Step 202 Determine whether the detection angle of the sensor is abnormal based on the angle detection information.
  • Step 203 When the detection angle is abnormal, generate corresponding prompt information and send the prompt information to the client device, and the client device is communicatively connected to the electronic device;
  • Step 204 Under the condition that no abnormality occurs in the detection angle, obtain the detection information of the working environment by the sensor and the original map of the working environment.
  • the sensor is arranged on the working area of the lawn mower.
  • the working environment is an environment where the lawn mower performs lawn mowing operations
  • the detection information is used to characterize obstacles existing in the working environment
  • the original map is used to characterize the terrain of the working environment. .
  • Step 205 Determine the first positioning information of the obstacle based on the detection information.
  • Step 206 Determine a working map of the lawn mower based on the first positioning information and the original map.
  • Step 207 Determine the driving route of the lawn mower according to the working map.
  • steps 201 to 207 may refer to the corresponding steps of the path planning method of the lawn mower described in FIG. 1B , and will not be described again here.
  • the senor is arranged in the working environment of the lawn mower, and the electronic device can obtain the angle detection information of the sensor, and the angle detection information is used for Characterizing the detection angle of the sensor, determining whether the detection angle of the sensor is abnormal based on the angle detection information, and generating corresponding prompt information and sending the prompt information to the client if the detection angle is abnormal.
  • the device sends, the client device Communicatively connected with the electronic device, and when no abnormality occurs in the detection angle, the detection information of the working environment by the sensor and the original map of the working environment are obtained, and the detection information is used to characterize Obstacles existing in the working environment, the original map is used to characterize the terrain of the working environment, the first positioning information of the obstacle is determined based on the detection information, and the first positioning information and the The original map determines the working map of the lawn mower, and determines the driving route of the lawn mower based on the working map; in this way, setting the sensor in the operating environment ensures that the sensor is in a relatively stable environmental state, which helps It ensures the accuracy of the sensor detection results and obtains the sensor detection information when there is no abnormality in the sensor detection angle, which helps to ensure the accurate positioning of obstacles and helps the lawn mower achieve accurate and flexible obstacle avoidance. At the same time, it can smoothly Environmental status also helps reduce sensor failure rates, helps reduce the cost of lawn mower use, and optimizes user experience.
  • Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device includes a processor, a memory and data stored on the memory.
  • Computer programs or instructions wherein the above computer programs or instructions are stored in the above memory and configured to be executed by the above processor.
  • the electronic device may also include a communication interface.
  • the above program includes instructions for performing the following steps:
  • the sensor is arranged in the working environment of the lawn mower, and the working environment is for the lawn mower to mow.
  • the environment for grass work the detection information is used to characterize the obstacles existing in the working environment, and the original map is used to characterize the terrain of the working environment;
  • the driving route of the lawn mower is determined based on the working map.
  • the senor is installed in the working environment of the lawn mower.
  • the electronic device can obtain the detection information of the working environment by the sensor, and the detection information is used to characterize obstacles existing in the working environment. , determine the first positioning information of the obstacle based on the detection information, and obtain the original map of the working environment.
  • the original map is used to characterize the terrain of the working environment. According to the first positioning information and the original map, determine the working map of the lawn mower.
  • the working map Determine the row of lawn mowers driving route; in this way, setting the sensor in the operating environment ensures that the sensor is in a relatively stable environmental state, which helps to ensure the accuracy of the sensor detection results, which in turn helps ensure the accurate positioning of obstacles and helps the lawn mower It achieves accurate and flexible obstacle avoidance.
  • the stable environmental state also helps reduce the failure rate of sensors, helps reduce the cost of using the lawn mower, and optimizes the user experience.
  • the detection information includes first sub-detection information corresponding to the first time and second sub-detection information corresponding to the second time.
  • the above procedure includes instructions for performing the following steps:
  • the predicted position and the current position are determined as the first positioning information of the dynamic obstacle.
  • the above program includes instructions for performing the following steps:
  • the current position is determined as the first positioning information of the static obstacle.
  • both the first sub-detection information and the second sub-detection information are image information
  • the above program includes instructions for performing the following steps:
  • the first hue value, the second hue value, the first brightness value and the second brightness value degree value to determine whether the obstacle has been displaced.
  • the program includes instructions for performing the following steps:
  • the above program before obtaining the detection information of the working environment by the sensor and the original map of the working environment, the above program further includes instructions for performing the following steps:
  • angle detection information of the sensor where the angle detection information is used to characterize the detection angle of the sensor
  • the detection angle When the detection angle is abnormal, generate corresponding prompt information and send the prompt information to a client device, and the client device is communicatively connected to the electronic device;
  • the detection information of the working environment by the sensor is obtained.
  • Embodiments of the present application can divide functional units according to the above method examples. For example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing unit.
  • the above integrated units can be implemented in the form of hardware or software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.
  • Figure 4A is a functional unit block diagram of a lawnmower path planning device provided by an embodiment of the present application.
  • the device 400 is applied to electronic equipment, and the electronic equipment can be a server. It can also be a lawn mower; the device 400 includes: an acquisition unit 401 and a determination unit 402, wherein,
  • the acquisition unit 401 is used to obtain the detection information of the working environment by the sensor and the original map of the working environment.
  • the detection information is used to characterize obstacles existing in the working environment.
  • the original map Terrain used to characterize the operating environment;
  • the determining unit 402 is configured to determine the first positioning information of the obstacle according to the detection information
  • the determining unit 402 is also configured to determine a working map of the lawn mower based on the first positioning information and the original map;
  • the determining unit 402 is also used to determine the driving route of the lawn mower according to the working map.
  • the sensor is installed in the working environment of the lawn mower to obtain the detection information of the working environment by the sensor, and the detection information is used to characterize obstacles existing in the working environment.
  • object determine the first positioning information of the obstacle based on the detection information, and obtain the original map of the working environment.
  • the original map is used to characterize the terrain of the working environment.
  • the working map of the lawn mower is determined. According to the working The map determines the driving route of the lawn mower; in this way, setting the sensor in the working environment to ensure that the sensor is in a relatively stable environmental state helps ensure the accuracy of the sensor detection results, which in turn helps ensure the accuracy of obstacles. positioning to help the lawnmower achieve precise and flexible obstacle avoidance.
  • the stable environmental state also helps It is used to reduce the failure rate of sensors, help reduce the cost of using lawn mowers, and optimize user experience.
  • the detection information includes first sub-detection information corresponding to the first time and second sub-detection information corresponding to the second time.
  • the determining unit 402 is specifically used to:
  • the predicted position and the current position are determined as the first positioning information of the dynamic obstacle.
  • the determining unit 402 is specifically configured to:
  • the current position is determined as the first positioning information of the static obstacle.
  • both the first sub-detection information and the second sub-detection information are image information, and in the step of determining the first sub-detection information and the second sub-detection information, the In terms of whether the obstacle is displaced, the determining unit 402 is specifically used to:
  • Whether the obstacle is displaced is determined based on the first hue value, the second hue value, the first brightness value, and the second brightness value.
  • the determination unit 402 is specifically used for:
  • the device 400 may further include: a generating unit 404, wherein,
  • the acquisition unit 401 is also used to acquire angle detection information of the sensor, where the angle detection information is used to characterize the detection angle of the sensor;
  • the determination unit 402 is also configured to determine whether the detection angle of the sensor is abnormal based on the angle detection information
  • the generating unit 404 is also configured to generate corresponding prompt information and send the prompt information to a client device when the detection angle is abnormal, and the client device is communicatively connected with the electronic device;
  • the acquisition unit 401 is also configured to acquire the detection information of the working environment by the sensor when no abnormality occurs in the detection angle.
  • the sensor is arranged in the working environment of the lawn mower.
  • the lawn mower path planning device can obtain the detection information of the working environment from the sensor, and the detection information is used to characterize the operation.
  • the first positioning information of the obstacle is determined based on the detection information, and the original map of the working environment is obtained.
  • the original map is used to characterize the terrain of the working environment, and the lawnmower is determined based on the first positioning information and the original map.
  • Work map determine the driving route of the lawn mower based on the work map, and send the driving route to the lawn mower; in this way, setting the sensor in the working environment ensures that the sensor is in a relatively stable environmental state, which helps to ensure that the sensor detects
  • the accuracy of the measurement results will help ensure the accurate positioning of obstacles and help the lawn mower achieve accurate and flexible obstacle avoidance.
  • a stable environmental state will also help reduce the failure rate of the sensor and help reduce the use of the lawn mower. cost and optimize user experience.
  • each program module of the lawn mower path planning device of this embodiment can be specifically implemented according to the method in the above method embodiment, and the specific implementation process can refer to the relevant description of the above method embodiment, which is not included here. Again.
  • FIG. 5 is a schematic diagram of a lawnmower path planning system 500 provided by an embodiment of the present application.
  • the system 500 includes a sensor 501, a server 502 and a lawnmower 503, where,
  • the sensor 501 is installed in the working environment of the lawn mower 503.
  • the working environment is the environment in which the lawn mower 503 performs lawn mowing operations.
  • the sensor 501 is used to detect the working environment and obtain detection information.
  • the detection information is used to characterize the presence in the working environment.
  • the server 502 is communicatively connected with the sensor 501, and the server 502 is used to obtain the detection information and the original map of the working environment, and the original map is used to represent the terrain of the working environment; and is used to determine the first positioning information of the obstacle based on the detection information. ; and used to determine the working map of the lawn mower 503 based on the first positioning information and the original map; and used to determine the driving route of the lawn mower 503 based on the working map; the lawn mower 503 is connected to the server 502 through communication, and the lawn mower 503 communicates with the server 502. 503 is used to receive the driving route sent by the server 502.
  • the sensor is installed in the working environment of the lawn mower, and the detection information of the working environment by the sensor is obtained through the server.
  • the detection information is used to characterize obstacles existing in the working environment. Determine the first positioning information of the obstacle based on the detection information, and obtain the original map of the working environment.
  • the original map is used to characterize the terrain of the working environment.
  • the server determines the working map of the lawn mower based on the first positioning information and the original map, and obtains the working map of the lawn mower based on the working environment.
  • the map determines the driving route of the lawn mower, and the lawn mower receives the driving route sent by the server; in this way, setting the sensor in the operating environment ensures that the sensor is in a relatively stable environmental state, which helps ensure the accuracy of the sensor detection results. This in turn helps ensure the accurate positioning of obstacles and helps the lawn mower achieve accurate and flexible obstacle avoidance. At the same time, a stable environmental state also helps reduce the failure rate of the sensor, helps reduce the cost of using the lawn mower, and optimizes the user experience.
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute the above method.
  • Embodiments of the present application also provide a computer program product.
  • the computer program product includes a computer program, and the computer program is operable to cause the computer to execute some or all of the steps of any method described in the above method embodiments.
  • the disclosed device can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the above units is only a logical function division. In actual implementation, there may be other divisions.
  • multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separated.
  • the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory.
  • the technical solution requested is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a memory and includes a number of instructions to enable A computer device (which can be a personal computer, a server or a network device, etc.) executes all or part of the steps of the above methods in various embodiments of the present application.
  • the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
  • the program can be stored in a computer-readable memory.
  • the memory can include: a flash disk. , read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.

Abstract

Embodiments of the present application disclose a path planning method of a mower and a related device. The method comprises: obtaining detection information of the sensor for the operation environment and an original map of the operation environment, wherein the sensor is provided in the operation environment of the mower, the operation environment is an environment for the mower to perform mowing operation, the detection information is used for representing an obstacle existing in the operation environment, and the original map is used for representing the terrain of the operation environment; determining first positioning information of the obstacle according to the detection information; determining a working map of the mower according to the first positioning information and the original map; and determining a traveling route of the mower according to the working map. The embodiments of the present application are used, thereby facilitating improving the accuracy of a detection result, and also facilitating reducing a fault rate of the sensor.

Description

割草机的路径规划方法及相关装置Lawn mower path planning method and related devices
本发明要求2022年4月18日递交的发明名称为“割草机的路径规划方法及相关装置”的申请号为2022104054062的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。This application claims priority from an earlier application with application number 2022104054062, titled "Lawn Mower Path Planning Method and Related Devices" submitted on April 18, 2022. The content of the above-mentioned earlier application is incorporated by reference. in this text.
技术领域Technical field
本申请涉及车联网技术领域,具体涉及一种割草机的路径规划方法及相关装置。This application relates to the technical field of Internet of Vehicles, and specifically to a path planning method for a lawn mower and related devices.
背景技术Background technique
随着生活水平的提高,对于修理草坪等繁重琐碎的杂事,人们通常使用割草机来代替人工完成。目前,割草机为了实现避障效果,通常将传感器设置于割草机机身,然而,由于割草机在工作时机身处于颠簸状态,传感器设置在机身中容易导致传感器获取的检测信息不够准确,从而影响检测障碍物的准确度,影响避障效果。因此,如何提升避障的准确性和灵活性,成为亟待解决的问题。With the improvement of living standards, people usually use lawn mowers to replace manual labor for tedious chores such as lawn repairs. At present, in order to achieve obstacle avoidance effect, lawn mowers usually install sensors on the body of the lawn mower. However, since the body of the lawn mower is in a bumpy state when working, placing the sensor in the body may easily cause the sensor to obtain detection information. It is not accurate enough, thus affecting the accuracy of detecting obstacles and affecting the obstacle avoidance effect. Therefore, how to improve the accuracy and flexibility of obstacle avoidance has become an urgent problem to be solved.
发明内容Contents of the invention
本申请实施例提供了一种割草机的路径规划方法及相关装置,有助于提高检测结果的准确性,同时也有助于降低传感器的故障率。Embodiments of the present application provide a path planning method for a lawnmower and related devices, which help to improve the accuracy of detection results and also help to reduce the failure rate of sensors.
第一方面,本申请实施例提供一种割草机的路径规划方法,所述方法包括:In a first aspect, embodiments of the present application provide a path planning method for a lawn mower, the method including:
获取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图,所述传感器设置于所述割草机的所述作业环境中,所述作业环境为所述割草机进行割草作业的环境,所述检测信息用于表征所述作业环境中存在的障碍物,所述原始地图用于表征所述作业环境的地形;Obtain the detection information of the working environment by the sensor and the original map of the working environment. The sensor is arranged in the working environment of the lawn mower, and the working environment is for the lawn mower to mow. The environment for grass work, the detection information is used to characterize the obstacles existing in the working environment, and the original map is used to characterize the terrain of the working environment;
根据所述检测信息确定所述障碍物的第一定位信息;Determine the first positioning information of the obstacle based on the detection information;
根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图; Determine a working map of the lawn mower based on the first positioning information and the original map;
根据所述工作地图确定所述割草机的行驶路线。The driving route of the lawn mower is determined based on the working map.
第二方面,本申请实施例提供一种割草机的路径规划系统,所述系统包括:In a second aspect, embodiments of the present application provide a path planning system for a lawn mower. The system includes:
传感器,所述传感器设置于割草机的作业环境中,所述作业环境为所述割草机进行割草作业的环境,所述传感器用于对所述作业环境进行检测,得到检测信息,所述检测信息用于表征所述作业环境中存在的障碍物;Sensor, the sensor is arranged in the working environment of the lawn mower, and the working environment is the environment in which the lawn mower performs lawn mowing operations. The sensor is used to detect the working environment and obtain detection information, so The detection information is used to characterize obstacles existing in the working environment;
服务器,所述服务器与所述传感器通信连接,所述服务器用于获取所述检测信息和所述作业环境的原始地图,所述原始地图用于表征所述作业环境的地形;及用于根据所述检测信息确定所述障碍物的第一定位信息;及用于根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图;以及用于根据所述工作地图确定所述割草机的行驶路线;A server, the server is communicatively connected to the sensor, the server is used to obtain the detection information and the original map of the working environment, the original map is used to characterize the terrain of the working environment; and the server is used to obtain the detection information and the original map of the working environment; The detection information determines the first positioning information of the obstacle; and is used to determine the working map of the lawn mower according to the first positioning information and the original map; and is used to determine the working map of the lawn mower according to the working map. Describe the driving route of the lawn mower;
割草机,所述割草机与所述服务器通信连接,所述割草机用于接收所述服务器发送的所述行驶路线。A lawn mower, the lawn mower is communicatively connected to the server, and the lawn mower is used to receive the driving route sent by the server.
第三方面,本申请实施例提供一种割草机路径规划装置,所述装置包括:获取单元和确定单元,其中,In a third aspect, embodiments of the present application provide a lawnmower path planning device, which includes: an acquisition unit and a determination unit, wherein,
所述获取单元,用于获取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图,所述传感器设置于所述割草机的所述作业环境中,所述作业环境为所述割草机进行割草作业的环境,所述检测信息用于表征所述作业环境中存在的障碍物,所述原始地图用于表征所述作业环境的地形;The acquisition unit is used to acquire the detection information of the working environment by the sensor and the original map of the working environment. The sensor is arranged in the working environment of the lawn mower, and the working environment is The environment in which the lawn mower performs lawn mowing operations, the detection information is used to characterize obstacles existing in the operating environment, and the original map is used to represent the terrain of the operating environment;
所述确定单元,用于根据所述检测信息确定所述障碍物的第一定位信息;The determining unit is configured to determine the first positioning information of the obstacle based on the detection information;
所述确定单元,还用于根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图;The determining unit is also configured to determine a working map of the lawn mower based on the first positioning information and the original map;
所述确定单元,还用于根据所述工作地图确定所述割草机的行驶路线。The determining unit is also used to determine the driving route of the lawn mower according to the working map.
第四方面,本申请实施例提供了一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。In a fourth aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured by the above The processor executes the above program including instructions for executing the steps in the first aspect of the embodiment of the present application.
第五方面,本申请实施例提供了一种计算机可读存储介质,其中,上述 计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤的指令。In a fifth aspect, embodiments of the present application provide a computer-readable storage medium, wherein the above The computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program causes the computer to execute instructions for part or all of the steps described in the first aspect of the embodiment of the present application.
第六方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括计算机程序,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a sixth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a computer program, and the computer program is operable to cause the computer to execute part or all of the steps described in the first aspect of the embodiment of the present application. step.
实施本申请实施例,具备如下有益效果:Implementing the embodiments of this application will have the following beneficial effects:
可以看出,本申请实施例中所描述的割草机的路径规划方法及相关装置,传感器设置于割草机的作业环境中,获取传感器对作业环境的检测信息,检测信息用于表征作业环境中存在的障碍物,根据检测信息确定障碍物的第一定位信息,获取作业环境的原始地图,原始地图用于表征作业环境的地形,根据第一定位信息和原始地图,确定割草机的工作地图,根据工作地图确定割草机的行驶路线;如此,将传感器设置于作业环境中,确保传感器处于相对平稳的环境状态中,有助于确保传感器检测结果的准确性,进而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障,同时,平稳的环境状态也有助于降低传感器的故障率,帮助降低割草机的使用成本,优化用户体验。It can be seen that in the path planning method and related devices of the lawn mower described in the embodiments of this application, the sensor is installed in the working environment of the lawn mower to obtain the detection information of the working environment by the sensor, and the detection information is used to characterize the working environment. Obstacles existing in the environment are determined based on the detection information. The first positioning information of the obstacle is determined, and the original map of the working environment is obtained. The original map is used to characterize the terrain of the working environment. Based on the first positioning information and the original map, the work of the lawn mower is determined. Map, determine the driving route of the lawn mower based on the work map; in this way, setting the sensor in the working environment ensures that the sensor is in a relatively stable environmental state, which helps to ensure the accuracy of the sensor detection results, which in turn helps ensure the accuracy of the sensor detection results. The accurate positioning of obstacles helps the lawn mower achieve precise and flexible obstacle avoidance. At the same time, a stable environmental state also helps reduce the failure rate of the sensor, helps reduce the cost of using the lawn mower, and optimizes the user experience.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present application or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1A是本申请实施例提供的一种电子设备的结构示意图;Figure 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图1B是本申请实施例提供的一种割草机的路径规划方法的流程示意图;Figure 1B is a schematic flowchart of a path planning method for a lawnmower provided by an embodiment of the present application;
图2是本申请实施例提供的一种割草机的路径规划方法的流程示意图;Figure 2 is a schematic flowchart of a path planning method for a lawn mower provided by an embodiment of the present application;
图3是本申请实施例提供的一种电子设备的结构示意图;Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图4A是本申请实施例提供的一种割草机路径规划装置的功能单元组成框 图;Figure 4A is a functional unit block of a lawn mower path planning device provided by an embodiment of the present application. picture;
图4B是本申请实施例提供的一种割草机路径规划装置的功能单元组成框图;Figure 4B is a functional unit block diagram of a lawnmower path planning device provided by an embodiment of the present application;
图5是本申请实施例提供的一种割草机的路径规划系统的示意图。Figure 5 is a schematic diagram of a path planning system for a lawn mower provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。术语“多个”可指两个或两个以上,后续不再赘述。The terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than describing a specific sequence. Furthermore, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes Other steps or units inherent to such processes, methods, products or devices. The term "plurality" may refer to two or more, which will not be described further.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art understand, both explicitly and implicitly, that the embodiments described herein may be combined with other embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those in the technical field to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only These are part of the embodiments of this application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
本申请涉及到的关键概念和术语包括但不限于以下:Key concepts and terms involved in this application include but are not limited to the following:
(1)电子设备可以是手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载IOS系统、Android系统、Microsoft系统或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop) 等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。电子设备还可以包括服务器、割草机等,在此不做限定。(1) Electronic devices can be mobile phones, tablets, wearable electronic devices with wireless communication functions (such as smart watches), etc. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices equipped with IOS system, Android system, Microsoft system or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) wait. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer. Electronic equipment may also include servers, lawn mowers, etc., which are not limited here.
随着生活水平的提高,对于修理草坪等繁重琐碎的杂事,人们通常使用割草机来代替人工完成。目前,割草机为了实现避障效果,通常将传感器设置于割草机机身,然而,由于割草机在工作时机身处于颠簸状态,传感器设置在机身中容易导致传感器获取的检测信息不够准确,从而影响检测障碍物的准确度,影响避障效果。因此,如何提升避障的准确性和灵活性,成为亟待解决的问题。With the improvement of living standards, people usually use lawn mowers to replace manual labor for tedious chores such as lawn repairs. At present, in order to achieve obstacle avoidance effect, lawn mowers usually install sensors on the body of the lawn mower. However, since the body of the lawn mower is in a bumpy state when working, placing the sensor in the body may easily cause the sensor to obtain detection information. It is not accurate enough, thus affecting the accuracy of detecting obstacles and affecting the obstacle avoidance effect. Therefore, how to improve the accuracy and flexibility of obstacle avoidance has become an urgent problem to be solved.
基于上述问题,本申请提供一种割草机的路径规划方法及相关装置,下面结合附图进行详细说明。Based on the above problems, this application provides a path planning method and related devices for a lawn mower, which will be described in detail below with reference to the accompanying drawings.
请参阅图1A,图1A是本申请实施例提供的一种电子设备的结构示意图。该电子设备包括处理器和存储器等等。其中,存储器与处理器连接。处理器是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控,处理器可以为中央处理器(Central Processing Unit/Processor,CPU)、图形处理器(Graphics Processing Unit,GPU)或者网络处理器(Neural-network Processing Unit,NPU)。Please refer to FIG. 1A , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device includes a processor, a memory, and the like. Among them, the memory is connected to the processor. The processor is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes electronic tasks by running or executing software programs and/or modules stored in the memory, and calling data stored in the memory. The various functions and processing data of the device are used to monitor the overall electronic device. The processor can be a central processing unit (Central Processing Unit/Processor, CPU), a graphics processor (Graphics Processing Unit, GPU) or a network processor (Neural Processing Unit). -network Processing Unit, NPU).
进一步地,处理器可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器中。Further, the processor can integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor.
其中,存储器用于存储软件程序和/或模块,处理器通过运行存储在存储器的软件程序和/或模块,从而执行电子设备的各种功能应用。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的软件程序等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器 件。The memory is used to store software programs and/or modules, and the processor executes various functional applications of the electronic device by running the software programs and/or modules stored in the memory. The memory may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, at least one software program required for a function, etc.; the stored data area may store data created according to the use of the electronic device, etc. In addition, the memory may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state memory pieces.
请参阅图1B,图1B是本申请实施例提供的一种割草机的路径规划方法的流程示意图,如图所示,应用于如图1A所示的电子设备,电子设备可以是服务器,也可以是割草机,在此不做限定。本割草机的路径规划方法包括如下步骤:Please refer to Figure 1B. Figure 1B is a schematic flow chart of a path planning method for a lawnmower provided by an embodiment of the present application. As shown in the figure, it is applied to the electronic device shown in Figure 1A. The electronic device can be a server, or It can be a lawn mower, which is not limited here. The path planning method of this lawn mower includes the following steps:
步骤101、获取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图。Step 101: Obtain the detection information of the working environment by the sensor and the original map of the working environment.
步骤102、根据所述检测信息确定所述障碍物的第一定位信息。Step 102: Determine the first positioning information of the obstacle based on the detection information.
步骤103、根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图。Step 103: Determine a working map of the lawn mower based on the first positioning information and the original map.
步骤104、根据所述工作地图确定所述割草机的行驶路线。Step 104: Determine the driving route of the lawn mower according to the working map.
其中,上述传感器可以是多种类型或单一类型的传感器,例如声波类传感器、图像类传感器、热学传感器、力学传感器等,在此不做限定。声波类传感器可用于障碍物或割草机的远距离测量和定位。图像类传感器可用于障碍物的具体识别,例如识别草坪上的飞禽、走兽、人、车、石、木等。热学传感器可用于识别人或动物等活体动物,避免割草机作业过程中发生误伤,确保作业安全。力学传感器例如压觉传感器、接触觉传感器可作为最后的安全防线,触觉传感器可以设置在草坪边界处,在触觉传感器与割草机发生碰撞时,控制割草机停止运行或改道运行。The above-mentioned sensors may be multiple types or a single type of sensors, such as acoustic wave sensors, image sensors, thermal sensors, mechanical sensors, etc., which are not limited here. Acoustic sensors can be used for long-distance measurement and positioning of obstacles or lawn mowers. Image sensors can be used for specific identification of obstacles, such as identifying birds, animals, people, cars, stones, wood, etc. on the lawn. Thermal sensors can be used to identify living animals such as humans or animals to avoid accidental injuries during lawn mower operation and ensure operational safety. Mechanical sensors such as pressure sensors and tactile sensors can be used as the last line of safety. Tactile sensors can be set at the boundaries of the lawn. When the tactile sensor collides with the lawn mower, the lawn mower is controlled to stop or redirect.
在一实施方式中,由于感知不同类型或不同环境下的障碍物位置时所适用的传感器不尽相同,因此可将多种类型的传感器可同时设置在作业环境中,不同类型传感器之间互补优缺,有助于实现对作业环境的精确检测和全面检测。In one embodiment, since sensors that are suitable for sensing the positions of obstacles of different types or environments are different, multiple types of sensors can be set up in the working environment at the same time, and different types of sensors can complement each other and have advantages. It helps to achieve accurate and comprehensive detection of the working environment.
传感器的数量可以是一个,也可以是多个,在此不做限定。例如传感器可以包括超声波雷达、激光雷达、毫米波雷达、单目摄像头、双目摄像头、深度摄像头、红外传感器、热释传感器、惯性测量单元、具有定位功能的传感器、触觉传感器等,在此不做限定。具有定位功能的传感器可以装载全球可用的导航卫星系统,例如北斗三代卫星导航系统(BDS),全球卫星定位 系统(GPS),格洛纳斯卫星导航系统(GLONASS)、伽利略卫星导航系统(GALILEO),也可以装载区域导航系统,例如准天顶系统(QZSS),区域导航卫星系统(IRNSS)等,在此不做限定。The number of sensors may be one or multiple, and is not limited here. For example, sensors may include ultrasonic radar, lidar, millimeter wave radar, monocular camera, binocular camera, depth camera, infrared sensor, thermal sensor, inertial measurement unit, sensor with positioning function, tactile sensor, etc., which will not be discussed here. limited. Sensors with positioning functions can be loaded with globally available navigation satellite systems, such as the Beidou third-generation satellite navigation system (BDS), global satellite positioning system (GPS), GLONASS, Galileo satellite navigation system (GALILEO), and can also be loaded with regional navigation systems, such as quasi-zenith system (QZSS), regional navigation satellite system (IRNSS), etc., in This is not limited.
其中,上述传感器设置于割草机的作业环境中,作业环境为割草机进行割草作业的环境。上述检测信息可以用于表征作业环境中存在的障碍物。例如,使用摄像头对作业环境进行检测,得到的检测信息为图像,对图像进行识别可确定图像中存在的障碍物以及障碍物对应的位置。又如,使用雷达对作业环境进行检测,得到的检测信息为回波,通过回波成像技术对回波进行处理,可确定作业环境中存在的障碍物以及障碍物对应的第一定位信息。再如,使用热释传感器、力学传感器对作业环境进行检测,得到的检测信息可以是相应的电压信号、电流信号等,可用于确定作业环境中是否存在活体动物以及割草机的位置。Wherein, the above-mentioned sensor is arranged in an operating environment of the lawn mower, and the operating environment is an environment in which the lawn mower performs lawn mowing operations. The above detection information can be used to characterize obstacles existing in the working environment. For example, a camera is used to detect the working environment, and the detection information obtained is an image. By identifying the image, the obstacles present in the image and the corresponding positions of the obstacles can be determined. For another example, radar is used to detect the working environment, and the detection information obtained is an echo. By processing the echo using echo imaging technology, obstacles existing in the working environment and the first positioning information corresponding to the obstacles can be determined. For another example, thermal sensors and mechanical sensors are used to detect the working environment. The detection information obtained can be corresponding voltage signals, current signals, etc., which can be used to determine whether there are live animals in the working environment and the location of the lawnmower.
其中,上述第一定位信息可以是障碍物相对于割草机的方位,也可以是障碍物具体的经纬度,还可以是在服务器构建的坐标系统中的定位,在此不做限定。The above-mentioned first positioning information may be the orientation of the obstacle relative to the lawn mower, the specific longitude and latitude of the obstacle, or the positioning in the coordinate system constructed by the server, which is not limited here.
其中,上述原始地图可以用于表征作业环境的地形,例如平原、高原、丘陵、盆地、山地、河流等,在此不做限定。Among them, the above-mentioned original map can be used to represent the terrain of the working environment, such as plains, plateaus, hills, basins, mountains, rivers, etc., which are not limited here.
具体实现中,电子设备可获取传感器对作业环境的检测信息,根据检测信息确定障碍物的第一定位信息,并根据障碍物的第一定位信息和工作环境的原始地图确定割草机的工作地图。例如,在原始地图中标记出障碍物的第一定位信息,工作地图即为原始地图中没有障碍物且需要进行除草的区域。In specific implementation, the electronic device can obtain the detection information of the working environment from the sensor, determine the first positioning information of the obstacle based on the detection information, and determine the working map of the lawn mower based on the first positioning information of the obstacle and the original map of the working environment. . For example, the first positioning information of the obstacle is marked in the original map, and the working map is an area in the original map that has no obstacles and needs to be weeded.
此外,在割草机进行割草作业时,若作业环境中存在多个障碍物,例如在一个较大的障碍物后方还有一个小型的动态障碍物(如跑动的宠物狗),在传感器安装在割草机机身的情况下,由于光线遮挡、距离遥远等原因,机身上的传感器难以检测到障碍物后方的障碍物,传感器存在检测盲区,对于障碍物后方的障碍物难以进行有效避让。In addition, when the lawn mower is cutting grass, if there are multiple obstacles in the working environment, for example, there is a small dynamic obstacle (such as a running pet dog) behind a larger obstacle, the sensor will When installed on the lawn mower body, due to light obstruction, long distance, etc., the sensor on the body is difficult to detect obstacles behind the obstacles. The sensor has a detection blind zone and is difficult to effectively detect obstacles behind the obstacles. avoid.
在传感器设置于割草机的作业环境中的情况下,由于传感器脱离割草机设置于草坪护栏、电线杆等物体上,传感器的检测范围较大,如此有助于缩 小传感器的检测盲区,有助于解决上述多个障碍物相互遮挡造成的避障问题,帮助割草机实现精准灵活避障。When the sensor is installed in the working environment of the lawn mower, since the sensor is separated from the lawn mower and installed on objects such as lawn guardrails and telephone poles, the detection range of the sensor is larger, which helps reduce the The detection blind area of the small sensor helps solve the obstacle avoidance problem caused by multiple obstacles blocking each other, and helps the lawn mower achieve accurate and flexible obstacle avoidance.
在工作地图中确定割草机的行驶路线时,可以是根据用户输入在工作地图中确定割草机的行驶路线,也可以是由研发人员预设某一行驶路线,还可以是由电子设备根据工作地图的地形、所割的草的种类、割草机的电量等因素灵活设定,在此不做限定。When determining the driving route of the lawn mower in the work map, the driving route of the lawn mower can be determined in the work map based on user input, or a certain driving route can be preset by the R&D personnel, or the electronic device can determine the driving route according to the input of the user. Factors such as the terrain of the work map, the type of grass being cut, and the power of the lawn mower can be flexibly set and are not limited here.
可以看出,本申请实施方式中,传感器设置于割草机的作业环境中,电子设备可获取传感器对作业环境的检测信息,检测信息用于表征作业环境中存在的障碍物,根据检测信息确定障碍物的第一定位信息,获取作业环境的原始地图,原始地图用于表征作业环境的地形,根据第一定位信息和原始地图,确定割草机的工作地图,根据工作地图确定割草机的行驶路线,向割草机发送行驶路线;如此,将传感器设置于作业环境中,确保传感器处于相对平稳的环境状态中,有助于确保传感器检测结果的准确性,进而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障,同时,平稳的环境状态也有助于降低传感器的故障率,帮助降低割草机的使用成本,优化用户体验。It can be seen that in the embodiment of the present application, the sensor is installed in the working environment of the lawn mower, and the electronic device can obtain the detection information of the working environment by the sensor. The detection information is used to characterize the obstacles existing in the working environment, and the detection information is determined based on the detection information. The first positioning information of the obstacle is used to obtain the original map of the working environment. The original map is used to characterize the terrain of the working environment. Based on the first positioning information and the original map, the working map of the lawn mower is determined. The working map of the lawn mower is determined based on the working map. Driving route, send the driving route to the lawn mower; in this way, setting the sensor in the working environment ensures that the sensor is in a relatively stable environmental state, which helps to ensure the accuracy of the sensor detection results, which in turn helps to ensure that obstacles are detected The accurate positioning helps the lawn mower achieve precise and flexible obstacle avoidance. At the same time, the stable environmental state also helps reduce the failure rate of the sensor, helps reduce the cost of using the lawn mower, and optimizes the user experience.
在一个可能的示例中,服务器获取传感器对作业环境的检测信息和作业环境的原始地图,服务器根据检测信息确定障碍物的第一定位信息,服务器根据第一定位信息和原始地图确定割草机的工作地图,服务器根据工作地图确定割草机的行驶路线。服务器将行驶路线向割草机发送,割草机接收行驶路线,并根据行驶路线进行割草。如此,有助于实现服务器对割草机的统一管控。In a possible example, the server obtains the sensor's detection information of the working environment and the original map of the working environment, the server determines the first positioning information of the obstacle based on the detection information, and the server determines the location of the lawn mower based on the first positioning information and the original map. Working map, the server determines the driving route of the lawnmower based on the working map. The server sends the driving route to the lawnmower, and the lawnmower receives the driving route and mows the grass according to the driving route. In this way, it helps to achieve unified management and control of the lawn mower by the server.
在一个可能的示例中,服务器获取传感器对作业环境的检测信息和作业环境的原始地图,服务器根据检测信息确定障碍物的第一定位信息,并向割草机发送第一定位信息和原始地图。割草机接收第一定位信息和原始地图,割草机根据第一定位信息和原始地图确定工作地图。如此,有助于减轻服务器端的数据处理压力。In a possible example, the server obtains the sensor's detection information of the working environment and the original map of the working environment, determines the first positioning information of the obstacle based on the detection information, and sends the first positioning information and the original map to the lawnmower. The lawn mower receives the first positioning information and the original map, and the lawn mower determines the working map based on the first positioning information and the original map. In this way, it helps to reduce the data processing pressure on the server side.
在一个可能的示例中,服务器获取传感器对作业环境的检测信息和作业 环境的原始地图,并向割草机发送检测信息和原始地图。割草机根据检测信息确定障碍物的第一定位信息,割草机根据第一定位信息和原始地图确定工作地图,割草机根据工作地图确定行驶路线。如此,有助于进一步减轻服务器端的数据处理压力。In a possible example, the server obtains the sensor's detection information of the operating environment and the job The original map of the environment and sends detection information and the original map to the lawnmower. The lawn mower determines the first positioning information of the obstacle based on the detection information, the lawn mower determines the working map based on the first positioning information and the original map, and the lawn mower determines the driving route based on the working map. In this way, it helps to further reduce the data processing pressure on the server side.
在一个可能的示例中,割草机获取传感器对作业环境的检测信息和作业环境的原始地图,割草机根据检测信息确定障碍物的第一定位信息,割草机根据第一定位信息和原始地图确定工作地图,割草机根据工作地图确定行驶路线。如此,有助于减少割草机与服务器之间的交互次数,有助于降低网络通信因素对割草机的影响。In a possible example, the lawn mower obtains the sensor's detection information of the working environment and the original map of the working environment. The lawn mower determines the first positioning information of the obstacle based on the detection information. The lawn mower determines the first positioning information of the obstacle based on the first positioning information and the original map. The map determines the working map, and the lawn mower determines the driving route based on the working map. In this way, it helps to reduce the number of interactions between the lawn mower and the server, and helps reduce the impact of network communication factors on the lawn mower.
在一个可能的示例中,所述检测信息包括第一时间对应的第一子检测信息和第二时间对应的第二子检测信息,上述步骤102,根据所述检测信息确定所述障碍物的第一定位信息,可以包括如下步骤:In a possible example, the detection information includes first sub-detection information corresponding to the first time and second sub-detection information corresponding to the second time. In the above step 102, the third sub-detection information of the obstacle is determined based on the detection information. Certain positioning information can include the following steps:
步骤1021、根据所述第一子检测信息和所述第二子检测信息,确定所述障碍物是否发生位移;Step 1021: Determine whether the obstacle is displaced based on the first sub-detection information and the second sub-detection information;
步骤1022、在所述障碍物发生位移的情况下,将所述障碍物对应的类型确定为动态障碍物;Step 1022: When the obstacle is displaced, determine the corresponding type of the obstacle as a dynamic obstacle;
步骤1023、根据所述第一子检测信息和所述第二子检测信息,对所述障碍物的位置进行预测,得到预测位置;Step 1023: Predict the position of the obstacle based on the first sub-detection information and the second sub-detection information to obtain the predicted position;
步骤1024、将所述预测位置和当前位置确定为所述动态障碍物的所述第一定位信息。Step 1024: Determine the predicted position and the current position as the first positioning information of the dynamic obstacle.
具体实现中,若第一时间在第二时间之前,可根据第一子检测信息确定所述障碍物的历史位置,根据第二子检测信息确定障碍物的当前位置。反之,若第二时间在第一时间之前,则根据第二子检测信息确定所述障碍物的历史位置,根据第一子检测信息确定障碍物的当前位置。In specific implementation, if the first time is before the second time, the historical location of the obstacle can be determined based on the first sub-detection information, and the current location of the obstacle can be determined based on the second sub-detection information. On the contrary, if the second time is before the first time, the historical position of the obstacle is determined based on the second sub-detection information, and the current position of the obstacle is determined based on the first sub-detection information.
若历史位置和当前位置不一致,则可确定障碍物发生位移。在障碍物发生位移的情况下,将障碍物对应的类型确定为动态障碍物。由于动态障碍物在下一时刻仍有可能继续发生位移,因此,可以对动态障碍物在下一时刻的位置进行预测,并将预测位置和当前位置共同作为动态障碍物的第一定位信 息。如此,不仅考虑到动态障碍物的当前位置,还将预测位置也纳入考虑范围,在割草机进行割草作业时,若动态障碍物在下一时刻发生位移,能够帮助割草机对动态障碍物进行精确避让。If the historical position is inconsistent with the current position, it can be determined that the obstacle has been displaced. When the obstacle is displaced, the corresponding type of the obstacle is determined as a dynamic obstacle. Since the dynamic obstacle may still continue to move at the next moment, the position of the dynamic obstacle at the next moment can be predicted, and the predicted position and the current position together are used as the first positioning information of the dynamic obstacle. interest. In this way, not only the current position of the dynamic obstacle is taken into account, but also the predicted position is also taken into consideration. When the lawn mower is mowing, if the dynamic obstacle is displaced at the next moment, it can help the lawn mower to move to the dynamic obstacle. Perform precise avoidance.
进一步地,可以间隔预定时间执行步骤1021,预定时间可以是5秒、10秒、30秒、1分钟、3分钟、5分钟、7分钟、10分钟等,如此,有助于实现动态障碍物的精准定位,进而有助于割草机对动态障碍物的精准避让。Further, step 1021 can be executed at a predetermined time interval. The predetermined time can be 5 seconds, 10 seconds, 30 seconds, 1 minute, 3 minutes, 5 minutes, 7 minutes, 10 minutes, etc., which helps to realize the dynamic obstacle detection. Accurate positioning helps the lawnmower accurately avoid dynamic obstacles.
可选地,在上述步骤1024,将所述预测位置和当前位置确定为所述动态障碍物的所述第一定位信息之后,所述方法还可以包括如下步骤:Optionally, after the above-mentioned step 1024 determines the predicted position and the current position as the first positioning information of the dynamic obstacle, the method may further include the following steps:
步骤01、获取所述割草机的第二定位信息和运动信息,所述运动信息包括以下至少一项:所述割草机的当前运动速度、运动加速度和车轮偏转角度。Step 01. Obtain the second positioning information and motion information of the lawn mower. The motion information includes at least one of the following: the current motion speed, motion acceleration and wheel deflection angle of the lawn mower.
步骤02、根据所述第二定位信息和所述运动信息,确定所述割草机的行驶路线。Step 02: Determine the driving route of the lawn mower based on the second positioning information and the motion information.
步骤03、根据所述第一定位信息和所述行驶路线,确定所述割草机与所述动态障碍物是否相遇。Step 03: Determine whether the lawn mower meets the dynamic obstacle based on the first positioning information and the driving route.
步骤04、若所述割草机与所述动态障碍物相遇,则确定所述割草机与所述动态障碍物的相遇时间。Step 04: If the lawn mower meets the dynamic obstacle, determine the encounter time between the lawn mower and the dynamic obstacle.
步骤05、若所述相遇时间小于或等于预设的时长阈值,则向所述割草机发送避让信息。Step 05: If the encounter time is less than or equal to the preset duration threshold, send avoidance information to the lawn mower.
其中,上述预设的时长阈值可以是根据割草机的当前运动速度、运动加速度、割草机与障碍物的距离等因素综合设定,在此不做限定。The above-mentioned preset duration threshold can be comprehensively set based on factors such as the current movement speed of the lawn mower, movement acceleration, the distance between the lawn mower and the obstacle, and is not limited here.
具体实现中,可以通过割草机的运动速度、运动加速度和车轮偏转角度确定割草机对应的行驶路线。若割草机的行驶路线与动态障碍物的定位信息重叠,也即是说,割草机可能与动态障碍物相遇,且相遇时间小于或等于预设的时长阈值,此时服务器可向割草机发送避让信息,以控制割草机对障碍物进行避让。In specific implementation, the corresponding driving route of the lawn mower can be determined based on the movement speed, movement acceleration and wheel deflection angle of the lawn mower. If the driving route of the lawn mower overlaps with the positioning information of the dynamic obstacle, that is to say, the lawn mower may encounter the dynamic obstacle, and the encounter time is less than or equal to the preset duration threshold, then the server can send instructions to the lawn mower. The machine sends avoidance information to control the lawnmower to avoid obstacles.
若割草机的行驶路线与动态障碍物的定位信息不重叠,则无需向割草机发送避让信息,割草机可按照行驶路线继续行驶。If the driving route of the lawn mower does not overlap with the positioning information of the dynamic obstacle, there is no need to send avoidance information to the lawn mower, and the lawn mower can continue driving along the driving route.
若割草机与动态障碍物的相遇时间大于预设的时长阈值,考虑到动态障 碍物的定位信息仍有可能发生变化,此时可以向与服务器通信的客户端发送告警信息,对用户进行提示,用户可根据实际情况对割草机进行控制。若用户未对割草机的行驶路线进行调整,则可待割草机与动态障碍物的相遇时间小于或等于预设的时长阈值时,再由服务器向割草机发送避让信息,控制割草机进行避障。If the encounter time between the lawnmower and the dynamic obstacle is greater than the preset time threshold, the dynamic obstacle will be considered The positioning information of the obstruction may still change. At this time, alarm information can be sent to the client communicating with the server to prompt the user, and the user can control the lawn mower according to the actual situation. If the user does not adjust the driving route of the lawn mower, the server can wait until the encounter time between the lawn mower and the dynamic obstacle is less than or equal to the preset time threshold, and then the server will send avoidance information to the lawn mower to control the lawn mowing. machine to avoid obstacles.
进一步地,在同一作业环境中存在多个割草机同时进行作业的情况下,也可同理适用本实施例中的避障方案,此时可在服务器端执行本申请实施例提供的路径规划方法。对于某一割草机而言,在同一作业环境中的其余割草机相当于动态障碍物,在多个割草机的行驶路线重叠时,服务器可控制其中一个或多个割草机进行避让。如此,在确保割草机割草效果的同时,相较于在割草机端执行本申请实施例提供的路径规划方法,在服务器端执行本申请实施例提供的路径规划方法还有助于减少服务器的数据计算量。Furthermore, when there are multiple lawn mowers working simultaneously in the same operating environment, the obstacle avoidance solution in this embodiment can also be applied in the same way. In this case, the path planning provided by the embodiment of this application can be executed on the server side. method. For a certain lawn mower, other lawn mowers in the same operating environment are equivalent to dynamic obstacles. When the driving routes of multiple lawn mowers overlap, the server can control one or more of the lawn mowers to avoid them. . In this way, while ensuring the cutting effect of the lawn mower, compared with executing the path planning method provided by the embodiment of the present application on the lawn mower side, executing the path planning method provided by the embodiment of the present application on the server side also helps to reduce the number of The amount of data calculation on the server.
可以看出,本申请实施例中,电子设备可获取割草机的第二定位信息和运动信息,运动信息包括以下至少一项:割草机的当前运动速度、运动加速度和车轮偏转角度,根据第二定位信息和运动信息,确定割草机的行驶路线,根据第一定位信息和行驶路线,确定割草机与动态障碍物是否相遇,若割草机与动态障碍物相遇,则确定割草机与动态障碍物的相遇时间,若相遇时间小于或等于预设的时长阈值,则向割草机发送避让信息;如此,在确保避障准确性的同时,还有助于确保割草效果,优化用户体验。It can be seen that in the embodiment of the present application, the electronic device can obtain the second positioning information and motion information of the lawn mower. The motion information includes at least one of the following: the current motion speed, motion acceleration and wheel deflection angle of the lawn mower. According to The second positioning information and motion information are used to determine the driving route of the lawn mower. Based on the first positioning information and the driving route, it is determined whether the lawn mower meets a dynamic obstacle. If the lawn mower meets a dynamic obstacle, it is determined whether the lawn mower is to be mowered. The encounter time between the machine and the dynamic obstacle is determined. If the encounter time is less than or equal to the preset duration threshold, avoidance information is sent to the lawn mower; in this way, while ensuring the accuracy of obstacle avoidance, it also helps ensure the mowing effect. Optimize user experience.
在一个可能的示例中,上述步骤102,根据所述检测信息确定所述障碍物的第一定位信息可以包括如下步骤:In a possible example, the above step 102, determining the first positioning information of the obstacle based on the detection information may include the following steps:
步骤1025、在所述障碍物未发生位移的情况下,将所述障碍物对应的所述类型确定为静态障碍物。Step 1025: If the obstacle does not shift, determine the type corresponding to the obstacle as a static obstacle.
步骤1026、将所述当前位置确定为所述静态障碍物的所述第一定位信息。Step 1026: Determine the current position as the first positioning information of the static obstacle.
具体实现中,由前文可知,若障碍物的历史位置和当前位置一致,则可确定障碍物未发生位移。在障碍物发生位移的情况下,将障碍物对应的类型确定为静态障碍物。由于静态障碍物在下一时刻发生位移的可能性较小,因此,可直接将静态障碍物的当前位置作为第一定位信息。如此,有助于确保 割草机的工作地图覆盖较大范围,尽可能对较大范围的区域进行割草,有助于确保割草效果。In specific implementation, as can be seen from the above, if the historical position of the obstacle is consistent with the current position, it can be determined that the obstacle has not been displaced. When the obstacle is displaced, the corresponding type of the obstacle is determined as a static obstacle. Since the static obstacle is less likely to be displaced at the next moment, the current position of the static obstacle can be directly used as the first positioning information. This helps ensure The working map of the lawn mower covers a large area, and mowing a large area as much as possible helps ensure the mowing effect.
在一个可能的示例中,所述第一子检测信息和所述第二子检测信息均为图像信息,上述步骤1021,根据所述第一子检测信息和所述第二子检测信息,确定所述障碍物是否发生位移,可以包括如下步骤:In a possible example, both the first sub-detection information and the second sub-detection information are image information, and the above-mentioned step 1021 determines the first sub-detection information and the second sub-detection information. Determining whether the obstacle has shifted may include the following steps:
步骤10211、根据所述图像信息生成检测图像。Step 10211: Generate a detection image according to the image information.
步骤10212、将所述检测图像划分为至少一个区域。Step 10212: Divide the detection image into at least one area.
步骤10213、对于当前区域,确定所述第一子检测信息对应的检测图像的第一色相值和第一明度值。Step 10213: For the current area, determine the first hue value and the first brightness value of the detection image corresponding to the first sub-detection information.
步骤10214、确定所述第二子检测信息对应的检测图像的第二色相值和第二明度值。Step 10214: Determine the second hue value and the second brightness value of the detection image corresponding to the second sub-detection information.
步骤10215、根据所述第一色相值、所述第二色相值、所述第一明度值和所述第二明度值确定所述障碍物是否发生位移。Step 10215: Determine whether the obstacle is displaced based on the first hue value, the second hue value, the first brightness value, and the second brightness value.
需要说明地,本申请实施例通过检测图像的色相值和明度值进行处理,判断障碍物是否发生位移,因此上述检测图像应为彩色图像。It should be noted that the embodiment of the present application processes the hue value and brightness value of the detected image to determine whether the obstacle has been displaced, so the above detected image should be a color image.
具体实现中,根据图像信息生成检测图像后,将检测图像划分为一个或多个区域。若将检测图像划分为多个区域,可以是对检测图像进行平均划分,也可以是根据原始地图中指示的作业环境的地形对检测图像进行划分,使得一个区域内的检测图像均为同一地形,此处不对划分方式进行唯一限定。进一步地,若根据地形对检测图像进行划分,划分的区域大小应合理设定,如此有助于确保障碍物类型的准确判定。In specific implementation, after the detection image is generated according to the image information, the detection image is divided into one or more areas. If the detection image is divided into multiple areas, the detection image can be divided equally, or the detection image can be divided according to the terrain of the working environment indicated in the original map, so that the detection images in one area are all the same terrain. The division method is not uniquely limited here. Furthermore, if the detection image is divided according to the terrain, the size of the divided areas should be set reasonably, which will help ensure accurate determination of obstacle types.
可以理解地,对于任一区域来说,若区域内的物体均未发生位移,则前后时刻的检测信息,即第一子检测信息和第二子检测信息,对应的色相值和明度值不会发生太大改变,且对于使用割草机的场合,草坪的绿色背景使得在草坪中的障碍物更容易被识别,因此,根据第一色相值、第二色相值、第一明度值和第二明度值确定障碍物是否发生位移,有助于确保判定结果的准确性,从而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障。It can be understood that for any area, if no object in the area is displaced, the detection information at the previous and next moments, that is, the first sub-detection information and the second sub-detection information, the corresponding hue value and brightness value will not be has changed too much, and for situations where a lawn mower is used, the green background of the lawn makes it easier to identify obstacles in the lawn. Therefore, according to the first hue value, the second hue value, the first brightness value and the second The brightness value determines whether the obstacle has displaced, which helps ensure the accuracy of the determination result, thereby helping to ensure the accurate positioning of the obstacle and helping the lawn mower achieve accurate and flexible obstacle avoidance.
在一个可能的示例中,上述步骤10215,根据所述第一色相值、所述第二 色相值、所述第一明度值和所述第二明度值,确定所述障碍物是否发生位移,可以包括如下步骤:In a possible example, in the above step 10215, according to the first hue value, the second The hue value, the first brightness value and the second brightness value are used to determine whether the obstacle is displaced, which may include the following steps:
步骤102151、根据所述第一色相值和所述第二色相值,确定色相值对应的第一变化比例;Step 102151: Determine the first change ratio corresponding to the hue value according to the first hue value and the second hue value;
步骤102152、根据所述第一明度值和所述第二明度值,确定明度值对应的第二变化比例;Step 102152: Determine the second change ratio corresponding to the brightness value based on the first brightness value and the second brightness value;
步骤102153、根据所述第一变化比例、所述第二变化比例和预设权重,确定所述当前区域对应的相对变化值;Step 102153: Determine the relative change value corresponding to the current area according to the first change ratio, the second change ratio and the preset weight;
步骤102154、在所述相对变化值大于预设阈值的情况下,确定所述障碍物发生位移;Step 102154: If the relative change value is greater than the preset threshold, determine that the obstacle has been displaced;
步骤102155、在所述相对变化值小于或等于所述预设阈值的情况下,确定所述障碍物未发生位移。Step 102155: If the relative change value is less than or equal to the preset threshold, determine that the obstacle has not been displaced.
其中,上述相对变化值的预设阈值可以是用户设定的,也可以是电子设备根据作业环境的主要颜色、作业环境所在地的天气、作业环境的地形等因素综合设定的,在此不做限定。Among them, the above-mentioned preset threshold of the relative change value can be set by the user, or can be comprehensively set by the electronic device based on the main color of the working environment, the weather of the working environment, the terrain of the working environment and other factors, which will not be discussed here. limited.
其中,上述预设权重可以是用户或研发人员设定的,也可以是电子设备根据作业环境的主要颜色、作业环境所在地的天气、作业环境的地形等因素综合设定的,在此不做限定。Among them, the above-mentioned preset weights can be set by users or R&D personnel, or can be comprehensively set by electronic equipment based on factors such as the main color of the working environment, the weather of the working environment, the terrain of the working environment, etc., which are not limited here. .
具体实现中,考虑到割草机的作业环境中出现最多的颜色为绿色,而绿色是障碍物(例如活体动物、石块等)少有的颜色,若当前区域在上一时刻的检测图像中未出现物体A,而当前时刻的检测图像中出现物体A,则当前区域色相值的第一变化比例较大。因此,可以通过当前区域色相值的第一变化比例对障碍物类型进行初步判断,且由此还可以得出,第一变化比例对应的权重应大于第二变化比例对应的权重。进一步地,考虑到在当前区域的检测图像中出现障碍物时,当前区域对应的明度值也会发生改变,因此还可以通过明度值对应的第二变化比例对障碍物类型进行辅助判定。In the specific implementation, considering that the most common color in the working environment of the lawn mower is green, and green is a rare color of obstacles (such as living animals, stones, etc.), if the current area is in the detection image at the previous moment If object A does not appear, but object A appears in the detection image at the current moment, the first change ratio of the hue value of the current area is larger. Therefore, the obstacle type can be initially judged by the first change ratio of the hue value of the current area, and it can also be concluded that the weight corresponding to the first change ratio should be greater than the weight corresponding to the second change ratio. Furthermore, considering that when an obstacle appears in the detection image of the current area, the brightness value corresponding to the current area will also change, therefore the obstacle type can also be assisted to determine the obstacle type through the second change ratio corresponding to the brightness value.
以第一时间在第二时间之前为例,第一时间(n-1)对应第一子检测信息,第一子检测信息对应检测图像中当前区域x的第一色相值P(n-1)(x)和第一明度值 Q(n-1)(x),第二时间(n)对应第二子检测信息,第二子检测信息对应检测图像中当前区域x的第二色相值P(n)(x)和第二明度值Q(n)(x)。色相值对应的第一变化比例为明度值对应的第二变化比例为第一变化比例α对应的权重为第二变化比例β对应的权重为当前区域x的相对变化值γ可以通过如下方式确定:其中 Taking the first time before the second time as an example, the first time (n-1) corresponds to the first sub-detection information, and the first sub-detection information corresponds to the first hue value P (n-1) of the current area x in the detection image. (x) and the first lightness value Q (n-1) (x), the second time (n) corresponds to the second sub-detection information, and the second sub-detection information corresponds to the second hue value P (n) (x) of the current area x in the detection image and the second Lightness value Q (n) (x). The first change ratio corresponding to the hue value is The second change ratio corresponding to the brightness value is The weight corresponding to the first change ratio α is The weight corresponding to the second change ratio β is The relative change value γ of the current area x can be determined as follows: in
可以理解地,在当前区域存在动态障碍物时,当前区域对应的第一变化比例和/或第二变化比例较大,相对变化值大于预设阈值。因此,在相对变化值大于预设阈值的情况下,可以认为当前区域存在障碍物且障碍物发生位移。反之,在当前区域不存在障碍物或障碍物为静态障碍物时,当前区域对应的第一变化比例和/或第二变化比例较小,相对变化值小于或等于预设阈值。因此,在相对变化值小于或等于预设阈值的情况下,可以认为当前区域不存在障碍物或障碍物未发生位移。It can be understood that when there is a dynamic obstacle in the current area, the first change ratio and/or the second change ratio corresponding to the current area is larger, and the relative change value is greater than the preset threshold. Therefore, when the relative change value is greater than the preset threshold, it can be considered that there is an obstacle in the current area and the obstacle is displaced. On the contrary, when there is no obstacle in the current area or the obstacle is a static obstacle, the first change ratio and/or the second change ratio corresponding to the current area is small, and the relative change value is less than or equal to the preset threshold. Therefore, when the relative change value is less than or equal to the preset threshold, it can be considered that there is no obstacle in the current area or that the obstacle has not been displaced.
此外,还可以将当前区域的饱和度纳入相对变化值的考虑范畴。例如,对于当前区域,确定第一子检测信息对应的检测图像的第一饱和度值和第二子检测信息对应的检测图像的第二饱和度值,确定饱和度值对应的第三变化比例δ,根据第一变化比例α、第二变化比例β、第三变化比例δ和预设权重,确定当前区域对应的相对变化值: In addition, the saturation of the current area can be taken into account in the relative change value. For example, for the current area, determine the first saturation value of the detection image corresponding to the first sub-detection information and the second saturation value of the detection image corresponding to the second sub-detection information, and determine the third change ratio δ corresponding to the saturation value. , determine the relative change value corresponding to the current area based on the first change ratio α, the second change ratio β, the third change ratio δ and the preset weight:
可以看出,本申请实施例中,电子设备可根据第一色相值和第二色相值,确定色相值对应的第一变化比例,根据第一明度值和第二明度值,确定明度值对应的第二变化比例,根据第一变化比例、第二变化比例和预设权重,确定当前区域对应的相对变化值,在相对变化值大于预设阈值的情况下,确定障碍物发生位移,在相对变化值小于或等于预设阈值的情况下,确定障碍物未发生位移,如此,通过当前区域的相对变化值判定障碍物是否发生位移,有助于确保判定结果的准确性,从而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障。 It can be seen that in the embodiment of the present application, the electronic device can determine the first change ratio corresponding to the hue value based on the first hue value and the second hue value, and determine the first change ratio corresponding to the brightness value based on the first brightness value and the second brightness value. The second change ratio determines the relative change value corresponding to the current area based on the first change ratio, the second change ratio and the preset weight. When the relative change value is greater than the preset threshold, it is determined that the obstacle has been displaced. After the relative change When the value is less than or equal to the preset threshold, it is determined that the obstacle has not displaced. In this way, determining whether the obstacle has displaced through the relative change value of the current area helps to ensure the accuracy of the determination result, thereby helping to ensure that the The accurate positioning of obstacles helps the lawn mower achieve precise and flexible obstacle avoidance.
可选地,在上述步骤101,获取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图之前,所述方法还包括如下步骤:Optionally, before obtaining the detection information of the working environment by the sensor and the original map of the working environment in the above step 101, the method further includes the following steps:
步骤A01、获取所述传感器的角度检测信息。Step A01: Obtain the angle detection information of the sensor.
步骤A02、根据所述角度检测信息,确定所述传感器的检测角度是否异常。Step A02: Determine whether the detection angle of the sensor is abnormal based on the angle detection information.
步骤A03、在所述检测角度发生异常的情况下,生成对应的提示信息并将所述提示信息向客户端设备发送。Step A03: When the detection angle is abnormal, generate corresponding prompt information and send the prompt information to the client device.
步骤A04、在所述检测角度未发生异常的情况下,获取所述传感器对所述作业环境的所述检测信息。Step A04: If no abnormality occurs in the detection angle, obtain the detection information of the working environment by the sensor.
其中,上述角度检测信息可以用于表征传感器的检测角度。可以通过多个传感器相互监控的方式确定每一传感器的检测角度,也可以是传感器通过检测作业环境中的标志物体来确定其检测角度。The above angle detection information can be used to characterize the detection angle of the sensor. The detection angle of each sensor can be determined by multiple sensors monitoring each other, or the sensor can determine its detection angle by detecting landmark objects in the working environment.
可以理解地,安装在草坪护栏上的摄像头的拍摄角度可能发生偏移,安装在电线杆上的雷达信号发射角度可能发生偏移,因此在获取传感器的检测信息之前,可以先确保传感器的检测角度未发生异常。进一步地,传感器的检测角度仅是稍微发生偏移的情况下,仍可认为其检测角度未发生异常。在传感器的角度偏移幅度大于幅度阈值的情况下,才认为传感器的检测角度发生异常。Understandably, the shooting angle of the camera installed on the lawn guardrail may deviate, and the radar signal emission angle installed on the utility pole may deviate. Therefore, before obtaining the detection information of the sensor, you can first ensure the detection angle of the sensor. No exception occurred. Furthermore, when the detection angle of the sensor is only slightly shifted, it can still be considered that the detection angle is not abnormal. When the angular deviation amplitude of the sensor is greater than the amplitude threshold, the detection angle of the sensor is considered abnormal.
具体实现中,上述幅度阈值可以通过检测作业环境中的标志物体来确定,例如,传感器的检测角度偏移过大时,其最初的检测范围内物体B则无法被检测到,可以将物体B作为传感器检测角度的标志物体,当传感器无法检测到标志物体时,则可认为传感器的角度偏移幅度大于幅度阈值。In specific implementation, the above amplitude threshold can be determined by detecting landmark objects in the working environment. For example, when the detection angle of the sensor deviates too much, object B cannot be detected within its initial detection range. Object B can be used as The sensor detects an angular landmark object. When the sensor cannot detect the landmark object, it can be considered that the angular offset amplitude of the sensor is greater than the amplitude threshold.
上述客户端设备可与所述电子设备通信连接,在传感器的检测角度发生异常的情况下,电子设备生成对应的提示信息向客户端设备发送,以提示用户对该传感器进行检查,确保传感器的检测角度无误。The above-mentioned client device can communicate with the electronic device. When the detection angle of the sensor is abnormal, the electronic device generates corresponding prompt information and sends it to the client device to prompt the user to check the sensor to ensure the detection of the sensor. The angle is correct.
可以看出,本申请实施方式中,电子设备可获取传感器的角度检测信息,角度检测信息用于表征传感器的检测角度,根据角度检测信息,确定传感器的检测角度是否异常,在检测角度发生异常的情况下,生成对应的提示信息并将提示信息向客户端设备发送,客户端设备与电子设备通信连接,在检测 角度未发生异常的情况下,获取传感器对作业环境的检测信息和作业环境的原始地图;如此,在检测角度未发生异常时才获取传感器的检测信息,有助于确保传感器检测结果的准确性,进而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障。It can be seen that in the embodiment of the present application, the electronic device can obtain the angle detection information of the sensor. The angle detection information is used to characterize the detection angle of the sensor. Based on the angle detection information, it is determined whether the detection angle of the sensor is abnormal. When the detection angle is abnormal, In this case, corresponding prompt information is generated and sent to the client device. The client device communicates with the electronic device and detects When there is no abnormality in the angle, the sensor's detection information of the working environment and the original map of the working environment are obtained. In this way, the sensor's detection information is only obtained when there is no abnormality in the detection angle, which helps to ensure the accuracy of the sensor detection results. This in turn helps ensure accurate positioning of obstacles and helps the lawn mower achieve accurate and flexible obstacle avoidance.
与上述图1B所示的实施例一致地,请参阅图2,图2是本申请实施例提供的一种割草机的路径规划方法的流程示意图,应用于如图1A所示的电子设备,电子设备可以是服务器,也可以是割草机;本割草机的路径规划方法包括:Consistent with the above embodiment shown in Figure 1B, please refer to Figure 2. Figure 2 is a schematic flowchart of a path planning method for a lawnmower provided by an embodiment of the present application, applied to the electronic device shown in Figure 1A, The electronic device can be a server or a lawn mower; the path planning method of this lawn mower includes:
步骤201、获取所述传感器的角度检测信息,所述角度检测信息用于表征所述传感器的检测角度。Step 201: Obtain angle detection information of the sensor, where the angle detection information is used to characterize the detection angle of the sensor.
步骤202、根据所述角度检测信息,确定所述传感器的检测角度是否异常。Step 202: Determine whether the detection angle of the sensor is abnormal based on the angle detection information.
步骤203、在所述检测角度发生异常的情况下,生成对应的提示信息并将所述提示信息向客户端设备发送,所述客户端设备与所述电子设备通信连接;Step 203: When the detection angle is abnormal, generate corresponding prompt information and send the prompt information to the client device, and the client device is communicatively connected to the electronic device;
步骤204、在所述检测角度未发生异常的情况下,获取所述传感器对作业环境的所述检测信息和所述作业环境的原始地图,所述传感器设置于所述割草机的所述作业环境中,所述作业环境为所述割草机进行割草作业的环境,所述检测信息用于表征所述作业环境中存在的障碍物,所述原始地图用于表征所述作业环境的地形。Step 204: Under the condition that no abnormality occurs in the detection angle, obtain the detection information of the working environment by the sensor and the original map of the working environment. The sensor is arranged on the working area of the lawn mower. In the environment, the working environment is an environment where the lawn mower performs lawn mowing operations, the detection information is used to characterize obstacles existing in the working environment, and the original map is used to characterize the terrain of the working environment. .
步骤205、根据所述检测信息确定所述障碍物的第一定位信息。Step 205: Determine the first positioning information of the obstacle based on the detection information.
步骤206、根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图。Step 206: Determine a working map of the lawn mower based on the first positioning information and the original map.
步骤207、根据所述工作地图确定所述割草机的行驶路线。Step 207: Determine the driving route of the lawn mower according to the working map.
其中,上述步骤201-步骤207的具体描述可以参照上述图1B所描述的割草机的路径规划方法的相应步骤,在此不再赘述。The specific description of the above-mentioned steps 201 to 207 may refer to the corresponding steps of the path planning method of the lawn mower described in FIG. 1B , and will not be described again here.
可以看出,本申请实施例中所描述的割草机的路径规划方法,传感器设置于割草机的作业环境中,电子设备可获取所述传感器的角度检测信息,所述角度检测信息用于表征所述传感器的检测角度,根据所述角度检测信息,确定所述传感器的检测角度是否异常,在所述检测角度发生异常的情况下,生成对应的提示信息并将所述提示信息向客户端设备发送,所述客户端设备 与所述电子设备通信连接,在所述检测角度未发生异常的情况下,获取所述传感器对所述作业环境的所述检测信息和所述作业环境的原始地图,所述检测信息用于表征所述作业环境中存在的障碍物,所述原始地图用于表征所述作业环境的地形,根据所述检测信息确定所述障碍物的第一定位信息,根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图,根据所述工作地图确定所述割草机的行驶路线;如此,将传感器设置于作业环境中,确保传感器处于相对平稳的环境状态中,有助于确保传感器检测结果的准确性,且在传感器的检测角度未发生异常时获取传感器的检测信息,有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障,同时,平稳的环境状态也有助于降低传感器的故障率,帮助降低割草机的使用成本,优化用户体验。It can be seen that in the path planning method of the lawn mower described in the embodiment of the present application, the sensor is arranged in the working environment of the lawn mower, and the electronic device can obtain the angle detection information of the sensor, and the angle detection information is used for Characterizing the detection angle of the sensor, determining whether the detection angle of the sensor is abnormal based on the angle detection information, and generating corresponding prompt information and sending the prompt information to the client if the detection angle is abnormal. device sends, the client device Communicatively connected with the electronic device, and when no abnormality occurs in the detection angle, the detection information of the working environment by the sensor and the original map of the working environment are obtained, and the detection information is used to characterize Obstacles existing in the working environment, the original map is used to characterize the terrain of the working environment, the first positioning information of the obstacle is determined based on the detection information, and the first positioning information and the The original map determines the working map of the lawn mower, and determines the driving route of the lawn mower based on the working map; in this way, setting the sensor in the operating environment ensures that the sensor is in a relatively stable environmental state, which helps It ensures the accuracy of the sensor detection results and obtains the sensor detection information when there is no abnormality in the sensor detection angle, which helps to ensure the accurate positioning of obstacles and helps the lawn mower achieve accurate and flexible obstacle avoidance. At the same time, it can smoothly Environmental status also helps reduce sensor failure rates, helps reduce the cost of lawn mower use, and optimizes user experience.
与上述实施例一致地,请参阅图3,图3是本申请实施例提供的一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器及存储在所述存储器上的计算机程序或指令,其中,上述计算机程序或指令被存储在上述存储器中,并且被配置为由上述处理器执行。电子设备还可以包括通信接口。本申请实施例中,上述程序包括用于执行以下步骤的指令:Consistent with the above embodiments, please refer to Figure 3. Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory and data stored on the memory. Computer programs or instructions, wherein the above computer programs or instructions are stored in the above memory and configured to be executed by the above processor. The electronic device may also include a communication interface. In the embodiment of this application, the above program includes instructions for performing the following steps:
获取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图,所述传感器设置于所述割草机的所述作业环境中,所述作业环境为所述割草机进行割草作业的环境,所述检测信息用于表征所述作业环境中存在的障碍物,所述原始地图用于表征所述作业环境的地形;Obtain the detection information of the working environment by the sensor and the original map of the working environment. The sensor is arranged in the working environment of the lawn mower, and the working environment is for the lawn mower to mow. The environment for grass work, the detection information is used to characterize the obstacles existing in the working environment, and the original map is used to characterize the terrain of the working environment;
根据所述检测信息确定所述障碍物的第一定位信息;Determine the first positioning information of the obstacle based on the detection information;
根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图;Determine a working map of the lawn mower based on the first positioning information and the original map;
根据所述工作地图确定所述割草机的行驶路线。The driving route of the lawn mower is determined based on the working map.
可以看出,本申请实施例中所描述的电子设备,传感器设置于割草机的作业环境中,电子设备可获取传感器对作业环境的检测信息,检测信息用于表征作业环境中存在的障碍物,根据检测信息确定障碍物的第一定位信息,获取作业环境的原始地图,原始地图用于表征作业环境的地形,根据第一定位信息和原始地图,确定割草机的工作地图,根据工作地图确定割草机的行 驶路线;如此,将传感器设置于作业环境中,确保传感器处于相对平稳的环境状态中,有助于确保传感器检测结果的准确性,进而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障,同时,平稳的环境状态也有助于降低传感器的故障率,帮助降低割草机的使用成本,优化用户体验。It can be seen that in the electronic device described in the embodiment of the present application, the sensor is installed in the working environment of the lawn mower. The electronic device can obtain the detection information of the working environment by the sensor, and the detection information is used to characterize obstacles existing in the working environment. , determine the first positioning information of the obstacle based on the detection information, and obtain the original map of the working environment. The original map is used to characterize the terrain of the working environment. According to the first positioning information and the original map, determine the working map of the lawn mower. According to the working map Determine the row of lawn mowers driving route; in this way, setting the sensor in the operating environment ensures that the sensor is in a relatively stable environmental state, which helps to ensure the accuracy of the sensor detection results, which in turn helps ensure the accurate positioning of obstacles and helps the lawn mower It achieves accurate and flexible obstacle avoidance. At the same time, the stable environmental state also helps reduce the failure rate of sensors, helps reduce the cost of using the lawn mower, and optimizes the user experience.
在一个可能的示例中,所述检测信息包括第一时间对应的第一子检测信息和第二时间对应的第二子检测信息,在所述根据所述检测信息确定所述障碍物的第一定位信息方面,上述程序包括用于执行以下步骤的指令:In a possible example, the detection information includes first sub-detection information corresponding to the first time and second sub-detection information corresponding to the second time. When the first sub-detection information of the obstacle is determined based on the detection information, In terms of positioning information, the above procedure includes instructions for performing the following steps:
根据所述第一子检测信息和所述第二子检测信息,确定所述障碍物是否发生位移;Determine whether the obstacle is displaced according to the first sub-detection information and the second sub-detection information;
在所述障碍物发生位移的情况下,将所述障碍物对应的类型确定为动态障碍物;When the obstacle is displaced, determine the corresponding type of the obstacle as a dynamic obstacle;
根据所述第一子检测信息和所述第二子检测信息,对所述障碍物的位置进行预测,得到预测位置;Predict the position of the obstacle according to the first sub-detection information and the second sub-detection information to obtain a predicted position;
将所述预测位置和当前位置确定为所述动态障碍物的所述第一定位信息。The predicted position and the current position are determined as the first positioning information of the dynamic obstacle.
在一个可能的示例中,在所述根据所述检测信息确定所述障碍物的第一定位信息方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of determining the first positioning information of the obstacle based on the detection information, the above program includes instructions for performing the following steps:
在所述障碍物未发生位移的情况下,将所述障碍物对应的所述类型确定为静态障碍物;When the obstacle does not shift, determine the type corresponding to the obstacle as a static obstacle;
将所述当前位置确定为所述静态障碍物的所述第一定位信息。The current position is determined as the first positioning information of the static obstacle.
在一个可能的示例中,所述第一子检测信息和所述第二子检测信息均为图像信息,在所述根据所述第一子检测信息和所述第二子检测信息,确定所述障碍物是否发生位移方面,上述程序包括用于执行以下步骤的指令:In a possible example, both the first sub-detection information and the second sub-detection information are image information, and in the step of determining the first sub-detection information and the second sub-detection information, the In terms of whether the obstacle is displaced, the above program includes instructions for performing the following steps:
根据所述图像信息生成检测图像;Generate a detection image according to the image information;
将所述检测图像划分为至少一个区域;Divide the detection image into at least one area;
对于当前区域,确定所述第一子检测信息对应的检测图像的第一色相值和第一明度值;For the current area, determine the first hue value and the first brightness value of the detection image corresponding to the first sub-detection information;
确定所述第二子检测信息对应的检测图像的第二色相值和第二明度值;Determine the second hue value and the second brightness value of the detection image corresponding to the second sub-detection information;
根据所述第一色相值、所述第二色相值、所述第一明度值和所述第二明 度值,确定所述障碍物是否发生位移。According to the first hue value, the second hue value, the first brightness value and the second brightness value degree value to determine whether the obstacle has been displaced.
在一个可能的示例中,在所述根据所述第一色相值、所述第二色相值、所述第一明度值和所述第二明度值,确定所述障碍物是否发生位移方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of determining whether the obstacle is displaced based on the first hue value, the second hue value, the first brightness value, and the second brightness value, the above-mentioned The program includes instructions for performing the following steps:
根据所述第一色相值和所述第二色相值,确定色相值对应的第一变化比例;Determine a first change ratio corresponding to the hue value according to the first hue value and the second hue value;
根据所述第一明度值和所述第二明度值,确定明度值对应的第二变化比例;Determine a second change ratio corresponding to the brightness value according to the first brightness value and the second brightness value;
根据所述第一变化比例、所述第二变化比例和预设权重,确定所述当前区域对应的相对变化值;Determine the relative change value corresponding to the current area according to the first change ratio, the second change ratio and the preset weight;
在所述相对变化值大于预设阈值的情况下,确定所述障碍物发生位移;When the relative change value is greater than the preset threshold, it is determined that the obstacle is displaced;
在所述相对变化值小于或等于所述预设阈值的情况下,确定所述障碍物未发生位移。If the relative change value is less than or equal to the preset threshold, it is determined that the obstacle has not been displaced.
在一个可能的示例中,在所述获取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图之前,上述程序还包括用于执行以下步骤的指令:In a possible example, before obtaining the detection information of the working environment by the sensor and the original map of the working environment, the above program further includes instructions for performing the following steps:
获取所述传感器的角度检测信息,所述角度检测信息用于表征所述传感器的检测角度;Obtain angle detection information of the sensor, where the angle detection information is used to characterize the detection angle of the sensor;
根据所述角度检测信息,确定所述传感器的检测角度是否异常;Determine whether the detection angle of the sensor is abnormal according to the angle detection information;
在所述检测角度发生异常的情况下,生成对应的提示信息并将所述提示信息向客户端设备发送,所述客户端设备与所述电子设备通信连接;When the detection angle is abnormal, generate corresponding prompt information and send the prompt information to a client device, and the client device is communicatively connected to the electronic device;
在所述检测角度未发生异常的情况下,获取所述传感器对所述作业环境的所述检测信息。When there is no abnormality in the detection angle, the detection information of the working environment by the sensor is obtained.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式 来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that, in order to implement the above functions, it includes hardware structures and/or software modules corresponding to each function. Persons skilled in the art should easily realize that, with the units and algorithm steps of each example described in conjunction with the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is driven by hardware or computer software to be implemented depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。Embodiments of the present application can divide functional units according to the above method examples. For example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above integrated units can be implemented in the form of hardware or software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.
与上述实施例一致地,请参阅图4A,图4A是本申请实施例提供的一种割草机路径规划装置的功能单元组成框图,所述装置400应用于电子设备,电子设备可以是服务器,也可以是割草机;所述装置400包括:获取单元401和确定单元402,其中,Consistent with the above embodiment, please refer to Figure 4A. Figure 4A is a functional unit block diagram of a lawnmower path planning device provided by an embodiment of the present application. The device 400 is applied to electronic equipment, and the electronic equipment can be a server. It can also be a lawn mower; the device 400 includes: an acquisition unit 401 and a determination unit 402, wherein,
所述获取单元401,用于取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图,所述检测信息用于表征所述作业环境中存在的障碍物,所述原始地图用于表征所述作业环境的地形;The acquisition unit 401 is used to obtain the detection information of the working environment by the sensor and the original map of the working environment. The detection information is used to characterize obstacles existing in the working environment. The original map Terrain used to characterize the operating environment;
所述确定单元402,用于根据所述检测信息确定所述障碍物的第一定位信息;The determining unit 402 is configured to determine the first positioning information of the obstacle according to the detection information;
所述确定单元402,还用于根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图;The determining unit 402 is also configured to determine a working map of the lawn mower based on the first positioning information and the original map;
所述确定单元402,还用于根据所述工作地图确定所述割草机的行驶路线。The determining unit 402 is also used to determine the driving route of the lawn mower according to the working map.
可以看出,本申请实施例中所描述的割草机路径规划装置,传感器设置于割草机的作业环境中,获取传感器对作业环境的检测信息,检测信息用于表征作业环境中存在的障碍物,根据检测信息确定障碍物的第一定位信息,获取作业环境的原始地图,原始地图用于表征作业环境的地形,根据第一定位信息和原始地图,确定割草机的工作地图,根据工作地图确定割草机的行驶路线;如此,将传感器设置于作业环境中,确保传感器处于相对平稳的环境状态中,有助于确保传感器检测结果的准确性,进而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障,同时,平稳的环境状态也有助 于降低传感器的故障率,帮助降低割草机的使用成本,优化用户体验。It can be seen that in the lawn mower path planning device described in the embodiment of the present application, the sensor is installed in the working environment of the lawn mower to obtain the detection information of the working environment by the sensor, and the detection information is used to characterize obstacles existing in the working environment. object, determine the first positioning information of the obstacle based on the detection information, and obtain the original map of the working environment. The original map is used to characterize the terrain of the working environment. Based on the first positioning information and the original map, the working map of the lawn mower is determined. According to the working The map determines the driving route of the lawn mower; in this way, setting the sensor in the working environment to ensure that the sensor is in a relatively stable environmental state helps ensure the accuracy of the sensor detection results, which in turn helps ensure the accuracy of obstacles. positioning to help the lawnmower achieve precise and flexible obstacle avoidance. At the same time, the stable environmental state also helps It is used to reduce the failure rate of sensors, help reduce the cost of using lawn mowers, and optimize user experience.
在一个可能的示例中,所述检测信息包括第一时间对应的第一子检测信息和第二时间对应的第二子检测信息,在所述根据所述检测信息确定所述障碍物的第一定位信息方面,所述确定单元402具体用于:In a possible example, the detection information includes first sub-detection information corresponding to the first time and second sub-detection information corresponding to the second time. When the first sub-detection information of the obstacle is determined based on the detection information, In terms of positioning information, the determining unit 402 is specifically used to:
根据所述第一子检测信息和所述第二子检测信息,确定所述障碍物是否发生位移;Determine whether the obstacle is displaced according to the first sub-detection information and the second sub-detection information;
在所述障碍物发生位移的情况下,将所述障碍物对应的类型确定为动态障碍物;When the obstacle is displaced, determine the corresponding type of the obstacle as a dynamic obstacle;
根据所述第一子检测信息和所述第二子检测信息,对所述障碍物的位置进行预测,得到预测位置;Predict the position of the obstacle according to the first sub-detection information and the second sub-detection information to obtain a predicted position;
将所述预测位置和当前位置确定为所述动态障碍物的所述第一定位信息。The predicted position and the current position are determined as the first positioning information of the dynamic obstacle.
在一个可能的示例中,在所述根据所述检测信息确定所述障碍物的第一定位信息方面,所述确定单元402具体用于:In a possible example, in determining the first positioning information of the obstacle based on the detection information, the determining unit 402 is specifically configured to:
在所述障碍物未发生位移的情况下,将所述障碍物对应的所述类型确定为静态障碍物;When the obstacle does not shift, determine the type corresponding to the obstacle as a static obstacle;
将所述当前位置确定为所述静态障碍物的所述第一定位信息。The current position is determined as the first positioning information of the static obstacle.
在一个可能的示例中,所述第一子检测信息和所述第二子检测信息均为图像信息,在所述根据所述第一子检测信息和所述第二子检测信息,确定所述障碍物是否发生位移方面,所述确定单元402具体用于:In a possible example, both the first sub-detection information and the second sub-detection information are image information, and in the step of determining the first sub-detection information and the second sub-detection information, the In terms of whether the obstacle is displaced, the determining unit 402 is specifically used to:
根据所述图像信息生成检测图像;Generate a detection image according to the image information;
将所述检测图像划分为至少一个区域;Divide the detection image into at least one area;
对于当前区域,确定所述第一子检测信息对应的检测图像的第一色相值和第一明度值;For the current area, determine the first hue value and the first brightness value of the detection image corresponding to the first sub-detection information;
确定所述第二子检测信息对应的检测图像的第二色相值和第二明度值;Determine the second hue value and the second brightness value of the detection image corresponding to the second sub-detection information;
根据所述第一色相值、所述第二色相值、所述第一明度值和所述第二明度值,确定所述障碍物是否发生位移。Whether the obstacle is displaced is determined based on the first hue value, the second hue value, the first brightness value, and the second brightness value.
在一个可能的示例中,在所述根据所述第一色相值、所述第二色相值、所述第一明度值和所述第二明度值,确定所述障碍物是否发生位移方面,所 述确定单元402具体用于:In a possible example, in determining whether the obstacle is displaced based on the first hue value, the second hue value, the first brightness value, and the second brightness value, The determination unit 402 is specifically used for:
根据所述第一色相值和所述第二色相值,确定色相值对应的第一变化比例;Determine a first change ratio corresponding to the hue value according to the first hue value and the second hue value;
根据所述第一明度值和所述第二明度值,确定明度值对应的第二变化比例;Determine a second change ratio corresponding to the brightness value according to the first brightness value and the second brightness value;
根据所述第一变化比例、所述第二变化比例和预设权重,确定所述当前区域对应的相对变化值;Determine the relative change value corresponding to the current area according to the first change ratio, the second change ratio and the preset weight;
在所述相对变化值大于预设阈值的情况下,确定所述障碍物发生位移;When the relative change value is greater than the preset threshold, it is determined that the obstacle is displaced;
在所述相对变化值小于或等于所述预设阈值的情况下,确定所述障碍物未发生位移。If the relative change value is less than or equal to the preset threshold, it is determined that the obstacle has not been displaced.
在一个可能的示例中,如图4B所示,与上述图4A相比较,装置400还可包括:生成单元404,其中,In a possible example, as shown in Figure 4B, compared with the above-mentioned Figure 4A, the device 400 may further include: a generating unit 404, wherein,
所述获取单元401,还用于获取所述传感器的角度检测信息,所述角度检测信息用于表征所述传感器的检测角度;The acquisition unit 401 is also used to acquire angle detection information of the sensor, where the angle detection information is used to characterize the detection angle of the sensor;
所述确定单元402,还用于根据所述角度检测信息,确定所述传感器的检测角度是否异常;The determination unit 402 is also configured to determine whether the detection angle of the sensor is abnormal based on the angle detection information;
所述生成单元404,还用于在所述检测角度发生异常的情况下,生成对应的提示信息并将所述提示信息向客户端设备发送,所述客户端设备与所述电子设备通信连接;The generating unit 404 is also configured to generate corresponding prompt information and send the prompt information to a client device when the detection angle is abnormal, and the client device is communicatively connected with the electronic device;
所述获取单元401,还用于在所述检测角度未发生异常的情况下,获取所述传感器对所述作业环境的所述检测信息。The acquisition unit 401 is also configured to acquire the detection information of the working environment by the sensor when no abnormality occurs in the detection angle.
可以看出,本申请实施例提供的割草机路径规划装置,传感器设置于割草机的作业环境中,割草机路径规划装置可获取传感器对作业环境的检测信息,检测信息用于表征作业环境中存在的障碍物,根据检测信息确定障碍物的第一定位信息,获取作业环境的原始地图,原始地图用于表征作业环境的地形,根据第一定位信息和原始地图,确定割草机的工作地图,根据工作地图确定割草机的行驶路线,向割草机发送行驶路线;如此,将传感器设置于作业环境中,确保传感器处于相对平稳的环境状态中,有助于确保传感器检 测结果的准确性,进而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障,同时,平稳的环境状态也有助于降低传感器的故障率,帮助降低割草机的使用成本,优化用户体验。It can be seen that in the lawn mower path planning device provided by the embodiment of the present application, the sensor is arranged in the working environment of the lawn mower. The lawn mower path planning device can obtain the detection information of the working environment from the sensor, and the detection information is used to characterize the operation. For obstacles existing in the environment, the first positioning information of the obstacle is determined based on the detection information, and the original map of the working environment is obtained. The original map is used to characterize the terrain of the working environment, and the lawnmower is determined based on the first positioning information and the original map. Work map, determine the driving route of the lawn mower based on the work map, and send the driving route to the lawn mower; in this way, setting the sensor in the working environment ensures that the sensor is in a relatively stable environmental state, which helps to ensure that the sensor detects The accuracy of the measurement results will help ensure the accurate positioning of obstacles and help the lawn mower achieve accurate and flexible obstacle avoidance. At the same time, a stable environmental state will also help reduce the failure rate of the sensor and help reduce the use of the lawn mower. cost and optimize user experience.
可以理解的是,本实施例的割草机路径规划装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each program module of the lawn mower path planning device of this embodiment can be specifically implemented according to the method in the above method embodiment, and the specific implementation process can refer to the relevant description of the above method embodiment, which is not included here. Again.
与上述实施例一致地,请参阅图5,图5是本申请实施例提供的一种割草机的路径规划系统500的示意图,系统500包括传感器501、服务器502和割草机503,其中,传感器501设置于割草机503的作业环境中,作业环境为割草机503进行割草作业的环境,传感器501用于对作业环境进行检测,得到检测信息,检测信息用于表征作业环境中存在的障碍物;服务器502与传感器501通信连接,服务器502用于获取检测信息和作业环境的原始地图,原始地图用于表征作业环境的地形;及用于根据检测信息确定障碍物的第一定位信息;及用于根据第一定位信息和原始地图,确定割草机503的工作地图;以及用于根据工作地图确定割草机503的行驶路线;割草机503与服务器502通信连接,割草机503用于接收服务器502发送的行驶路线。Consistent with the above embodiments, please refer to Figure 5 , which is a schematic diagram of a lawnmower path planning system 500 provided by an embodiment of the present application. The system 500 includes a sensor 501, a server 502 and a lawnmower 503, where, The sensor 501 is installed in the working environment of the lawn mower 503. The working environment is the environment in which the lawn mower 503 performs lawn mowing operations. The sensor 501 is used to detect the working environment and obtain detection information. The detection information is used to characterize the presence in the working environment. obstacles; the server 502 is communicatively connected with the sensor 501, and the server 502 is used to obtain the detection information and the original map of the working environment, and the original map is used to represent the terrain of the working environment; and is used to determine the first positioning information of the obstacle based on the detection information. ; and used to determine the working map of the lawn mower 503 based on the first positioning information and the original map; and used to determine the driving route of the lawn mower 503 based on the working map; the lawn mower 503 is connected to the server 502 through communication, and the lawn mower 503 communicates with the server 502. 503 is used to receive the driving route sent by the server 502.
可以看出,本申请实施例的路径规划系统中,将传感器设置于割草机的作业环境中,通过服务器获取传感器对作业环境的检测信息,检测信息用于表征作业环境中存在的障碍物,根据检测信息确定障碍物的第一定位信息,并获取作业环境的原始地图,原始地图用于表征作业环境的地形,服务器根据第一定位信息和原始地图确定割草机的工作地图,并根据工作地图确定割草机的行驶路线,割草机接收服务器发送的行驶路线;如此,将传感器设置于作业环境中,确保传感器处于相对平稳的环境状态中,有助于确保传感器检测结果的准确性,进而有助于确保对障碍物的准确定位,帮助割草机实现精准灵活避障,同时,平稳的环境状态也有助于降低传感器的故障率,帮助降低割草机的使用成本,优化用户体验。It can be seen that in the path planning system of the embodiment of the present application, the sensor is installed in the working environment of the lawn mower, and the detection information of the working environment by the sensor is obtained through the server. The detection information is used to characterize obstacles existing in the working environment. Determine the first positioning information of the obstacle based on the detection information, and obtain the original map of the working environment. The original map is used to characterize the terrain of the working environment. The server determines the working map of the lawn mower based on the first positioning information and the original map, and obtains the working map of the lawn mower based on the working environment. The map determines the driving route of the lawn mower, and the lawn mower receives the driving route sent by the server; in this way, setting the sensor in the operating environment ensures that the sensor is in a relatively stable environmental state, which helps ensure the accuracy of the sensor detection results. This in turn helps ensure the accurate positioning of obstacles and helps the lawn mower achieve accurate and flexible obstacle avoidance. At the same time, a stable environmental state also helps reduce the failure rate of the sensor, helps reduce the cost of using the lawn mower, and optimizes the user experience.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方 法实施例中记载的任一方法的部分或全部步骤。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute the above method. Some or all steps of any method described in the method examples.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括计算机程序,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。Embodiments of the present application also provide a computer program product. The computer program product includes a computer program, and the computer program is operable to cause the computer to execute some or all of the steps of any method described in the above method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the sake of simple description, the foregoing method embodiments are expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with this application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily necessary for this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, each embodiment is described with its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other divisions. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申 请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, this application The technical solution requested is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions to enable A computer device (which can be a personal computer, a server or a network device, etc.) executes all or part of the steps of the above methods in various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable memory. The memory can include: a flash disk. , read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。 The embodiments of the present application have been introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and the core idea of the present application; at the same time, for Those of ordinary skill in the art will have changes in the specific implementation and application scope based on the ideas of the present application. In summary, the content of this description should not be understood as a limitation of the present application.

Claims (10)

  1. 一种割草机的路径规划方法,其特征在于,所述方法包括:A path planning method for a lawn mower, characterized in that the method includes:
    获取传感器对作业环境的检测信息和所述作业环境的原始地图,所述传感器设置于所述割草机的所述作业环境中,所述作业环境为所述割草机进行割草作业的环境,所述检测信息用于表征所述作业环境中存在的障碍物,所述原始地图用于表征所述作业环境的地形;Obtain the detection information of the working environment by the sensor and the original map of the working environment. The sensor is arranged in the working environment of the lawn mower, and the working environment is the environment in which the lawn mower performs lawn mowing operations. , the detection information is used to characterize the obstacles existing in the working environment, and the original map is used to characterize the terrain of the working environment;
    根据所述检测信息确定所述障碍物的第一定位信息;Determine the first positioning information of the obstacle based on the detection information;
    根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图;Determine a working map of the lawn mower based on the first positioning information and the original map;
    根据所述工作地图确定所述割草机的行驶路线。The driving route of the lawn mower is determined based on the working map.
  2. 根据权利要求1所述的方法,其特征在于,所述检测信息包括第一时间对应的第一子检测信息和第二时间对应的第二子检测信息,所述根据所述检测信息确定所述障碍物的第一定位信息,包括:The method according to claim 1, characterized in that the detection information includes first sub-detection information corresponding to the first time and second sub-detection information corresponding to the second time, and the said detection information is determined based on the detection information. The first positioning information of the obstacle includes:
    根据所述第一子检测信息和所述第二子检测信息,确定所述障碍物是否发生位移;Determine whether the obstacle is displaced according to the first sub-detection information and the second sub-detection information;
    在所述障碍物发生位移的情况下,将所述障碍物对应的类型确定为动态障碍物;When the obstacle is displaced, determine the corresponding type of the obstacle as a dynamic obstacle;
    根据所述第一子检测信息和所述第二子检测信息,对所述障碍物的位置进行预测,得到预测位置;Predict the position of the obstacle according to the first sub-detection information and the second sub-detection information to obtain a predicted position;
    将所述预测位置和当前位置确定为所述动态障碍物的所述第一定位信息。The predicted position and the current position are determined as the first positioning information of the dynamic obstacle.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述检测信息确定所述障碍物的第一定位信息,包括:The method of claim 2, wherein determining the first positioning information of the obstacle based on the detection information includes:
    在所述障碍物未发生位移的情况下,将所述障碍物对应的所述类型确定为静态障碍物;When the obstacle does not shift, determine the type corresponding to the obstacle as a static obstacle;
    将所述当前位置确定为所述静态障碍物的所述第一定位信息。The current position is determined as the first positioning information of the static obstacle.
  4. 根据权利要求2所述的方法,其特征在于,所述第一子检测信息和所 述第二子检测信息均为图像信息,所述根据所述第一子检测信息和所述第二子检测信息,确定所述障碍物是否发生位移,包括:The method according to claim 2, characterized in that the first sub-detection information and the The second sub-detection information is all image information, and determining whether the obstacle is displaced based on the first sub-detection information and the second sub-detection information includes:
    根据所述图像信息生成检测图像;Generate a detection image according to the image information;
    将所述检测图像划分为至少一个区域;Divide the detection image into at least one area;
    对于当前区域,确定所述第一子检测信息对应的检测图像的第一色相值和第一明度值;For the current area, determine the first hue value and the first brightness value of the detection image corresponding to the first sub-detection information;
    确定所述第二子检测信息对应的检测图像的第二色相值和第二明度值;Determine the second hue value and the second brightness value of the detection image corresponding to the second sub-detection information;
    根据所述第一色相值、所述第二色相值、所述第一明度值和所述第二明度值,确定所述障碍物是否发生位移。Whether the obstacle is displaced is determined based on the first hue value, the second hue value, the first brightness value, and the second brightness value.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述第一色相值、所述第二色相值、所述第一明度值和所述第二明度值,确定所述障碍物是否发生位移,包括:The method according to claim 4, characterized in that, determining whether the obstacle is based on the first hue value, the second hue value, the first brightness value and the second brightness value. Displacements occur, including:
    根据所述第一色相值和所述第二色相值,确定色相值对应的第一变化比例;Determine a first change ratio corresponding to the hue value according to the first hue value and the second hue value;
    根据所述第一明度值和所述第二明度值,确定明度值对应的第二变化比例;Determine a second change ratio corresponding to the brightness value according to the first brightness value and the second brightness value;
    根据所述第一变化比例、所述第二变化比例和预设权重,确定所述当前区域对应的相对变化值;Determine the relative change value corresponding to the current area according to the first change ratio, the second change ratio and the preset weight;
    在所述相对变化值大于预设阈值的情况下,确定所述障碍物发生位移;When the relative change value is greater than the preset threshold, it is determined that the obstacle is displaced;
    在所述相对变化值小于或等于所述预设阈值的情况下,确定所述障碍物未发生位移。If the relative change value is less than or equal to the preset threshold, it is determined that the obstacle has not been displaced.
  6. 根据权利要求1所述的方法,其特征在于,应用于电子设备,在所述获取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图之前,所述方法还包括:The method according to claim 1, characterized in that, applied to electronic equipment, before obtaining the detection information of the working environment by the sensor and the original map of the working environment, the method further includes:
    获取所述传感器的角度检测信息,所述角度检测信息用于表征所述传感器的检测角度; Obtain angle detection information of the sensor, where the angle detection information is used to characterize the detection angle of the sensor;
    根据所述角度检测信息,确定所述传感器的检测角度是否异常;Determine whether the detection angle of the sensor is abnormal according to the angle detection information;
    在所述检测角度发生异常的情况下,生成对应的提示信息并将所述提示信息向客户端设备发送,所述客户端设备与所述电子设备通信连接;When the detection angle is abnormal, generate corresponding prompt information and send the prompt information to a client device, and the client device is communicatively connected to the electronic device;
    在所述检测角度未发生异常的情况下,获取所述传感器对所述作业环境的所述检测信息。When there is no abnormality in the detection angle, the detection information of the working environment by the sensor is obtained.
  7. 一种割草机的路径规划系统,其特征在于,所述系统包括:A path planning system for a lawnmower, characterized in that the system includes:
    传感器,所述传感器设置于割草机的作业环境中,所述作业环境为所述割草机进行割草作业的环境,所述传感器用于对所述作业环境进行检测,得到检测信息,所述检测信息用于表征所述作业环境中存在的障碍物;Sensor, the sensor is arranged in the working environment of the lawn mower, and the working environment is the environment in which the lawn mower performs lawn mowing operations. The sensor is used to detect the working environment and obtain detection information, so The detection information is used to characterize obstacles existing in the working environment;
    服务器,所述服务器与所述传感器通信连接,所述服务器用于获取所述检测信息和所述作业环境的原始地图,所述原始地图用于表征所述作业环境的地形;及用于根据所述检测信息确定所述障碍物的第一定位信息;及用于根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图;以及用于根据所述工作地图确定所述割草机的行驶路线;A server, the server is communicatively connected to the sensor, the server is used to obtain the detection information and the original map of the working environment, the original map is used to characterize the terrain of the working environment; and the server is used to obtain the detection information and the original map of the working environment; The detection information determines the first positioning information of the obstacle; and is used to determine the working map of the lawn mower according to the first positioning information and the original map; and is used to determine the working map of the lawn mower according to the working map. Describe the driving route of the lawn mower;
    割草机,所述割草机与所述服务器通信连接,所述割草机用于接收所述服务器发送的所述行驶路线。A lawn mower, the lawn mower is communicatively connected to the server, and the lawn mower is used to receive the driving route sent by the server.
  8. 一种割草机路径规划装置,其特征在于,所述装置包括:获取单元和确定单元,其中,A lawnmower path planning device, characterized in that the device includes: an acquisition unit and a determination unit, wherein,
    所述获取单元,用于获取所述传感器对所述作业环境的检测信息和所述作业环境的原始地图,所述传感器设置于所述割草机的所述作业环境中,所述作业环境为所述割草机进行割草作业的环境,所述检测信息用于表征所述作业环境中存在的障碍物,所述原始地图用于表征所述作业环境的地形;The acquisition unit is used to acquire the detection information of the working environment by the sensor and the original map of the working environment. The sensor is arranged in the working environment of the lawn mower, and the working environment is The environment in which the lawn mower performs lawn mowing operations, the detection information is used to characterize obstacles existing in the operating environment, and the original map is used to characterize the terrain of the operating environment;
    所述确定单元,用于根据所述检测信息确定所述障碍物的第一定位信息;The determining unit is configured to determine the first positioning information of the obstacle based on the detection information;
    所述确定单元,还用于根据所述第一定位信息和所述原始地图,确定所述割草机的工作地图;The determining unit is also configured to determine a working map of the lawn mower based on the first positioning information and the original map;
    所述确定单元,还用于根据所述工作地图确定所述割草机的行驶路线。 The determining unit is also used to determine the driving route of the lawn mower according to the working map.
  9. 一种电子设备,其特征在于,包括处理器、存储器,所述存储器用于存储一个或多个程序,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-6任一项所述的方法中的步骤的指令。An electronic device, characterized by comprising a processor and a memory, the memory being used to store one or more programs and configured to be executed by the processor, the program including being used to execute claims 1-6 Instructions for steps in any of the methods described.
  10. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-6任一项所述的方法中的步骤的指令。 A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute instructions for steps in the method according to any one of claims 1-6.
PCT/CN2023/087548 2022-04-18 2023-04-11 Path planning method of mower and related device WO2023202423A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210405406.2A CN114690783A (en) 2022-04-18 2022-04-18 Path planning method of mower and related device
CN202210405406.2 2022-04-18

Publications (1)

Publication Number Publication Date
WO2023202423A1 true WO2023202423A1 (en) 2023-10-26

Family

ID=82143100

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/087548 WO2023202423A1 (en) 2022-04-18 2023-04-11 Path planning method of mower and related device

Country Status (2)

Country Link
CN (1) CN114690783A (en)
WO (1) WO2023202423A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114690783A (en) * 2022-04-18 2022-07-01 松灵机器人(深圳)有限公司 Path planning method of mower and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111199565A (en) * 2018-11-16 2020-05-26 阿里巴巴集团控股有限公司 Data processing method, device, system, electronic equipment and storage medium
CN111426326A (en) * 2020-01-17 2020-07-17 深圳市镭神智能系统有限公司 Navigation method, device, equipment, system and storage medium
CN112703881A (en) * 2020-12-30 2021-04-27 格力博(江苏)股份有限公司 Intelligent mower, control method and system thereof and storage medium
US20210382476A1 (en) * 2020-06-05 2021-12-09 Scythe Robotics, Inc. Autonomous lawn mowing system
CN114690783A (en) * 2022-04-18 2022-07-01 松灵机器人(深圳)有限公司 Path planning method of mower and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111199565A (en) * 2018-11-16 2020-05-26 阿里巴巴集团控股有限公司 Data processing method, device, system, electronic equipment and storage medium
CN111426326A (en) * 2020-01-17 2020-07-17 深圳市镭神智能系统有限公司 Navigation method, device, equipment, system and storage medium
US20210382476A1 (en) * 2020-06-05 2021-12-09 Scythe Robotics, Inc. Autonomous lawn mowing system
CN112703881A (en) * 2020-12-30 2021-04-27 格力博(江苏)股份有限公司 Intelligent mower, control method and system thereof and storage medium
CN114690783A (en) * 2022-04-18 2022-07-01 松灵机器人(深圳)有限公司 Path planning method of mower and related device

Also Published As

Publication number Publication date
CN114690783A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US9682777B2 (en) System and method for controlling a remote aerial device for up-close inspection
EP2444919B1 (en) Method and apparatus for generating alerts
WO2023202423A1 (en) Path planning method of mower and related device
US20140324630A1 (en) System and method for delivering relevant, location-specific gis information to a mobile device
US20200239012A1 (en) Agricultural machine control method, device and system
BRPI1106214A2 (en) Method for adjusting speed of mobile machine, and mobile machine
WO2016097891A1 (en) Robotic vehicle for detecting gps shadow zones
EP4242771A1 (en) Automatic driving method, system and device for agricultural machinery and readable storage medium
CN111766862B (en) Obstacle avoidance control method and device, electronic equipment and computer readable storage medium
CN113296495B (en) Path forming method and device of self-mobile equipment and automatic working system
WO2016097897A1 (en) Robotic patrol vehicle
CA2874275A1 (en) Task supervising system and method thereof
CN109814137B (en) Positioning method, positioning device and computing equipment
EP3872740B1 (en) Assistance device and assistance method
US20210378172A1 (en) Mower positioning configuration system
WO2021078203A1 (en) Obstacle avoidance method for aircraft, and aircraft, flight system, and storage medium
JP6946217B2 (en) Field registration device
CN114394111B (en) Lane changing method for automatic driving vehicle
CN106920364A (en) Walking along the street method for early warning, device and terminal
US20210370960A1 (en) Systems and methods for monitoring an operation of one or more self-driving vehicles
JP7294323B2 (en) Moving body management device, moving body management system, moving body management method, and computer program
US20160202357A1 (en) Automatic connection to gnss data sources
CN113074955A (en) Method, apparatus, electronic device, and medium for controlling data acquisition
US20150228128A1 (en) System and method for generating a driving profile of a user
CN112154389A (en) Terminal device and data processing method thereof, unmanned aerial vehicle and control method thereof

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

Country of ref document: EP

Kind code of ref document: A1