Extended Set-based Tasks for Multi-task Execution and Prioritization
Authors: Gennaro Notomista, Mario Selvaggio, Francesca Pagano, María Santos, Siddharth Mayya, Vincenzo Lippiello, Cristian Secchi
Organizations: Department of Electrical and Computer Engineering, University of Waterloo, Waterloo, ON, Canada · PRISMA Lab, Department of Electrical Engineering and Information Technology, University of Naples Federico II, Napoli, Italy · H Company, Paris, France. · Aquatic Labs, Cambridge, MA 02139, USA. · Department of Science and Methods of Engineering, University of Modena and Reggio Emilia, Modena, Italy
The ability of executing multiple tasks simultaneously is an important feature of redundant robotic systems. As a matter of fact, complex behaviors can often be obtained as a result of the execution of several tasks. Moreover, in safety-critical applications, tasks designed to ensure the safety of the robot and its surroundings have to be executed along with other nominal tasks. In such cases, it is also important to prioritize the former over the latter. In this paper, we formalize the definition of extended set-based tasks, i.e., tasks which can be executed by rendering subsets of the task space asymptotically stable or forward invariant using control barrier functions. We propose a formal mathematical representation of such tasks that allows for the execution of more complex and time-varying prioritized stacks of tasks using kinematic and dynamic robot models alike. We present an optimization-based framework which is computationally efficient, accounts for input bounds, and allows for the stable execution of time-varying prioritized stacks of extended set-based tasks. The proposed framework is validated using extensive simulations, quantitative comparisons to the state-of-the-art hierarchical quadratic programming, and experiments with robotic manipulators.
Figures & tables
Relationship
Jacobian-based tasks
ESB tasks
Orthogonality
JiJjT=0mi×mj
∂q∂hi∂q∂hjT=0
Independence
rank(JiT)+rank(JjT)=rank([JiTJjT])
rank([∂q∂hiT∂q∂hjT])=2
Dependence
∃q∈Q:rank(JiT)+rank(JjT)>rank([JiTJjT])
∃q∈Q:rank([∂q∂hiT∂q∂hjT])=1
TABLE I: Inter-task Relationships: orthogonality, independence, and dependence for Jacobian-based and ESB tasks
Fig. 1 : Enforcing torque bounds using a posteriori saturation (left) vs CBFs on torque input (right). When saturating torque values, the maximum/minimum torques were set to ±60 Nm to make the simulation of the saturated controller stable. On the contrary, using integral CBFs never compromises the stability of the task execution. Furthermore, torques computed using ( 9 ) with the CBF in ( 13 ), and additional integral CBFs to enforce torque bounds are much smoother compared to those achieved via saturation.
Fig. 2: Simulation of the scenario in Example 2 to show the effects of the loss of rank of the matrix rank(KˉΣT∂q∂h) . Figure 2a shows the rank evaluation during the simulation. Although rank is lost at iteration 44 (vertical dotted line), Figures 2b and 2c show that both the task functions h1 , h2 , and the robot input u remain continuous.
Fig. 3: Execution of 3 independent tasks using the method in Sec. III-B . Each task consists in driving the endpoint of link i to the position labeled as Ti and marked with a star. Figure 3a shows the evolution of the configuration of the robot (from light gray to black). Figures 3b and 3c show the evolution of the task functions hi and the Lyapunov function V in ( 25 ), respectively.
Fig. 4: Execution of 3 independent tasks using the method in Sec. V-A . Each task consists in driving the endpoint of link i to the position labeled as Ti and marked with a star. Figure 4a shows the evolution of the configuration of the robot (from light gray to black). Figures 4b and 4c show the evolution of the task functions and of the components of the slack variable v of the prioritization constraint, respectively.
Fig. 5: Execution of 3 dependent tasks consisting in driving the end-effector of the robot to each of the 3 points marked with a star. As in previous simulations, the evolution of the robot configuration is depicted in Fig. 5a . The robot executes task T1 since it has highest priority and all tasks are pairwise dependent. As a result, in Fig. 5b , only h1 is driven towards 0, signifying the execution of task T1 only. Figure 5c depicts the components of the slack variable v of the prioritization constraint.
Fig. 6: Priority switching with dependent tasks consisting in driving the end-effector of the robot to each of the 3 points marked with a star. Figures 6a , 6b and 6c show the configuration of the robot (evolving from light gray to black in each figure) while it executes task T1 , T2 , and T3 with highest priority, respectively. Figure 6d reports the trajectories of the task functions h(σ) . Light gray shaded areas denote the intervals during which priorities are swapped. Fig. 6e shows the continuous joint velocity control input.
Fig. 7: Task insertion/removal and switch between stacks of dependent tasks. The tasks considered in this simulations are joint limit avoidance, end-effector position control, end-effector orientation control, and a look-at-point task in which we control the third link of the robot to the orientation required to aligned it with a desired point of interest. Figures 7a and 7b show the evolution of the robot configurations while executing the two stacks of tasks, respectively. The stars represent the desired end-effector position and the point towards which the third link has to be oriented. The plot of the task functions are reported in Fig. 7c , while Fig. 7d highlights the continuity of the joint velocity control input.
Fig. 8: Priority switching with dependent tasks and torque-controlled robot. Similarly to its kinematic counterpart in Fig. 6 , Fig. 8a and Fig. 8b show the evolution of the robot configurations. In Fig. 8c , instead, besides the trajectory of h1 and h2 , the functions h1′ and h2′ are displayed. Fig. 8d , the continuity of the input torques required to switch between the two stacks of tasks is shown, alongside the minimum and maximum values they can attain.
Fig. 9: Priority switching with dependent tasks and torque-controlled robot using the HQP method [ 18 ] . Similarly to its counterpart in Fig. 8 , Fig. 9a and Fig. 9b show the evolution of the robot configurations. In the first half of the experiment, task T1 has highest priority, in the second half of the experiment, the priorities are swapped. Finally, Fig. 9c , the input torques required to switch between the two stacks of tasks is shown, alongside the minimum and maximum values they can attain.
Fig. 10: Experimental setup. The KUKA LBR iiwa 7 R800 robot with a RealSense T435 camera at its end-effector. The superimposed picture shows the camera image overlayed with AprilTag tracking marks. Full experiment video available online at https://youtu.be/u_5v52-q2CQ .
Fig. 11: Values of the CBFs encoding the ESB tasks performed in the experiment. (a) Time evolution of the joint limits avoidance functions hi± for i=1,...,7 for both the upper and lower i− th limits. (b) Evolution of ESB task functions hi for i=1,2,3 , ordered according to their priority. Light gray shaded areas denote transition intervals.
Fig. 12: Joint velocity control input u , desired and measured joint positions recorded over the experiment. (a) Time evolution of the joint velocity control input, highlighting switching time instants and transitions phases (shaded in light gray). (b) Desired and measured joint positions.
Fig. 13: Time evolution of the QP slack variables during the experiment.(a) Time evolution of δi for i=1,2,3 that respectively relax the constraint of the task with i− th priority. (b) Time evolution of the components of the slack variable vij for i,j=1,2,3 of the prioritization constraint. Light gray shaded areas denote transition intervals.
School of Advanced Manufacturing and Robotics, Peking University, Beijing 100871, China · Automatic Control Laboratory, ETH Zürich, Zürich 8092, Switzerland