Method and electronic device for computer generation of walking trajectories

By transforming curved terrain into a distorted flat space and optimizing decision variables with higher-order splines, the method addresses the challenges of contact-aware walking trajectory optimization, achieving higher success rates and improved efficiency in navigating complex terrains for legged robots.

JP7540631B2Active Publication Date: 2024-08-27TENCENT AMERICA LLC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023102112
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-03-23
Filing Date
2023-06-22
Publication Date
2024-08-27
Estimated Expiration
2043-06-22

AI Technical Summary

Technical Problem

Existing contact-aware walking trajectory optimization methods for legged robots on curved terrain often fail to find optimal solutions due to complex, high-dimensional search spaces and non-convex programming issues, especially when navigating uneven terrain, leading to suboptimal movements and computational inefficiencies.

Method used

Transforming the ambient space containing curved terrain into a distorted flat space using an optimized mapping function, parameterizing decision variables with higher-order splines, and optimizing these variables under geometric, physical, and force constraints to generate walking trajectories.

Benefits of technology

This approach significantly improves the success rate of finding optimal walking trajectories by 13% to 100% compared to baseline methods, enhancing the robustness and efficiency of legged robot navigation on complex terrains.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540631000057
    Figure 0007540631000057
  • Figure 0007540631000051
    Figure 0007540631000051
  • Figure 0007540631000053
    Figure 0007540631000053
Patent Text Reader

Abstract

To implement an environment warping approach in order to improve a robustness of contact-aware robot trajectory optimization by a change of coordinates from an ambient space to a flat space.SOLUTION: The disclosed method warps the ambient space of a curved terrain to a warped space with a flat terrain using an optimized mapping function. A contact-aware trajectory optimization procedure is then formulated in the warped space under a set of geometrical and physical constraints with decision variables pulled back from the ambient space to the warped flat space. The decision variables are parameterized using high-order spines with a set of control parameters which are optimized in the warped space in order to generate the gait trajectory in the ambient space. For example, an objective function and constraint functions from the ambient space are pushed back to the warped space while force and rotational variables are pushed forward from the warped space to the ambient space. Such an approach achieves a higher success rate in finding optical solutions.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application is based on and claims the benefit of priority to U.S. Provisional Patent Application No. 63 / 381,663, filed October 31, 2022, which is incorporated herein by reference in its entirety.

[0002] This disclosure relates generally to robot design, planning, and control loops, and in particular describes contact-aware gait trajectory optimization for legged robots on curved terrain. [Background technology]

[0003] Gait trajectory generation is a core component in the design, planning, and control loop of legged robots. In addition to controlling the physical motion of legged robots, the so-generated gait trajectories can be used to render computer-generated graphics, for example, in video games, virtual reality, augmented reality, and other interactive applications. Gait trajectory generation for legged robots typically involves complex multivariate search space optimization procedures that sometimes fail to find a solution or get stuck in suboptimal local minima. Summary of the Invention

[0004] This disclosure relates generally to robot design, planning, and control loops, and in particular describes contact-aware gait trajectory optimization for legged robots on curved terrain.

[0005] In particular, an environment warping approach is implemented to improve the robustness of the contact-aware trajectory optimization by changing coordinates from the ambient space to the flat space. The method and apparatus disclosed herein transforms the ambient space, including curved terrain, into the warped flat space using an optimized mapping function. The curved terrain of the ambient space is correspondingly mapped to a flat surface in the warped space. A contact-aware trajectory optimization procedure is then formulated in the warped space under a set of geometric, physical, and force constraints with decision variables that are pulled back from the ambient space to the warped flat space. The decision variables are parameterized using high-order splines with a set of control parameters. The set of control parameters is optimized in the warped space and used to generate a walking trajectory for the legged robot in the ambient space. To generate a walking trajectory in the ambient space, various control points are optimized in the warped space. For example, the objective function and various constraint functions from the ambient space are pulled back to the warped space, while the force and rotation variables are pushed forward from the warped space to the ambient space. Such approaches achieve 13% to 100% higher success rates in finding optimal solutions compared to baseline implementations that involve optimization only within the ambient space.

[0006] In some implementations, a method is disclosed for computer generation of a walking trajectory as a function of time for a legged robot moving from a start location to a destination location on a surrounding terrain, which may include the steps of: establishing a flat terrain and a narrow flat neighborhood band on the flat terrain, where the flat terrain and the narrow flat neighborhood band form a three-dimensional (3D) flat space, automatically generating a mapping function from the 3D flat space to a 3D surrounding space including the surrounding terrain using a first optimization procedure for minimizing a first objective function, automatically generating a set of control points and time spans in the 3D flat space for parameterizing the walking trajectory using high-order splines using a second optimization procedure under a set of motion constraints by minimizing a second objective function, and automatically generating a walking trajectory for the legged robot in the 3D surrounding space from the start location to the destination location based on the set of control points, the time spans, and the mapping function in the 3D flat space.

[0007] In the above implementation, the 3D ambient space and the 3D flat space are discretized using a finite element method that uses high-order shape functions.

[0008] In any one of the above implementations, the 3D flat space is discretized into a regular grid of B-spline cells, and the mapping function for each spatial dimension in the 3D flat space comprises a linear combination of higher order shape functions.

[0009] In any of the above implementations, the higher order shape functions are 2 It is continuous.

[0010] In any one of the above implementations, the first objective function may include an integrated energy measure and a terrain inconsistency measure.

[0011] In any one of the above implementations, an integral energy measure may be constructed to represent the mapping suitability.

[0012] In any one of the above implementations, the mapping compatibility, when minimized, maximizes the preservation of angles between the 3D flat space and the 3D surrounding space by the mapping function.

[0013] In any one of the above implementation examples, the method may further include receiving a height profile of the surrounding terrain in the 3D surrounding space, where the terrain mismatch measure is configured to quantify a deviation in mapping a flat terrain in the 3D flat space to the surrounding terrain in the 3D surrounding space by a mapping function, and the surrounding terrain is represented by the height profile.

[0014] In any one of the above implementations, the first optimization procedure may include both local and global optimization iterative processes.

[0015] In any one of the above implementations, the legged robot can include a torso with multiple end effectors attached, and the walking trajectory of the legged robot is represented by torso position, torso orientation, end effector position, and end effector force, each as a function of time.

[0016] In any one of the above implementations, the set of motion constraints may include a set of geometric constraints, a set of physical motion constraints, and a force constraint.

[0017] In any one of the above implementations, the set of physical motion constraints can include Newton-Euler equations relating end-effector forces and gravity to the translation and rotation of the legged robot, and the force constraints require that the end-effector forces are within a friction cone during contact of the end-effector with the surrounding terrain.

[0018] In any one of the above implementations, the set of geometric constraints may include that the end effector position is on or above the surrounding terrain in the 3D surrounding space, and that the end effector position is within a set of reachable distances relative to the torso position in the 3D surrounding space.

[0019] In any one of the above implementations, the set of geometric constraints is represented in 3D flat space by pulling back the set of geometric constraints from the 3D surrounding space.

[0020] In any one of the above implementations, the set of physical motion constraints and the force constraints are tested during a second optimization procedure at a set of fixed time instances.

[0021] A set of physical motion constraints is represented in the 3D surrounding space by a push-forward Position-based Centroid Dynamics Model (PCDM).

[0022] In any one of the above implementations, the physical motion constraints are expressed as a combined inertial and potential energy minimizer.

[0023] In any one of the above implementation examples, the set of control points in the 3D flat space may include a first set of control points for a torso position in the 3D flat space, a second set of control points for a torso orientation in the 3D flat space, a third set of control points for an end effector position in the 3D flat space, and a fourth set of control points for an end effector force in the 3D flat space.

[0024] In any one of the above implementations, the second objective function uses the set of control points as optimization variables.

[0025] In some implementations, an electronic device is disclosed having a memory having computer instructions stored therein and a processor, the processor being configured to perform any one of the above methods upon reading the computer instructions from the memory for execution.

[0026] In some implementations, a computer-readable non-transitory storage medium is disclosed having computer code stored thereon that, when executed by a processor of an electronic device, is configured to cause the electronic device to perform any one of the example methods above. [Brief description of the drawings]

[0027] For a more complete understanding of the invention, reference is made to the following description and accompanying drawings. [Figure 1] 1 shows an example of a legged robot that is modeled as traversing a surrounding terrain in a surrounding space that is mapped to a flat terrain in a warped flat space. [Diagram 2] 1 illustrates the logic and data flow of an example of a method embodiment of the present disclosure. [Diagram 3] This shows an example of key notations in contact phase-based gait trajectory optimization. [Figure 4A] 4A-4D show examples of optimized topographies using a smoothing function φ that maps a narrow band region around the topography. [Figure 4B] 4A-4D show examples of optimized topographies using a smoothing function φ that maps a narrow band region around the topography. [Figure 4C] 4A-4D show examples of optimized topographies using a smoothing function φ that maps a narrow band region around the topography. [Figure 4D] 4A-4D show examples of optimized topographies using a smoothing function φ that maps a narrow band region around the topography. [Diagram 5] The relative matching error across a set of regularly sampled points on the topography of FIG. 4A is shown. [Figure 6A] 6A-6H show the convergence history of the Local-Global and Newton optimization methods for obtaining a mapping function from the warped flat space to the ambient space. [Figure 6B]6A-6H show the convergence history of the Local-Global and Newton optimization methods for obtaining a mapping function from the warped flat space to the ambient space. [Figure 6C] 6A-6H show the convergence history of the Local-Global and Newton optimization methods for obtaining a mapping function from the warped flat space to the ambient space. [Figure 6D] 6A-6H show the convergence history of the Local-Global and Newton optimization methods for obtaining a mapping function from the warped flat space to the ambient space. [Figure 6E] 6A-6H show the convergence history of the Local-Global and Newton optimization methods for obtaining a mapping function from the warped flat space to the ambient space. [Figure 6F] 6A-6H show the convergence history of the Local-Global and Newton optimization methods for obtaining a mapping function from the warped flat space to the ambient space. [Figure 6G] 6A-6H show the convergence history of the Local-Global and Newton optimization methods for obtaining a mapping function from the warped flat space to the ambient space. [Figure 6H] 6A-6H show the convergence history of the Local-Global and Newton optimization methods for obtaining a mapping function from the warped flat space to the ambient space. [Figure 7A] 7A-7C show example trajectories for a legged robot walking on curved terrain. [Figure 7B] 7A-7C show example trajectories for a legged robot walking on curved terrain. [Figure 7C]7A-7C show example trajectories for a legged robot walking on curved terrain. [Figure 8] 4B shows the success rates of the warped space optimization method and the baseline method for the topography of FIG. 4A. [Figure 9] A comparison of the computational time to generate 10 seconds of trajectories for different walking directions is shown for the warped space method and the baseline method. [Figure 10A] Figure 4C shows the robot climbing a hill. [Figure 10B] Figure 4D shows the robot climbing a hill. [Figure 11] 1 shows the constraint violations per iteration for the warped space method and the baseline method for hill climbing trajectory optimization. [Figure 12] 1 illustrates an apparatus and computer system and components therein for implementing various method embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Contact-aware gait optimization in ambient space The movement of a legged robot in a terrain can be described by its walking trajectory as a function of time. Such terrain is typically curved and sometimes uneven. The movement of the legged robot may be subject to a set of physical, geometric, force, and other constraints. The generation or simulation of walking trajectories constitutes a core component in the design, planning, and control loop of such legged robots. In addition to controlling the physical movements of the legged robot, the walking trajectories so generated can be used to render computer-generated graphics, for example, in video games, virtual reality, augmented reality, and other interactive applications. The generation of walking trajectories for a legged robot usually involves a complex multivariate search space optimization procedure.

[0029] Gait trajectory optimization settings can be classified as contact-aware and contact-unaware. A contact-unaware optimizer can be configured to explore sequences of robot gaits or control signals. In some implementations, a contact-unaware optimizer can also be configured to plan movements through contacts via model predictive control combined with smooth approximate contact models or stochastic optimization. However, these methods suffer from slope explosion and prevent finding complex movements over long horizons.

[0030] In some implementations, a complex contact-aware gait trajectory optimization may be performed in the ambient space. The term “contact-aware” is used to describe the consideration of physical and force constraints due to contact between one of the end effectors of a legged robot and the surrounding terrain. For example, a contact-aware trajectory optimization may employ an extended high-dimensional joint search space of the robot's gait, contact points, and forces over a long horizon. Such an implementation may use explicit constraints to enforce contact regularity. An example of such a constraint may require that external forces (other than gravity) can only be present when the robot touches the environment. With this extended formulation, the constraints become differentiable and can be supported locally, allowing the optimizer to find motions with many contact state changes without suffering from ill-conditioned slopes. An inherent drawback of such a formulation is the high-dimensional search space, which can only find locally optimal solutions within a manageable computational budget. An example interior point optimizer can take hours to find a whole-body motion for a long trajectory, even on advanced and efficient GPUs. Moreover, optimizers often fail to find a feasible solution or converge to suboptimal movements, which may correspond to the robot taking unnecessarily small steps or performing unstable maneuvers. In general, such contact-aware walking trajectory generation and optimization in the ambient space is a challenging non-convex programming problem, especially in the case of complex terrain shapes, and various numerical algorithms may fail to find a solution or get stuck in local minima.

[0031] Such optimization failures are much more substantial in the contact-aware setting than in the non-contact-aware case due to the additional complementary constraints. To make matters worse, the robot may need to traverse uneven terrain, as shown by the curve 112 as the bottom surface of the ambient space 110 in FIG. 1. The presence of uneven terrain shapes may significantly complicate the aspects of the objective and constraint functions, further reducing the chances of finding a solution. Although additional techniques, such as multi-start optimization and stochastic optimization, may improve the quality of the optimized trajectory, they are costly to apply in the long-horizon contact-aware setting, especially for walking trajectory generation in real-time interactive applications.

[0032] Environmental Warping: A General Approach The term environment warping may be used to refer to the transformation of an ambient space into a warped space for optimization. Environment warping belongs to a broader category of techniques for surface and volume parameterization. For example, environment warping may be designed to discretize and numerically solve partial differential equations or generate detailed appearances in virtual environments. In another example, environment warping may be employed in the parameterization of the workspace in robot motion planning problems. Environment warping may rely on the parameterization of the infinite ambient space 110 via the solution of an exterior Laplace equation using a boundary element method. Such techniques are usually time-consuming to compute. Moreover, the solutions are usually expressed as boundary integrals that are also singular at the domain boundary itself. These properties make such techniques unsuitable for contact-aware trajectory optimization.

[0033] Contact-Aware Walking Trajectory Optimization in Distorted Planar Space: A Global Implementation As described in more detail in various sections below, implementations of this disclosure use an environment warping approach to improve the robustness of contact-aware robot trajectory optimization by changing coordinates from the surrounding space to a warped but flat space. The disclosed method warps the surrounding space with curved terrain into a warped space with flat terrain using a locally injecting mapping function optimized using finite element parameterization. The mapping function is generated to be as conformal as possible to the surrounding space. A contact-aware trajectory optimization procedure is then formulated in the warped space under a set of geometric, physical, and force accuracy constraints with decision variables that are pulled back (or mapped) from the surrounding space to the warped flat space. The decision variables are parameterized using high-order splines with a set of control parameters that are optimized in the warped space to generate a walking trajectory in the surrounding space. For example, the objective function and constraint functions from the surrounding space are pushed back into the warped space, while the force and rotation variables are pushed forward from the warped space to the surrounding space. These implementations free the numerical optimizer from adjusting the trajectory to fit the changing terrain shape, leading to better numerical conditioning and fewer local minima. Numerical results show that the methods and apparatus disclosed herein outperform direct trajectory optimization in terms of both success rate and solution quality. Such approaches achieve a higher success rate in finding optimal solutions of higher quality compared to implementations that involve optimization only in the ambient space (referred to as the baseline approach).

[0034] These implementations generally include generating a smooth map representation for warping an ambient space including curved terrain, a finite element based optimization procedure for generating a locally injected terrain warping function, and a warped space formulation for contact-aware trajectory optimization, as described in more detail below. In particular, the ambient space may be discretized using a finite element method using high-order continuous shape functions. By employing a finite element method, the optimization can handle a wider variety of objective functions than other techniques such as the boundary element method. For example, as shown in more detail below, an angle-preserving conformal warp can perform better for the optimization task at hand than a smooth warp generated by solving the Laplace equation, and such angle-preserving conformal warp can only be achieved by a finite element method.

[0035] These implementations further use various push-forward and pull-back operations in formulating the contact-aware trajectory optimization. To handle multiple types of decision variables, the continuity order of the smooth mapping function from 3D flat space to 3D ambient space is carefully controlled during optimization of the decision variables to ensure that all of the variables are smooth enough to be properly handled by the gradient-based optimizer. To represent the robot orientation in SO(3), an operator that projects a point in ambient space to its nearest neighbor on SO(3) can also be introduced in formulating the contact-aware trajectory optimization, as described in more detail below.

[0036] An example of a process for generating a walking trajectory for a legged robot from a start location to a destination location within a surrounding terrain is shown in logic and data flow 200 in Figure 2. As described in more detail below, a legged robot may include a torso with multiple end effectors attached. A walking trajectory for a legged robot may be represented by torso position, torso orientation, end effector positions, and end effector forces, each as a function of time.

[0037] As shown in FIG. 2, the logic and data flow 200 of this example begins at step 201. At step 210, a flat terrain and a narrow flat neighborhood band above the flat terrain are established. The flat terrain and the narrow flat neighborhood band form a three-dimensional (3D) flat space. The flat terrain constitutes the base of the 3D flat space. As described further below, the 3D flat space (and correspondingly, the surrounding space associated with the surrounding terrain) may be discretized using a finite element procedure that uses higher order basis shape functions. For example, the 3D flat space may be divided into a regular grid that represents tri-cubic B-spline cells. In some implementations, the higher order basis shape functions may be C 2 It can be continuous.

[0038] At step 220, a mapping function from the 3D flat space to a 3D surrounding space including the surrounding terrain may be automatically generated using a first optimization procedure for minimizing a first objective function. The surrounding terrain may be predefined and may be a generally curved terrain traversed by the legged robot. The first objective function may include, for example, an integral energy measure and a terrain mismatch measure. For example, the integral energy measure may be configured to represent a mapping suitability, as described in more detail below. Such a mapping suitability, when minimized, may assist in maximizing the preservation of angles between the 3D flat space and the 3D surrounding space by the mapping function. In addition, a terrain mismatch measure may be configured to quantify the deviation of mapping the flat terrain in the 3D flat space to the surrounding terrain in the 3D surrounding space by the mapping function. The surrounding terrain may be represented by a height profile of the surrounding terrain. Thus, minimizing the terrain mismatch measure helps to map the flat terrain in the 3D flat space as much as possible to a given curved surrounding terrain (represented by a height profile) in the surrounding space. Additionally, the first optimization procedure in step 220 may include both local and global optimization iterative processes, as will be described in more detail below.

[0039] At step 230, a set of control points and time spans in 3D flat space for parameterizing the walking trajectory using higher-order splines can be automatically generated using a second optimization procedure under a set of motion constraints by minimizing a second objective function. For example, the set of motion constraints can include multiple different types of constraints, including but not limited to a set of geometric constraints, a set of physical motion constraints, and force constraints. The set of physical motion constraints can be represented, for example, by Newton-Euler equations that relate end-effector forces and gravity to the translation and rotation of the legged robot driven by external forces. The force constraints can require, for example, that the end-effector forces are within a friction cone during the contact of the end-effector with the surrounding terrain.

[0040] A set of geometric constraints may require, for example, that the end effector position is on or above the surrounding terrain in the 3D surrounding space, that the end effector position is within a set of reachable distances and / or directions relative to the torso position and / or direction in the 3D surrounding space, In other words, it may be required that the robot's end effector cannot pass through the surrounding terrain, and that there are limitations on how far the robot's end effector can extend away from the robot's torso.

[0041] In the second optimization procedure above, the set of geometric constraints may be represented in the 3D flat space by pulling back the set of geometric constraints from the 3D ambient space using a set of pullback operators. Also, the set of physical motion constraints and force constraints may be tested during the second optimization procedure at a fixed set of time instances rather than at every time instance. Thus, the set of physical motion constraints (based on the Newton-Euler equations) may be expressed as a set of constraints for the rotation trajectory C 2To avoid pullback into 3D flat space, which would require the mapping function to be continuous (not always achievable by a mapping function discretized with cubic basis functions as described above and further below), the motion constraints may be represented by a push-forward form of the Position-based Centroid Dynamics Model (PCDM) in the 3D ambient space. In some implementations, the physical motion constraints may be represented as a combined inertial and potential energy minimizer.

[0042] In some implementations, the set of control points in the 3D flat space may include a first set of control points for torso position in the 3D flat space, a second set of control points for torso orientation in the 3D flat space, a third set of control points for end effector position in the 3D flat space, and a fourth set of control points for end effector force in the 3D flat space. In some implementations, the second objective function may use the set of control points as optimization variables.

[0043] In step 240, based on the set of control points in the 3D flat space, the time span, and the mapping function, a walking trajectory of the legged robot in the 3D surrounding space from the start point to the destination point can be automatically generated.

[0044] Finally, in step 250, graphics showing the movement of the legged robot's torso and end effector may be generated based on the walking trajectory and displayed for viewing.

[0045] Detailed descriptions of various example steps above are provided further below.

[0046] Contact-Aware Trajectory Optimization: Robot Trajectory Representation In the following disclosure, unless otherwise noted, capital letters and symbols are used for matrices, functions, and constants, and lowercase letters and symbols are used for scalars and vectors. Vectors, e.g., position vectors and force vectors, implicitly include their components in the relevant spatial dimension. In the following examples, a phased space formulation that relies on different phases of motion may be used as an example of representation and parameterization of the legged robot description.

[0047] 1 and 3, a legged robot 118 traversing a surrounding terrain 112 in a surrounding space 110 can be modeled as including a conductor 302 with a direction trajectory R(t) and a translation trajectory p(t), and multiple end effectors (or legs). For example, the robot can be modeled as having a contact force f i p to make (t) work i , E end effectors located at time instants (t), where i=1,...,E represent specific end effectors and t∈[0,T] is a time variable. The torso position trajectory p(t), as shown along the side label 118 of FIG. 1, can be expressed as:

number

number

[0048] The key to the phase-based formulation is p i (t) and f iAs shown in the graphs on the right side of Figure 3, where the horizontal axis represents time and the vertical axis represents either position (top graph) or force (bottom graph), each robot contact trajectory can be divided into an alternating sequence of static phases 320 and swing phases 310. During the static phases 320, p i (t) remains stationary on the ground (does not change with time during the stationary phase), and f i (t) can be non-zero, and during the swing phase 310, p i (t) can move freely on the ground, but f i (t) must be zero. As a result, position-force complementarity can be implicitly encoded without the need for additional constraints. Such a parameterization can be realized by two alternating sequences of high-order splines.

[0049] In some implementations, flexibility can be further improved by treating the time spans of each rest phase and each swing phase as additional decision variables, with the constraint that all time spans are positive and sum to T. The control point and time span of the i-th contact and force sequence are denoted by c i p and c i f’ As a result, the translational trajectory of the end effector in each of the three spatial dimensions is divided into multiple segments separated by time knots (time spans), and each segment is associated with a set of control points close to the segment,

number

number

number

[0050] Contact-Aware Trajectory Optimization: Optimization Constraints in Ambient Space An example of a baseline gait trajectory optimization formulation expressed in ambient space may take the following form:

number

[0051] The above example formulation includes both an optimization formulation (equation (1)) and three types of integrity constraints (equations (2)-(5)) that ensure physical, geometric, and force correctness. We refer to these different types of constraints as physical constraints, geometric constraints, and force constraints, respectively.

[0052] The physical constraints in equation (2) ensure that the robot torso obeys the Newton-Euler equations of motion, where I represents the inertia tensor and ω(t) is the angular velocity of the robot, both measured in the local frame of reference. The symbol m represents the robot torso mass and g represents the gravitational coefficient. In some implementations, the physical constraints in equation (2) apply only to a certain time interval or a discrete set T, rather than to every time instance. d The time instances may be tested as:

[0053] Geometrically, the robot environment or surrounding terrain is defined as a height field h(x,y):R 2 →R, and a corresponding point near the horizon in the three-dimensional (3D) ambient space may be mapped to its vertical ground height. The geometric constraint in (3) dictates that the robot's end effector contacts the height field during the rest phase. During the swing phase, the end effector cannot pass through the terrain. In some implementations, the geometric constraint in (3) is expressed as a set of discrete time instances T i static and T i swing The timing of the phase changes can be optimized so that T istatic and T i swing is i p is a function of .

[0054] In addition, as another geometric constraint, the end effector p i is the reachable set R for the fuselage, shown as 306 in FIG. i Such a geometric constraint can be formulated in (4) and can be expressed as, for example, the same set of fixed time instances T d It can be tested with.

[0055] The force constraint in (5) requires that the contact force during each rest phase is within the friction cone, where ν represents the friction coefficient, and the test set T d n(t) is

number

[0056] In the optimization formulation, the operator "argmin" denotes the minimization optimization. The objective function E(c) may include an additional cost function to formulate the control task. Equation (1) may be solved, for example, by a gradient-based optimizer. Such a gradient-based optimization solver may require that all objective and constraint functions are at least differentiable. As a consequence, the height field in the above constraints should be sufficiently smooth. In some implementations, such sufficient smoothness may be achieved by fitting the height field with spline patches, as described in more detail below.

[0057] Contact-aware trajectory optimization: A finite element environmental warping function formulation Examples of mapping functions from 3D flat space to 3D ambient space are described in more detail in the following disclosure. As shown in FIG. 1, the 3D ambient space 110 may be referred to as A and the 3D flat space (or warped space) 120 may be referred to as F. A pullback operator may be referred to as an operator that maps a function (as an operand) from one manifold to another via a smooth mapping function. The optimization method disclosed herein may be interpreted as a pullback operator based on a mapping function φ from ambient space A 110 to warped space F 120 for the optimization formulation of equation (1). An example of a smooth mapping function φ is provided below. Next, the pullback operator is formulated.

[0058] In some implementations, rather than using a regular grid in A-space to resample the solution of the exterior Laplace equation, which distorts the entire ambient space, a regular grid in F-space may be used that discretizes only a narrow band neighborhood above the terrain h(x,y), as shown at 140 in FIG. 1.

[0059] In some implementations, a cubic B-spline basis may be used as a shape function for the construction of the smooth mapping function φ. For example, the F-space grid may be N x ×N y ×N z cubic B-spline cell and (N x +3)×(N y +3)×(N z +3) control points (e.g., to determine each of N curve segments of a smooth mapping function with four control points in each segment), for i=1,...,N x +3, j=1,…,N y +3, k=1,…,N z +3, and each control point is ψ ijk The 3D mapped points are denoted as and the shape function Bijk(x):R 3 →R. For any x∈[0,N x ]×[0,N y ]×[0,N z ], the smooth map φ(x) is

number

[0060] For use in formulating the push-forward operator from F-space to A-space, we further

number

[0061] Contact-Aware Trajectory Optimization: Distortion Function Optimization The above distortion function may be optimized by a first optimization procedure to obtain a set of control points that define the coefficients of a linear combination of shape functions to determine φ, an example of which is described in more detail below.

[0062] The above finite element method uses the control points ψ as decision variables in the optimization procedure to obtain φ. ijk We parameterize the mapping function φ using the function. In some implementations, the control points ψ ijk is the integral energy:

number

number

[0063] In the above energy formulation, the singular value decomposition (SVD) of the Jacobian is J=UΣV T and the i-th singular value is Σ i The second term above ensures that the Jacobian has positive singular values ​​and that the smooth map φ is locally injective. The symbol μ above represents a small positive weight in the log-barrier function.

[0064] As a geometric constraint for the first optimization procedure, the base of the mapped space A should be aligned to the given surrounding terrain h(x,y). This can be included in the additional energy objective. This is the terrain matching objective function:

number

[0065] Considering both objectives above, to determine the control points for defining the smooth mapping function φ, the first objective function of the first optimization procedure above is:

number

[0066] In some implementations, the following techniques are used to optimize φ * ijk For example, when μ=0, this optimization can be solved in an alternating local-global manner, as shown by the example optimization algorithm in Algorithm 1 below. The example Algorithm 1 involves an iterative optimization procedure that takes into account both local and global conditions. The example Algorithm 1 is guaranteed to converge since the energy decreases monotonically during the iterations. This method ijk UV for T |Σ| 1 / 3 and h(φ 0 (x),φ 1 We neglect the gradient of (x), resulting in a quadratic objective function with a fixed left-hand side. As a result, the Hessian matrix needs to be factored only once, resulting in a very low iteration cost. Some examples of optimized maps are shown in Figures 4A-4D.

number

[0067] However, if μ>0, then J(x) is a positive singular value Σ i A full Gauss-Newton technique may be used along with an explicit line search to ensure that lies within a feasible domain with

[0068] Contact-Aware Trajectory Optimization in Distorted Space Once the smooth map φ is determined, it can then be used to define pullback operators for each constraint in equations (1)-(5) from A-space to F-space. In the following disclosure, a bar symbol (-) over letters is used to denote variables in the warped space F. The trajectory optimization and constraints in the warped space are formulated as follows:

number

[0069] Again, the above constraints include both geometric, physical, and force constraints, the formulation of each of which is described in further detail below.

[0070] End effector position sequence p i (t,c i p With respect to the geometric constraints of equation (3) corresponding to A being on a given terrain in A (110 in FIG. 1), the warped spatial position sequence at F, as shown along the side of the robot's end effector 124 in FIG. 1, is:

number

number

number

[0071] Regarding the force accuracy constraint of equation (5) in A,

number

number

number

number

number

[0072] Similarly, the normal direction is

number

[0073] By plugging these push-forward operators into equation (5), we can obtain the pull-back of the force-correctness constraints on F. However, when φ is made as conformal as possible (as described above), a more concise form of the constraint can be derived. In this case, the Jacobian:

number

number

number

[0074] With respect to the geometric constraints in equation (4) related to the robot torso position p(t) and the second geometric constraint that concerns the reach or reachability of the robot's end effector with respect to the direction R(t), the following pullback configuration can be derived: For the torso position, the sequence in F:

number

number

number

[0075] The above optimization has the following properties that lead to efficient computation of the projections and their derivatives. Let the SVD decomposition of matrix J be J=UΣV T The projection operator is the closed form solution P=UV T |UV T For any R∈SO(3), P(JR)=P(J)R. The closed-form Jacobian of P is:

number

[0076] Using the projection operator P above, the robot’s body rotation sequence in F is given by

number

[0077] In other words, first define the rotation of F using Euler angles,

number

[0078] However, with regard to the physical constraints of equation (2) on F, the pullback can be more complicated, as discussed further below.

[0079] Contact-Aware Trajectory Optimization in Distorted Space: Position-Based Center-of-Mass Dynamics Model with Respect to Physical Constraints The physical constraints of the Newton-Euler equations (2) on A can be pulled back to F, similar to the pullback form of the geometric constraints in equation (10). However, such pullback constraints are not supported by the constraints R(t) being pulled back to C when computing the constraint Jacobian. 2 This would require φ to be continuous, which cannot always be achieved by discretizing φ using cubic basis functions as described above. To obtain sufficient smoothness, one option is to use quartic basis functions, but this, as well as φ, can significantly increase the computational overhead of the smooth map optimization procedure and all constraint evaluations.

[0080] In some implementations, a Position-Based Center of Mass Dynamics Model (PCDM) can be used to handle the physical constraints in F. Such an approach can be used to 2 C instead of continuous 1 Only continuity is required.

[0081] The physical constraints are given by the regular interval t ∈ T d Therefore, the sampling interval can be expressed as the following shorthand:

number

[0082] In the above notation, ● is an arbitrary variable. PCDM assumes that the physically correct setup at time instance t has the following combined inertial and potential energies:

number

[0083] Regarding the time dependence, PCDM reduces the Newton-Euler equations in the limit Δt→0 to:

number

number

[0084] By setting the gradient to be zero on the tangent bundle of SE(3), R(t), p(t) are 1 We can derive a PCDM governing equation (11), which only needs to be continuous. The integrals in equation (11) can be evaluated in the same way as the inertia tensor. Thus, a cubic basis function for the smooth map φ is just sufficient for all constraints in equation (7) to have sharp Jacobians. Some optimizers require the Hessian of the Lagrangian to be computed via a low-rank approximation.

[0085] With all the above constraints, we can generate various control points in F by optimizing according to equation (7), and then map them to A to generate position, rotation, and force trajectories at A.

[0086] Contact-aware trajectory optimization in distorted spaces: An evaluation Both the baseline optimization (Eq. (1)) and the reformulated optimization (Eq. (7)) are performed to evaluate the effectiveness of the warped space optimization in both optimization quality and successful finding. For fairness of comparison, we also use PCDM as a physical constraint in the baseline formulation. All experiments are conducted in a simulated environment with an ANYmal robot model. We extract the maximum reachable set of rectangles and calculate the R i Use as.

[0087] As an example, we use the Knitro package as the optimizer backend. We set the maximum number of iterations to 200 and the maximum constraint violation is 10 for 5 consecutive iterations.-4 Less than or equal to 10% relative solution change -4 The optimizer is configured to terminate early if t is smaller than t. All experiments are performed on a desktop machine with a 6-core Intel i7-10750H CPU and 8Gb memory. Multithreading is used to accelerate the computation of the constraints and their Jacobians. Various parameters are set as T=10s, ν=0.75, and Δt=0.05s. All trajectories, including positions, orientations, and forces, are discretized using cubic B-splines. On average across all examples, 10 seconds worth of trajectories can be computed in about 1 minute using the approach involving warped spaces.

[0088] We first profile the performance of the smooth map φ optimization (Equation (6)) and compare two solutions, the local-global (Algorithm 1) approach and Newton's approach, using the terrain of Figures 4A-4D. As shown in Figures 6A-6H, the local-global approach converges much faster than Newton's approach. Specifically, Figures 6A, 6C, 6E, and 6G show the minimized energy as a function of computation time for Figures 4A-4D, and Figures 6B, 6D, 6F, and 6H show the corresponding minimized energy as a function of the number of optimization iterations. Although the local-global approach may produce a non-injectable map, this artifact is not observed in the benchmarks of Figures 4A-4D. Thus, some implementations use the local-global approach first and fall back to the more costly Newton's method only if injectability in the local-global approach is violated. In most instances, the smooth map φ can be optimized within 200 seconds. To ensure that the robot does not leave the space around the narrow band, the band thickness is set sufficiently to be 5 times the height of the robot in the rest position, as illustrated in Figures 4A-4D.

[0089] The first benchmark (Figures 7A and 7B) uses a wavy terrain (Figure 4A). The robot is initialized at the center of the terrain (0,0), and is set to move to a point on the horizon (rsinθ / 2,rcosθ / 2), with r being half the size of the terrain. This target position is added as a hard constraint on the XY plane. θ is sampled from 0° to 360° at 15° intervals. For each θ, the optimization is run for up to 200 iterations, and the constraint violations per iteration are plotted in Figure 8. The maximum number of constraint violations is 10 within 200 iterations. -4 A trajectory is considered successful if it is less than 0. Under this criterion, the warped space approach (FIGS. 7A and 8, left side) achieves a success rate of 92%, significantly higher than the 48% using the baseline formulation (FIGS. 7B and 8, right side).

[0090] The computational overhead of these two methods is further compared in Fig. 9, where the left and right bars of each pair of bars are for the warped space approach and the baseline approach, respectively. As shown in Fig. 9, except for the 1-2 walking direction, the warped space method incurs lower computational overhead by converging in fewer iterations.

[0091] The second benchmark (Figure 7C) uses the cone terrain of Figure 4B. All other settings remain the same as the first benchmark, except that the robot is initialized at (-rsinθ / 2,-rcosθ / 2) in the horizontal direction so that the robot has to walk a longer distance. In this more challenging case, the baseline formulation achieves a 0% success rate compared to 100% using the warped space approach disclosed herein.

[0092] The third benchmark (Fig. 10A) uses the hilly terrain of Fig. 4C. The slope of the hill at the center is quite steep. Therefore, we model the two front legs of the robot with suction cups, allowing the robot to climb the hill by removing two of the friction cone constraints and adding adhesion. As an example, we uniformly sample 15 target positions on the uphill slope. The success rates of the warped space approach and the baseline approach are 100% and 0%, respectively. In fact, it is difficult to fit a rapidly changing terrain with a low-order polynomial curve, but the warped space approach allows a straight line in the warped space to be aligned with the environment in the ambient space. The constraint violations per iteration on average over one trajectory are plotted in Fig. 11.

[0093] Similarly, the fourth benchmark (Figure 10B) uses the terrain of Figure 4D, which has a deep hole in the center and a much steeper cliff than the hill of Figure 4C. As an example, we uniformly sample 15 target locations outside the hole. The warped space method achieves a success rate of 13% compared to 0% using the baseline.

[0094] The various success rates above for both the warped space approach disclosed herein and the baseline approach are summarized in Table 1. Hardware Platform [Table 1]

[0095] Hardware Platform The techniques described above can be implemented using specifically designed processors and memory in any electronic device, or can be implemented as computer software or firmware using computer readable instructions physically stored on one or more computer readable media. For example, Figure 12 shows an electronic device or computer system (1200) suitable for implementing embodiments of the disclosed subject matter.

[0096] Computer software or firmware may be coded using any suitable machine code or computer language that can be assembled, compiled, linked, or similarly subjected to mechanisms to produce code having instructions that can be executed by one or more computer central processing units (CPUs), graphics processing units (GPUs), FPGAs, special purpose processing units, and the like, either directly or via interpretation, microcode execution, and the like.

[0097] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, and the like.

[0098] 12 with respect to computer system (1200) are exemplary in nature and are not intended to suggest any limitation as to the scope of use or functionality of the computer software implementing embodiments of the present disclosure, nor should the arrangement of components be interpreted as having any dependency or requirement related to any one or combination of components illustrated in this exemplary embodiment of computer system (1200).

[0099] The computer system (1200) may include an input interface device. Such an input interface device may be responsive to input by one or more users, for example, via tactile input (e.g., keystrokes, swipes, moving a data glove, etc.), audio input (e.g., voice, clapping, etc.), visual input (e.g., gestures, etc.), or olfactory input (not shown). The input interface device may also be used to capture certain media that are not necessarily directly related to conscious human input, such as audio (e.g., speech, music, ambient sounds, etc.), images (e.g., scanned images, photographic images obtained from a still camera, etc.), and video (e.g., two-dimensional video, three-dimensional video including stereoscopic video, etc.). The input interface may be used to input parameters and commands for the sand-water simulation, or to interactively control various graphics generated based on the sand-water simulation.

[0100] The input interface devices may include one or more of a keyboard (1201), a mouse (1202), a trackpad (1203), a touch screen (1210), a data glove (not shown), a joystick (1205), a microphone (1206), a scanner (1207), and a camera (1208) (only one of each is shown).

[0101] The computer system 1200 may also include certain output interface devices that may be configured to stimulate the user's senses, for example, through haptic output, sound, light, touch, smell / taste, and the like. Such output interface devices may include combination haptic input / output devices (e.g., haptic feedback via a touch screen (1210), data gloves (not shown), or joystick (1205), although there may also be haptic feedback devices that do not function as input devices), audio output devices (e.g., speakers (1209), headphones (not shown), etc.), visual output devices (e.g., screens (1210) including, but not limited to, CRT display screens, LCD display screens, plasma display screens, OLED screens, and projection displays (each with or without touch screen input capability, each with or without haptic feedback capability, some of which may be capable of outputting two-dimensional visual output, or three-dimensional output through means such as stereoscopic graphic output), virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown), etc.). Output interface devices may also include other devices (not shown), such as two-dimensional or three-dimensional printers.

[0102] The computer system (1200) may also include non-transitory storage devices and their associated media, such as optical media including, for example, a CD / DVD ROM / RW (1220) with a CD / DVD or similar media (1221), thumb drives (1222), removable hard drives or solid state drives (1223), legacy magnetic media such as tape and floppy disks (not shown), specialized ROM / ASIC / PLD based devices such as security dongles (not shown), and the like. Those skilled in the art should also understand that the term "computer-readable medium" as used in connection with the subject matter disclosed herein does not include transmission media, carrier waves, or other transitory signals.

[0103] The computer system (1200) may also include an interface (1254) to one or more communication networks (1255). The networks may be, for example, wireless, wired, or optical. The networks may further be local, wide area, metropolitan, vehicular, and industrial, real-time, delay tolerant, and the like. Examples of networks include local area networks, such as Ethernet, wireless LANs, cellular networks, including GSM, 3G, 4G / LTE, 5G networks, and the like, TV wired or wireless wide area digital networks, including cable TV, satellite TV, and terrestrial broadcast TV, vehicular and industrial, including CANbus, and the like. The computer system (1200) may be connected to various external networks via a network interface adapter attached to a general-purpose data port or peripheral bus (1249) (e.g., a USB port, etc.) of the computer system (2600). A network interface may alternatively be integrated into the core of the computer system (1200) via a system bus as described below (e.g., an Ethernet interface or a cellular communication interface may be integrated into a PC computer system or a smartphone computer system). Using any of these communication networks, the computer system (1200) may communicate with other remote electronic devices. Such communication may be unidirectional (e.g., receive only (e.g., broadcast TV) or transmit only (e.g., CANbus to a specific CANbus device) or bidirectional (e.g., both receive and transmit to other computer systems using local or wide area digital networks). A set of protocols and protocol stacks may be used in each of these networks and network interfaces to accomplish network communication.

[0104] The aforementioned input and output interface devices, storage devices, and network interfaces may be attached to a core (1240) of the computer system (1200).

[0105] The cores (1240) may include one or more central processing units (CPUs) (1241), graphics processing units (GPUs) (1242), specialized programmable processing units in the form of field programmable gate arrays (FPGAs) (1243), task-specific hardware accelerators (1244), graphics adapters (1250), and the like. These devices may be connected via a system bus (1248), along with read-only memory (ROM) (1245), random access memory (1246), internal mass storage (1247), such as an internal non-user-accessible hard drive, SSD, and the like (1247). In some computer systems, the system bus (1248) may be made accessible in the form of one or more physical connectors to allow expansion with additional CPUs, GPUs, and the like. Peripherals may be attached either directly to the core system bus (1248) or via a peripheral data bus (1249). In one example, a display screen (1210) may be connected to a graphics adapter (1250). Peripheral bus architectures may include, but are not limited to, PCI, USB, and the like. The CPU (1241), GPU (1242), FPGA (1243), and accelerator (1244) may execute computer instructions as computer code, as described above. Such computer code may be stored in a ROM (1245) or a RAM (1246). Intermediate processing data may also be stored in the RAM (1246), while permanent data may be stored, for example, in an internal mass storage (1247). Rapid storage and retrieval from any of the memory devices may be enabled by the use of cache memories. The cache memory may be integrated with, or in other ways in direct communication with, one or more CPUs (1241), GPUs (1242), mass storage (1247), ROM (1245), RAM (1246), and the like.

[0106] Computer-readable media may be configured to store thereon computer code for performing various computer-implemented processes. The media and computer code may be specially designed and constructed for the purposes of the present disclosure, or they may be of general purpose use.

[0107] As one non-limiting example, a computer system having the architecture (1200), and in particular the core (1240), can provide functionality as a result of the processor(s) (including CPUs, GPUs, FPGAs, accelerators, and the like) executing software embodied in one or more tangible computer-readable media. Such computer-readable media can be implemented as specific storage of the core (1240) that is non-transitory in nature, such as mass storage (1247) within the core or ROM (1245), and mass storage as described above. Software for implementing various embodiments of the present disclosure can be stored in such devices and executed by the computer core (1240). The computer-readable media can include one or more memory devices or storage chips. The software may be executed to cause the computer core (1240) and in particular the processors therein (including CPUs, GPUs, FPGAs, and the like) to perform certain processes or portions of certain processes described herein, including defining data structures stored in RAM (1246) and modifying such data structures according to processes defined by the software. Additionally or alternatively, the computer system (1200) may provide functionality as a result of logic hardwired or otherwise embodied in circuitry (e.g., accelerators (1244)) that may operate in place of or in conjunction with software to perform certain processes or portions of certain processes described herein. Reference to software includes logic, and vice versa, where appropriate. Reference to a computer-readable medium may include circuitry (e.g., integrated circuits (ICs), etc.) for storing software for execution, circuitry embodied with logic for execution, or both, where appropriate. The present disclosure includes any suitable combination of hardware and software.

[0108] Generally, terms may be understood, at least in part, from their use in context. For example, as used herein, terms such as "and," "or," or "and / or" may include various meanings that may depend, at least in part, on the context in which such terms are used. Typically, the term "or," when used with a list, e.g., A, B, or C, is intended to mean not only A, B, or C, which are used herein in an exclusive sense, but also A, B, and C, which are used herein in an inclusive sense. Also, as used herein, the terms "one or more" or "at least one" may be used to describe any feature, structure, or characteristic in a singular sense or to describe a combination of features, structures, or characteristics in a plural sense, at least in part, depending on the context. Similarly, terms such as "a," "an," or "the" may be understood to convey singular or plural use, also at least in part, depending on the context. Moreover, the terms "based on" or "determined by" are not necessarily intended to convey an exclusive set of factors, but instead may be understood to allow for the existence of additional factors not necessarily explicitly recited, again depending at least in part on the context.

[0109] While this disclosure describes several exemplary embodiments, there are modifications, permutations, and various substitute equivalents that fall within the scope of the disclosure. It will thus be appreciated that those skilled in the art will be able to devise numerous systems and methods that, although not explicitly shown or described herein, embody the principles of the disclosure and are therefore within its spirit and scope.

Claims

1. 1. A processor-implemented method for computer generation of walking trajectories as a function of time for a legged robot moving over a surrounding terrain from a start location to a destination location, comprising: Establishing a flat terrain and a regular grid that discretizes nearby regions on the flat terrain to form a three-dimensional (3D) flat space; automatically generating a mapping function from the 3D planar space to a 3D surrounding space including the surrounding terrain using a first optimization procedure to minimize a first objective function; automatically generating a set of control points and time spans in the 3D flat space for parameterizing a walking trajectory using higher-order splines using a second optimization procedure under a set of motion constraints by minimizing a second objective function; automatically generating a walking trajectory of the legged robot in the 3D surrounding space from the starting point to the destination point based on the set of control points in the 3D flat space, the time span, and the mapping function; The method according to claim 1,

2. The method of claim 1 , wherein the 3D ambient space and the 3D flat space are discretized using a finite element method that employs high-order shape functions.

3. The method described in claim 2, wherein the regular grid is a regular grid of B-spline cells and the mapping function for each spatial dimension in the 3D flat space comprises a linear combination of the higher order shape functions.

4. The higher order shape function is C 2 The method of claim 2 which is continuous.

5. The method of claim 2 , wherein the first objective function comprises an integrated energy measure and a terrain inconsistency measure.

6. The method of claim 5 , wherein the integrated energy measure is configured to represent a mapping suitability.

7. The method of claim 6 , wherein the mapping suitability, when minimized, maximizes the preservation of angles between the 3D flat space and the 3D surrounding space by the mapping function.

8. 6. The method of claim 5, further comprising receiving a height profile of the surrounding terrain in the 3D surrounding space, the terrain mismatch measure being configured to quantify a deviation in mapping the flat terrain in the 3D flat space to the surrounding terrain in the 3D surrounding space by the mapping function, the surrounding terrain being represented by the height profile.

9. The method of claim 5 , wherein the first optimization procedure comprises both local and global optimization iterative processes.

10. the legged robot has a torso to which a plurality of end effectors are attached; The method of claim 1 , wherein the walking trajectory of the legged robot is represented by a torso position, a torso orientation, an end effector position, and an end effector force, each as a function of time.

11. The method of claim 10 , wherein the set of motion constraints comprises a set of geometric constraints, a set of physical motion constraints, and a force constraint.

12. the set of physical motion constraints comprises Newton-Euler equations relating the end effector forces and gravity to translations and rotations of the legged robot; the force constraint requires that the end effector force be within a friction cone during contact of the end effector with the surrounding terrain. The method of claim 11.

13. The set of geometric constraints may be: the end effector position is at or above the surrounding terrain in the 3D surrounding space; and the end effector position is within a set of reachable distances relative to the torso position in the 3D surrounding space; 13. The method of claim 12, comprising:

14. The method of claim 13 , wherein the set of geometric constraints is represented in the 3D flat space by pulling back the set of geometric constraints from the 3D surrounding space.

15. The method of claim 14 , wherein the set of physical motion constraints and the force constraints are tested during the second optimization procedure at a fixed set of time instances.

16. The method of claim 15 , wherein the set of physical motion constraints is represented by a push-forward Position-Based Center-of-Mass Dynamics Model (PCDM) in the 3D ambient space.

17. The method of claim 16 , wherein the physical motion constraints are expressed as a minimizer of combined inertial and potential energy.

18. The set of control points in the 3D flat space is a first set of control points for the torso position in the 3D flat space; a second set of control points for the orientation of the fuselage in the 3D flat space; a third set of control points for the end effector position in the 3D flat space; and a fourth set of control points for the end effector forces in the 3D flat space; 15. The method of claim 14, comprising:

19. The method of claim 18 , wherein the second objective function uses the set of control points as optimization variables.

20. a memory storing computer instructions; a processor, reading the computer instructions from the memory and executing the computer instructions, Establishing a planar terrain and a regular grid that discretizes nearby regions on the planar terrain to form a three-dimensional (3D) planar space; automatically generating a mapping function from the 3D planar space to a 3D surrounding space including the surrounding terrain using a first optimization procedure to minimize a first objective function; using a second optimization procedure under a set of motion constraints by minimizing a second objective function to automatically generate a set of control points and time spans in the 3D flat space for parameterizing a walking trajectory of the legged robot from a start point to a destination point over the surrounding terrain as a function of time using higher order splines; a processor configured to An electronic device having the

Citation Information

Patent Citations

  • Quadruped robot diagonal gait motion control method based on joint speed planning

    CN112327869A