Method, device and computer program for determining the movement or trajectory of a robot
Through the combination of Focus A*-search algorithm and machine learning system, the almost optimal path of the robot from the starting position to the target position is determined, solving the complex and computationally intensive problem of path selection in the existing technology, and achieving a more reliable and efficient Path planning and collaborative operations.
Patent Information
- Application Number
- CN202010076272.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-01-28
- Filing Date
- 2020-01-23
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-01-23
AI Technical Summary
It is difficult for existing robot control systems to effectively determine the best path for the robot from the starting position to the target position, especially when considering costs (such as time, energy consumption, shortest path, etc.), and the existing methods are computationally complex and cannot move used in real time applications.
Using the Focus A*-search algorithm combined with a machine learning system, by selecting subsequent positions from multiple pre-selected adjacent positions, and using a deep neural network to learn the local behavior probability of the robot, the almost optimal path is determined and generated by the optimal planner training data to replace the computationally intensive A*-search algorithm.
It achieves sub-optimal path selection under guaranteed cost standards, improves the reliability and accuracy of path prediction, and reduces computational complexity, allowing the robot to reach the target location more efficiently while avoiding collisions with other movable objects. And supports multi-robot collaborative operation.
Smart Images

Figure CN111546327B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for determining a movement or trajectory of a robot to reach a predeterminable target position. The invention also relates to a device and a computer program configured to carry out the method. Background Art
[0002] Unpublished DE 10 2017 217412.9 discloses a method for operating a robot control system, the robot control system comprising a machine learning system. The machine learning system determines the movement path of at least one object in the action space of the robot based on a map representing the action space of the robot.
[0003] Hart et al., in their publication “A formal basis for the heuristic determination of minimum cost paths”, IEEE transactions on Systems Science and Cybernetics An optimal planner is presented in 4.2 (1968), pages 100-107, which finds the path with minimum cost.
[0004] For example, Cohen et al., in their publication “Anytime focal search with applications”, In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, IJCAI-18, 1434–1441, disclose a suboptimal planner (focal A*-search algorithm) that provides solutions with guaranteed suboptimal constraints. Summary of the invention
[0005] In a first aspect, a method, in particular computer-implemented, for determining an action of a robot as a function of the actual position of the robot is proposed. To this end, a subsequent position is selected from a plurality of preselected adjacent positions (English: focal set). The subsequent position is the following adjacent position from the plurality of preselected adjacent positions, which is assigned the smallest first variable relative to the other preselected adjacent positions. The first variables respectively characterize a first probability of whether the robot moves, in particular from a predeterminable starting position, along the previous actual position of the robot via the actual position to the respective preselected adjacent position. In addition, a machine learning system is used, which is configured to output a plurality of second probabilities as output variables. The second probabilities respectively characterize the probability that the robot, starting from the actual position, respectively performs one of a plurality of possible actions. The machine learning system determines the output variables and assigns the respective first variable to the respective preselected adjacent position as a function of at least one output variable of the machine learning system. The action of the robot is selected from the plurality of possible actions so that when the robot performs the selected action, it reaches the subsequent position directly from the actual position.
[0006] An action may be understood as an action performed by an actuator of the robot. Alternatively, an action may be understood as a maneuver of the robot performed by the robot.
[0007] An adjacent position can be understood as a position that the robot can directly reach from its actual position, ie, a position that can be reached after performing a single action. The actual position can be a measured or calculated position.
[0008] The advantage of this method is that the selection of a suboptimal subsequent position based on the selection from preselected neighboring positions, which were preselected by means of a focused A* search algorithm, allows the robot to take a nearly optimal path, since the path determined by the focused A* search algorithm is suboptimal with respect to predeterminable (cost) criteria with guaranteed constraints (e.g. time, energy consumption, shortest path, etc.).
[0009] It is also advantageous that the output variable of the machine learning system is used as an heuristic and the machine learning system can learn the heuristic from the training data. In addition, the machine learning system can also learn generalized heuristics through teaching. Another advantage is that the machine learning system outputs a second probability that characterizes the local behavior of the robot. This is advantageous because it has been recognized that the machine learning system can predict the local behavior of the robot particularly accurately, thereby achieving more reliable heuristics.
[0010] It is also proposed to determine a total cost for each possible neighboring position of the actual position and assign it to the respective neighboring position. The neighboring positions are entered into a first list (English: open list) and the total cost is determined based on the first cost and the second cost. The first cost represents the cost that must be spent to reach the respective neighboring position from a predefined starting position of the robot, and the second cost represents the cost that must be spent to reach the predefined target position of the robot from the respective neighboring position. The second cost is estimated so that the second cost is always lower than the actual cost for reaching the target position from the respective neighboring position. The multiple preselected neighboring positions (English: focal set) are neighboring positions in the first list (English: open list) whose total cost is less than the determined minimum total cost multiplied by a predefined factor.
[0011] This has the advantage that, via the preselected neighboring positions, a movement / trajectory is found which is guaranteed not to be worse than the best solution multiplied by the predeterminable factor (English: focal value).
[0012] It is also proposed to determine the first probability as a function of other probabilities, which characterize whether the robot has reached the actual position, in particular starting from the predefinable starting position. This has the advantage that previous movements of the robot can be taken into account.
[0013] It is further proposed that, after a trajectory has been determined by means of the method of the first aspect, in particular according to the determined actions for reaching the target position, the predeterminable factor is reduced by a predeterminable value and the method is then executed again to determine a further trajectory. If no further trajectory is found, the already determined trajectory is used. It is advantageous here that the further trajectory is closer to the optimal trajectory with respect to the predeterminable (cost) criterion. For this purpose, the positions that have already been checked, including the determined costs of these positions, can advantageously be reused.
[0014] It is also proposed to determine actions separately for multiple robots. The machine learning system can be a deep neural network, which obtains a map with all actual positions of the robots as input variables. After a predeterminable layer of the deep neural network, the parts of the map around each actual position of the robot processed by means of the layers up to the predeterminable layer are used as input variables for subsequent layers of the predeterminable layer. The advantage is that by extracting the parts around each position of the robot, the machine learning system is invariant to the number of robots. In addition, it is not necessary to teach the machine learning system separately for each robot. It is also advantageous that the output variables of the machine learning system are consistent for all robots because these output variables are determined by the same machine learning system. Each part has a predefined size, preferably a square size.
[0015] It is also proposed to store the positions of other robots in addition to the actual position of the robot. Furthermore, in addition to the actual position, the actual positions of other movable objects (e.g. people or vehicles in the environment of the respective robot) can also be stored. It should be noted that the actual position enriched with additional information about the other movable objects can also be referred to as the actual state, i.e. the actual state comprises at least the actual position of the robot. The action of the robot is then also determined based on the additionally stored positions. This has the advantage that collisions with other movable objects can be avoided.
[0016] It is also proposed that the subsequent position of the robot is determined based on the actual state, i.e., the subsequent position is determined respectively starting from at least the actual positions of a plurality of robots from the actual state. This has the advantage that the robots can be operated jointly because the actual positions of the plurality of robots are jointly explored from the actual state.
[0017] It is also proposed to generate training data with the aid of an optimal planner, in particular an A* search algorithm, for determining a trajectory from a starting position and a target position, which is applied to a predeterminable problem instance. This allows the optimal planner to be simulated so that after the machine learning system has been taught, it can be replaced by the taught machine learning system. Since the optimal planner requires a lot of computing power, it cannot be used in mobile applications.
[0018] It is also proposed to determine the control variables depending on the movement or trajectory determined for the robot.
[0019] The determined control variables may be used by a control unit such that the control unit controls actuators of the robot depending on the control variables.
[0020] In another aspect, a computer program is provided. The computer program is configured to perform one of the aforementioned methods. The computer program comprises instructions, which, when the computer program is run on a computer, cause the computer to perform the method of the first aspect with all the steps. A machine-readable storage module is also provided, on which the computer program is stored. In addition, a device is provided, which is configured to perform the method of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Exemplary embodiments of the above-mentioned aspects are shown in the drawings and are explained in more detail in the following description.
[0022] Figure 1 A schematic diagram showing an information flow diagram of a trajectory planning system;
[0023] Figure 2 A schematic diagram showing the structure of a machine learning system for a trajectory planning system;
[0024] Figure 3 A schematic diagram showing a flow chart of an embodiment of a method for determining a motion or trajectory of a robot;
[0025] Figure 4 A schematic diagram illustrating a flow diagram of an embodiment for teaching a machine learning system;
[0026] Figure 5 A schematic diagram showing a flow chart of an embodiment for determining a trajectory using a search algorithm;
[0027] Figure 6 A schematic diagram of an embodiment of an apparatus is shown that can be used to teach a machine learning system. DETAILED DESCRIPTION
[0028] Figure 1 A schematic diagram of an information flow diagram 01 of a trajectory planning system 10 is shown. A map is provided as an input variable to the trajectory planning system 10, which determines at least one movement or trajectory T of the robot 11 based on the map, the actual position s of the robot 11 and a predeterminable target position Z. Figure 1 The map in schematically shows the environment of the robot 11, with objects displayed as black boxes on the map. The action or trajectory T is then provided to the robot 11, which can use it as a control variable. Advantageously, a predeterminable starting position of the robot 11 is additionally provided to the trajectory planning system 10, which is taken into account when determining the action a or trajectory T.
[0029] The actual position s and the target position Z are preferably entered on the map and, if necessary, the starting position is also entered. Figure 1 In the embodiment of , exemplarily all possible actions A of the robot 11 that can be performed by it according to the actual position s are entered in the map. For example, due to the spatial limitations caused by the objects entered on the map above the position s of the robot 11, this can be a forward, left or right action.
[0030] In another embodiment of the trajectory planning system 10, the trajectory planning system 10 is configured to determine the actions or trajectories of multiple robots, each robot, based on multiple actual positions. To this end, the respective actual positions A2 and the associated target positions A3 of the robots are preferably entered on the map.
[0031] The trajectory planning system 10 is particularly configured to execute the following Figure 3 The trajectory planning system 10 of the method includes at least one machine learning system ( Figure 1 ), the machine learning system determines at least one output variable based on the provided map. Figure 2 The machine learning system is explained in more detail in . In addition, the trajectory planning system 10 also includes a computing unit 101, on which a search algorithm, advantageously a focal A*-search algorithm, is executed. The search algorithm is used to determine a subsequent position from a plurality of possible, in particular preselected, adjacent positions based on an inspiration based on at least one output variable of the machine learning system. Starting from the subsequent position, the trajectory planning system 10 determines an action or trajectory T. It should be noted that the machine learning system can be implemented both in software and in hardware.
[0032] The trajectory planning system 10 also has a machine-readable storage element 102 on which commands are stored to determine actions or trajectories to be executed by the computing unit 101 .
[0033] Trajectory planning system 10 can be used, for example, for automatic valet parking (AVP) using a mobile agent. Trajectory planning system 10 determines the movements or trajectories for the mobile agent so that the mobile agent can pick up the vehicle and guide it to a free parking space (target location).
[0034] The trajectory planning system 10 can alternatively be used for a production robot, in which the movement of its robot arm is determined, for example, as a function of its actual position and its target position, or for route planning by means of a navigation system.
[0035] Figure 1A schematic diagram of a robot 11 is shown, which in this embodiment is provided by an at least partially autonomous vehicle 10. In another embodiment, the robot may be a maintenance robot, an installation robot or a stationary production robot, or alternatively an autonomous flying object such as a drone.
[0036] Figure 2 A schematic diagram of a machine learning system 20, which is represented here by a deep neural network, is shown. The machine learning system 20 receives the map or a part of the map as an input variable, which is processed in a first part 21 of the deep neural network by means of a plurality of convolution layers connected in series.
[0037] In the second part 22 of the neural network, the output variables of the first part of the neural network continue to be used, wherein parts of the output variables of the first part of the neural network, which respectively surround the actual position of the robot, are provided as input variables of the second part 22 of the neural network.
[0038] The second part of the neural network has two different paths (signals run), each of which is formed by fully connected layers. At the exit of one path, for each robot i There is a probability , and at the exit of the other path there is a future cost .
[0039] Probability It represents that the i-th robot 11 starts from its actual position s and performs one of the multiple possible actions A. The probability of future cost The costs that the respective robot 11 has to expend in order to reach the respective predeterminable target position Z starting from the respective preselected adjacent position are characterized.
[0040] In the case where only one robot is observed, only the part surrounding the actual position of this one robot is accordingly supplied as input variable to the second part of the neural network.
[0041] like Figure 2 As shown, the convolutional layers may each have 64 different filters, each with a dimension of 3x3. The neural network may have a bridge connection that provides an output variable of one of the layers of the first part of the neural network or an input variable (map) of the machine learning system by skipping at least one convolutional layer in at least one subsequent convolutional layer.
[0042] It can also be considered that the path in the first part 21 of the neural network is divided into two paths, and the first part 21 of the neural network outputs two output variables. Then the paths of the second part 22 of the neural network are respectively assigned to the paths of the first part 21, and a part of the output variables of the respective paths of the first part 21 of the neural network are respectively obtained as input variables.
[0043] In an alternative embodiment of the machine learning system 20, the machine learning system may also be configured to determine only the two output variables of the second part of the neural network. For example, one of the two paths of the second part of the neural network is deactivated.
[0044] Figure 3 A schematic diagram of a method 30 for determining an action a or a trajectory T is shown, which method is performed by trajectory planning system 10 , for example.
[0045] The method starts from step S31. In this step, Figure 2 The machine learning system 20 provides the map as an input variable. The machine learning system 20 determines its output variable based on the provided map In step S31, the machine learning system 20 is optionally taught with training data, and the map is then provided as an input variable to the taught machine learning system 20. It should be noted that in the following Figure 4 The teachings of the machine learning system 20 are explained in more detail in .
[0046] In the following step S32, a path, in particular a trajectory, is determined from a predefinable starting position, in particular the actual position of the robot, to a predefinable target position by means of a search algorithm, advantageously a focus A* search algorithm. In this case, the search algorithm decides which subsequent positions the robot should optimally assume as a function of at least one of the output variables of the machine learning system determined from step S31. In the process, one of the output variables of the machine learning system is used in each case as a heuristic for determining the subsequent position. Figure 5 This step is explained in detail in . From the determined subsequent positions, a path from the starting position to the target position is determined. A sequence of actions can then be determined based on the path, so that when the robot executes the sequence of actions, the robot moves along the determined path to the predeterminable target position. Based on the determined path or the sequence of actions, a trajectory T of the robot can be determined.
[0047] After step S32 is completed, step S33 is performed. Here, the robot 11 is controlled according to the movement or trajectory T determined from step S32. Preferably, the robot is controlled only with the first movement or the first part of the trajectory, and then step S32 is re-executed to be able to react to the changing environment if necessary.
[0048] Figure 4 A schematic diagram of a method 40 for teaching a machine learning system 20 is shown.
[0049] The method starts with the generation of training data in step S41. For this purpose, a plurality of problem examples are provided. The problem examples can be, for example, different maps of different environments in which the robot should move from a predeterminable starting position to a predeterminable target position. The movement of the robot should be optimal with respect to predeterminable cost criteria. The cost criteria can be, for example, time, energy consumption and / or distance covered.
[0050] Then, in step S42, the optimal path from the respective starting position to the associated target position is determined with respect to the cost criterion by means of an optimal planner, for example an A* search algorithm. Advantageously, problem instances in which the optimal planner cannot find any path are discarded.
[0051] From the optimal path from step S42, position-action pairs are formed whose relationship to the respectively assigned environment (of the respectively assigned map section) is learned by the machine learning system 20. In other words, the machine learning system learns a rule (English: policy) so that it can decide at which position s and given the environment of the position s by at least one map section, which action a of the robot should be optimally selected. Cost function This can be derived from the costs that the robot has to incur in order to reach the target position along the remaining optimal path starting from its actual position.
[0052] The position-action pairs and / or cost functions The combination of and the problem instances to which they belong is the training data.
[0053] In the subsequent step S43, the training data from step S42 is used to teach the machine learning system 20. The machine learning system 20 obtains the map of the problem instance as an input variable and is taught so that the machine learning system determines the output variable according to its input variable and the actual position of the robot and the starting position and target position of the robot. and . For this teaching, the position-action pairs and / or the costs derived from the trajectory determined in step S42 are used. During the teaching, parameters are set in the machine learning system 20 so that the output variables of the machine learning system match the corresponding ideal output variables from the training data. The parameter changes required for this purpose can be determined by means of a gradient descent method via a difference function (English: loss function) between the output variables of the machine learning system and the output variables of the training data. In order to teach the output variables , preferably using cross entropy as the difference function, and in order to teach the output variable , preferably using Norm as a difference function.
[0054] In optional step 44, the machine learning system is re-taught, for example if a new problem instance has been defined or the output variables of the machine learning system 20 are not accurate enough after step S42 is completed.
[0055] Figure 5 A schematic diagram of a method 50 for determining an action a or a trajectory T, in particular using a search algorithm, is shown.
[0056] The method starts in step S51. Here the actual position s of the robot is determined. t , such as taking measurements or reading from a provided map.
[0057] Next, in step S52, the actual position s t All possible neighboring positions of are entered into an open list, in particular as used in the A*-search algorithm.
[0058] In step S53, preferably according to an A*-search algorithm, a total cost is determined for each of the adjacent positions entered in the open list. f(n) Total cost f(n) The first cost and the second cost g(n), h(n) composition . First cost g(n) characterizes the process by which the robot 11 moves from the predeterminable starting position to the actual position s t The costs incurred to reach the respective adjacent position. Preferably, for this purpose, a cost is respectively assigned to each previous movement of the robot from the predeterminable starting position to the respective adjacent position, which costs are added together to form a first cost g(n) Second cost h (n) Characterizes the cost that the robot must spend in order to reach the predeterminable target position from the respective adjacent position. h(n)Preferably, the cost is determined by means of the Euclidean distance from the respective neighboring position to the predeterminable target position. Alternatively, the second cost can be determined by means of another heuristic, which must be subject to the condition that the actual cost from the respective neighboring position to the predeterminable target position is underestimated.
[0059] After the total costs have been determined for all neighboring positions from the list respectively, the lowest total cost minf(n) is determined.
[0060] In the subsequent step S54, all the following neighboring positions (English: focal set, focal group) are selected from the open list, whose total cost is less than the minimum total cost minf(n) multiplied by the factor .factor Preferably greater than 1.
[0061] Next, in step S55, further variables are determined for each neighboring position (English: focal set, focus group) selected from step S54. Preferably, other heuristics are used as in the case of the A*-focus search algorithm h F The further variables are determined, for which reference is made to the literature cited above.
[0062] There are two other heuristics that establish h F Possibility: As a first possibility, a cost function determined with the aid of the machine learning system 20 can be used As other inspiration h F .
[0063] Additionally or alternatively, the path probability P is used as another heuristic h F The path probability P characterizes the path of the robot 11 starting from the predeterminable starting position, in particular along the previous position via the actual position s t The probability of moving to the respective pre-selected adjacent position.
[0064] The path probability can be defined by the following equation:
[0065]
[0066] in is the occurrence probability, which is characterized by the probability that the robot passes through the kth position on its path with a total of T actions, The robot performs an action at the kth position The probability of is represented by the probability of .
[0067] The probability determined by the machine learning system 20 can be used To express equation (1):
[0068] .
[0069] To avoid distortion at the beginning of the path, formula (2) can be rewritten as:
[0070]
[0071] in |A| specifies the number of possible actions the robot can perform, t k Indicate the actual point in time.
[0072] With the help of other inspiration h F After the further variables have been determined for each selected neighboring position, the neighboring position to which the smallest further variable has been assigned is selected. This neighboring position with the smallest further variable is then the subsequent position that the robot should maneuver in order to reach the predefinable target position in the best possible manner with respect to the cost criterion. This neighboring position is then placed in a closed list, in particular a closed list used by an A* search algorithm, and is deleted from the open list.
[0073] In another exemplary embodiment, steps S52 to S55 are repeated multiple times until the predefinable target position is entered into the closed list and deleted from the open list.
[0074] It should be noted that after determining the path, further paths can be determined, wherein for this purpose the method 50 just described is carried out identically, but with the predefined factors Reduce the predeterminable value .
[0075] Figure 6 A method for teaching a machine learning system 20, in particular for executing Figure 4 Schematic diagram of a device 60 for performing the teaching steps of the method 40. The device 60 includes an optimal planner 61, a machine learning system 20 and a difference module 62. The difference module 62 is configured to use the difference function according to the output variables of the optimal planner 61 determined. and the output variable y of the machine learning system 20 to determine the difference, and determine the parameters of the machine learning system 20 from the difference Changes '.parameter stored in the database P and determined according to the difference module 62 'To be adapted.
[0076] The device 60 may have a machine-readable storage element ( 65 ) on which the method 40 is stored and a computing unit 64 for executing the method 40 .
Claims
1. A method for determining the movement of a robot (11) based on the actual position of the robot (11), wherein for each possible neighboring position of the actual position, a total cost is determined and assigned to the respective neighboring position, wherein the adjacent positions are entered into a first list, wherein the total cost is determined based on the first cost and the second cost, wherein the first costs respectively represent the costs that must be incurred in order to reach the respective adjacent positions from the predeterminable starting positions of the robot (11), and the second costs respectively represent the costs that must be incurred in order to reach the predeterminable target positions (Z) of the robot (11) from the respective adjacent positions, wherein the second cost is estimated so that the second cost is always lower than the actual cost of reaching the target location (Z) from the respective neighboring locations, wherein the plurality of preselected neighboring positions comprises the neighboring positions of the first list whose total costs are lower than a determined minimum total cost multiplied by a predeterminable factor, wherein a subsequent position is selected from a plurality of preselected neighboring positions of the actual position, wherein each neighboring position is assigned a first variable, wherein the subsequent position is an adjacent position of the plurality of preselected adjacent positions which is assigned a minimum first variable relative to the other preselected adjacent positions, The first variables respectively represent the first probabilities of whether the robot (11) moves from the actual position to the respective preselected adjacent positions, The machine learning system (20) is configured to output a plurality of second probabilities as output variables, each second probability representing a probability that the robot (11) performs one of a plurality of possible actions (A) starting from the actual position, in, The machine learning system (20) is arranged to output the output variable based on at least one provided portion of a map of the environment of the robot (11), wherein the machine learning system (20) determines the output variable based on the map portion, wherein the first probability is determined according to at least the following second probability of a plurality of second probabilities, the second probability characterizing whether the robot performs the action that the robot must perform starting from the actual position, so that the robot directly reaches the respective adjacent position starting from the actual position, wherein the machine learning system (20) determines the output variable, wherein the first variable is determined based on at least one of the output variables of the machine learning system (20) and the first variable is assigned to the respective preselected adjacent positions, An action is selected from the multiple possible actions (A) so that when the robot (11) performs the selected action, it directly reaches the subsequent position from the actual position.
2. The method according to claim 1, wherein: After selecting the subsequent position, entering the subsequent position into a second list and setting the actual position equal to the subsequent position, wherein the method is repeatedly performed a plurality of times until the actual position corresponds to the predefinable target position (Z), wherein at the start of the method the actual position corresponds to the predefinable starting position, wherein the neighboring positions of the previous actual position remain entered in the first list, in particular only the neighboring positions which have been selected as subsequent positions are deleted from the first list, The adjacent positions of the first list are each assigned the following previous actual position, from which the respective adjacent position can be reached directly, wherein when the selected subsequent position is one of the adjacent positions that is not a direct adjacent position of the actual position, the actual position is set equal to the actual position assigned to the adjacent position, wherein the actions that must be performed in direct succession are combined into an action sequence so that the robot reaches the predefinable target position along the positions from the second list, The trajectory (T) of the robot is determined according to the action sequence.
3. The method according to claim 2, wherein: After the trajectory has been determined, the predefinable factor is reduced by a predefinable value, and the method is executed again to determine a further trajectory.
4. The method according to any one of claims 1 to 3, wherein: Determine actions for each of the plurality of robots (11), wherein the machine learning system (20) is a deep neural network which receives as input a map having all actual positions of the robot (11), In this case, after a predeterminable layer of the deep neural network, a portion of the map surrounding each actual position of the robot (11) is used as an input variable for a subsequent layer of the predeterminable layer.
5. The method according to any one of claims 1 to 3, characterized in that: generating training data with the aid of an optimal planner for determining a trajectory from a starting position and a target position, the optimal planner being applied to a predefinable problem instance and comprising an A* search algorithm, The machine learning system (20) is taught based on the generated training data, so that the machine learning system determines the decision of the optimal planner based on the actual position and at least the portion of the map, and outputs it as an output variable.
6. The method according to any one of claims 1 to 3, wherein: The first variables each characterize the future costs that must be expended by the robot (11) in order to reach the predeterminable target position (Z) starting from the respectively preselected adjacent position, The machine learning system (20) is configured to output the future costs as output variables respectively, and the output variables of the machine learning system (20) are assigned as first variables to respectively preselected adjacent positions, wherein the machine learning system is taught based on the generated training data so that the machine learning system estimates the future costs along the trajectory determined with the aid of the optimal planner from the actual position to the predefined target position.
7. A computer program product comprising a computer program, the computer program comprising instructions arranged to cause a computer to perform a method according to any one of claims 1 to 6 when the instructions are executed by the computer.
8. A machine-readable storage element (102, 65) having a computer program stored thereon, the computer program comprising instructions arranged to cause a computer to perform a method according to any one of claims 1 to 6 when the instructions are executed by the computer.
9. A device (10, 60), comprising a memory and a processor, wherein a computer program is stored on the memory, the computer program comprising instructions, and the instructions are configured to cause the processor to perform the method according to any one of claims 1 to 6 when the instructions are executed by the processor.
