System and method for recording robotic tasks
Undoing a part of the task record by moving the robot in reverse along the route of the task record solves the problems of resource waste and safety risks in the existing technology, and achieves a resource-saving and user-friendly undo process.
Patent Information
- Application Number
- CN202280092999.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-21
- Filing Date
- 2022-11-28
- Publication Date
- 2024-10-29
AI Technical Summary
Existing technology makes it difficult to effectively undo errors in robot task records, leading to resource waste and safety risks, and requiring specialized editing skills and time.
Undo a part of the task record by moving the robot in reverse along the route of the task record, allowing the robot to return to the initial state and delete erroneous data during the undo process. A graphical user interface is supported to facilitate the user to guide the undo process.
It achieves resource savings without repeating the entire task record, avoids incorrect execution, simplifies the undo process, reduces user skill requirements, and supports WYSIWYG recording interface.
Smart Images

Figure CN118871869A_ABST
Abstract
Description
Background Art
[0001] A robot is typically a reprogrammable and versatile manipulator, typically designed to move materials, parts, tools, or specialized equipment through variable programmed motions to perform a task. A robot can be a physically anchored manipulator (e.g., an industrial robot arm), a mobile robot that moves throughout an environment (e.g., using legs, wheels, or traction-based mechanisms), or some combination of a manipulator and a mobile robot. Robots are used in a variety of industries, including, for example, manufacturing, warehouse logistics, transportation, hazardous environments, exploration, and healthcare.
[0002] Some robots are used to navigate an environment to perform various tasks or functions. These robots are often operated to perform a task by navigating the robot through the environment. Sometimes the task is recorded so that the robot can perform the task again at a later time. In some tasks, the robot navigates through the environment and interacts with the environment. The interaction sometimes takes the form of collecting data using one or more sensors. Summary of the invention
[0003] According to some aspects, a method for operating a robot to generate a task record for a task is provided, the method comprising using at least one processor to record data associated with a first set of one or more operations of the task to an initial task record, in response to a user request to perform an undo process, determining a second set of one or more operations that will undo at least a portion of the initial task record, and operating the robot to perform the second set of one or more operations, and generating a corrected task record in response to operating the robot to perform the second set of one or more operations.
[0004] In some embodiments, the method further includes recording data associated with the third set of one or more operations to a corrected task record based on user input. In some embodiments, the method further includes operating the robot to perform the third set of one or more operations recorded to the corrected task record. In some embodiments, operating the robot to perform the second set of one or more operations includes moving the robot from a current position of the initial task record to a previous position of the initial task record. In some embodiments, operating the robot to perform the second set of one or more operations causes the robot to return to an earlier state of the robot that was generated when the robot was operated to perform the first set of one or more operations. In some embodiments, the second set of one or more operations includes one or more move operations.
[0005] In some embodiments, the initial mission record includes data describing a route, and the second set of one or more operations is configured to operate the robot in a backward direction along the route. In some embodiments, the initial mission record includes data describing a route, and the second set of one or more operations is configured to turn the robot and operate the robot in a forward direction along the route. In some embodiments, the data describing the route includes data describing one or more waypoints.
[0006] In some embodiments, the initial task record includes a user command to move the robot from a first position to a second position, and the second set of one or more operations is at least partially configured to move the robot from the second position to the first position. In some embodiments, the method includes receiving a plurality of user commands to operate the robot in the task, recording data associated with the first set of one or more operations to the initial task record based on the plurality of user commands, and operating the robot to perform the first set of one or more operations. In some embodiments, the user request to perform an undo process includes receiving a first user input indicating the start of an undo process, and receiving a second user input indicating the end of the undo process, and the robot is operated to perform the second set of one or more operations during a period between receiving the first user input and receiving the second user input. In some embodiments, the first user input includes pressing a button, and the second user input includes releasing the button.
[0007] In some embodiments, the portion of the initial task record describes one or more actions to be performed by the robot, wherein during the one or more actions the robot collects data, and the second set of one or more operations includes one or more operations to delete the data collected by the robot during the recording of the initial task record. In some embodiments, the method further includes displaying a prompt via a graphical user interface indicating that the data collected by the robot during the recording of the initial task record is to be deleted, and waiting a predetermined time period between displaying the prompt and deleting the data collected by the robot during the recording of the initial task record. In some embodiments, the method further includes, after operating the robot to perform the second set of one or more operations, operating the robot to reposition itself according to the initial task record.
[0008] In some embodiments, the robot is in a first position after operating the robot to perform a first set of one or more operations, and the method further includes operating the robot to move to the first position in response to determining that the robot cannot successfully perform a second set of one or more operations. In some embodiments, at least a portion of the initial task record is a first portion of the initial task record, and the remainder of the initial task record is a second portion of the initial task record, and the corrected task record includes the second portion of the initial task record but does not include the first portion of the initial task record. In some embodiments, at least a portion of the initial task record is a first portion of the initial task record, and the remainder of the initial task record is the second portion of the initial task record, and the corrected task record includes the first portion and the second portion of the initial task record, and an indication that the first portion has been deleted. In some embodiments, the corrected task record includes data associated with at least one operation not described by the initial task record.
[0009] According to some aspects, a system is provided that includes at least one processor and at least one non-transitory computer-readable medium, the at least one non-transitory computer-readable medium including instructions that, when executed by the at least one processor, perform a method of operating a robot to generate a task record for a task, the method including recording data associated with a first set of one or more operations of the task to an initial task record, in response to a user request to perform an undo process, determining a second set of one or more operations that will undo at least a portion of the initial task record, and operating the robot to perform the second set of one or more operations, and generating a corrected task record in response to operating the robot to perform the second set of one or more operations.
[0010] In some embodiments, the method further includes recording data associated with the third set of one or more operations to a corrected task record based on user input. In some embodiments, the method further includes operating the robot to perform the third set of one or more operations recorded to the corrected task record. In some embodiments, operating the robot to perform the second set of one or more operations includes moving the robot from a current position of the initial task record to a previous position of the initial task record. In some embodiments, operating the robot to perform the second set of one or more operations causes the robot to return to an earlier state of the robot that was generated when the robot was operated to perform the first set of one or more operations. In some embodiments, the second set of one or more operations includes one or more move operations.
[0011] In some embodiments, the initial mission record includes data describing a route, and the second set of one or more operations is configured to operate the robot in a backward direction along the route. In some embodiments, the initial mission record includes data describing a route, and the second set of one or more operations is configured to turn the robot and operate the robot in a forward direction along the route. In some embodiments, the data describing the route includes data describing one or more waypoints. In some embodiments, the initial mission record includes a user command to move the robot from a first location to a second location, and the second set of one or more operations is configured at least in part to move the robot from the second location to the first location.
[0012] In some embodiments, the method includes receiving a plurality of user commands to operate a robot in a task, recording data associated with a first set of one or more operations to an initial task record based on the plurality of user commands, and operating the robot to perform the first set of one or more operations. In some embodiments, the user request to perform an undo process includes receiving a first user input indicating the start of an undo process, and receiving a second user input indicating the end of the undo process, and the robot is operated to perform the second set of one or more operations during a period between receiving the first user input and receiving the second user input. In some embodiments, the first user input includes pressing a button, and the second user input includes releasing the button.
[0013] In some embodiments, the portion of the initial task record describes one or more actions to be performed by the robot, during which the robot collects data, and the second set of one or more operations includes one or more operations to delete data collected by the robot during the recording of the initial task record. In some embodiments, the method further includes displaying a prompt via a graphical user interface indicating that data collected by the robot during the recording of the initial task record is to be deleted, and waiting a predetermined time period between displaying the prompt and deleting the data collected by the robot during the recording of the initial task record. In some embodiments, the method further includes, after operating the robot to perform the second set of one or more operations, operating the robot to reposition itself according to the initial task record.
[0014] In some embodiments, the robot is in a first position after operating the robot to perform a first set of one or more operations, and the system further includes operating the robot to move to the first position in response to determining that the robot cannot successfully perform a second set of one or more operations. In some embodiments, at least a portion of the initial task record is a first portion of the initial task record, and the remainder of the initial task record is a second portion of the initial task record, and the corrected task record includes the second portion of the initial task record but does not include the first portion of the initial task record. In some embodiments, at least a portion of the initial task record is a first portion of the initial task record, and the remainder of the initial task record is the second portion of the initial task record, and the corrected task record includes the first portion and the second portion of the initial task record and an indication that the first portion has been deleted. In some embodiments, the corrected task record includes data associated with at least one operation not described by the initial task record.
[0015] According to some aspects, a method of operating a robot for collecting a task record for a task is provided, the method comprising, before completing the collection of the task record, in response to a request to perform an undo process, operating the robot to undo a portion of the task record at least in part by moving the robot from a current position of the task to a previous position of the task.
[0016] In some embodiments, the method further comprises generating an updated task record based on the portion of the task record. In some embodiments, the portion of the task record is a first portion of the task record and the remainder of the task record is a second portion of the task record, and the updated task record includes the second portion of the task record but does not include the first portion of the task record. In some embodiments, the portion of the task record is the first portion of the task record and the remainder of the task record is the second portion of the task record, and the updated task record includes the first portion and the second portion of the task record and an indication that the first portion has been deleted. In some embodiments, operating the robot to undo the portion of the task record comprises determining one or more operations corresponding to performing the portion of the first task record in reverse.
[0017] In some embodiments, the mission record includes data describing a route, and the one or more operations are configured to operate the robot in a backward direction along the route. In some embodiments, the mission record includes data describing a route, and the one or more operations are configured to turn the robot and operate the robot in a forward direction along the route. In some embodiments, the data describing the route includes data describing one or more waypoints. In some embodiments, the method includes receiving a plurality of user commands to operate the robot in the mission, recording the mission record based on the plurality of user commands, and operating the robot to perform the mission record based on the plurality of user commands. In some embodiments, the request to perform an undo process includes receiving a first user input indicating the start of an undo process, and receiving a second user input indicating the end of an undo process, and the robot is operated to undo a portion of the mission record during a period between receiving the first user input and receiving the second user input. In some embodiments, the first user input includes pressing a button, and the second user input includes releasing a button. In some embodiments, the portion of the mission record describes one or more actions to be performed by the robot, the robot collects data during the one or more actions, and operating the robot to undo a portion of the mission record includes deleting data collected by the robot during the recording of the mission record. In some implementations, the method further includes displaying a prompt via a graphical user interface indicating that data collected by the robot during recording of the task record will be deleted, and waiting a predetermined time period between displaying the prompt and deleting the data collected by the robot during recording of the task record.
[0018] The foregoing device and method embodiments can be implemented using any suitable combination of the aspects, features and actions described above or further described in detail below. These and other aspects, embodiments and features of the present teachings can be more fully understood from the following description in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Various aspects and embodiments will be described with reference to the following drawings. It should be understood that the drawings are not necessarily drawn to scale. In the drawings, each identical or nearly identical component shown in the various figures is represented by the same number. For clarity, not every component may be labeled in every figure.
[0020] Figures 1A-1D depicts a first example of an undo process for undoing a portion of a task record including a waypoint in accordance with some embodiments;
[0021] Figures 2A-2D depicts a second example of an undo process for undoing a portion of a task record including a waypoint in accordance with some embodiments;
[0022] Figure 3 is a flow chart of a method of controlling a robot to generate a task record for a task according to some embodiments;
[0023] Figures 4A-4D depicts an example of an undo process for a task record according to some embodiments, wherein the task record includes a command;
[0024] Figures 5A-5C depicts an example of an undo process for undoing an action associated with a task record in accordance with some embodiments;
[0025] Figures 6A-6D Depicted is an example of using a controller to direct a robot to record a task and undo a portion of the task recording according to some embodiments;
[0026] Figure 7 is a schematic diagram depicting an illustrative example of a system according to some embodiments of the present disclosure;
[0027] Figures 8A-8C depicts an example of controlling a robot to move along a route during an undo process during which the robot moves backwards according to some embodiments;
[0028] Figures 9A-9E depicts an example of controlling a robot to move along a route during an undo process during which the robot turns and moves forward according to some embodiments; and
[0029] Figures 10A-10E Depicted is an example of controlling a robot to move along a route during an undo process, during which the robot initially moves backwards, then turns and moves forward, in accordance with some embodiments. DETAILED DESCRIPTION
[0030] The robot can be operated by the user to perform the task. In some cases, when the robot moves in the environment, the system can generate data describing the task (also referred to as "task record" in this article), and the task record can be stored for later use. The task record can be replayed by the system later to operate the robot to perform the task again without user input. Therefore, the user can operate the robot once in the task to define the task record, which can be replayed later according to the command to prompt the robot to repeat the task autonomously. In some cases, the operation of the robot can be provided via a "what-you-see-is-what-you-get" (WYSIWYG) recording interface, so that the user can watch the robot perform the task when the robot is controlled, and observe how the task is performed when the task record is generated.
[0031] As an illustrative example of such a task, a robot may move through an unmanned site. To record a task, a user may navigate the robot through the site (or a copy of the site) and perform desired actions, such as moving an object or obtaining sensor data indicating what is happening at the site. Some examples of obtaining sensor data may require taking photos, videos, collecting samples, or performing chemical analysis. The task record generated as a result of this one-time user-driven process may later be replayed multiple times as needed to autonomously operate a robot (the same robot or a different robot) at an unmanned site to perform the task by navigating through the same route and performing the same actions as during the task recording process.
[0032] Typically, a mission may be defined by user input that provides instructions to the robot. The instructions may include instructions to move the robot, or instructions for the robot to perform actions that cause the robot to interact with the environment. The mission record may store data that allows the mission to be replayed, and may, for example, include a map of the environment and data indicating how the robot should traverse the environment according to the mission. In some cases, the mission record may include a set of waypoints that define the route taken by the robot through the environment during the replay of the mission record. For example, waypoints may be defined during the recording of the mission by automatically capturing waypoints periodically (e.g., every meter) as the user operates the robot through the environment. When the mission is replayed, the mission record may operate the robot to move through the waypoints in an attempt to recreate the route taken by the user during the recording process.
[0033] In some cases, a user may make an error when recording a task. For example, the user may move the robot in the wrong direction, may utilize sensors incorrectly (e.g., take a picture with the wrong camera), or may otherwise operate the robot to perform operations different from those intended or to perform operations that were determined during task recording to be desirable to be omitted from subsequent performance of the task. Various options exist for resolving such errors.
[0034] One option for resolving errors in the task record is to simply retain the error. The error is then repeated each time the task is repeated. The inventors have recognized that this option is undesirable because repeated errors in subsequent executions of the task may represent a waste of time and / or battery life for the robot. Furthermore, retaining errors in the task record may result in inaccurate execution of actions, or may endanger the robot by causing it to cross a path or perform a dangerous action.
[0035] A second option for resolving errors in a mission record is to repeat the entire mission record. The robot returns to its initial starting point, and the entire navigation and execution of the action is completed again, this time avoiding the errors in the initial mission record. This solution to resolving errors in mission records may represent a significant waste of resources. Missions can span considerable distances (e.g., several kilometers long) and time (e.g., tens of minutes to several hours). Therefore, the amount of time required to repeat the entire mission record may be significant. In short, errors in mission records can be extremely costly, especially if they occur near the end of the mission.
[0036] A third option for resolving errors in the task record is to edit the task record after completion to remove any erroneous portions. However, this option requires special training on the software used to edit the task record. Furthermore, correcting the task record in this manner runs counter to the desire to provide a WYSIWYG recording interface in which the user can perform the task and have a visually confirmed expectation of what the task will look like when replayed autonomously.
[0037] Aspects of the present disclosure provide techniques for undoing a portion of a robot's task record by physically moving the robot backward through the task record in reverse. Thus, after the undo process is completed, the robot is positioned at an earlier point in the task, and the user can continue to record further task data from that point. The portion of the task record that was performed in reverse can be omitted from subsequent executions of the task, such as by deleting the portion from the task record or otherwise marking the portion as inactive. In this way, errors in the initial task record do not need to be retained (e.g., if storage space is limited), but the robot does not need to perform the entire task record again. In addition, the user does not need to have specialized task record editing skills to edit the task record after completion. The undo process can be initiated in response to user input, which causes the robot to begin physically moving backward through the task record, and can continue until further user input indicates that the undo process will stop. The undo process can support a WYSIWYG approach to task recording, where the user can guide the robot through the task and watch the robot move backward through the task record during the period when the undo process is active.
[0038] According to some embodiments, an undo process for undoing a portion of a mission record may include working backward from the nearest point in the mission record and determining an operation to be performed by the robot that will have the effect of causing the robot to reverse through the portion of the mission to be undone. The operations that effectively cause the robot to reverse through the portion of the mission to be undone may be different from those operations used to control the robot through the portion of the mission to be undone. The operations used to effectively cause the robot to reverse through the portion of the mission to be undone may further be different from simply reversing the operations used to guide the robot through the portion of the mission to be undone. For example, during the initial mission record, the user may operate the robot to move around a corner, but then decide to undo that portion of the mission record. During the undo process, the robot may move backward (i.e., physically move in the opposite way, such as walking backward) around the corner, or may instead turn and move forward around the corner to the point where the mission record will begin again, and then turn again once the undo process is completed. In some cases, since the robot may traverse the environment based on data other than the mission record (e.g., based on sensor data indicating its surroundings), the route taken as a result of the undo process may be different from the route initially taken before the undo process.
[0039] The following is an additional description of various concepts and embodiments related to the technology of revoking part of the robot's task record. It should be understood that the various aspects described herein can be implemented in any of a variety of ways. For illustrative purposes only, examples of specific embodiments are provided herein. In addition, the various aspects described in the following embodiments can be used alone or in any combination, and are not limited to the combinations explicitly described herein.
[0040] Figures 1A-1D An example of an undo process for a task record including waypoints according to aspects of the present disclosure according to some embodiments is depicted. Figures 1A-1D In the example of , the robot 150 is guided through the environment as part of a mission record, and then a portion of the mission record is undone via an undo process, as described above. Figure 1AAs shown, the initial mission record may be defined at least in part by five waypoints 101, 102, 103, 104, and 105, which are depicted as circles in the figure. That is, the user may have previously directed the robot to move through the locations of waypoints 101, 102, 103, 104, and 105 (hereinafter, waypoints 101-105) in that order, and the system controlling the robot may store information describing waypoints 101-105 in the mission record. It may be noted that the user guiding the robot may not be aware of the waypoints or their locations, but may simply operate the robot along the route, and the system controlling the robot may automatically generate waypoints as the robot moves along the route and store them in the mission record (e.g., in order to simplify the operation and / or interface seen by the user).
[0041] exist Figure 1B In the example of , the user initiates the undo process when the robot 150 is at waypoint 105 or shortly thereafter. For example, the user may realize that the robot was incorrectly directed to the location represented by waypoint 105 and should have made a right turn before that moment. Potential causes for this situation may include encountering an impassable obstacle or other terrain at or near waypoint 105, encountering terrain that may not be safely traversable, encountering a hazard, or simple user error. As a result, the system controlling the robot begins moving the robot backward along the route defined by waypoints 101-105, as shown in FIG. Figure 1B , where the robot's motion is shown by arrow lines from waypoint 105 to waypoint 104 and from waypoint 104 to waypoint 103. The system controlling the robot may move the robot backward along the route defined by the waypoints from 105 to 101 until the user indicates that the undo process is to end.
[0042] The system controlling the robot during the undo process may move the robot backward along the route defined by waypoints 103-105 in any suitable manner, including by moving the robot backward, turning and moving the robot forward, or by moving the robot backward for an initial period of time and then turning and moving the robot forward for the remainder of the undo process. Figure 3 These types of motion are described in further detail. Figure 1B In the example of FIG, for illustration purposes only, the robot is depicted as having turned and moving forward along the route.
[0043] According to some embodiments, during the undo process, the user interface may present information to the user guiding the robot indicating the state of the robot during the undo process. For example, the user interface may show a view from the robot's camera so that the user can see the robot moving backward along a route. Additionally or alternatively, the user interface may show a map of the environment and the robot's current location (and optionally, the route represented by the task). In this way, the user may be able to watch the progress of the undo process and may decide when to stop the undo process. In some embodiments, the user interface may present the same or similar content during the undo process as when the task was recorded outside of the undo process. Figures 6A-6D An example of such an interface is described further.
[0044] exist Figure 1B In the example of , when the robot reaches position 109, the user indicates that the undo process will end, and the system controlling the robot generates a corrected task record, such as Figure 1C As shown. Figure 1C In the example of , the system controlling the robot continues to move the robot to waypoint 103 because the undo process ends between two previously recorded waypoints, such that the robot is at waypoint 103 when the undo process ends. That is, in some embodiments, when the undo process ends, the robot can be controlled to continue along the route defined by the waypoints recorded for the task until the robot reaches the next waypoint at which it stops. As an alternative, the system controlling the robot can instead generate a new waypoint at the robot's location at the end of the undo process, rather than continuing along the route to the next waypoint. An example of this method is Figures 2A-2D , which is further described below.
[0045] As Figures 1A-1D The result of the undo process in the example is Figure 1C The corrected mission record shown includes only waypoints 101, 102, and 103. Waypoints 104 and 105 may not be present in the corrected mission record (e.g., deleted from the corrected mission record), or may be included in the corrected mission record and marked as inactive. Therefore, for illustrative purposes only, waypoints 104 and 105 are shown in FIG. Figure 1C and 1D , and their presence in the figure is not an indication that they must in any way be present in the corrected mission record. In some embodiments, the robot can be repositioned after the undo process is complete so that it faces along the route (e.g., if the robot turns and moves forward during the undo process, such as Figure 1B For illustrative purposes, the scheme is Figure 1C, where the robot 150 has been reoriented to face along the new route in the corrected mission record.
[0046] After generating a corrected mission record, the user can then guide the robot through the mission as intended, having undoing the portion of the mission record corresponding to movement through waypoints 104 and 105. For example, Figure 1D As shown, the mission record may then include additional waypoints 111, 112, 113, and 114 generated by the user directing the robot through a new route from the location represented by waypoint 103. Thus, the undo process allows the user to generate Figure 1D The desired mission record is shown, where the robot turns to the right after passing the position represented by waypoint 103, rather than passing the initial wrong path represented by waypoints 104 and 105.
[0047] As above combined Figures 1A-1D As described, as part of the process of moving the robot along waypoints while undoing portions of a mission record, the robot may respond to a user instruction to stop the undo process by moving to the nearest previous waypoint or by creating a new waypoint. Figure 1B and 1C In the example of , the robot moves to the nearest previous waypoint (waypoint 103) in response to a user instruction to stop the undo process. Figures 2A-2D An alternative operation is shown. Figure 2A and Figure 1A Same. Figure 2B In FIG. 1 , when the user indicates that the undo process is to stop, the robot is at position 109. The robot stops at this position instead of Figure 1B Continue to the next previous waypoint (waypoint 103) as in the example of FIG. Figure 2C The corrected mission record shown in contains a new waypoint 121 generated by the system controlling the robot and recorded to the corrected mission record. The waypoint 121 represents the position 109 of the robot when the undo process is completed.
[0048] and Figures 1A-1D As in the example, Figure 2C After the corrected mission record, the user can then guide the robot through the intended mission, having undoing the portion of the mission record corresponding to the movement through waypoints 104 and 105. For example, Figure 2D As shown, the mission record may then include additional waypoints 122 , 123 , 124 , and 125 generated by the user directing the robot through a new route from the location represented by waypoint 121 .
[0049] Figure 3is a flow chart of a method for controlling a robot to generate a task record for a task in accordance with some embodiments. Method 300 may be performed by a system based on user input provided to the system. User input may be provided to the system via one or more controllers connected to the system and / or data indicating the user input may be received by the system from another system. Additionally, the system performing method 300 may be configured to communicate with the robot so that the system may control the robot during the task and, in some embodiments, receive data (e.g., position data and / or camera data) from the robot indicating the robot's progress through the task. Figure 7 An example of a system suitable for performing method 300 is further described.
[0050] Method 300 begins at act 301, where user input is received to control a robot. User input may be provided to control the robot during a task, and may instruct the robot to perform any of a number of actions, including movement (e.g., translational and / or rotational motion), interaction with an object (e.g., opening a door), and / or action by the robot to obtain data from its environment using one or more onboard sensors. User input may be provided to a system performing method 300 in any suitable form, and may be provided from any suitable device connected directly or indirectly to the system. In some embodiments, a user may provide input to an input device, which sends the user input to the system performing method 300. In some embodiments, a user may interact directly with an input device that is part of or directly connected to the system performing method 300. Suitable input devices may include handheld controllers (described below with respect to Figures 6A-6D Describe its example), keyboard, mouse or their combination.In some embodiments, the input device can include a screen that displays information about the robot during the task.
[0051] According to some embodiments, the user input received in act 301 may include navigation input that directs the robot to move in a particular direction during the mission. The navigation input may include an absolute direction input (e.g., move north) and / or an input relative to the orientation of the robot (e.g., move forward, move left, etc.). In some cases, the navigation input may be provided continuously during the movement (e.g., a joystick on a controller may be held up to instruct the robot to move forward as long as the joystick is in that position), or the navigation input may be discrete and may include instructions to move in defined steps (e.g., an instruction to move 100 feet north; an instruction to go to position A). In some embodiments, the navigation input received in act 301 may include speed information communicated by a control method (e.g., the extent to which an analog stick is moved in one direction may communicate the speed of movement in that direction) or speed information communicated explicitly (e.g., an instruction to move 100 feet north at a speed of 1 foot / second).
[0052] According to some embodiments, the user input received in action 301 may instruct the robot to perform one or more actions. As referred to herein, an "action" refers to a process performed by the robot to obtain some kind of data. Illustrative examples of actions may include capturing images (including visible light, x-ray, and / or infrared imaging), measuring quantities using environmental sensors (e.g., ambient temperature, ambient humidity, ambient light level, ambient magnetic field), or measuring quantities using contact sensors controlled to touch an object of interest (e.g., measuring current or voltage on a wire, measuring the temperature of an object).
[0053] The user input received in act 301 may be used to control the robot according to the user input in act 302 and to record the data to a mission record in act 303 to allow for later replay of the mission.
[0054] In action 302, the system performing method 300 may control the robot according to the user input received in action 301, which may include generating appropriate data to send to the robot based on the user input, and sending the data to the robot. In general, in order to control the robot, the user input may be converted into instructions to actuate various parts of the robot to produce the desired type of control. The system performing method 300 may perform some or all of the conversions so that the data sent by the system to the robot may include low-level instructions for operating the robot's actuators, or may include high-level instructions for operating the robot in a particular manner. In some embodiments, for example, when the user input includes navigation input, the system performing method 300 may provide data indicating the robot's movement to a steering gear of the robot, and the steering gear of the robot may move the robot based on the received instructions and / or based on additional data stored by the robot. For example, the system performing method 300 may provide data indicating the robot to walk forward to the steering gear, and the steering gear may determine the appropriate way to operate the actuator to achieve forward walking, while taking into account the current configuration of the robot (e.g., leg position), while also avoiding obstacles that may be in its path.
[0055] In action 303, the system performing method 300 may record data to the task record based on the user input received in action 301. The recorded data may include any suitable data that will allow the system 300 (or another system) to autonomously replay the task at a later time. In some embodiments, the recorded data may include some or all of the user input received in action 301. In some embodiments, the data recorded in action 303 may include one or more waypoints describing the route that the robot should follow, and may also optionally include data indicating one or more actions that should be performed at specific locations along the route. It can be noted that, in general, the data recorded in action 303 may be different from the data sent to the robot in action 302 to control the robot. When a given system accesses a task record to autonomously perform a recorded task, the system may convert the task into a series of operations to move the robot and perform any actions, and the system may generate data and send data to the robot to perform these operations to replay the task.
[0056] According to some embodiments, the data recorded to the task record in action 303 may include waypoints representing the location of the environment that the robot passed through during the control of the robot in action 302. In some embodiments, waypoints may be recorded in the task record at regular intervals, including at regular time intervals (e.g., every 1 second, every 2 seconds, etc.) and / or at regular distance intervals (e.g., every 1 meter traveled, every 5 steps traveled, etc.). The waypoints may be stored so that the order of the waypoints can be determined from the task record and used to construct a route in which the waypoints are traversed in the expected order. The waypoint positions may be captured in any suitable manner, such as using a position sensor on the robot to report its position to a system performing method 300. In some embodiments, the robot may include a LIDAR sensor that may be operated to generate data indicating the position of the robot. In some embodiments, the robot may determine its position by capturing an image of a reference target or by providing such an image to a system performing method 300, which may determine the position based on the appearance of the reference target in the image.
[0057] In some embodiments, the data recorded to the mission record in action 303 may include data describing edges between waypoints. The edges in the mission record may represent how the robot moves between waypoints. The data describing the edges may include the relative poses of the connected waypoints (e.g., the position and orientation of the robot at the connected waypoints) and / or any desired parameters describing how the robot should move along the edges. As an example, the mission record may include data for one or more edges that cross stairs in the environment. The data may encode information about the stairs, such as the number of stairs traversed and the width of the stairs. In some embodiments, the data describing the edges may describe a spatial corridor within which the robot will be constrained when traversing the space between the waypoints.
[0058] According to some embodiments, the data recorded to the mission record in action 303 may include map data generated based on data received from the robot. As the robot moves through the environment, the robot may generate sensor data indicating obstacles or other structures in the environment using one or more sensors (e.g., LIDAR). Map data based on the sensor data may be stored in the mission record to further guide the autonomous operation of the robot during future replays of the mission. When map data is recorded to the mission record in this manner but a portion of the mission that generated the map data is subsequently undone through an undo process as described herein, the map data may be retained or deleted.
[0059] In act 304, the system executing method 300 determines whether input has been received to activate the undo process. If not, acts 301, 302, and 303 are repeated. In this way, task records can be generated progressively until input is provided to activate the undo process. Figure 3 In the example of , it is shown as separate sequential actions, but it will be appreciated that each action may be performed simultaneously on an ongoing basis during the recording of the task, where, for example, user input is received while the robot is being controlled and the task recording is generated.
[0060] According to some embodiments, the input received in action 304 to activate the undo process may be generated by a user pressing a physical button or clicking a control within a user interface. In some embodiments, the input received in action 304 to activate the undo process may be generated by a user pressing and holding a physical button, wherein the release of the button indicates that subsequent input will end the undo process. The latter solution may be particularly user-friendly because it allows the user to hold a single button to "rewind" the task and release the button when the robot returns to the desired position. In some embodiments, such a button may be part of the same controller used to provide user input in action 301.
[0061] Once the undo process is activated in act 304, method 300 proceeds to act 305 and then to act 306. Method 300 repeats acts 305 and 306 as long as the undo process remains active, as determined in act 307.
[0062] In act 305, one or more operations are generated by the system executing method 300 to reverse a portion of the task record. Initially, when act 305 is executed, the portion of the task record may include a recently recorded portion of the task record with any suitable granularity. Upon subsequent passes through act 305 during the undo process (because acts 305 and 306 may be repeated as long as the undo process is activated), the portion may be gradually moved back through the task record such that the task record is reversed, one portion at a time. Figure 1B In the example of FIG. 3 , for example, an initial portion of the task record for which operations may be generated in action 305 may be a portion of the task that traverses the robot from waypoint 104 to waypoint 105 (but inversely, such that the operations move the robot from waypoint 105 to waypoint 104). Alternatively, an initial portion of the task record for which operations may be generated in action 305 may be a smaller distance along the edge between waypoint 105 and waypoint 104. Regardless of the granularity of the portions, the task record may be performed in reverse, where each portion is considered in turn and one or more operations are generated in action 305 for each corresponding portion.
[0063] In action 306, the robot is controlled based on the one or more operations generated in action 305. It can be noted that this process can be comparable to the process of a given system accessing a task record to autonomously perform the recorded task, as described above. The difference between this process and actions 305 and 306 is that in actions 305 and 306, the task record is executed in reverse order and only when the undo process is activated. Otherwise, both processes can convert the task record into a series of operations to move the robot, and can generate and send data to the robot to perform these operations.
[0064] Returning to action 305, in some embodiments, the task record may be executed in reverse according to a series of waypoints stored by the task record, wherein the waypoints are traversed in reverse order during the undo process, starting with the most recently generated waypoint. Figures 1A-1D and Figures 2A-2D The example depicts such a process.
[0065] In some embodiments, the task record can be at least partially reversed according to a series of commands provided by the user. The command can represent a high-level move, such as "go to position A". When undoing a task record including such a command, the system executing method 300 can perform the undo process by executing the navigation command in reverse rather than directly traversing any path points that have been previously recorded to the task record due to the navigation command. When the undo process ends, as described below with respect to action 308, the robot can be operated to stop at its current position, and the system executing method 300 can generate a new path point at that position. Alternatively, when the undo process ends, the robot can be operated so that the command currently being executed in reverse is completed, rather than stopping the robot midway by a command.
[0066] Figures 4A-4D An example of an undo process for a task record is depicted according to some embodiments, wherein the task record includes a command. Figure 4A In the example of FIG. 4 , the initial mission record includes commands to move the robot 421 from position A to position B, and commands to move the robot from position B to position C, the initial portion of which is shown in the figure. Waypoints can be generated along the route taken by the robot and stored in the mission record. Subsequently, the user can initiate an undo process to cause the robot to travel backward along the previously taken route, such as Figure 4B shown.
[0067] exist Figure 4BIn the example of , instead of traversing a route according to waypoints already stored in the mission record, the robot 421 may instead attempt to take a direct route through the locations indicated by the user command. That is, the robot may initially traverse (or attempt to traverse) a direct path from its current location to location B along path 405, and may then initially traverse (or attempt to traverse) a direct path from location B to location A along path 406. Figure 4B In the example of , when the robot is at position 411 between position B and position A, the undo process ends.
[0068] like Figure 4C As shown in the example of , a corrected task record can be generated, which includes the waypoint at position 411 and any waypoints previously generated that are closer to position A than position 411. Alternatively, as Figure 4D As shown in the example of , a corrected mission record may be generated to include a path point at position 411 and intermediate path points generated along the path between position A and position 411. For example, the intermediate path points may be generated according to the techniques described in U.S. Patent Publication No. US2021 / 0041243 entitled “Intermediate Path Point Generator,” which is incorporated herein by reference in its entirety.
[0069] As Figure 4C and 4D Alternatively, the robot may alternatively be operated to continue to position A, rather than being commanded to stop the robot midway.
[0070] Figures 4A-4D The example of is provided as an example of an undo process, where reverse execution of a portion of a mission record does not involve traversing the waypoints stored by the mission record, or at least involves bypassing some of the waypoints stored by the mission record. Other techniques for reverse execution of portions of a mission record are also contemplated.
[0071] Furthermore, it will be appreciated that in practice, even when traversing a route in reverse according to the waypoints, the robot may not be able to follow exactly the same route as that followed during the recording of the mission recording. For example, obstacles may be traversed differently during the undo process than during the mission recording, or the gait of a walking robot may be different during the undo process, resulting in a slightly different route being taken. Thus, when operating the robot to return to a previously recorded waypoint at the end of an undo process (e.g., as Figure 1C ), the robot may not end up in exactly the same position as when the waypoint was recorded.
[0072] With respect to any operations generated in action 305 in which the robot reverses along a route, whether the route was selected based on previously recorded waypoints or otherwise, any of a number of different strategies for moving the robot may be selected. In some embodiments, the system executing method 300 may generate operations that cause the robot to move backward along the route. That is, the robot may traverse the route without reorienting (or substantially reorienting) the portion of the robot responsible for movement. For example, a robot that moves via a tread or track may be equally capable of moving forward or backward, and the operations generated in action 305 may control the robot to move backward along the route during the undo process without reorienting the tread or track (so that the robot moves forward during recording and then moves backward during the undo process). An example of such a scheme is Figures 8A-8C , which depicts a quadruped robot 802 being controlled to move backward along a route 801 during an undo process.
[0073] In some embodiments, the system performing method 300 may generate operations in action 305 to reorient the robot and then move the robot forward along the route (which was traversed in reverse during the undo process). After the undo process is complete, the robot may be reoriented again to face along the route, as described below with respect to action 308. For example, the operations generated in action 305 may control a bipedal or quadrupedal robot to turn and walk forward while performing an initial portion of the task record in reverse, and then walk forward while performing a subsequent portion of the task record in reverse. An example of such a scheme is described in Figures 9A-9E , which depicts a quadruped robot 902 that is controlled to turn at the beginning of the undo process and move forward along route 901 during the undo process. Fig.9E As shown, the robot 902 is controlled to turn around again at the end of the undo process.
[0074] In some embodiments, the system executing method 300 can generate an operation in action 305 to move the robot backward along the route for a period of time, then reorient the robot if the undo process continues, and then move the robot forward along the route (which it traversed in reverse during the undo process). The portion of the undo process in which the robot moves backward can be measured based on time (e.g., first 3 seconds of moving backward, then turning) or based on distance (e.g., first 5 feet of moving backward, then turning). This scheme can have the advantage of making short undo processes more efficient than having to turn the robot every time the undo process occurs. After the undo process is over, the robot can be redirected again to face along the route, as described below with respect to action 308. As an example of the above, the operation generated in action 305 can control a bipedal or quadrupedal robot to walk backward along the route while performing an initial portion of a task record in reverse, and then turn and walk forward while performing a subsequent portion of the task record in reverse. An example of such a scheme is Figures 10A-10E , which depicts a quadruped robot 1002 being controlled to initially move backward along a route at the beginning of an undo process. After moving a distance 1005, the robot 1002 is controlled to turn and move forward along the route during the remainder of the undo process. Fig. 10E As shown, the robot 1002 is controlled to turn around again at the end of the undo process.
[0075] As described above, the task record may include one or more actions, which are processes performed by the robot to obtain certain data. According to some embodiments, the one or more operations generated in action 305 may include an operation to delete the data collected by the one or more actions. The data to be deleted may be stored on the robot and / or may be stored on the system performing method 300. When undoing an action, the robot may be stationary, but may move as part of the undo process before and / or after the undo action. According to some embodiments, the one or more operations generated in action 305 for deleting the data collected by the one or more actions may be performed only after the waiting period during which the undo process remains active has been completed. For example, in order to avoid accidental deletion of sensor data during the undo process, a delay may be introduced into the undo process by the system performing method 300 so that the undo action requires a fixed amount of time, which may be different from (e.g., greater than) the amount of time it takes to actually perform the action. For example, when the undo process is active, the system performing method 300 may wait for 5 seconds before deleting the action and the data associated therewith. In some cases, a countdown or other notification may be provided to the user interface to warn the user that data deletion will occur if the undo process continues to be active.
[0076] According to some embodiments, Figures 5A-5CAn example of the undo process of a task record including an action is shown in FIG. Figure 5A In the example of , the initial mission record is shown to include waypoints 501, 502, 503, 504, 505, 506, and 507, with robot 521 at a location corresponding to waypoint 507. At waypoint 505, robot 521 performs action 511. Subsequently, an undo process is initiated, during which the system performing method 300 can reversely execute consecutive portions of the initial mission record, as described above. Figure 5B In the example of , the initial mission recording is performed in reverse until the robot reaches waypoint 504, at which point user input is received indicating that the undo process is to end. During the undo process, the system performing method 300 can generate an operation in action 305 to delete the data captured during the initial mission recording at waypoint 505. As described above, during the undo process, the system performing method 300 can optionally introduce a delay before deleting the data to avoid accidental deletion of sensor data during the undo process. Figure 5C In the example of , a corrected mission record is shown, wherein, in addition to action 511, waypoints 505, 506, and 507 are deleted from the corrected mission record (or marked as inactive).
[0077] Return to Figure 3 In some embodiments, the result of controlling the robot to perform the operation generated in action 306 can be to return the robot to an earlier state that the robot was in during the initial task recording (e.g., after performing action 302). For example, the robot may pass through a series of positions, and may have one or more associated poses at each position, while the robot is controlled according to user input during an instance of action 302. At the end of the undo process, the robot may have returned to one of these earlier positions and / or may have exhibited an associated pose at that position earlier due to the robot being controlled according to the generated operation during the undo process. In other cases, at the end of the undo process, the robot may have returned to a slightly different position and / or have a slightly different pose, for example, because other steering devices are active on the robot, such as obstacle avoidance steering devices, or for any other suitable reason.
[0078] exist Figure 3 In the example of , in act 307, the system executing method 300 determines whether an input for ending the active revocation process has been received. If not, acts 305 and 306 are repeated. In this way, the revocation process can continue until an input for ending the revocation process is provided. Figure 3In the example of , it is shown as separate sequential actions, but it will be appreciated that each action may be performed simultaneously during the recording of a task, where, for example, an operation is generated when the robot is controlled according to an operation that has been generated. As described above, one way in which an input may be provided to end an active undo process is by releasing a button, the pressing of which previously indicated the activation of the undo process.
[0079] In some embodiments, the system executing method 300 may determine in act 305 that the robot cannot complete the undo process for some reason, such as because an inaccessible obstacle now exists along the previously taken route. In this case, method 300 may be exited and the system may control the robot to move the robot back to the position it was at when the undo process began.
[0080] In action 308, after the undo process is completed, a corrected mission record is generated based on the undo process. In some embodiments, generating a corrected mission record may include deleting (or marking as invalid) those waypoints that the robot passed during the undo process (whether actually passed or used to generate an operation to move the robot based on the waypoint position). As described in some examples above, in some cases, when the undo process ends, a new waypoint may be generated at the current position of the robot. In some embodiments, action 308 may include generating a new waypoint at the current position of the robot and storing the new waypoint in the corrected mission record generated in action 309.
[0081] Method 300 may optionally include action 309. As described in some of the examples above, in some cases, when the undo process ends, the robot can be repositioned (e.g., reoriented). For example, when the robot turns and moves forward during the undo process, it can be repositioned to face in a forward direction when the undo process ends. In some embodiments, action 309 can include reorienting the robot to face in a forward direction, which forward direction can be, for example, a direction along a line connecting the second and last waypoints, to the last waypoint in the corrected mission record. As further described in some of the above examples, in some cases, the robot can move further along the route defined by the initial mission record despite the end of the undo process (e.g., as in Figure 1C In some embodiments, action 309 may include moving the robot to the next waypoint along the route after the undo process is complete.
[0082] Figures 6A-6D An illustrative example of using a controller to direct a robot to record a task is depicted in accordance with some embodiments. Figures 6A-6DIn the example of FIG. 6 , the controller 600 includes joysticks 601 and 602, direction buttons 603, mode button 604, bumpers 611 and 612, undo button 610, and screen 620. According to some embodiments, the controller 600 may be, for example, a game tablet having physical buttons for controlling the robot, and may wirelessly communicate with a system that performs the method 300 based on input provided from the controller 600. Use of the controller 600 as described below may support a WYSIWYG solution to the task recording interface while providing an undo capability, as described above.
[0083] exist Figures 6A-6D In the example of FIG. 6 , joysticks 601 and 602 may be used to manually move the robot during a mission. Screen 620 may depict the route that robot 631 has taken so far in the mission. In some embodiments, in addition to Figures 6A-6D In addition to the route shown in the example of FIG. 6 (e.g., where the route is shown in an inset), screen 620 may also show a view from a camera of the robot. In some embodiments, directional buttons 603 may allow the user to select different cameras on the robot to view on screen 620 in this manner. In some embodiments, waypoints 621, 622, 623, and 624 may not be displayed directly on screen 620, but rather only the route taken may be displayed on the screen, with the waypoints being recorded to the mission record. However, for purposes of explanation, the Figures 6A-6D The waypoints are shown in the example of .
[0084] exist Fig. 6A In the example of FIG. 6 , the user has operated the controller 600 to guide the robot along the route shown in the figure, generating waypoints 621, 622, 623 and 624 in the initial mission record. Figure 6B As shown, the user presses and holds the Undo button 610, which initiates the Figure 3 The system performing method 300 may relay data from the robot to controller 600 during the undo process, including image data and / or position information captured by one or more cameras. The controller may present any such data via screen 620 so that a user may view the robot's progress during the undo process.
[0085] exist Figure 6C In the example of , the undo button is released, indicating that the undo process ends after the robot has moved back through waypoint 624. A new waypoint 625 is generated representing the position in the corrected mission record, and the mission record can be further edited with additional route information (e.g., waypoints 626, 627) by further guiding the robot, as shown in FIG. Fig.6D shown.
[0086] Figure 7is a schematic diagram depicting an illustrative example of a system according to some embodiments of the present disclosure. Environment 701 is a spatial area that robot 700 can traverse. In some embodiments, robot 700's traversal of environment 701 can be based at least in part on map data 713. For example, the terrain can include urban terrain (such as buildings, streets, sidewalks, parks, alleys, stairs, ramps, tunnels, etc.), rural terrain (such as roads, fields, hills, mountains, caves, etc.), underground terrain (such as caves, tunnels, etc.), or any combination thereof. Figure 7 In the example of , the robot 700 includes motion-based structures, such as legs and / or wheels attached to the body, which enable the robot to move around in the environment 701. Figure 7 A quadruped robot is depicted having four legs 703 , 704 , 706 , 708 , but the robot 700 may include any number of legs or locomotion-based structures (eg, a bipedal or humanoid robot having two legs) that provide for traversal of the environment 701 .
[0087] According to some embodiments, the robot 700 includes computing hardware 710 and at least one sensor system 720. The computing hardware 710 generally includes data processing hardware 712 and memory hardware 714. The computing hardware 710 can be configured to control a robot traversal system 716. The robot traversal system 716 operates a behavior system 702 of the robot 700 to move the robot 700 in the environment 701. The behavior system 702 is generally responsible for controlling (e.g., executing) the behavior of the robot 700. For example, the behavior system 702 can control different footstep patterns, leg patterns, body movement patterns, and / or vision system sensing patterns. The robot traversal system 716 can operate the behavior system 702 based on at least one map 713 provided to the robot traversal system 716.
[0088] exist Figure 7 In the example of , the traversal system 716 can be configured to communicate with the memory hardware 714 of the robot 700 to provide the map 713 to operate the behavior system 702 using the data processing hardware 712 of the robot 700. In some examples, the memory hardware 714 stores the map 713 locally on the robot 700. In other examples, the map 713 is stored and / or accessed remotely by the traversal system 716.
[0089] exist Figure 7 In the example of , the traversal system 716 can communicate with the remote system 740 via the network 730. The remote system 740 can be a server or a cloud-based environment that includes remote resources 742, such as remote data processing hardware 744 and remote memory hardware 746. In some embodiments, the remote system 740 can perform the above-mentioned Figure 3The method 300 described above can control the robot 700 during the task based on the user input provided to the remote system 740. The user input can be provided to the remote system 740 from the input device 780, which can include, for example, the input device 780 described above. Figures 6A-6D Controller 600 is described.
[0090] exist Figure 7 In an example of the present invention, the sensor system 720 includes one or more sensors 722, 722a-n. The sensor 722 may include a visual / image sensor, an inertial sensor (e.g., an inertial measurement unit (IMU)), and / or a kinematic sensor. Some examples of the sensor 722 include a camera, such as a stereo camera, a scanning light detection and ranging (LIDAR) sensor, or a scanning laser detection and ranging (LADAR) sensor. In some examples, the sensor 722 has a corresponding field of view F that defines a sensing range or area corresponding to the sensor 722. v .For example, Figure 7 The field of view F of the robot 700 is depicted v Each sensor 722 may be pivotable and / or rotatable so that the sensor 722 may change the field of view F, for example, about one or more axes (e.g., an x-axis, a y-axis, or a z-axis relative to a ground plane G). v In some embodiments, the body of the robot 700 includes a sensor system 720 having a plurality of sensors 722 around the body to collect sensor data 724 in all directions around the robot 700. For example, Figure 7 The quadruped robot depicted in FIG. 700 includes sensors 722 on its chest 722a, sensors 722 on each side 722n (only one side is shown), and sensors 722 on its retractable hands 722b. The robot 700 may include any number of sensors 722 as part of the sensor system 720 to generate sensor data 724 for the environment 701 surrounding the robot 700.
[0091] When using sensor 722 to survey the field of view F v When the sensor system 720 generates a signal corresponding to the field of view F v In some examples, the sensor data 724 is image data corresponding to a three-dimensional volumetric point cloud generated by the three-dimensional volumetric image sensor 722. Additionally or alternatively, the sensor system 720 collects pose data of the robot 700 as the robot 700 maneuvers around the environment 701, which includes inertial measurement data (e.g., measured by an IMU). In some examples, the pose data includes kinematic data and / or orientation data about the robot 700.
[0092] Sensor data 724 (such as image data, pose data, inertial data, kinematic data, etc.) related to the environment 701 collected by the sensor system 720 can be transmitted to the computing hardware 710 (e.g., data processing hardware 712 and memory hardware 714) of the robot 700. In some examples, the sensor system 720 collects and stores the sensor data 724 (e.g., in the memory hardware 714 or the memory hardware 746 of the remote resource 742). In other examples, the sensor system 720 collects the sensor data 724 in real time and processes the sensor data 724 without storing the raw (i.e., unprocessed) sensor data 724. In other examples, the computing hardware 710 and / or the remote resource 742 store both the processed sensor data 724 and the raw sensor data 124.
[0093] Having described several aspects of at least one embodiment of the technology, it is to be appreciated various alterations, modifications, and improvements will readily occur to those skilled in the art.
[0094] Such changes, modifications and improvements are intended to be part of this disclosure and are intended to fall within the spirit and scope of the present technology. In addition, although the advantages of the present technology are pointed out, it should be understood that not every embodiment of the technology described herein will include every described advantage. Some embodiments may not implement any feature described as advantageous herein, and in some cases, one or more of the described features may be implemented to implement additional embodiments. Therefore, the foregoing description and drawings are intended to be examples only.
[0095] The above-mentioned embodiments of the technology described herein can be implemented in any of a variety of ways. For example, embodiments can be implemented using hardware, software, or a combination thereof. When implemented in software, the software code can be executed on any suitable processor or processor set, whether provided in a single computer or distributed between multiple computers. Such a processor can be implemented as an integrated circuit, with one or more processors in an integrated circuit assembly, including commercially available integrated circuit assemblies known in the art, such as CPU chips, GPU chips, microprocessors, microcontrollers, or coprocessors. Alternatively, the processor can be implemented in a custom circuit (such as an ASIC) or a semi-custom circuit generated by configuring a programmable logic device. As another alternative, the processor can be part of a larger circuit or semiconductor device, whether commercially available, semi-custom, or custom. As a specific example, some commercially available microprocessors have multiple cores, so that one or a subset of these cores can constitute a processor. However, the processor can be implemented using a circuit of any suitable format.
[0096] Various aspects of the present technology can be used alone, in combination, or in various arrangements not specifically discussed in the previously described embodiments, and therefore its application is not limited to the details and arrangements of components set forth in the foregoing description or shown in the accompanying drawings. For example, aspects described in one embodiment can be combined in any manner with aspects described in other embodiments.
[0097] In addition, the present technology can be embodied as a method, examples of which have been provided. The actions performed as part of the method can be ordered in any suitable manner. Thus, embodiments can be constructed in which the actions are performed in an order different from the order shown, which can include performing some actions simultaneously, even though shown as sequential actions in illustrative embodiments.
[0098] Additionally, some actions are described as being taken by a “user.” It should be understood that a “user” need not be a single individual, and in some embodiments, actions attributable to a “user” may be performed by a team of individuals and / or an individual in conjunction with a computer-assisted tool or other mechanism.
[0099] The use of ordinal numbers such as "first", "second", "third", etc. in the claims to modify claim elements does not in itself imply any priority, precedence or sequence of one claim element relative to another claim element, or a temporal order of acts of performing a method, but merely serves as a label to distinguish one claim element with a particular name from another element with the same name (but using ordinal terms) to distinguish the claim elements.
[0100] In addition, the words and terms used herein are for descriptive purposes and should not be considered limiting. The use of "including," "comprising," or "having," "containing," "involving," and variations thereof herein is intended to encompass the items listed thereafter and their equivalents as well as additional items.
Claims
1. A method for operating a robot to generate a task record of a task, the method include: Use at least one processor: recording data associated with a first set of one or more operations of the task into an initial task record; In response to a user request to perform a revocation process: determining a second set of one or more operations that will undo at least a portion of the initial task record; as well as operating the robot to perform the second set of one or more operations; as well as A corrected task record is generated in response to operating the robot to perform the second set of one or more operations.
2. The method according to claim 1, further comprising: include: Data associated with the third set of one or more operations is recorded to the corrected task record based on the user input.
3. The method according to claim 2, further comprising: include: The robot is operated to perform the third set of one or more operations recorded to the corrected task record.
4. The method according to claim 1, in, Operating the robot to perform the second set of one or more operations includes moving the robot from a current position of the initial task record to a previous position of the initial task record.
5. The method according to claim 1, in, Operating the robot to perform the second set of one or more operations causes the robot to return to an earlier state of the robot resulting from operating the robot to perform the first set of one or more operations.
6. The method according to claim 1, in, The second set of one or more operations includes one or more move operations.
7. The method of claim 6, wherein the initial mission record includes data describing a route, and wherein the second set of one or more operations is configured to operate the robot in a backward direction along the route.
8. The method of claim 6, wherein the initial mission record includes data describing a route, and wherein the second set of one or more operations are configured to turn the robot and operate the robot in a forward direction along the route.
9. The method according to claim 8, in, The data describing the route comprises data describing one or more waypoints.
10. The method according to claim 1, in, The initial mission record includes a user command to move the robot from a first position to a second position, and wherein the second set of one or more operations is configured at least in part to move the robot from the second position to the first position.
11. The method according to claim 1, include: receiving a plurality of user commands to operate the robot in the task; recording the data associated with the first set of one or more operations to the initial task record based on the plurality of user commands; as well as The robot is operated to perform the first set of one or more operations.
12. The method according to claim 1, in, The user request to perform the undo process includes: receiving a first user input indicating the start of the undo process, and receiving a second user input indicating the end of the undo process, and wherein the robot is operated to perform the second set of one or more operations during a period between receiving the first user input and receiving the second user input.
13. The method of claim 12, wherein the first user input comprises pressing a button, and wherein the second user input comprises releasing the button.
14. The method according to claim 1, in, The portion of the initial task record describes one or more actions to be performed by the robot, wherein the robot collects data during the one or more actions, and wherein the second set of one or more operations includes one or more operations that delete data collected by the robot during the recording of the initial task record.
15. The method according to claim 14, further comprising: include: A prompt is displayed via a graphical user interface indicating that data collected by the robot during recording of the initial mission record is to be deleted, and a predetermined time period is waited between displaying the prompt and deleting the data collected by the robot during recording of the initial mission record.
16. The method according to claim 1, further comprising: include: After operating the robot to perform the second set of one or more operations, operating the robot to reposition itself according to the initial task record.
17. The method according to claim 1, in, The robot is in a first position after operating the robot to perform the first set of one or more operations, and wherein the method further comprises: in response to determining that the robot cannot successfully perform the second set of one or more operations, operating the robot to move to the first position.
18. The method according to claim 1, in, The at least a portion of the initial mission record is a first portion of the initial mission record, and wherein the remaining portion of the initial mission record is a second portion of the initial mission record, and wherein the corrected mission record includes the second portion of the initial mission record but does not include the first portion of the initial mission record.
19. The method according to claim 1, in, The at least a portion of the initial task record is a first portion of the initial task record, and wherein the remaining portion of the initial task record is a second portion of the initial task record, and wherein the corrected task record includes the first portion and the second portion of the initial task record, and an indication that the first portion has been deleted.
20. The method according to claim 1, in, The corrected task record includes data associated with at least one operation not described by the initial task record.
21. A system, include: at least one processor; as well as At least one non-transitory computer-readable medium comprising instructions that, when executed by the at least one processor, perform a method of operating a robot to generate a task record for a task, the method comprising: recording data associated with a first set of one or more operations of the task into an initial task record; In response to a user request to perform a revocation process: determining a second set of one or more operations that will undo at least a portion of the initial task record; and operating the robot to perform the second set of one or more operations; and A corrected task record is generated in response to operating the robot to perform the second set of one or more operations.
22. The system according to claim 21, in, The method also includes recording data associated with a third set of one or more operations to the corrected task record based on user input.
23. The system according to claim 22, in, The method also includes operating the robot to perform the third set of one or more operations recorded to the corrected task record.
24. The system according to claim 21, in, Operating the robot to perform the second set of one or more operations includes moving the robot from a current position of the initial task record to a previous position of the initial task record.
25. The system according to claim 21, in, Operating the robot to perform the second set of one or more operations causes the robot to return to an earlier state of the robot resulting from operating the robot to perform the first set of one or more operations.
26. The system according to claim 21, in, The second set of one or more operations includes one or more move operations.
27. The system according to claim 26, in, The initial mission record includes data describing a route, and wherein the second set of one or more operations is configured to operate the robot in a backward direction along the route.
28. The system according to claim 26, in, The initial mission record includes data describing a route, and wherein the second set of one or more operations is configured to turn the robot and operate the robot in a forward direction along the route.
29. The system according to claim 28, in, The data describing the route comprises data describing one or more waypoints.
30. The system according to claim 21, in, The initial mission record includes a user command to move the robot from a first position to a second position, and wherein the second set of one or more operations is configured at least in part to move the robot from the second position to the first position.
31. The system according to claim 21, in, The method comprises: receiving a plurality of user commands to operate the robot in the task; logging the data associated with the first set of one or more operations to the initial task record based on the plurality of user commands; and The robot is operated to perform the first set of one or more operations.
32. The system according to claim 21, in, The user request to perform the undo process includes: receiving a first user input indicating the start of the undo process, and receiving a second user input indicating the end of the undo process, and wherein the robot is operated to perform the second set of one or more operations during a period between receiving the first user input and receiving the second user input.
33. The system according to claim 32, in, The first user input comprises pressing a button, and wherein the second user input comprises releasing the button.
34. The system according to claim 21, in, The portion of the initial task record describes one or more actions to be performed by the robot, during which the robot collects data, and wherein the second set of one or more operations includes one or more operations of deleting data collected by the robot during the recording of the initial task record.
35. The system according to claim 34, in, The method also includes displaying a prompt via a graphical user interface indicating that data collected by the robot during recording of the initial task record will be deleted, and waiting for a predetermined time period between displaying the prompt and deleting the data collected by the robot during recording of the initial task record.
36. The system according to claim 21, in, The method further includes, after operating the robot to perform the second set of one or more operations, operating the robot to reposition itself according to the initial task record.
37. The system according to claim 21, in, The robot is in a first position after operating the robot to perform the first set of one or more operations, and wherein the system further comprises: in response to determining that the robot cannot successfully perform the second set of one or more operations, operating the robot to move to the first position.
38. The system according to claim 21, in, The at least a portion of the initial mission record is a first portion of the initial mission record, and wherein the remaining portion of the initial mission record is a second portion of the initial mission record, and wherein the corrected mission record includes the second portion of the initial mission record but does not include the first portion of the initial mission record.
39. The system according to claim 21, in, The at least a portion of the initial task record is a first portion of the initial task record, and wherein the remaining portion of the initial task record is a second portion of the initial task record, and wherein the corrected task record includes the first portion and the second portion of the initial task record, and an indication that the first portion has been deleted.
40. The system according to claim 21, in, The corrected task record includes data associated with at least one operation not described by the initial task record.
41. A method for operating a robot for collecting task records of tasks, the method include: Prior to completing the collection of the task record, in response to a request to perform an undo process, the robot is operated to undo a portion of the task record at least in part by moving the robot from a current location of the task to a previous location of the task.
42. The method according to claim 41, further comprising: include: An updated task record is generated based on the portion of the task record.
43. The method according to claim 42, in, The portion of the task record is a first portion, and wherein the remaining portion of the task record is a second portion of the task record, and wherein the updated task record includes the second portion of the task record but does not include the first portion of the task record.
44. The method according to claim 42, in, The portion of the task record is a first portion, and wherein the remaining portion of the task record is a second portion of the task record, and wherein the updated task record includes the first portion and the second portion of the task record and an indication that the first portion has been deleted.
45. The method according to claim 41, in, Operating the robot to undo the portion of the task record includes determining one or more operations corresponding to reversely executing the portion of the first task record.
46. The method according to claim 45, in, The mission record includes data describing a route, and wherein the one or more operations are configured to operate the robot in a backward direction along the route.
47. The method according to claim 45, in, The mission record includes data describing a route, and wherein the one or more operations are configured to turn the robot and operate the robot in a forward direction along the route.
48. The method according to claim 47, in, The data describing the route comprises data describing one or more waypoints.
49. The method according to claim 41, further comprising: include: receiving a plurality of user commands to operate the robot in the task; recording the task record based on the plurality of user commands; as well as The robot is operated based on the plurality of user commands to perform the task record.
50. The method according to claim 41, in, The request to perform an undo process includes: receiving a first user input indicating the start of the undo process, and receiving a second user input indicating the end of the undo process, and wherein the robot is operated to undo the portion of the task record during a period between receiving the first user input and receiving the second user input.
51. The method according to claim 50, in, The first user input comprises pressing a button, and wherein the second user input comprises releasing the button.
52. The method according to claim 41, in, The portion of the task record describes one or more actions to be performed by the robot, during which the robot collects data, and wherein operating the robot to undo the portion of the task record includes deleting data collected by the robot during the recording of the task record.
53. The method according to claim 52, further comprising: include: A prompt is displayed via a graphical user interface indicating that data collected by the robot during recording of the mission record is to be deleted, and a predetermined time period is waited between displaying the prompt and deleting the data collected by the robot during recording of the mission record.
