Leg swing trajectory
By decomposing the motion components of the robot legs and selecting appropriate strategies, the problem of difficult navigation in restricted environments is solved, and efficient and smooth navigation and balance of the robot are achieved.
Patent Information
- Application Number
- CN201980100352.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-06
- Filing Date
- 2019-09-13
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2039-09-13
AI Technical Summary
Existing technologies make it difficult for robots to navigate in a constrained environment in an efficient and balanced manner, often resulting in robots colliding with obstacles or losing balance.
The initial position and landing position of the robot leg are received through data processing hardware, the difference is decomposed into horizontal and vertical motion components, and an appropriate motion strategy is selected from the strategy set to swing the leg from the initial position to the landing position within a specified time, ensuring Smooth and balanced navigation.
It achieves efficient and smooth navigation of the robot in a restricted environment, reduces collisions and imbalances with obstacles, and improves the real-time and accuracy of navigation.
Smart Images

Figure CN114401886B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to leg swing trajectories of a robot. Background Art
[0002] Robotic devices are increasingly being used in constrained or otherwise restricted environments to perform a variety of tasks or functions. These robotic devices are often required to efficiently navigate through these restricted environments without stepping on or crashing into obstacles. As these robotic devices become more common, real-time navigation and step planning are required to maintain balance and speed while avoiding contact with obstacles. Summary of the invention
[0003] On the one hand, the present disclosure provides a method for planning a swing trajectory for a leg of a robot. The method includes receiving an initial position of a leg of the robot and a landing position of the leg at data processing hardware. The method also includes determining the difference between the initial position and the landing position of the leg by the data processing hardware, and decomposing the difference between the initial position and the landing position of the leg by the data processing hardware into a horizontal motion component and a vertical motion component. The method also includes selecting a horizontal motion strategy from a set of horizontal motion strategies by the data processing hardware to satisfy the horizontal motion component. The method also includes selecting a vertical motion strategy from a set of vertical motion strategies by the data processing hardware to satisfy the vertical motion component. The method also includes running the selected horizontal motion strategy and the selected vertical motion strategy by the data processing hardware to swing the leg of the robot from the initial position to the landing position at a landing target time.
[0004] Another aspect of the present disclosure provides a method for planning a swing trajectory for a leg of a robot. The method includes receiving an initial position of a leg of the robot and an initial velocity of the leg of the robot at the data processing hardware of the robot. The method also includes receiving a landing position of the leg and a target landing time of the leg at the data processing hardware. The landing target time represents the amount of time until the leg of the robot should land at the landing position. The method also includes determining, by the data processing hardware, a difference between the initial position of the leg and the landing position, and decomposing, by the data processing hardware, the difference between the initial position of the leg and the landing position into a horizontal motion component and a vertical motion component. The method also includes selecting, by the data processing hardware, a horizontal motion strategy from a set of horizontal motion strategies to satisfy the horizontal motion component. Each horizontal motion strategy generates a horizontal trajectory as a function of the initial position of the leg, the initial velocity of the leg, the landing position of the leg, and the target landing time of the leg. The method also includes selecting, by the data processing hardware, a vertical motion strategy from a set of vertical motion strategies to satisfy the vertical motion component. Each vertical motion strategy generates a vertical trajectory as a function of the initial position of the leg, the initial velocity of the leg, the landing position of the leg, and the target landing time of the leg. The method also includes executing the selected horizontal motion strategy and the selected vertical motion strategy by the data processing hardware to swing the legs of the robot from the initial position to the landing position at the landing target time.
[0005] Embodiments of the present disclosure may include one or more of the following optional features. In some embodiments, the method includes determining, by data processing hardware, the most aggressive vertical motion strategy in a set of vertical motion strategies. The most aggressive vertical strategy maximizes the vertical acceleration of the legs within the vertical acceleration limit of the legs and maximizes the vertical speed of the legs within the vertical speed limit of the legs. In some examples, selecting a horizontal motion strategy from a set of horizontal motion strategies includes evaluating each horizontal motion strategy in the set of horizontal motion strategies with the most aggressive vertical motion strategy. Optionally, selecting a horizontal motion strategy from a set of horizontal motion strategies includes assigning a hierarchy in a plurality of tiers to each horizontal motion strategy in the set of horizontal motion strategies. Each hierarchy is associated with a preference amount for selecting the corresponding hierarchy, and each hierarchy includes a tiebreaker parameter. The tiebreaker parameter is associated with each horizontal motion strategy in the set of horizontal motion strategies. Selecting a horizontal motion strategy from a set of horizontal motion strategies may also include selecting a horizontal motion strategy from a set of horizontal motion strategies based on the assigned hierarchy and tiebreaker parameter.
[0006] In some embodiments, the tie-breaking parameter includes a total undesirability based on a sum of horizontal undesirability and vertical undesirability. Selecting the vertical motion strategy from the set of vertical motion strategies can occur after selecting the horizontal motion strategy from the set of horizontal motion strategies. In some examples, selecting the vertical motion strategy from the set of vertical motion strategies includes selecting a vertical motion strategy from the set of vertical motion strategies that is associated with a minimum acceleration and a minimum velocity that satisfies a vertical motion component.
[0007] Optionally, the method includes receiving an indication at the data processing hardware that the robot has stumbled. In response to receiving the indication that the robot has stumbled, the method may include selecting, by the data processing hardware, a horizontal motion strategy from a set of second horizontal motion strategies or selecting one of the vertical motion strategies from a set of second vertical motion strategies. The set of second horizontal motion strategies is associated with stumbling, and the set of second vertical motion strategies is also associated with stumbling. Selecting the horizontal motion strategy from the set of horizontal motion strategies may include evaluating each horizontal motion strategy in the set of horizontal motion strategies using a simple analysis, and evaluating a subset of the set of horizontal motion strategies using a detailed analysis based on the simple analysis.
[0008] In some embodiments, the method further includes receiving a target landing time for each leg of the robot at the data processing hardware, determining a landing order for the multiple legs based on the target landing time for each leg of the robot at the data processing hardware, and selecting a horizontal motion strategy and a vertical motion strategy for each leg by the data processing hardware in a planning order based on the landing order. Optionally, each vertical motion strategy in the set of vertical motion strategies includes a maximum speed, a maximum acceleration, and a swing height. At least one horizontal motion strategy in the set of horizontal motion strategies may include a lateral motion strategy and a longitudinal motion strategy.
[0009] Another aspect of the present disclosure provides a robot, which includes a body and legs coupled to the body and configured to manipulate the robot around an environment. The robot also includes data processing hardware in communication with the legs and memory hardware in communication with the data processing hardware. The memory hardware stores instructions that, when run on the data processing hardware, cause the data processing hardware to perform operations. The operations include receiving an initial position of the legs of the robot and an initial velocity of the legs of the robot. The operations also include receiving a landing position of the legs and a landing target time of the legs at the data processing hardware. The landing target time represents the amount of time until the legs of the robot should land at the landing position. The operations also include determining a difference between the initial position of the legs and the landing position, and decomposing the difference between the initial position of the legs and the landing position into a horizontal motion component and a vertical motion component. The operations also include selecting a horizontal motion strategy from a set of horizontal motion strategies to satisfy the horizontal motion component. Each horizontal motion strategy generates a horizontal trajectory as a function of the initial position of the legs, the initial velocity of the legs, the landing position of the legs, and the landing target time of the legs. The operations also include selecting a vertical motion strategy from a set of vertical motion strategies to satisfy the vertical motion component. Each vertical motion strategy generates a vertical trajectory as a function of an initial position of the leg, an initial velocity of the leg, a landing position of the leg, and a target landing time of the leg. The operations also include running the selected horizontal motion strategy and the selected vertical motion strategy to swing the robot's legs from the initial position to the landing position at the landing target time.
[0010] Implementations of the present disclosure may include one or more of the following optional features. In some implementations, an operation includes determining the most aggressive vertical motion strategy in a set of vertical motion strategies. The most aggressive vertical strategy maximizes the vertical acceleration of the legs within the vertical acceleration limit of the legs and maximizes the vertical speed of the legs within the vertical speed limit of the legs. In some examples, selecting a horizontal motion strategy from a set of horizontal motion strategies includes evaluating each horizontal motion strategy in the set of horizontal motion strategies with the most aggressive vertical motion strategy. Optionally, selecting a horizontal motion strategy from a set of horizontal motion strategies includes assigning a level from a plurality of levels to each horizontal motion strategy in the set of horizontal motion strategies. Each level is associated with a preference amount for selecting a corresponding level, and each level includes a tie-breaking parameter. The tie-breaking parameter is associated with each horizontal motion strategy in the set of horizontal motion strategies. Selecting a horizontal motion strategy from a set of horizontal motion strategies may also include selecting a horizontal motion strategy from a set of horizontal motion strategies based on the assigned level and tie-breaking parameter.
[0011] In some implementations, the tie-breaking parameter includes a total undesirability based on a sum of the horizontal undesirability and the vertical undesirability. Selecting the vertical motion strategy from the set of vertical motion strategies can occur after selecting the horizontal motion strategy from the set of horizontal motion strategies. In some examples, selecting the vertical motion strategy from the set of vertical motion strategies includes selecting a vertical motion strategy from the set of vertical motion strategies that is associated with a minimum acceleration and a minimum velocity that satisfies a vertical motion component.
[0012] Optionally, the operations include receiving an indication that the robot has stumbled. In response to receiving the indication that the robot has stumbled, the operations may include selecting a horizontal movement strategy from a set of second horizontal movement strategies or selecting one of a vertical movement strategy from a set of second vertical movement strategies. The set of second horizontal movement strategies is associated with stumbling, and the second vertical movement strategy is also associated with stumbling. Selecting the horizontal movement strategy from the set of horizontal movement strategies may include evaluating each horizontal movement strategy in the set of horizontal movement strategies using a simple analysis, and evaluating a subset of the set of horizontal movement strategies using a detailed analysis based on the simple analysis.
[0013] In some embodiments, the operation further comprises receiving a landing target time for each leg of the robot, determining a landing order for the legs based on the landing target time for each leg of the robot, and selecting a horizontal motion strategy and a vertical motion strategy for each leg in a planning order based on the landing order. Optionally, each vertical motion strategy in the set of vertical motion strategies comprises a maximum speed, a maximum acceleration, and a swing height. At least one horizontal motion strategy in the set of horizontal motion strategies may comprise a lateral motion strategy and a longitudinal motion strategy. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a schematic diagram of an example robot running a swing trajectory planner, which is used to plan the swing trajectories of the robot's legs.
[0015] Figure 2 yes Figure 1 Schematic diagram of an example horizontal motion strategy selector for a robot.
[0016] Figure 3 is an example table of strategy levels and tie-breakers.
[0017] Figure 4 Figure 2 is a graph of example trajectories for several different levels of motion strategies.
[0018] Figure 5A and 5B An example graph of two tracks classified as Cliff Scraping.
[0019] Figure 6 yes Figure 1 Schematic diagram of an example vertical motion strategy selector for a robot.
[0020] Figure 7 is an example graph of multiple vertical trajectories with different starting positions and speeds.
[0021] Figure 8 is an example diagram of several different strategies and interactions with obstacles.
[0022] Fig. 9 yes Figure 1 Schematic diagram of example components of a robot including a collision detector and a leg replanner.
[0023] Fig.10 is a schematic diagram of example forbidden areas for the robot's other legs.
[0024] Figures 11A-11C is a diagram of an example Swing Around strategy for swinging around the robot's other leg.
[0025] Fig.12 is a schematic diagram of an example horizontal trajectory of the slewing strategy.
[0026] Fig.13 is a schematic diagram of another example horizontal trajectory of the slewing strategy.
[0027] Fig.14 are example graphs of multiple slewing trajectories from various starting positions.
[0028] Fig.15 is a schematic diagram of an example twisting strategy for maneuvering around multiple other legs of the robot.
[0029] Fig.16 is a sample table of stumbling types and appropriate strategic responses.
[0030] Fig.17 is a flow chart of an exemplary operational arrangement of a method for planning a swing trajectory for a leg of a robot.
[0031] Fig.18 is a schematic diagram of an example computing device that can be used to implement the systems and methods described herein.
[0032] The same reference symbols in different drawings denote the same elements. DETAILED DESCRIPTION
[0033] As legged robotic devices (also referred to as "robots") become more common, there is an increasing need for robots to navigate environments that are constrained in a variety of ways. For example, a robot may need to navigate a cluttered room with large and small objects scattered across the floor. Or, as another example, a robot may need to negotiate stairs. Typically, navigating such environments is a slow and difficult process, which causes the legged robot to frequently stop, collide with objects, and / or become unbalanced. Embodiments herein are directed to systems and methods for leg swing trajectory planning for generating leg swing trajectories in real-time, thereby helping legged robotic devices navigate constrained environments quickly and efficiently while maintaining stability and balance.
[0034] refer to Figure 1 , a robot or robotic device 10 includes a body 11 and two or more legs 12. The robot 10 is configured to run a swing leg trajectory planner 100 for enabling the robot 10 to navigate in a constrained environment 8. Each leg 12 is coupled to the body 11 and may have an upper portion 14 and a lower portion 16 separated by a leg joint 18. The lower portion 16 of each leg 12 terminates in a foot 19. The foot 19 of each leg is optional, and the terminal end of the lower portion of one or more legs 12 may be connected to a wheel, or the end of each leg 12 may directly contact the ground 9. The robot 10 has a vertical gravity axis Vg along the direction of gravity and a center of mass CM, which is the point where the weighted relative position sum of the distributed mass of the robot 10 is zero. The robot 10 also has a posture P based on CM relative to the vertical gravity axis Vg (i.e., a fixed reference frame relative to gravity) to define a specific posture or stance taken by the robot 10. The posture of the robot 10 can be defined by the direction or angular position of the robot 10 in space. The movement of the legs 12 relative to the body 11 changes the posture P of the robot 10 (ie, a combination of the position of the robot's CM and the attitude or orientation of the robot 10 ).
[0035] In some embodiments, the robot 10 also includes one or more accessories, such as an articulated arm 20 disposed on the body 11 and configured to move relative to the body 11. The articulated arm 20 can have five or more degrees of freedom. In addition, the articulated arm 20 can be interchangeably referred to as a manipulator arm or simply an accessory. In the example shown, the articulated arm 20 includes two parts 22, 24 that can rotate relative to each other and the body 11; however, the articulated arm 20 can include more or fewer parts without departing from the scope of the present disclosure. The first part 22 can be separated from the second part 24 by an articulated arm joint 26. An end effector 28 (interchangeably referred to as a manipulator head 28) can be coupled to the end of the second part 24 of the articulated arm 20 and can include one or more actuators 29 for grasping / grasping an object.
[0036] The robot 10 also includes a vision system 30 having at least one imaging sensor or camera 31, each sensor or camera 31 capturing image data or sensor data 17 of the environment 8 surrounding the robot 10 at a viewing angle 32 and within a field of view 34. The vision system 30 can be configured to move the field of view 34 in any direction by adjusting the viewing angle 32 or by panning and / or tilting (independently or via the robot 10) the camera 31. Alternatively, the vision system 30 can include multiple sensors or cameras 31 so that the vision system 30 captures a substantially 360-degree field of view around the robot 10. In some embodiments, the camera 31 of the vision system 30 includes one or more stereo cameras (e.g., one or more RGBD stereo cameras). In other examples, the vision system 30 includes one or more radar sensors, such as a scanning light detection and ranging (LIDAR) sensor, or a scanning laser detection and ranging (LADAR) sensor, an optical scanner, a time-of-flight sensor, or any other three-dimensional (3D) volume image sensor (or any combination of such sensors). The vision system 30 provides image data or sensor data 17 derived from image data captured by the camera or sensor 31 to the data processing hardware 36 of the robot 10. The data processing hardware 36 digitally communicates with the memory hardware 38 and, in some embodiments, may be a remote system. The remote system may be a single computer, multiple computers, or a distributed system (e.g., a cloud environment) with scalable / elastic computing resources and / or storage resources.
[0037] The robot 10 runs a swing leg trajectory planner 100 on the data processing hardware 36. The leg swing trajectory planner 100 receives an initial or current position or location 50 and an initial or current velocity 52 of a leg 12 of the robot 10 (e.g., from a sensor monitoring the corresponding leg 12). The swing leg trajectory planner 100 also receives landing data 60 for the leg 12. The landing data 60 includes a landing position 62 and a landing target time 64. The landing position 62 represents the position on the ground 9 that the leg should contact in order to complete a step. The landing target time 64 represents the amount of time until the leg 12 of the robot 10 should touch the ground at the landing position 62. That is, the landing target time 64 represents the time point (or time window) when the leg 12 should contact the ground 9 at the landing position 62 to maintain gait, balance, timing, etc.
[0038] In some embodiments, the leg swing trajectory planner 100 determines the difference between the initial or current position of the leg 12 and the landing position 62. That is, the leg swing trajectory planner 100 determines how far the leg 12 must travel from its initial or current position 50 to reach the landing position 62. In some embodiments, the planner 100 uses only the initial position 50 (e.g., the raised position of the foot) and does not rely on real-time position measurements of the leg during the swing. In other embodiments, the planner 100 continuously receives the current position 50 of the leg (e.g., via measurement). As used herein, the initial position and the current position are interchangeable. Similarly, the initial velocity 52 and the current velocity 52 are also interchangeable. The leg swing trajectory planner 100 decouples or decomposes the difference between the current position of the leg 12 and the landing position 62 into a horizontal motion component and a vertical motion component. Stated another way, the leg swing trajectory planner 100 decomposes the determination of the leg swing trajectory into the horizontal motion required by the leg 12 (e.g., horizontal motion component) and the vertical motion required by the leg 12 (e.g., vertical motion component) in order to reach the touchdown location 62 within the touchdown target time 64. Based at least in part on the difference, the horizontal motion strategy selector 200 can select a horizontal motion strategy 210 from a set of horizontal motion strategies (e.g., from a horizontal motion strategy database 212), and the vertical motion strategy selector 600 can select a vertical motion strategy 610 from a set of vertical motion strategies 610 (e.g., from a vertical motion strategy database 612). The selected horizontal motion strategy 210 and the selected vertical motion strategy 610 together provide a set of selected strategies 130 to form a swing trajectory 132 that, when executed by the data processing hardware 36 of the robot 10, causes the leg 12 of the robot 10 to swing from the current position 50 to the touchdown location 62 within the touchdown target time 64. Each strategy 210, 610 selected by the corresponding selector 200, 600 of the planner 100 runs on the data processing hardware 36 of the robot 10 to generate a swing trajectory for the leg 12 as a function of the leg's current position 50 and velocity 52, as well as the landing position 62 and landing target time 64.
[0039] In some embodiments, at least a portion of the swing leg trajectory planner 100 is executed on a remote device in communication with the robot 10. For example, the horizontal motion strategy selector 200 and / or the vertical motion strategy selector 600 may be executed on the remote device to select the corresponding strategy 210, 610 (e.g., a set of selected strategies 130), and the control system running on the robot 10 may receive and execute the set of strategies 130 to swing the leg 12 of the robot 10 from the current position 50 to the landing position 62 at the landing target time 64. Alternatively, the entire swing trajectory planner 100 may be executed on the remote device, and the remote device may control / instruct the robot 10 to swing the leg 12 based on the set of selected strategies 130.
[0040] Reference now Figure 2 In some embodiments, the horizontal motion strategy selector 200 includes a simple analyzer 220, a detailed analyzer 230, and a hierarchical evaluator 240. The simple analyzer 220 may receive the most aggressive vertical motion strategy 610A and each horizontal motion strategy 210, 210a-n in the set of horizontal motion strategies stored in the database 212. In some examples, the simple analyzer 220 quickly analyzes the most aggressive vertical motion strategy 610A with each horizontal motion strategy 210. This is because generally if the most aggressive vertical motion strategy 610A fails, then all vertical motion strategies 610 will fail. The most aggressive vertical motion strategy 610 is using the maximum acceleration and velocity within the constraints, so when the strategy 610A fails to achieve the landing target time 64 or avoid an obstacle, it is likely that other strategies 610 will not. The most aggressive vertical motion strategy 610A is defined as a vertical motion strategy 610 that instructs the robot 10 to keep the leg 12 velocity, acceleration, and swing height as high as possible within any applicable constraints 232. For example, the most aggressive vertical motion strategy 610A may nominally accelerate the leg 12 upward (i.e., vertical acceleration) until the upward or vertical speed limit is reached, and then glide upward at an upward or vertical constant speed (i.e., at the upward speed limit). Strategy 610A may then accelerate downward until the upward motion of the leg 12 stops at a desired swing height (i.e., maximum swing height). Strategy 610A may remain at the desired swing height for as long as possible while still arriving at the landing location 62 on time. The most aggressive vertical motion strategy 610A may accelerate downward until the downward speed limit (which may be the same or different from the upward speed limit) is reached, and then glide downward at a constant downward speed (i.e., the downward speed limit) until the leg 12 achieves landing at the landing location 62.
[0041] When analyzing each horizontal motion strategy 210 with the most aggressive vertical motion strategy 610A, the simple analyzer 220 can quickly eliminate unsatisfactory horizontal motion strategies 210 from the set of horizontal motion strategies 210a-n. Specifically, eliminating unsatisfactory horizontal motion strategies 210 refers to eliminating these strategies 210 as candidates selected by the horizontal motion strategy selector 200. For example, the simple analyzer 220 can evaluate each horizontal motion strategy 210 in the best case for the corresponding strategy 210 and measure the amount of total undesirability. The total undesirability can be the sum of horizontal undesirability and vertical undesirability. Horizontal undesirability and lateral undesirability are measures of undesirable effects from the selected strategy. For example, the higher the peak acceleration (i.e., vertical peak acceleration and horizontal peak acceleration) of the strategy 210, 610, the greater the undesirability of the strategy. Undesirability can also be measured based on other features of the strategy 610, 210 (e.g., peak speed, landing speed, landing time, swing height, margin, etc.). Optionally, some strategies may modify the associated undesirability. For example, a preferred strategy (e.g., a Cubic strategy, as discussed in more detail below) may be weighted by a modifier to reduce overall undesirability. Other, less desirable strategies may have modifiers that increase undesirability.
[0042] After analyzing each horizontal motion strategy 210 with the most aggressive vertical motion strategy 610A, the simple analyzer 220 sends the set of horizontal motion strategies 210 that passed the simple analysis (i.e., a subset of the original set of all horizontal motion strategies 610) to the detailed analyzer 230. For example, strategies 210 with a total undesirability below a threshold amount may be sent to the detailed analyzer. Optionally, whether the simple analyzer 220 passes the corresponding strategy 210 to the detailed analyzer (i.e., whether the strategy 210 is included in the set 210S) depends on the other strategies 210. For example, when the simple analyzer 220 determines that the corresponding strategy 210 cannot outperform the strategies 210 that have already been analyzed, the simple analyzer 220 may refuse to pass the corresponding strategy 210 to the detailed analyzer 230. In some embodiments, the simple analyzer 220 analyzes the strategies 210 in an order designed to analyze the most likely best strategies 210 first, so as to optimize the evaluation strategies by potentially reducing the number of strategies 210 evaluated. The order may be static or dynamic based on terrain or other constraints.
[0043] Continue to refer Figure 2 , the detailed analyzer 230 performs a more thorough analysis than the simple analyzer 220. In some embodiments, the detailed analyzer 230 assigns a level 300, 300a-n ( Figure 3). In some examples, each level 300 is associated with a preference amount for selecting the corresponding level. That is, each level has a certain amount of selection desirability. To assign the levels 300, the detailed analyzer 230 uses, for example, the landing location 62, the landing target time 64, the current position 50, the current speed 52, and any applicable constraints 232 (e.g., maximum acceleration constraints, maximum speed constraints, obstacle constraints, etc.) to perform multiple calculations. The detailed analyzer passes the set of strategies 210S and the assigned levels 300 to the level evaluator 240. The level evaluator 240 sorts the levels 300 (and the strategies 210 subsequently assigned to the levels 300) from most to least desirable (i.e., the preference amount for selecting the level) and then selects the strategy 210H assigned to the most desirable level 300. The level evaluator 240 can statically determine the order of the levels 300 based on predetermined instructions or dynamically determine the order of the levels 300 based on the current environment or constraints 232.
[0044] Reference now Figure 3, each tier 300 may have an associated tiebreaker or tiebreaker parameters 302, 302a-n. When more than one strategy 210 shares the most desirable tier 300, the tier evaluator 240 uses the tiebreaker. For example, the most desirable tier 300 may be "success," where the tiebreaker 302 is the total undesirability. That is, the most desirable tier 300 may be the tier of strategies 210 that cause the foot 19 of the leg 12 of the robot 10 to reach the landing location 62 at the landing target time 64. When multiple strategies 210 are assigned a success tier 300, the tier evaluator 240 may select the strategy 210 with the lowest total undesirability from among the strategies 210 assigned a success tier 300. In some embodiments, when a particular strategy 210 (e.g., a three-time strategy 210 or other preferred strategy 210) is assigned a success tier 300, the particular strategy 210 may be selected without evaluating any other strategies 210. In this case, no other strategy is better than the selected strategy 210, and the total computation required to select the strategy 210 is greatly reduced. In another example, the second most desirable level 300 can be XY-Success; Z-Not Possible. The level evaluator 240 can assign the strategy 210 to the level 300 that successfully reaches the touchdown location 62 at the touchdown target time 64 in the horizontal dimension (i.e., XY), but does not successfully reach the vertical movement strategy 610 at the touchdown target time 64. For example, given the current position 50 and / or the current speed 52 and the constraints 232, the foot may not be able to reach the desired touchdown height (i.e., the height component of the touchdown location 62). For this level 300, the tiebreaker 302 can be a combination of the severity and overall undesirability of any collision. For example, when no strategy 210 is assigned to the Success tier 300 and two or more strategies 210 are assigned to the XY-Successful; Z-Unlikely tier 300 , the tier evaluator 240 may use the tie breaker 302 to select a strategy 210 .
[0045] Reference now Figure 4, horizontal trajectories 410a-c are shown on the graph 400, where the y-axis represents position (e.g., in meters) and the x-axis represents time (e.g., in seconds). The horizontal trajectory is the distance the leg must travel on the horizontal plane from the current position to the landing location 62 (i.e., laterally and / or forward and backward). For example, trajectory 410a can represent a cubic horizontal motion strategy 210, trajectory 410b can represent a BangBangWait (BBW) horizontal motion strategy 210, and trajectory 410c can represent a WaitBangBang (WBB) horizontal motion strategy 210. The cubic horizontal motion strategy 210 follows a path of a cubic polynomial. The BBW horizontal motion strategy 210 accelerates as quickly as possible (within the constraints 232) to reach a maximum speed as quickly as possible, and then coasts until deceleration is required. The WBB horizontal motion strategy 210 is the opposite of the BBW horizontal motion strategy 210 in that the WBB horizontal motion strategy coasts at the current speed 52 for as long as possible and then accelerates to the maximum speed as quickly as necessary to still reach the touchdown location 62 according to the touchdown target time 64 .
[0046] The detailed analyzer 230 may assign strategies 210 to any number of levels 300. In some examples, the levels 300 include cliff scraping, where the tiebreaker is the horizontal margin. For example, the levels 300 may include Knee-Terrain Collision and Knee Self-Collision, where the tiebreaker 302 is the collision severity, undesirability, and / or miss distance (e.g., how close the robot's legs are to missing the other legs / obstacles). Optionally, the planner 100 may calculate and predict the current and future knee positions of the robot 10 based on the predicted hip positions and the planned foot positions. Based on the calculated knee positions, the system 100 may compare the trajectory of the selected strategy and compare it to the terrain near the robot 10.
[0047] Other levels 300 may include terrain collisions, where collision severity and / or undesirability are used as tiebreakers; and XY cannot reach the target (i.e., the leg 12 cannot reach the landing position 62), where the missed distance is used as a tiebreaker 302. The missed distance may include hysteresis. Optionally, the detailed analyzer 230 includes a self-collision level 300, where the collision severity and / or missed distance are used as tiebreakers 302. In some embodiments, the detailed analyzer 230 includes a default level 300 and a constraint violation level 300. Constraint violation can be a level 300 for a strategy that will not be selected. For example, when a strategy 210 will violate an acceleration constraint (i.e., maximum acceleration), the detailed analyzer 230 can assign a constraint violation level 300 to the strategy 210. No tiebreaker is required because these strategies will not be selected. The default level 300 may include a single default strategy 210, which is selected by the level evaluator 240 if all other strategies 210 are assigned a constraint violation level. Optionally, the default policy is a BBW horizontal motion policy.
[0048] Reference now Figure 5A In another example, when the trajectory 500a of the leg moves from the current position 50 to the landing position 62, the trajectory 500a is very close to or actually scrapes the obstacle 502. The trajectory can be classified as a cliff scrape when the obstacle 502 is actually scraped or when the horizontal margin 510 between the leg 12 and the obstacle 502 is less than a threshold distance (even if there is no scrape or collision with the obstacle). For example, when the horizontal margin 510 is less than a threshold distance, Figure 5B Track 500b can also be classified as a cliff scrape. In this case, track 500b will be selected instead of track 500a because the tiebreaker (i.e., horizontal margin 510) of track 500b is larger.
[0049] Reference now Figure 6 In some embodiments, when horizontal motion strategy 210H is selected ( Figure 2 and 3), the vertical motion strategy selector 600 receives the selected horizontal motion strategy 210H and each vertical motion strategy 610, 610a-n from the vertical motion strategy database 612. The vertical motion strategy selector 600 can organize or categorize the vertical motion strategies 610 based on the mildness of the strategy 610 (or the aggressiveness of the strategy). For example, the vertical motion strategy selector 600 can categorize a vertical motion strategy 610 with a lower peak acceleration as milder than a strategy 610 with a higher peak acceleration. The vertical motion strategy selector 600 may include a vertical strategy evaluator 620 that evaluates or analyzes the vertical motion strategies 610 and the selected horizontal motion strategy 210H. In some examples, the vertical strategy evaluator 620 determines the mildest vertical motion strategy 610 that successfully navigates the foot 19 of the robot 10 to the landing position 62 at the landing target time 64 and with sufficient margin (i.e., the distance between the trajectory and the ground). That is, the vertical strategy evaluator 620 can select a vertical motion strategy 610V associated with a minimum acceleration and a minimum speed that satisfies the vertical motion component of the leg swing trajectory. Satisfying the vertical motion component can be defined as reaching the landing position 62 at the landing target time 64 and having a threshold margin for collision with an obstacle. In some examples, the vertical strategy evaluator 620 evaluates the mildest strategy 610 that has not yet been evaluated until the strategy 610 that satisfies the vertical motion component is evaluated. The strategies 610 after this point do not need to be evaluated. Alternatively, the vertical strategy evaluator evaluates the least mild strategy 610 that has not yet been evaluated until the strategy 610 fails to satisfy the vertical motion component. Similarly, the strategies 610 after this point do not need to be evaluated.
[0050] In some examples, the vertical motion strategy selector 600 selects a special strategy based on an abnormal situation. For example, during a delayed touchdown (i.e., the robot 10 expects the leg to have touched down, but the leg has not touched down yet), the selector 600 may select a special delayed touchdown strategy that accelerates or decelerates to descend at a fixed speed until touchdown is achieved. When other abnormal situations occur, the strategy selector 600 may select other special strategies (and bypass the standard selection sequence).
[0051] Thus, by decoupling the horizontal and vertical motion components of the swing leg trajectory, and by performing a simple analysis with the most aggressive vertical motion strategy 610A, the system 100 greatly reduces the number of strategy combinations that are evaluated. For example, given M horizontal motion strategies 210 and N vertical motion strategies 610, a less complex system may perform M×N evaluations, which is computationally expensive. In contrast, embodiments herein may evaluate up to M+N strategies (typically much fewer) before selecting an ideal horizontal motion strategy 210 and vertical motion strategy 610.
[0052] Figure 7 A graph 700 is shown of several vertical component trajectories 710 from seven different starting positions, each showing five different starting speeds. The y-axis of the graph represents the height of the feet 19 of the robot 10 in meters (m), while the x-axis represents time in seconds (s). Obstacles 720 of varying heights are also shown. In this example, each trajectory 710 is set to the maximum height allowed by the constraint 232. Figure 7 It is obvious that in some terrain conditions, some starting positions (e.g. Figure 7 3, -0.2, -0.1) in the example above will result in a collision regardless of which vertical motion strategy 610 is selected. However, in the given example, if there is sufficient margin between trajectory 710 and obstacle 720, vertical motion strategy selector 600 may select a strategy 610 that provides a gentler acceleration and still successfully reaches touchdown location 62 (i.e., without colliding with obstacle 720).
[0053] Reference now Figure 8 , a graph 800 showing three vertical trajectories 810a-c for three different vertical motion strategies 610. The y-axis represents the height of the feet 19 of the robot 10 in meters (m), and the x-axis represents the horizontal position of the feet 19 of the robot 10 in meters (m). Trajectory 810a represents a trajectory that at least partially follows the three-fold vertical motion strategy 610, trajectory 810b represents a trajectory that at least partially follows the WBB vertical motion strategy 610 (i.e., the strategy waits for the feet to rise before moving forward), and trajectory 810c represents a trajectory that at least partially follows the BBW vertical strategy 610 (i.e., the strategy begins to accelerate the feet forward before reaching a significant height). Two different obstacles 820a, 820b are also shown. In this example, the three-fold vertical motion strategy trajectory 810a fails to pass either obstacle 820a, 820b. On the contrary, the WBB vertical motion strategy trajectory 810b successfully passes the obstacle 820a but collides with the obstacle 820b, while the BBW vertical motion strategy trajectory 810c collides with the obstacle 820a but successfully passes the obstacle 820b. Therefore, when only the obstacle 820a exists, the vertical motion strategy selector 600 can select the WBB vertical motion strategy 610, and when only the obstacle 820b exists, the vertical motion strategy selector 600 can select the BBW vertical motion strategy 610. When both obstacles 820a and 820b exist, the vertical motion strategy selector 600 may not select the vertical motion strategy 610 associated with the trajectory 810a, 810b, and 810c. The vertical motion strategy selector 600 can be subject to the constraints of the variable margin (i.e., how close the leg can pass the ab obstacles). Here, the required margin is zero, and the trajectory 810b, 810c rubs the corners of the corresponding obstacles 820a, 820b.
[0054] Reference now Fig. 9 In some embodiments, the leg swing trajectory planner 100 plans a leg swing trajectory for the legs 12 of the robot 10 that has the least amount of time remaining until landing. That is, the planner 100 plans the next leg 12 of the robot 10 to land, and then plans the second leg to land next after the first leg 12, and so on. This is advantageous because the leg 12 that has the least amount of time until landing has the least amount of freedom to adjust the trajectory. That is, the leg that has more time until landing has more degrees of freedom to adjust the trajectory to avoid collision with other legs. In some examples, the leg swing trajectory planner 100 determines a landing order 904 based on leg data 902 from each leg 12 (e.g., current position 50, current speed 52, landing position 62, landing target time 64, etc.). Based on the landing order, the system 100 can select strategies 210, 610 for each leg in a planning order based on the landing order.
[0055] The leg swing trajectory planner 100 may include a collision detector 910. The collision detector 910 receives the initially selected strategy 210Hi, 610Vi from the strategy selector 200, 600 and checks for collisions with previously planned legs. For example, the leg swing trajectory planner may first plan leg "A" (because it is the next leg to land). Later, when planning leg "B" (in this example, it is the next leg to land after leg "A"), the collision detector 910 may determine whether the strategy 210H, 610V selected for leg "B" will cause leg "B" to collide with leg "A". When a collision is detected, the leg swing trajectory planner 100 may attempt to select a new strategy for the colliding leg (in this example, leg "B") because there is more time until the colliding leg lands, and therefore there is more flexibility for the strategy 210, 610. In the event that a collision is unavoidable (i.e., selecting a new strategy will not mitigate the collision), in some examples, the collision detector 910 sends a replanning signal 912 to the leg replanner 920 to replan the previously planned leg (i.e., leg "A") in an attempt to avoid the collision. The leg replanner 920 outputs a final selected strategy 210Hf, 610Hf, which may be the same as or different from the initially selected strategy 210Hi, 610Vi (e.g., due to the replanning).
[0056] In some embodiments, the leg swing trajectory planner 100 projects a "keep out" zone around each leg to help avoid self-collision. Fig.10 , the leg swing trajectory planner may select a strategy 210 , 610 that reaches the landing position 62 while avoiding the landing positions of other legs 1030 and the corresponding prohibited areas 1020 .
[0057] Reference now Fig.11A -C. In some embodiments, the horizontal motion strategy 210 is further decomposed into an x-coordinate strategy (e.g., forward / backward or longitudinal motion strategy) and a y-coordinate strategy (e.g., lateral motion strategy). Fig.11A As shown, in some cases, the horizontal motion strategy selector 200 may need to plan a leg trajectory that crosses the other leg 12 of the robot 10 (for example, during a turn or recovery from a trip). That is, the horizontal motion strategy selector 200 may need to plan a landing position 62 (from the current position 50 to the forbidden area 1020 that crosses the other leg 12 of the robot 10) Fig.11A ). In this case, planning a trajectory directly from the current position 50 to the landing position 62 would cross the forbidden region 1020 and potentially cause a collision with another leg 12. Instead, the horizontal motion strategy selector 200 may execute the turning strategy 210 to maneuver the leg 12 around the forbidden region 1020. In some examples, the horizontal motion strategy selector 200 determines the location of the corner 1110 of the polygon representing the forbidden region 1020. The planner 100 may place the waypoints 1120a, 1120b at a threshold distance (i.e., margin) from the corner 1110 ( Fig. 11B ).
[0058] like Fig. 11C As shown, horizontal motion strategy selector 200 can decompose the x and y motions required to reach touchdown location 62. For example, selector 200 can plan BBW horizontal motion strategy 210 to maneuver leg 12 from current location 50 to a point other than waypoint 1120a. Horizontal motion strategy selector 200 can determine the amount of time t until leg 12 reaches waypoint 1120a on the y-axis. c The horizontal motion strategy selector 200 may ensure that there is no motion in the x-direction towards the waypoints 1120a, 1120b until at least t c Time has passed. In some examples, the planner 100 may swing the leg over the forbidden region 1020 when possible. For example, if the contralateral leg is tilted, there may be an opportunity to swing over a portion of the forbidden region 1020 without colliding with the contralateral leg. In this case, when the vertical movement strategy 610 is selected, the planner 100 may mark the possibility for future evaluation.
[0059] Fig.1220 shows a graph of x position versus time in a slewing strategy 210. As shown, the horizontal motion strategy selector 200 may select a strategy 210 that accelerates until a speed limit is reached, further acceleration will pass the landing location 6, or maintaining the current speed will enter the prohibited area 1020. In the example shown, the strategy 210 briefly accelerates the leg until the gliding (i.e., maintaining the current speed) scrapes or touches the corner of the prohibited area 1020. From this point, the leg 12 glides until time t c (ie, the leg passes the corner of the forbidden region 1020) and then accelerates in the direction of the landing location 62 (eg, using the BBW strategy 210).
[0060] In some cases, the horizontal motion strategy selector 200 may further decompose the motion components of the desired trajectory. Fig.13 As shown, in some cases, the current position 50 is located on the other side of the forbidden area 1020 away from the landing position 62. In this case, the horizontal motion strategy selector 200 can execute the BBW strategy (in Fig.13 The horizontal motion strategy selector 200 may determine the time (t c1 ), and then execute another BBW strategy 210 ( Fig.13 ), and then similarly to Fig.11A Perform the remaining operations as described by -C.
[0061] Reference now Fig.14 , a number of turn trajectories 1410, 1410a-n from various starting positions are shown on graph 1400, each attempting to reach the touchdown location 62. The x-axis of graph 1400 represents the position of leg 12 in the x-dimension, while the y-axis of graph 1400 represents the position of leg 12 in the y-dimension. Turn strategy 210 attempts to avoid forbidden region 1020 (and leg 12a that is the source of forbidden region 1020).
[0062] While the example of the swing strategy shown combines multiple identical strategies (e.g., BBW) to reach the touchdown location 62, in some embodiments, the strategy selector 200 also combines different horizontal motion strategies 210. The horizontal motion strategy selector 200 can combine different strategies 210 by axis. For example, the selector 200 can select a BBW horizontal motion strategy 210 in the x-dimension and a triple horizontal strategy 210 in the y-dimension. The horizontal motion strategy selector 200 can also combine strategies 210 by time. For example, the horizontal motion strategy selector 200 can select a BBW horizontal motion strategy 210 for the first ten percent (or select a number of seconds) of the swing, and then switch to a triple horizontal strategy 210 for the remainder of the swing. In other examples, the combination strategy is predefined (e.g., by an operator), and the horizontal motion strategy selector 200 can select the predefined combination strategy.
[0063] Reference now Fig.15 , a single horizontal motion strategy 210 (e.g., a Wiggle strategy 210W) may include any combination of various horizontal motion strategies (three times, BBW, WBB, etc.) to reach the landing position 62. Fig.15 As shown, in some cases, the horizontal motion strategy selector 200 may need to select a strategy 210 to maneuver the leg 12 around multiple other legs 12a, 12b of the robot 10 and the associated keep-out regions 1020.
[0064] Reference now Fig.16 In some embodiments, the leg swing trajectory planner 100 selects a particular strategy 210, 610 in response to the environment surrounding the robot 10 or in response to determined or detected behavior. For example, when the planner 100 determines that the robot is traversing level and unobstructed terrain, the planner 100 may select a strategy 210, 610 by default without any detailed analysis by the detailed analyzer 230. In another example, the planner 100 may receive an indication of a trip of the robot 10 and react to a default strategy 210, 610 associated with the trip. The trip strategy may include a horizontal movement strategy 210 and a vertical movement strategy 610, or alternatively, only a horizontal movement strategy 210. Fig.16 As shown, the planner 100 can react to a normal stumble, a recent normal stumble, a knee stumble, a self-collision with crossed legs, and a self-collision with uncrossed legs. For example, in response to a knee stumble, the planner 100 can slowly move the knee forward to recover. During a normal stumble, the planner 100 can stop the forward longitudinal movement of the swing leg 12 and raise the foot 19. During a crossed self-collision, the planner 100 can attempt to untie the swing leg, and during an uncrossed self-collision, the planner 100 can attempt to move laterally away from the stance leg and continue to move toward the landing position 62.
[0065] Therefore, the swing leg trajectory planner 100 decouples the swing trajectory of the leg 12 of the robot 10 into horizontal and vertical components. By first decoupling the horizontal component and the vertical component, the planner 100 reduces the overall complexity and processing requirements. This allows the planner 100 to plan and re-plan the swing leg trajectory at a high frequency. For example, the planner 100 can plan the swing leg trajectory in 100 microseconds or less to allow the robot 10 to react quickly to environmental changes or collisions with the robot 10. Because the duration of the leg swing typically ranges from 200 milliseconds to more than 600 milliseconds, the planner 100 can re-plan the legs multiple times before landing. In some examples, the planner 100 plans each leg every three milliseconds. The planner 100 attempts to ensure that all constraints 232 are met while avoiding collisions and self-collisions with obstacles. When all constraints cannot be met and / or the landing position 62 or the landing time 64 cannot be met, the planner 100 can provide a moderate degradation by prioritizing (e.g., via the level evaluator 240) which constraints / requirements are met. The planner can also improve aesthetics and balance by, for example, minimizing leg lift during the golf swing and keeping the swing path smooth.
[0066] Fig.17 1 is a flow chart of an example operational arrangement of a method 1700 for planning a swing leg trajectory of a robot 10. At operation 1702, the method 1700 includes receiving, at the data processing hardware 36, an initial position 50 of a leg 12 of the robot 10 and an initial velocity 52 of the leg 12 of the robot 10. Here, the data processing hardware 36 runs a leg swing trajectory planner 100 and may reside on the robot 10, a remote system / device in communication with the robot 10, or a combination thereof. At operation 1704, the method 1700 includes receiving, at the data processing hardware 36, a touchdown position 62 of the leg 12 and a touchdown target time 64 for the leg 12. The touchdown target time 64 represents an amount of time until the leg 12 of the robot 10 should touch down at the touchdown position 62.
[0067] At operation 1706, method 1700 includes determining, by the data processing hardware 36, a difference between an initial position 50 of the leg and a landing position 62, and at operation 1708, method 1700 includes decomposing, by the data processing hardware 36, the difference between an initial position 50 of the leg 12 and a landing position 62 into a horizontal motion component and a vertical motion component.
[0068] At operation 1710, the method 1700 includes selecting, by the data processing hardware 36, a horizontal motion strategy 210 from a set of horizontal motion strategies to satisfy the horizontal motion component. Each horizontal motion strategy generates a horizontal trajectory as a function of the initial position 50 of the leg 12, the initial velocity 52 of the leg 12, the ground position 62 of the leg 12, and the target time 64 for the leg 12 to touch down. The method 1700 also includes selecting, by the data processing hardware 36, a vertical motion strategy 610 from a set of vertical motion strategies to satisfy the vertical motion component at operation 1712. Each vertical motion strategy 610 generates a vertical trajectory as a function of the initial position 50 of the leg 12, the initial velocity 52 of the leg 12, the ground position 62 of the leg 12, and the target time 64 for the leg 12 to touch down. At operation 1714, the method 1700 includes executing, by the data processing hardware 36, the selected horizontal motion strategy 210 and the selected vertical motion strategy 610 to swing the leg 12 of the robot 10 from the initial position 50 to the ground position 62 at the target time 64 for the touchdown.
[0069] Fig.18 1 is a schematic diagram of an example computing device 1800 (e.g., data processing hardware 36 and memory hardware 20) that can be used to implement the systems and methods described in this document. The components shown here, their connections and relationships, and their functions are merely exemplary and are not meant to limit implementations of the inventions described and / or claimed in this document.
[0070] The computing device 1800 includes a processor 1810 (e.g., data processing hardware 36), a memory 1820 (e.g., memory hardware 38), a storage device 1830, a high-speed interface / controller 1840 connected to the memory 1820 and a high-speed expansion port 1850, and a low-speed interface / controller 1860 connected to a low-speed bus 1870 and the storage device 1830. Each of the components 1810, 1820, 1830, 1840, 1850, and 1860 is interconnected using various buses and can be mounted on a common motherboard or in other appropriate ways. The processor 1810 can process instructions for operations within the computing device 1800, including instructions stored in the memory 1820 or on the storage device 1830, to display graphical information of a graphical user interface (GUI) on an external input / output device (such as a display 1880 coupled to the high-speed interface 1840). In other embodiments, multiple processors and / or multiple buses, as well as multiple memories and multiple types of memories, can be used appropriately. Furthermore, multiple computing devices 1800 may be connected, with each device providing portions of the necessary operations (eg, as a server bank, a group of blade servers, or a multi-processor system).
[0071] Memory 1820 stores information non-temporarily within computing device 1800. Memory 1820 may be a computer-readable medium, a volatile memory unit, or a non-volatile memory unit. Non-temporary memory 1820 may be a physical device for temporarily or permanently storing programs (e.g., instruction sequences) or data (e.g., program state information) for use by computing device 1800. Examples of non-volatile memory include, but are not limited to, flash memory and read-only memory (ROM) / programmable read-only memory (PROM) / erasable programmable read-only memory (EPROM) / electrically erasable programmable read-only memory (EEPROM) (e.g., commonly used for firmware, such as bootloaders). Examples of volatile memory include, but are not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), phase change memory (PCM), and disk or tape.
[0072] Storage device 1830 can provide mass storage for computing device 1800. In some embodiments, storage device 1830 is a computer-readable medium. In various embodiments, storage device 1830 can be a floppy disk device, a hard disk device, an optical disk device or a tape device, a flash memory or other similar solid-state storage device, or an array of devices, including devices in a storage area network or other configuration. In additional embodiments, a computer program product is tangibly embodied in an information carrier. The computer program product includes instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer or machine-readable medium, such as memory 1820, storage device 1830, or memory on processor 1810.
[0073] The high-speed controller 1840 manages bandwidth-intensive operations of the computing device 1800, while the low-speed controller 1860 manages less bandwidth-intensive operations. This division of responsibilities is exemplary only. In some embodiments, the high-speed controller 1840 is coupled to the memory 1820 and the high-speed expansion port 1850, which can accept various expansion cards (not shown). In some embodiments, the low-speed controller 1860 is coupled to the storage device 1830 and the low-speed expansion port 1890. The low-speed expansion port 1890, which can include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet), can be coupled to one or more input / output devices, such as a keyboard, a pointing device, a scanner, or a network device such as a switch or router, for example, through a network adapter.
[0074] Various implementations of the systems and techniques described herein can be realized in digital electronic and / or optical circuits, integrated circuits, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs executable and / or interpretable on a programmable system comprising at least one programmable processor, which may be special purpose or general purpose, coupled to receive data and instructions from a storage system, and to send data and instructions to the storage system.
[0075] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processor and may be implemented in high-level procedural and / or object-oriented programming languages and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, non-transitory computer-readable medium, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0076] The processes and logic flows described in this specification can be performed by one or more programmable processors, which are also referred to as data processing hardware, running one or more computer programs to perform functions by operating on input data and generating outputs. These processes and logic flows can also be performed by special logic circuits (e.g., FPGA (field programmable gate array) or ASIC (application-specific integrated circuit)). For example, processors suitable for the operation of computer programs include both general-purpose and special-purpose microprocessors, and any one or more processors of any kind of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for executing instructions and one or more storage devices for storing instructions and data. Typically, a computer will also include or be operably coupled to one or more mass storage devices for storing data, such as a disk, a magneto-optical disk, or an optical disk, to receive data from the mass storage device or to transmit data to it, or both. However, a computer does not need to have such a device. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including, for example, semiconductor memory devices such as EPROM, EEPROM and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks. The processor and memory may be supplemented by or incorporated in special purpose logic circuitry.
[0077] Many embodiments have been described. However, it should be understood that various modifications can be made without departing from the spirit and scope of the present disclosure. Therefore, other embodiments are also within the scope of the following claims.
Claims
1. A method (1700) for planning a swing trajectory for a leg of a robot, include: At data processing hardware (36) of the robot (10), receiving an initial position (50) of a leg (12) of the robot (10) and an initial velocity (52) of the leg (12) of the robot (10); receiving, at the data processing hardware (36), a landing position (62) of the leg (12) and a landing target time (64) for the leg (12), the landing target time (64) representing an amount of time until the leg (12) of the robot (10) should land at the landing position (62); determining, by the data processing hardware (36), a difference between the initial position (50) and the landing position (62) of the leg (12); Decomposing, by the data processing hardware (36), a difference between the initial position (50) of the leg (12) and the landing position (62) into a horizontal motion component and a vertical motion component; selecting, by the data processing hardware (36), a horizontal motion strategy (210) from a set of horizontal motion strategies to satisfy the horizontal motion component, each horizontal motion strategy (210) producing a horizontal trajectory as a function of the initial position (50) of the leg (12), the initial velocity of the leg (12), the touchdown position (62) of the leg (12), and the touchdown target time (64) of the leg (12); selecting, by the data processing hardware (36), a vertical motion strategy (610) from a set of vertical motion strategies to satisfy the vertical motion component, each vertical motion strategy (610) producing a vertical trajectory as a function of the initial position (50) of the leg (12), the initial velocity of the leg (12), the touchdown position (62) of the leg (12), and the touchdown target time (64) of the leg (12); as well as The data processing hardware (36) executes the selected horizontal motion strategy (210) and the selected vertical motion strategy (610) to swing the leg (12) of the robot from the initial position (50) to the landing position (62) at the landing target time (64).
2. The method (1700) of claim 1, further comprising: include: determining, by the data processing hardware (36), a most aggressive vertical motion strategy (610) from the set of vertical motion strategies, the most aggressive vertical motion strategy (610) maximizing the vertical acceleration of the leg (12) within the vertical acceleration limit of the leg (12) and maximizing the vertical velocity of the leg (12) within the vertical velocity limit of the leg (12), Wherein, selecting a horizontal motion strategy (210) from the set of horizontal motion strategies includes evaluating each horizontal motion strategy (210) in the set of horizontal motion strategies with the most aggressive vertical motion strategy (610).
3. The method (1700) according to claim 1 or 2, in, Selecting the horizontal motion strategy from the set of horizontal motion strategies (210) includes: assigning a tier (300) of a plurality of tiers (300) to each horizontal movement strategy (210) in the set of horizontal movement strategies, each tier (300) being associated with a preference amount for selecting the respective tier (300), and each tier (300) comprising a tie-breaking parameter (302) associated with each horizontal movement strategy (210) in the set of horizontal movement strategies; and The horizontal movement strategy (210) is selected from the set of horizontal movement strategies based on the assigned tier (300) and the tie-breaking parameter (302).
4. The method (1700) according to claim 3, in, The tie-breaking parameter (302) includes a total undesirability based on the sum of the horizontal undesirability and the vertical undesirability.
5. The method (1700) according to claim 1, in, Selecting the vertical motion strategy from the set of vertical motion strategies (610) occurs after selecting the horizontal motion strategy from the set of horizontal motion strategies (210).
6. The method (1700) according to claim 5, in, Selecting the vertical motion strategy from the set of vertical motion strategies (610) includes selecting the vertical motion strategy from the set of vertical motion strategies that is associated with a minimum acceleration and a minimum velocity that satisfies the vertical motion component (610).
7. The method (1700) of claim 1, further comprising: include: receiving, at the data processing hardware (36), an indication of a trip of the robot (10); as well as In response to receiving the indication of the robot (10) tripping, the data processing hardware (36) selects one of the following: a horizontal movement strategy (210) from a second set of horizontal movement strategies, the second set of horizontal movement strategies being associated with stumbling; or A vertical movement strategy (610) from a second set of vertical movement strategies, the second set of vertical movement strategies being associated with stumbling.
8. The method (1700) of claim 1, in, Selecting the horizontal motion strategy from the set of horizontal motion strategies (210) includes: evaluating each horizontal motion strategy in the set of horizontal motion strategies using a simple analysis (210); and A subset of the set of horizontal motion strategies is evaluated using a detailed analysis based on the simple analysis.
9. The method (1700) of claim 1, further comprising: include: receiving, at the data processing hardware (36), the target landing time (64) for each of the plurality of legs (12) of the robot; At the data processing hardware (36), determining a landing order of the plurality of legs (12) of the robot based on the landing target time (64) of each leg of the plurality of legs (12); as well as The horizontal movement strategy (210) and the vertical movement strategy (610) are selected by the data processing hardware (36) for each leg (12) in a planned order based on the landing sequence.
10. The method (1700) of claim 1, in, Each vertical motion strategy (610) in the set of vertical motion strategies includes a maximum speed, a maximum acceleration, and a swing height.
11. The method (1700) of claim 1, in, At least one horizontal motion strategy (210) in the set of horizontal motion strategies includes a lateral motion strategy and a longitudinal motion strategy.
12. A robot, include: Body (11); legs (12) coupled to the body (11) and configured to maneuver the robot (10) around an environment (8); data processing hardware (36) in communication with the legs (11); and Memory hardware (38) in communication with the data processing hardware (36), the memory hardware (38) storing instructions that, when executed on the data processing hardware (36), cause the data processing hardware (36) to perform operations including: receiving, at the data processing hardware (36) of the robot (10), an initial position (50) of the leg (12) of the robot (10) and an initial velocity (52) of the leg (12) of the robot (10); receiving a landing position (62) of the leg (12) and a landing target time (64) for the leg (12), the landing target time (64) representing an amount of time until the leg (12) of the robot (10) should land at the landing position (62); determining a difference between the initial position (50) and the landing position (62) of the leg (12); Decomposing the difference between the initial position (50) and the landing position (62) of the leg (12) into a horizontal motion component and a vertical motion component; selecting a horizontal motion strategy (210) from a set of horizontal motion strategies to satisfy the horizontal motion component, each horizontal motion strategy (210) producing a horizontal trajectory as a function of the initial position (50) of the leg (12), the initial velocity of the leg (12), the touchdown position (62) of the leg (12), and the touchdown target time (64) of the leg (12); selecting a vertical motion strategy (610) from a set of vertical motion strategies to satisfy the vertical motion component, each vertical motion strategy (610) producing a vertical trajectory as a function of the initial position (50) of the leg (12), the initial velocity of the leg (12), the touchdown position (62) of the leg (12), and the touchdown target time (64) of the leg (12); as well as The selected horizontal motion strategy (210) and the selected vertical motion strategy (610) are executed to swing the leg (12) of the robot from the initial position (50) to the landing position (62) at the landing target time (64).
13. The robot (10) according to claim 12, further comprising: include: determining a most aggressive vertical movement strategy (610) from the set of vertical movement strategies, the most aggressive vertical movement strategy (610) maximizing the vertical acceleration of the leg (12) within the vertical acceleration limit of the leg (12) and maximizing the vertical velocity of the leg (12) within the vertical velocity limit of the leg (12), Wherein, selecting the horizontal motion strategy (210) from the set of horizontal motion strategies includes evaluating each horizontal motion strategy (210) in the set of horizontal motion strategies with the most aggressive vertical motion strategy (610).
14. The robot (10) according to claim 12 or 13, in, Selecting the horizontal motion strategy from the set of horizontal motion strategies (210) includes: assigning a tier (300) of a plurality of tiers (300) to each horizontal movement strategy (210) in the set of horizontal movement strategies, each tier (300) being associated with a preference amount for selecting the respective tier (300), and each tier (300) comprising a tie-breaking parameter (302) associated with each horizontal movement strategy (210) in the set of horizontal movement strategies; and The horizontal movement strategy (210) is selected from the set of horizontal movement strategies based on the assigned tier (300) and the tie-breaking parameter (302).
15. The robot (10) according to claim 14, in, The tie-breaking parameter (302) includes a total undesirability based on the sum of the horizontal undesirability and the vertical undesirability.
16. The robot (10) according to claim 12, in, Selecting the vertical motion strategy from the set of vertical motion strategies (610) occurs after selecting the horizontal motion strategy from the set of horizontal motion strategies (210).
17. The robot (10) according to claim 16, in, Selecting the vertical motion strategy from the set of vertical motion strategies (610) includes selecting the vertical motion strategy from the set of vertical motion strategies that is associated with a minimum acceleration and a minimum velocity that satisfies the vertical motion component (610).
18. The robot (10) according to claim 12, further comprising: include: receiving an indication that the robot (10) has tripped; and In response to receiving the indication of the robot (10) tripping, selecting one of the following: a horizontal movement strategy (210) from a second set of horizontal movement strategies, the second set of horizontal movement strategies being associated with stumbling; or A vertical movement strategy (610) from a second set of vertical movement strategies, the second set of vertical movement strategies being associated with stumbling.
19. The robot (10) according to claim 12, in, Selecting the horizontal motion strategy from the set of horizontal motion strategies (210) includes: evaluating each horizontal motion strategy in the set of horizontal motion strategies using a simple analysis (210); and A subset of the set of horizontal motion strategies is evaluated using a detailed analysis based on the simple analysis.
20. The robot (10) according to claim 12, further comprising: include: receiving the target landing time (64) for each leg of the robot's multiple legs (12); determining a landing order of the plurality of legs (12) based on the landing target time (64) of each leg of the plurality of legs (12) of the robot; and The horizontal movement strategy (210) and the vertical movement strategy (610) are selected for each leg (12) in a planned order based on the landing order.
21. The robot (10) according to claim 12, in, Each vertical motion strategy (610) in the set of vertical motion strategies includes a maximum speed, a maximum acceleration, and a swing height.
22. The robot (10) according to claim 12, in, At least one horizontal motion strategy (210) in the set of horizontal motion strategies includes a lateral motion strategy and a longitudinal motion strategy.
