Manuscript Offprint
arXiv:2610.29356Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
Giorgia Pazzi , Giorgio Simonini , Michele Pierallini , Paolo Salaris , Giorgio Grioli , Manolo Garabini and Franco Angelini
Centro di Ricerca “Enrico Piaggio”, Università di Pisa, Largo Lucio Lazzarino 1, Pisa, 56126, Italy
Dipartimento di Ingegneria dell'Informazione, Università di Pisa, Via G. Caruso 16, Pisa, 56122, Italy
Soft Robotics for Human Cooperation and Rehabilitation, Fondazione Istituto Italiano di Tecnologia, Genoa, 16163, Italy
This is the accepted manuscript (post-print) of the article. The final published version (version of record) appeared in Control Engineering Practice, 178 (2027), 107248, and is available at https://doi.org/10.1016/j.conengprac.2026.107248. © 2026 Elsevier Ltd. This manuscript version is made available under the CC BY-NC-ND 4.0 license: https://creativecommons.org/licenses/by-nc-nd/4.0/.
ARTICLE INFO
Keywords:
Payload generalization
Feedforward control
Iterative learning control
Robotics
Soft robotics
Trajectory tracking
ABSTRACT
Industries employ robots for repetitive tasks due to their high precision and performance, typically achieved through feedforward control actions based on an accurate robot description. However, an exact dynamic model can be difficult to obtain, especially for robots with elastic elements or when the payload changes. Learning-based feedforward approaches are promising for trajectory tracking under model uncertainties, but typically face generalization issues when task parameters vary. This paper proposes a novel method to generalize the feedforward control action with respect to payload parameters, independently of the underlying controller. Firstly, the minimal number of example objects needed for payload generalization is derived. Then, an algorithm is proposed to execute the same trajectory with a new payload, given only its parameters, without knowledge of the robot's dynamic model and even in the presence of elastic joints. The effectiveness of the proposed algorithm is validated in simulations and experiments on tracking tasks with different robots and controllers. Two sets of experiments are performed: on a standard Franka Emika Panda robot, and on a Franka Emika Panda robot equipped with an elastic wrist.
The ability of robots to transform such industries comes from their safety during human-robot interaction tasks and their excellent tracking performance (Palleschi et al., 2021). Safety is increasingly achieved thanks to the physical adoption of elastic elements within the robot joints, leading to the so-called articulated soft robots (Albu-Schaffer et al., 2008; Della Santina et al., 2020). However, this progress comes at the expense of increased complexity in robot modeling and description. In scenarios where the robot's dynamic model is known with uncertainties, adaptive control techniques can be employed to estimate and compensate for unknown parameters. Such schemes exploit the linearity of the manipulator dynamics with respect to the dynamic parameters, which

Fig. 1. Scheme of the proposed payload generalization method. The figure shows the main steps of the procedure: first, feedforward torques are collected for a set of example objects with known parameters; then, these data are used to compute the regressor matrix that enables the generation of feedforward control actions for any new payload with known parameters.
they estimate online, from the known model structure, to compute the control torque (Slotine and Li, 1987); recent formulations even recover the exact parameters without requiring persistency of excitation (Arteaga, 2024).
However, such feedback-based techniques often require high gains that stiffen dynamics, undermining the compliance of soft robots (Pierallini et al., 2022), and although recent adaptive computed-torque schemes mitigate this by
This research is partially supported by the European Unions Horizon 2020 Research and Innovation Programme under Grant Agreement No. 101017274 (DARKO), in part by EUs MSCA NEUTRAWEED grant no. 101182891, and in part by the Italian Ministry of Education and Research in the framework of the “FoReLab” (Future-oriented Research Lab) Project (Departments of Excellence).
Corresponding author.
Email address: giorgia.pazzi@phd.unipi.it (G. Pazzi)
Page 1 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
enabling low feedback gains (Simonini et al., 2025), they remain feedback- and model-based. Additionally, adaptive control must re-initialize parameter estimates when the robot's dynamics change, leading to transient phases of suboptimal performance (Middletone and Goodwin, 1986). The same parameter linearity also underlies load identification, where the payload inertial parameters are estimated offline from measured joint torques and motion (Atkeson et al., 1986): this is the inverse of the problem addressed here, which instead exploits known payload parameters to generate the corresponding feedforward torques.
In contrast, good tracking performance is often achieved by feedforward control actions (Liu et al., 2019), which are computed either from the perfect knowledge of the system's dynamics (Chhatoi et al., 2023) or through learning-based techniques (Chen et al., 2025). Since the former approach relies on exact system modeling, it becomes particularly challenging in many real-world scenarios. For this reason, the latter model-free and learning-based control strategies have been increasingly investigated in recent years.
An example of this class of controllers is Iterative Learning Control (ILC) (Arimoto et al., 1984; Chen et al., 2020; Pierallini et al., 2025), which offers a powerful solution for improving the transient performance of systems that operate repetitively over a fixed time interval, finding application mainly in industrial robotics (Saab et al., 2022; Tayebi et al., 2008). Unlike classical control techniques, ILC leverages previous iteration data to minimize the tracking error in a model-free, data-driven fashion (Bristow et al., 2006).
Despite their promising performance, learning-based methods, particularly ILC, struggle to generalize pre-learned control actions to new scenarios. Indeed, any slight change in the scene, such as the need to perform a different trajectory or move different payloads, leads to the use of a new control action and, since the model of the system is not entirely available, this is not trivial to achieve, and it requires the repetition of the entire learning phase whenever the task changes (Angelini et al., 2020a; Li et al., 2022).
Several studies have addressed the issue of generalization in learning-based controllers. For instance, the authors in Mengacci et al. (2021a) proposed solutions to generalize the learned control action in terms of stiffness profile. In Angelini et al. (2020b), De Luca and Farina (2002) a procedure is developed to scale and generalize learned control actions to execute desired trajectories at varying velocities. The problem is further examined from the perspective of final point (Freeman et al., 2010) and trajectory generalization in Angelini et al. (2020a). However, none of these solutions generalizes the control action with respect to the payload's dynamic parameters, nor in a feedforward fashion for robots that may even present elastic joints, which is a key feature in many pick-and-place tasks to execute precise, safe, and fast operations. In many applications, such as manufacturing or logistics, robots repeatedly manipulate several objects, each with a different mass, inertia, or geometry. Conventional feedforward learning-based controllers typically require re-learning whenever some task parameters change, e.g., the manipulated object, leading to a time-consuming process that limits scalability.
This paper develops a novel method to generalize feedforward control actions, acquired with any controller, for tracking a desired trajectory with different payloads, Fig. 1. To this end, it is first demonstrated that the number of examples required to generalize the feedforward control action corresponds to the number of dynamic parameters defining the object, plus one. An algorithm is then introduced, capable of executing the same trajectory for a new payload based solely on its given parameters. The core idea is to collect feedforward control actions for a small set of example objects. From this data, a regressor matrix is computed, enabling the estimation of the feedforward control required for any new object with known parameters. This makes the method easy to implement in industrial settings where such parameters are usually available or measurable. Additionally, this purely data-driven, controller-independent approach requires no prior knowledge of the robot's dynamic model and can improve tracking performance in real-world applications, even when elastic elements are present in the robot's structure.
The effectiveness of the proposed method is validated for both rigid and soft articulated robots, showcasing its ability to operate independently of the manipulator's structure and controller while relying solely on the dynamic parameters used to describe the payload. Specifically, experiments are also conducted on the Franka Emika Panda manipulator, equipped with a variable-stiffness actuator wrist and the SoftClaw .
This paper is organized as follows. In Section 2, the problem, the system model, and the payload description are defined. The proposed payload generalization approach is detailed in Section 3, and Section 4 provides an extensive validation of the approach, including simulation results and real-world experiments. Finally, conclusions and future research directions are discussed in Section 5.
2. Problem statement
This section defines the payload generalization problem for trajectory-tracking tasks for robots with rigid and elastic joints.
2.1. System model
Let us consider a system with n joints, of which m are soft with . The model is derived under the standard reduced-model assumption of negligible inertia coupling between the link variables q and the motor variables , and of non-eccentric motor inertia (Spong, 1987). The dynamic equations of the system are inspired by Albu-Schäffer and Bicchi (2016) and can be written as
where the time dependence is omitted, includes the joint angles with their time derivatives, i.e., and ,
qb-softclaw
Page 2 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
and indicates the motor angles, with their time derivatives, i.e., and . is the identity matrix. The matrices , , and the vector represent the inertia matrix, the Coriolis and centrifugal matrix, and the gravitational force field, respectively. Recalling (2), , , and of rank denote the motor inertia, friction, and stiffness matrices, respectively. Since the motor dynamics matrices are of dimension , even though only joints are soft, the system is underactuated. To this end, the selection matrices, and , are introduced, allowing the motor dynamics to be associated exclusively with the soft joints. Let , with , collect the indices of the elastic joints, and let denote the th column of . The selection matrices are then
with if and otherwise. Accordingly, , , and have null rows at the rigid-joint positions, hence their rank is . Finally, is the actuation torque vector. Under the reduced-model assumptions, a change of payload affects only the link dynamics (1): being rigidly attached to the end-effector, the payload modifies the inertial, Coriolis, and gravitational terms , , and , which thus depend on its parameters. Conversely, the motor dynamics (2) remains unaffected, since , , and characterize the actuators alone and the link–motor coupling enters only through the load-independent elastic term . Such dependence is left implicit here, and made explicit in Section 3.
The following hypotheses are assumed for (1)-(2):
H1) The compliant joints are modeled as series elastic actuators (SEA) so that each soft joint is associated with a joint angle and motor angle .
H2) The matrices J, D, K are diagonal and constant. This reflects the mechanical decoupling and the linear elasticity of the SEA actuators, which are standard assumptions for the considered class of robots.
2.2. Goal
Consider a reference trajectory in the joint space. Let us assume the nominal model of the robot (1)-(2) is unknown, while the payload parameters are known and defined by the vector . Assume also the torques required to track a desired trajectory are known for payloads (with parameters ):
The objectives of this work are:
G1) to identify the minimal set of example objects, i.e., p, such that the corresponding feedforward torques , allow for the computation of a well-defined control action;
G2) to develop a method for computing feedforward control actions that achieve a small trajectory tracking error , using the example torques , for , under the system dynamics given by (1)-(2), and assuming is feasible, i.e., there exist an initial state and an input such that the resulting motion satisfies .
3. Proposed approach
This section presents the problem’s solution. As illustrated in Fig. 1, the proposed method is organized into three main blocks:
i) Example Torques: in the first block, feedforward torques are collected for a set of example objects with known parameters. These data provide the basis for capturing the influence of payload parameters on the system dynamics.
ii) Regressor Estimation: in the second block, the collected data are exploited to compute the regressor matrix, which allows the system dynamics to be expressed in a linearly parameterized form.
iii) Payload Generalization: in the final block, the estimated regressor is used to compute the feedforward generalized torques for any new payload with known parameters.
It is instrumental for the derivation of the proposed method to recall that the system model defined in (1)-(2), under assumptions H1–H2, can be expressed as the product of a regressor matrix and the dynamic parameters vector of the system, see, e.g., Siciliano et al. (2009). Specifically, given any payload, (1)-(2) can be written as
where is the regressor matrix, and is the system's dynamic parameters vector. Please note that (Siciliano et al., 2009) already presents the linear formulation of (1), and recalling H2, one can include the linear formulation of (2).
The first step is to select the parameters of the object at the end-effector that influence the system’s dynamics. To do this, the parameters vector is decomposed into components that are directly associated with the different terms of (1)-(2). This leads to rewriting (6) as follows
where represents the dynamic parameters of the links, corresponds to the parameters of the payload, and, recalling H2, , , and are matrices of rank , and , , and are the inertia, damping and stiffness parameters vectors, respectively. The
Page 3 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
links’ dynamic parameters are denoted by the subscript , and those of the payload are denoted with . Following this decomposition, a change of payload affects only the dynamic parameters collected in . The regressor matrix Y depends only on the motion variables and not on the dynamic parameters, and the same holds for all the sub-blocks into which it is decomposed; they therefore remain unchanged when the payload varies (Atkeson et al., 1986; Hollerbach et al., 2016). Note also that, as discussed in Section 2, the motor dynamics remains unaffected by the payload.
It is instrumental for the method derivation to introduce the following definition.
Definition 1. A set of payloads, with dynamic parameters , , is heterogeneous if these vectors are affinely independent (Roman, 1992). Equivalently, for any , the vectors , , are linearly independent.
Theorem 1 and Theorem 2 are proposed to solve the objectives G1 and G2 defined in Section 2.
G1 is addressed by the following Theorem.
Theorem 1. Let us consider the system (1)-(2), under assumptions H1–H2, and its linear formulation w.r.t. the dynamic parameters in (7)-(8).
Let be the number of dynamic parameters used to describe each payload.
Let us consider a set of p heterogeneous known payloads.
To compute generalized torques to execute the desired trajectory with any new object, the number of distinct example objects must be at least
Proof. Summing (7) and (8) yields:
In (10), one can combine all terms related to manipulator dynamics without payload at the end-effector as follows:
where and . Thus, (10) can be rearranged as
where the torque vector is split into two components: which is the nominal torque required to execute the desired motion without any object at the end-effector, and , which is the torque variation introduced by the presence of the object at the end-effector. For the ith object, (12) becomes:
where denotes the joint torques applied to the robot to follow the desired trajectory when the manipulator holds object at the end-effector. Recalling (13), the joint torques for object can be expressed as the product of the regressor matrix and dynamic parameter vector, i.e.,
where , and .
Since payload parameters , and joint torques for trajectory tracking , are known, what remains to be estimated is the regressor matrix, i.e., . To this end, the joint torques for a set of known objects are arranged into a matrix, namely :
Grouping the known dynamic parameters for each object into a matrix yields
Given (14), (15), and (16), the following equation can be written
The dimensions of the matrices are , , and , where is the number of payload dynamic parameters and . To generalize the control actions for different payloads, the regressor matrix is estimated from (17). This requires matrix to have full row rank, which in turn implies . Choosing leads to a matrix which is square and of full rank. Full rank is achieved by construction thanks to the heterogeneity of the example payloads. Indeed, subtracting the first column of from all the others yields the square matrix
which is block lower triangular with diagonal blocks of dimensions and . The first block is the nonzero scalar 1, while the second one is nonsingular since, by Definition 1, the vectors , , are linearly independent. Hence is invertible.
Together with the necessary condition , this establishes that is the minimum number of examples needed to generalize control actions across payloads.
The result of Theorem 1 establishes that the number of required example objects depends exclusively on the number of dynamic parameters describing the payload. Notably, the generalization method is independent of the manipulators structure, including the number of degrees of freedom. This independence represents a significant advantage as it eliminates the need for complex and often imprecise identification of the robots dynamic parameters.
Remark 1. From an implementation perspective, it is noteworthy that the matrix , defined in (16), is invertible whenever the example payloads are heterogeneous in the sense of
Page 4 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
Definition 1, i.e., whenever its columns are linearly independent. However, heterogeneity only guarantees invertibility in a qualitative sense. From a numerical standpoint, what matters is how well-conditioned is, as quantified by its condition number . A small requires to be not merely linearly independent, but also far from linear dependence. Otherwise, becomes ill-conditioned, i.e., grows large, compromising the numerical stability and accuracy of the regressor matrix estimation, i.e., .
Remark 2. Without loss of generality, the case of no payload can be treated as one of the p examples of heterogeneous payloads. Indeed, the absence of a payload corresponds to the dynamic parameter vector . Given Definition 1, having heterogeneous objects implies having linearly independent vectors . This means that the dynamic parameter vectors of the remaining p - 1 objects are linearly independent. Substituting into (16) yields
which is block upper triangular, with diagonal blocks of dimensions and . Since the first diagonal block is the nonzero scalar 1, and the vectors , , ..., are linearly independent, then the matrix is full rank.
G2 is addressed by the following theorem.
Theorem 2. Let us consider the system (1)-(2), under assumptions H1–H2, and its linear formulation w.r.t. the dynamic parameters in (7)-(8).
Consider a set of p heterogeneous known payloads such that condition (9) holds.
The feedforward generalized control action required to track the desired trajectory , when a new payload characterized by the dynamic parameter vector is attached to the manipulator end-effector, is given by:
where is defined as in (15) and is defined as in (16), and as in (9).
Proof. Given that condition (9) holds, the regressor matrix in (17) can be estimated by inverting matrix as follows:
Combining (14) and (21) yields the formula for computing the torques necessary to track the desired trajectory with any new object. Specifically, given a new payload with dynamic parameter vector , the feedforward control action is computed as:
where . Substituting (21) into (22) leads to equation (20), which concludes the proof.
Remark 3. The results presented in Theorems 1 and 2 hold even when . In this case, the regressor matrix in (17) can be estimated using one of the right-inverse matrices of . For instance, one can use the MoorePenrose pseudo-inverse , which solves the least squares problem. This leads to
Then, the generalized torques for any new object with parameters vector can be computed by combining (22) and (23).
Sensitivity analysis. The proposed generalization method relies on the inversion of the parameters matrix defined in (16) and on the collection of example torques in defined in (15). To analyze how uncertainties and noise propagate to the generalized torques in (20), the following perturbed matrices are introduced:
where models perturbations due to sensor noise, control inaccuracies, and unmodeled dynamics in the torque measurements, while represents uncertainties in the payload parameters arising, for instance, from manufacturing tolerances. Using the first-order perturbation approximation of matrix inversion (Golub and Van Loan, 2013), , for , and neglecting higher-order terms, the resulting generalized torque perturbation can be approximated as
(25)
The expression derived in (25) highlights a distinct sensitivity of the method with respect to different uncertainty sources. Indeed, while the perturbation in torque measurements propagates linearly through the norm of the inverse parameters matrix , the uncertainty in payload parameters depends on it quadratically. This emphasizes the importance of Remark 1: selecting heterogeneous example payloads is crucial to minimize the norm , thereby ensuring the overall robustness of the estimated regressor .
4. Validation
This section presents the simulation and experimental results to validate the proposed method. Simulation tests are conducted on two systems: a 3-DoF soft articulated manipulator with each joint actuated by SEAs (Section 4.1), and the Franka Emika Panda (Section 4.2). In addition, experiments are performed using the Panda manipulator (Section 4.3) and the Panda robot equipped with a soft
Page 5 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
wrist system (Section 4.4) powered by a qbmove Advanced actuator (Mengacci et al., 2021b). To demonstrate that the proposed method is independent of the controller used to collect the example torques, it is evaluated under two distinct control paradigms. For the soft articulated manipulator, a model-based computed torque controller is employed; in contrast, torques for the Panda robot and soft wrist are computed via model-free ILC.
Object description. The payload is modeled as a link attached to the manipulator's end-effector. Therefore, all payload parameters are expressed w.r.t. the end-effector frame. The same dynamic parameters used for the robots links are employed to represent the payload parameters vector, including mass, center of mass, and inertia (Siciliano et al., 2009), i.e.,
(26)
where and , and are the object's first-order moments w.r.t. x, y and z axes, respectively. The terms represent the components of the object's second-order moment of inertia. For the Franka Emika Panda robot, a set of cylindrical and parallelepiped payloads is considered. A vertical grasping pose is assumed to ensure stability near the 3 kg payload limit, with the object dimensions bounded by the gripper opening, i.e., 80 mm for the Franka Hand in simulation, and 45 mm for the soft claw used in the experiments. Moreover, the object's principal axes are aligned with the end-effector frame, and its center of mass lies on the z axis of the same frame. Consequently, the first-order moments along x and y and the products of inertia are intrinsically null, allowing to be reduced to a 5-element vector, i.e.,
for a given object . The discarded parameters do not contribute to the dynamics in this configuration, hence (27) is exact and avoids the ill-conditioning of . Recalling Theorem 1, the dimension of the parameter vector determines the number of example objects. The full 10-dimensional case (26) requires 11 objects, resulting in a matrix of the form (16), whereas the reduced 5-dimensional case (27) requires 6 objects, yielding . In the following, each payload is described either by (26) or by (27), depending on the specific object set employed and on the scenario being addressed. In all cases, the condition number of is reported to assess the numerical stability of the inversion procedure.
Evaluation metric. The Root Mean Square Error (RMSE) is employed to evaluate the tracking performance at the joints

Fig. 2. Schematic representation of the simulated 3-DoF soft articulated manipulator, actuated with SEAs.
Implementation. Although the proposed method is derived in continuous time, its practical implementation in discrete time is straightforward and introduces no modification to the algorithm. Indeed, the proposed formulation is evaluated pointwise in time, and therefore the same algebraic expressions are simply computed at each controller sampling instant. Consequently, the regressor estimate and the generalized feedforward torques are evaluated at the controller update rate, which in the present implementation is 1 kHz. Both in simulation and experiments, joint position and velocity are directly measured by the robot. Joint acceleration, which is not directly available, is reconstructed by applying central finite differences to the measured velocity after low-pass filtering to reduce noise amplification. The only approximation introduced by the digital implementation concerns numerical differentiation, while the proposed payload generalization method itself is implemented exactly as derived in continuous time.
4.1. Simulation results: Soft articulated robot
A 3-DoF soft articulated manipulator, whose structure is shown in Fig. 2, is simulated using MATLAB. With reference to the model described in Section 2.1, all the joints are elastic, i.e., and . Therefore, no column of I is discarded in (3) and all the entries in (4) are equal to one, hence , the matrices J, D, and K have full rank, and (1)-(2) reduce to the standard model of robots with elastic joints (Spong, 1987).
Two studies are carried out on this system: the first addresses complex, eccentric, and arbitrarily oriented objects through the full ten-parameter vector (26), whereas the second considers objects aligned with the end-effector frame, i.e., with the principal axes parallel to its axes and the center of mass on z, so that the reduced five-parameter vector (27) describes them exactly. The control law and the desired trajectory described in the following are the same in both studies. The desired joint torques are computed using a pure feedforward computed torque controller (31) to track the reference trajectory with the example objects of each study. This controller allows the proposed method to be evaluated in the presence of ideal tracking performance.
The control law is defined as follows. The torque vector is expressed in terms of the link position vector q and its time derivatives up to the fourth order (De Luca, 2000). In the following, the first and second time derivatives of q
Page 6 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
are denoted by and , while the superscripts and denote the third and fourth time derivatives, respectively. To simplify the notation, is defined. From (1), the expression of is derived and then differentiated w.r.t. time, leading to
Substituting (28)–(30) into the motor dynamics (2) yields the torque vector in terms of the configuration vector and its derivatives, i.e.,
which can be used to compute the desired torque using the desired trajectory and its derivatives. Specifically, evaluating (31) requires this trajectory to be differentiable up to the fourth order, which is the only condition it must satisfy. As (31) shows, this control law requires the dynamics matrices of the system, and is therefore model-based. The payload generalization method of Section 3, instead, remains model-free, as it uses the example torques only as data, regardless of the controller that generated them. Hence, collecting the examples with a model-based controller does not affect the model-free nature of the generalization; when the system model is unavailable, a model-free controller can be used. The desired trajectory is
where denotes the manipulator joint index and is the summation index corresponding to the polynomial terms of the trajectory, each associated with a coefficient . The coefficients are , , , , , and s. In each study, once the desired torques are obtained using (31), the matrix is defined as in (15).
Full object parameter vector. The first study validates the method under the general payload description, in which no assumption is made on the position of the center of mass or on the orientation of the principal axes of each object, so that each payload is described by the full ten-dimensional parameter vector (26), i.e., . Accordingly, the example set comprises objects, while two further objects are used for testing. These payloads are listed in Table 1.
Table 1
Object parameter values for the full 10-parameter payload description of the 3-DoF soft articulated manipulator. For each object, is the distance of the center of mass from the origin of the end-effector frame, and the tilt is the rotation of the object principal axes w.r.t. the same frame.
| Object [i] | shape | mass [kg] | [m] | tilt [°] |
|---|---|---|---|---|
| 0 | - | 0 | 0.00 | 0.0 |
| 1 | box | 3 | 0.17 | 40.8 |
| 2 | cylinder | 6 | 0.25 | 43.7 |
| 3 | tube | 9 | 0.32 | 72.6 |
| 4 | ellipsoid | 12 | 0.21 | 95.2 |
| 5 | cone | 15 | 0.38 | 92.7 |
| 6 | tri-prism | 18 | 0.31 | 144.8 |
| 7 | L-shape | 21 | 0.35 | 125.6 |
| 8 | box | 24 | 0.46 | 166.9 |
| 9 | cylinder | 27 | 0.39 | 148.3 |
| 10 | ellipsoid | 30 | 0.38 | 131.6 |
| 11 | tri-prism | 4.5 | 0.58 | 114.4 |
| 12 | L-shape | 25.5 | 0.41 | 112.7 |

Fig. 3. Simulation 3-DoF soft articulated manipulator with the full 10-parameter payload description: comparison of desired and generalized torques performance.
Each object is identified by a different number from 0 to 12, where Object 0 denotes the case in which the manipulator carries no payload, i.e., and (13) becomes . In this simulation, Objects 0 to 10 are used to estimate the numerical regressor, while Objects 11 and 12 are used to test the generalized torques. The objects have different shapes and are eccentric and arbitrarily oriented, so that all first-order moments and all products of inertia are non-zero. The resulting matrix is full rank, with condition number : the example payloads are thus far from linear dependence in the sense of Remark 1, and (21) can be evaluated reliably. The method of Section 3 is then applied to compute the generalized torques (20) for the test objects. Fig. 3 compares the global RMSE of the generalized torques (red) with that of the computed torque controller, evaluated on the example objects (light blue) and on the test objects (dark blue).
Reduced object parameter vector. The second study considers payloads whose center of mass lies on the z axis of the end-effector frame and whose principal axes are
Page 7 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
Table 2 Object parameter values for the reduced 5-parameter payload description of the 3-DoF soft articulated manipulator.
| Object [i] | mass [kg] | length [m] | width [m] | height [m] |
|---|---|---|---|---|
| 0 | 0 | 0.0 | 0.0 | 0.0 |
| 1 | 30 | 0.32 | 0.16 | 0.11 |
| 2 | 10.82 | 0.15 | 0.15 | 0.05 |
| 3 | 4.16 | 0.92 | 0.46 | 0.31 |
| 4 | 22.67 | 0.47 | 0.16 | 0.24 |
| 5 | 1.59 | 0.63 | 0.32 | 0.21 |
| 6 | 19.35 | 0.29 | 0.14 | 0.09 |
| 7 | 6.21 | 0.84 | 0.28 | 0.42 |

Fig. 4. Simulation 3-DoF soft articulated manipulator with the reduced 5-parameter payload description: comparison of desired and generalized torques performance.
aligned with the same frame, a configuration for which the reduced object description (27) is exact, i.e., . In this simulation, the example set reduces to objects, while two further objects are used for testing. The object set is listed in Table 2, where Objects 0 to 5 are the examples and Objects 6 and 7 are the test ones. As in the previous study, Object 0 denotes the absence of payload. Since the simulated objects are modeled as parallelepipeds, their centers of mass and their inertia matrices are computed using standard formulas. Also in this study, the heterogeneity of the example payloads guarantees the invertibility of , whose condition number keeps the estimation of the regressor through (21) numerically well posed. The generalized torques (20) are then obtained for Objects 6 and 7, and compared with the corresponding computed torque solution. Fig. 4 collects the RMSE over the whole object set: the light blue bars refer to the computed torque on the example objects, while the dark blue and the red ones compare the computed torque and the generalized torques on the test objects.
Discussion. Simulation results confirm that the proposed generalization method effectively enables tracking with new objects. This conclusion holds for both studies, since the generalized torques attain, on the test objects, the same RMSE as the computed torque controller employed to collect the example torques. This is the expected outcome since the simulation is ideal and disturbance free, the example torques are exact, and the matrix , in both studies, is well conditioned, so that the regressor is recovered accurately and the generalization introduces no additional error. This is confirmed by Figs. 3 and 4. In Fig. 3, obtained with the full ten-dimensional description, the generalized torques (red) and the computed torque on the test objects (dark blue) reach the same RMSE on Objects 11 and 12, with a mean of 0.00707 against a mean of 0.00807 over the example objects (light blue). The method is thus successfully validated on eccentric and arbitrarily oriented payloads, for which all the first-order moments and all the products of inertia are non-zero. The same holds in Fig. 4 for the reduced five-dimensional description, where the red and the dark blue bars coincide on Objects 6 and 7, with a mean of 0.00313 against a mean of 0.00112 over the example objects (light blue). The two simulations cannot be directly compared, as they refer to two different object sets, characterized by different features and, therefore, described by different parameter vectors. However, both figures show that the RMSE level depends on the specific payload and on the tracking accuracy of the controller used to collect the examples, and not on the generalization step.
These findings indicate that the proposed method successfully extracts the relevant information from the example torques in order to replicate the desired trajectory for any new object. It is interesting to point out that the generalized torques for the new objects are obtained without any knowledge of the system model, with the model-based controller used only to gather the example torques. Moreover, this holds even in the presence of joint elasticity.
4.2. Simulation results: Rigid system
To further evaluate the effectiveness of the proposed payload generalization method, the Franka Emika Panda is simulated via the Robot Operating System (ROS) in conjunction with the Franka Control Interface (FCI). In contrast to the soft articulated case presented in Section 4.1, all the joints are rigid, i.e., and in the model of Section 2.1: the index set is empty, hence in (3) has no columns and all the entries in (4) vanish, giving together with . Consequently, the motor dynamics (2) is not present, and (1) reduces to the classical rigid-robot dynamics . In this setup, the torques necessary for tracking a desired trajectory with example objects are determined using ILC. Specifically, a model-free ILC is implemented, which leverages only the torques computed at the previous iteration, together with the measured position, velocity, and acceleration errors, i.e.,
where indicates the iteration index, , , are the diagonal positive definite control gain matrices, and is the so-called learning gain, whose role is fundamental to ensure convergence (Pierallini et al., 2023).
From the starting configuration, i.e., at the initial time, up to the desired configuration at the final time , the desired trajectory is a minimum jerk, i.e.,
Page 8 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints

Object 4
Object 5
Object 6
Object 7
Iterations
Iterations
Iterations
Iterations
Fig. 5. Simulation of Panda robot: the subplots show the ILC RMSE convergence over 300 iterations for the case of no payload (Object 0) and for all the remaining objects (Object 1-7).
Table 3 Objects parameters values for simulation tests on the Franka Emika Panda manipulator.
| Object [i] | mass [kg] | length [m] | width [m] | height [m] |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 1 | 2.7 | 0.035 | 0.062 | 0.027 |
| 2 | 0.6 | 0.073 | 0.025 | 0.054 |
| 3 | 1.8 | 0.036 | 0.071 | 0.043 |
| 4 | 3.0 | 0.065 | 0.022 | 0.057 |
| 5 | 0.3 | 0.032 | 0.079 | 0.014 |
| 6 | 0.9 | 0.047 | 0.068 | 0.023 |
| 7 | 2.1 | 0.041 | 0.075 | 0.018 |
where rad, and rad. The choice of the boundary configurations , , and of the desired trajectory does not affect the validity of the generalization. Theorems 1–2 hold for any , provided the same trajectory is used to collect the example torques and to compute the generalized ones, ensuring consistency across objects. Consequently, the trajectory is determined solely by the ILC scheme requirements. The minimum-jerk trajectory (34) is adopted because its smooth profiles enable faster convergence and improved tracking. The objects considered in these simulations are parallelepipeds, whose characteristics are listed in Table 3, and where Object 0 means no payload. Each object is described using the five-dimensional parameter vector (27). Differently from Section 4.1, in this section the proposed method is validated using different example-test splits. Specifically, following the consideration reported at the beginning of Section 4, the objects are split into 6 examples employed for the generalization and 2 test objects. This leads to
Table 4 ILC controller gains.
| Joint | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| 10 | 20 | 20 | 10 | 4 | 4 | 4 | |
| 1 | 2 | 2 | 1 | 0.4 | 0.4 | 0.4 | |
| 0.1 | 0.2 | 0.2 | 0.1 | 0.04 | 0.04 | 0.04 |
possible combinations of the two test objects out of the eight. To refer to these different combinations, in the following the notation Ti-j is used, indicating that objects i and j are used as test objects while the remaining six form the example set. Across the 28 combinations, is always full rank and never exceeds , ensuring no example set is ill-conditioned.
Using the ILC controller (33), the desired torques to track the desired trajectory (34) with the example objects as payloads are determined. After tuning, is selected, where is the identity matrix, and the diagonal elements of the gains matrices are defined in Table 4. The gains are tuned empirically so that a monotone RMSE decrease is preserved across iterations, and kept fixed across all objects and experiments. The velocity and acceleration gains and are set smaller than the position gain , so that the noisier velocity and acceleration error terms contribute less to the update. The learning process is stopped after 300 iterations, once the RMSE plateaus. The RMSE convergence w.r.t. the eight objects is illustrated in Fig. 5.
Once the ILC torques are computed, for all example sets Ti-j, the matrix T is defined as in (15). Theorem 2 is then applied to derive the generalized torques needed to track the same trajectory with new objects as in (20).
The results of this study are reported in Fig. 6. Here, each subplot refers to one of the possible combinations of the example-test splits Ti-j. Within each subplot the horizontal axis lists the eight objects and the vertical axis reports the average tracking RMSE: the light blue bars denote the ILC
Page 9 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
ILC (example objects)
ILC (test objects)
Payload generalization (test objects)

Fig. 6. Tracking RMSE in Panda robot simulation over the 28 example-test combinations. In each subplot, labeled Ti-j, objects i and j are used as test objects while the remaining six form the example set; the light blue bars report the ILC RMSE on the six example objects, the dark blue bars the ILC RMSE on the two test objects, and the red bars the RMSE of the payload generalization on the same two test objects.
RMSE on the six example objects, the dark blue bars the ILC RMSE on the two test objects, and the red bars the RMSE of the payload generalization on the same two test objects.
Across the 28 combinations, the red bars remain close to the dark blue ones and within the spread of the light blue bars, with no combination departing markedly from this range. The largest discrepancy between the generalization
Page 10 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints

Fig. 7. Simulation of Panda robot: comparison between the desired trajectory and the actual trajectories obtained with ILC and generalized torques on Object 7 for the example-test split T6-7.
Table 5 Summary of mean RMSE and Standard Deviation (STD) across all example-test splits.
| mean RMSE | STD | |
|---|---|---|
| ILC | 0.001916 | 0.000658 |
| Payload generalization | 0.002108 | 0.000496 |
RMSE and ILC RMSE is observed for the lightest objects 0 and 5, whereas on the heaviest objects 1 and 4 the generalization performs overall better than ILC.
Table 5 summarizes the results of all 56 possible test cases obtained from the 28 example-test splits. Specifically, it compares the mean RMSE and standard deviation achieved by the ILC baseline and by the proposed payload generalization method. It is worth noting that the ILC results are identical whether they are used as training examples or as the ground truth.
Fig. 7 compares the desired trajectory with the tracking performance achieved by ILC and the one achieved by the proposed payload-generalization approach. For the sake of space and readability, only one representative example is reported. Specifically, Object 7 in the T6-7 split is reported, where the generalized torques are computed from Objects 0 through 5 and evaluated on the held-out Objects 6 and 7.
To quantify how the different splits influence the generalization performance as the object mass varies, the combinations are analyzed through two complementary metrics. Let denote an object, and let be the set of the combinations in which appears as a test object. For a given combination the following ratio is defined
which weights the generalized error on , , against the ILC error on the corresponding example set, , so that denotes parity. The second metric is the relative error
which measures the deviation of the generalized error on test Object from the ILC error on that same object, , so that denotes parity.
Both metrics are reported in Fig. 8, with objects ordered by increasing mass. In these results, Object 0 is not considered, as it represents an edge case corresponding to a zero-payload condition. In Fig. 8a, the ratio grows with object mass, staying below unity for the lighter objects 5, 2, and 6 and rising above it for the remaining heavier objects. In Fig. 8b, the relative error decreases with mass, reaching on average negative values for the heaviest objects 1 and 4, and its maximum (+34%) for Object 5.
Discussion. Simulation results for the rigid manipulator confirm that the method effectively replicates the ILC tracking performance for novel payloads. In particular, Fig. 5 shows how the ILC controller effectively reduces the tracking error over the iterations, with each object converging to a different RMSE level according to its inertial properties. Building on these learned torques, the generalization is assessed over all 28 example-test splits in Fig. 6: in every combination the generalized torques (red bars) reproduce the ILC performance on the test objects (dark blue bars) and stay within the error band of the example objects (light blue bars). The results, therefore, do not depend on the specific split.
However, two opposite scenarios, both involving objects at the extremes of the mass range, stand out in this figure. For the lightest objects, 0 and 5, the generalized RMSE exceeds the ILC one. Since their masses are zero or negligible, the payload-dependent term of the regressor estimate, i.e., , becomes ineffective, and the generalized torques reduce essentially to the intrinsic robot dynamics, discarding the load information that would improve tracking. Conversely, for the heaviest objects, 1 and 4, the generalization outperforms ILC in every split where they act as test objects. However, their RMSE stays high in absolute terms, as these objects are the most demanding to track, so that the feedforward torques
Page 11 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints

(a) Ratio (35).

(b) Relative error (36).
Fig. 8. Generalization performance for the simulated Panda robot over the 28 example-test combinations, with objects ordered by increasing mass. On the left (a), the ratio compares the generalization against the example-object set. On the right (b), the relative error quantifies the error introduced by the generalization relative to ILC on the same test object. The vertical bars span the minimum and maximum values attained over the splits in which the object belongs to the test set. The dashed line marks parity ( , ) and the gray line is the linear fit versus mass.
are predicted accurately yet the residual error remains larger than for the others.
In general, the differences between the generalization RMSE and the ILC RMSE can be explained by the way the example torques are produced. Differently from the simulated soft articulated manipulator presented in Section 4.1, where the example torques are exact, being computed from the known model, here the example torques are learned by ILC in a more realistic simulation. The ILC thus retains a small residual tracking error, which is inherited by the torque matrix , and hence by the generalized torques, explaining the slightly larger error with respect to ILC. Nonetheless, as illustrated for the representative T6-7 split in Fig. 7, the tracking performance achieved by the payload generalization method remains satisfactory, confirming the effectiveness of the approach.
The two metrics of Fig. 8 further explain these results in relation to the object masses. The growth of with mass suggests that the generalization degrades on heavier payloads. However, the opposite trend of shows that, on those same objects, the generalization actually attains the accuracy of ILC. Hence, although the average generalization RMSE is higher for the heaviest objects, it is nevertheless closer to the corresponding ILC value. The two readings are therefore complementary: together, they show that across all 28 splits the generalization remains comparable to ILC, matching or even improving upon it for the heavier objects and keeping the additional error bounded on the lighter ones, thus confirming the effectiveness of the method. The vertical bars in Fig. 8 confirm that both trends with mass hold across the splits, the spread being largest for the lightest Object 5, whose ranges from +23.5% to +65.8%. The latter is attained in the split T0-5, where both the zero-mass and the lightest object are held out from the example set, consistently with the previous results. Notably, this level of performance is attained through feedforward torques, eliminating the requirement for repeated learning phases. As a result, the generalization method allows the same trajectory

Fig. 9. Objects set used for real-world experiments.
to be tracked with novel objects, keeping the tracking error bounded within the RMSE range attained by ILC across the objects, with only a small gap consistent with the sensitivity analysis in (25).
As reported in Table 5, the proposed approach introduces only a modest increase of approximately 10% in the average tracking error with respect to ILC, while exhibiting lower variability across the different combinations. This result indicates that the generalized feedforward actions provide consistently accurate trajectory tracking independently of the specific selection of the example payloads, confirming the robustness and generalization capability of the proposed method. Considering that no learning or optimization is performed for the test payloads, these results demonstrate that the proposed method is able to reproduce, in a zero-shot fashion, the performance of an ILC controller that would otherwise require a dedicated learning phase for each new payload.
4.3. Experimental results: Rigid system
Simulation tests for the rigid system are replicated here to validate the method in a real-world setup, following the steps in Section 4.2, where the robot is again fully rigid, i.e., and in (1)-(2). First, the desired torques are derived using ILC for the example objects; then, the generalized torques are computed to test the proposed method on new objects.
Page 12 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints

Object 3
Object 4
Object 5
Iterations
Iterations
Iterations
Fig. 10. Experiment on real-world Panda robot: the subplots show the ILC RMSE reduction over 150 iterations for all six example objects.
Table 6 Parameter values of objects used in experiments with the Franka Emika Panda robot and the Panda robot equipped with a soft wrist.
| Object [i] | mass [kg] | [mm] | [g m2] | [g m2] | [g m2] |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0.142 | 36 | 0.126 | 0.126 | 0.126 |
| 2 | 1.399 | 74 | 2.65 | 2.74 | 0.284 |
| 3 | 0.740 | 75 | 1.42 | 1.42 | 0.0710 |
| 4 | 0.442 | 50 | 0.460 | 0.559 | 0.283 |
| 5 | 0.942 | 50 | 0.840 | 0.910 | 0.180 |
| 6 | 0.307 | 49 | 0.258 | 0.258 | 0.0204 |
| 7 | 0.535 | 98 | 1.86 | 1.86 | 0.271 |
| 8 | 0.688 | 75 | 1.46 | 1.46 | 0.359 |
The characteristics of the example objects are listed in Table 6 and correspond to those shown in Fig. 9. These are regularly shaped objects available in the laboratory, whose simple geometry allows their inertial parameters to be roughly determined with standard measuring instruments and to adopt the reduced five-dimensional parameter vector (27). Objects 0 through 5 are used to estimate the numerical regressor, whereas objects 6, 7, and 8 are used to test the generalization procedure. For this object set, is again full rank, with . The trajectory (34) moves the robot in from configuration rad to rad. The same ILC gains selected for simulation, detailed in Table 4, are used. During the experiment, the homing between iterations is performed using a computed torque controller. The learning process is completed after 150 iterations. The ILC performance on the six example objects is illustrated in Fig. 10. After deriving the desired torques with ILC, the payload generalization procedure is applied to compute the feedforward control actions (as in (20)) required to track the desired trajectory with test objects.
Fig. 11 illustrates the trajectory tracking performance for both ILC and generalization methods, showing the results for Object 1 and Object 8, respectively, compared to the desired trajectory. Fig. 12 summarizes the results for all objects.
Discussion. The experiments conducted on the rigid system demonstrate how the generalized torques enable good tracking performance to be achieved even in real-world scenarios. As with the simulation results, Fig. 10 shows how the ILC controller effectively reduces position error over iterations, ensuring good trajectory tracking results. In contrast to the simulations, Fig. 12 shows that the generalization procedure, compared with the performance of ILC, introduces some additional position error: the mean RMSE grows from 0.0128 on the ILC example objects to 0.0285 on the generalized test objects. This roughly twofold increase originates from the two uncertainty sources isolated in (25): the torque measurement noise of the real actuators, which affects the estimated example-torque matrix , and the residual error in the only approximately known payload parameters, which enters through . Because the example torques inherently embed the ILC residual and sensor noise, the observed performance gap represents the expected propagation of these errors. However, it is noteworthy that the RMSE across all objects remains bounded. This is confirmed by the joint trajectories in Fig. 11, where both the ILC and the generalized motions follow the desired trajectory throughout the whole task: the deviations are localized in the final portion of the motion and concentrated on the joints undergoing the widest excursion, while the remaining joints are tracked almost exactly. Thus, the error never grows into a loss of tracking. Therefore, it can be concluded that trajectory tracking is successfully achieved for all three test objects, even in real-world experiments, indicating the effectiveness of the proposed method in generalizing torques for various payloads.
Page 13 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints

Fig. 11. Experiment on real-world Panda robot: comparison between desired trajectory and actual trajectories obtained with ILC and generalized torques.

Fig. 12. Experiment on real-world Panda robot: comparison of ILC-based and generalized torques performance.

Fig. 13. System setup for the final experiments: the Panda robot is equipped with an elastic wrist. On the left, the soft wrist is connected to the gripper for object grasping. On the right, the system performs trajectory tracking while holding an object.
4.4. Experimental results: Panda robot and soft wrist
As a final validation, the generalization method is tested on a system consisting of a Panda robot equipped with a variable-stiffness actuator acting as a soft wrist. The setup is shown in Fig. 13. This is the general case of the model in Section 2.1, in which rigid and elastic joints coexist: the seven joints of the Panda are rigid and the wrist is elastic, i.e., , , and , hence in (3) and in (4), while , , and have rank one. The experimental procedure is implemented in ROS, with the Thunder Dynamics tool (Baracca et al., 2025) providing a detailed model of the complex system. In what follows, the same values of the ILC gains for the Panda robot and the same example and test objects are used (Section 4.3). For the soft actuator, the following ILC gains are chosen: , , and . The initial and final positions in the minimum jerk trajectory are rad and rad. The qbmove Advanced VSA actuator is controlled using a fixed stiffness value, , allowing it to work as a SEA actuator. The mean angle of the motors is then derived as , where is the actual joint position and is the torque computed using ILC. The learning process comprises 100 iterations. Once again, RMSE is employed to evaluate the efficiency of the ILC controller. Fig. 14 illustrates the evolution of the RMSE during the ILC learning phase for all example objects. Fig. 16 compares the generalized torques on the test objects with the ILC results on the example objects.
The tracking performance is highlighted in Fig. 15, where the desired trajectory is compared with the actual trajectories obtained using both ILC and generalized torques across all system joints. Finally, Fig. 17 presents a sequence of images showing the robot tracking the desired trajectory with test Object 8.
Discussion. In this final experiment, the error trend observed is similar to that obtained for the purely rigid system. With respect to the ILC controller, Fig. 14 shows that the RMSE decreases over the iterations, although not monotonically, in contrast to the previous experiments. Nevertheless, the controller achieves good trajectory tracking performance for all example objects after the learning phase. Consistently with the rigid system, the global RMSE computed for the example and test objects, as shown in Fig. 16, is higher for the generalized torques than for the learned torques, the mean rising from 0.0362 on the example objects to 0.0602 on the test objects. Notably, the difference between the average errors of the ILC and generalized torques is higher than
Page 14 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints

Object 3
Object 4
Object 5
Iterations
Iterations
Iterations
Fig. 14. Experiment on Panda manipulator with elastic wrist: the subplots show the ILC RMSE reduction over 100 iterations for all six example objects.

Joint 1
Joint 2
Joint 3
Joint 4
Joint 5
Joint 6
Joint 7
Time (s)
Joint 8
Time (s)
Time (s)
Time (s)
Fig. 15. Experiment on Panda manipulator with elastic wrist: comparison between desired trajectory and actual trajectories obtained with ILC and generalized torques.

Fig. 16. Experiment on Panda manipulator with elastic wrist: comparison of ILC-based and generalized torque performance.
in the rigid case. The dynamics of this system is more complex than that of the rigid one, so that the ILC itself achieves a lower tracking accuracy, as reflected by its higher error on the example objects, i.e., 0.0362 against the 0.0128 of the rigid case. Being built on these example torques, the generalized torques inherit this larger reference error, which propagates as described by the sensitivity analysis.

Fig. 17. Photo sequence of the Panda robot with an elastic wrist tracking the desired trajectory while carrying Object 8, using the control action computed with the generalized torque method.
in (25) and yields the higher test error. The tracking error nevertheless remains bounded: even in this most demanding scenario, the mean RMSE does not exceed 0.0602 rad, and, as confirmed by the joint trajectories in Fig. 15 and by the photo sequence in Fig. 17, the desired trajectory is followed for all joints and test objects, so that the generalization remains effective even under joint elasticity.
Page 15 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
5. Conclusion
This paper proposed a method for the generalization of feedforward control inputs, acquired with any controller, to track a desired trajectory with different payloads. The method was designed for systems with rigid and elastic joints. The algorithm is independent of the robot's model since it requires only the knowledge of the payload's dynamic parameters to generalize torques without needing to repeat the learning process. The effectiveness of the method was validated through simulations and experiments across three systems: a 3-DoF soft-articulated manipulator, a rigid Franka Emika Panda, and a soft-rigid system (Panda with an elastic wrist). Simulations covered the first two, while physical experiments were conducted on the Panda-based configurations. In all setups, the desired torques for the example set were derived using ILC, except for the simulation of the 3-DoF soft-articulated manipulator, where a computed torque controller was employed. Then, the generalized torques were tested on new objects, demonstrating notable performance. While the proposed method is promising, there are some limitations, such as handling changes in trajectory, for which the procedure has to be repeated. Indeed, future work could extend the method to trajectories with different endpoints and to payloads whose dynamic parameters are not known accurately, such as objects with unknown or non-uniform mass distribution.
CRediT authorship contribution statement
Giorgia Pazzi: Writing original draft, Validation, Software, Methodology, Formal analysis. Giorgio Simonini: Writing original draft, Methodology. Michele Pierallini: Writing review & editing. Paolo Salaris: Writing review & editing, Funding acquisition. Giorgio Grioli: Writing review & editing, Conceptualization. Manolo Garabini: Writing review & editing, Supervision, Conceptualization. Franco Angelini: Writing review & editing, Supervision, Funding acquisition, Conceptualization.
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Supplementary material
Supplementary material associated with this article can be found in the online version at https://doi.org/10.1016/j.conengprac.2026.107248.
References
Albu-Schäffer, A., Bicchi, A., 2016. Actuators for Soft Robotics. Springer International Publishing, Cham. pp. 499–530. URL: https://doi.org/10.1007/978-3-319-32552-1_21, doi:10.1007/978-3-319-32552-1_21.
Albu-Schaffer, A., Eiberger, O., Grebenstein, M., Haddadin, S., Ott, C., Wimbock, T., Wolf, S., Hirzinger, G., 2008. Soft robotics. IEEE
Robotics & Automation Magazine 15, 20–30. doi:10.1109/MRA.2008.927979.
Angelini, F., Della Santina, C., Garabini, M., Bianchi, M., Bicchi, A., 2020a. Control architecture for human-like motion with applications to articulated soft robots. Frontiers in Robotics and AI 7. doi:10.3389/frobt.2020.00117.
Angelini, F., Mengacci, R., Santina, C.D., Catalano, M.G., Garabini, M., Bicchi, A., Grioli, G., 2020b. Time generalization of trajectories learned on articulated soft robots. IEEE Robotics and Automation Letters 5, 3493–3500. doi:10.1109/LRA.2020.2977268.
Angelini, F., Petrocelli, C., Catalano, M.G., Garabini, M., Grioli, G., Bicchi, A., 2020c. Softhandler: An integrated soft robotic system for handling heterogeneous objects. IEEE Robotics & Automation Magazine 27, 55–72. doi:10.1109/MRA.2019.2955952.
Arimoto, S., Kawamura, S., Miyazaki, F., 1984. Bettering operation of robots by learning. Journal of Robotic Systems 1, 123–140. doi:10.1002/rob.4620010203.
Arteaga, M.A., 2024. On the exact parameter estimation for robot manipulators without persistence of excitation. IEEE Transactions on Automatic Control 69, 410–417. doi:10.1109/TAC.2023.3269249.
Atkeson, C.G., An, C.H., Hollerbach, J.M., 1986. Estimation of inertial parameters of manipulator loads and links. The International Journal of Robotics Research 5, 101–119. doi:10.1177/027836498600500306.
Baracca, M., Simonini, G., Tolomei, S., De Santis, Y., Rosa Brusin, P., Angeli, S., Gabiccini, M., Bicchi, A., Salaris, P., 2025. Thunder dynamics: A c++ tool for adaptive control of serial manipulators. Robotics 14. doi:10.3390/robotics14090126.
Bristow, D., Tharayil, M., Alleyne, A., 2006. A survey of iterative learning control. IEEE Control Systems Magazine 26, 96–114. doi:10.1109/MCS.2006.1636313.
Chen, Y., Chu, B., Freeman, C.T., Liu, Y., 2020. Generalized iterative learning control with mixed system constraints: A gantry robot based verification. Control Engineering Practice 95, 104260. doi:10.1016/j.conengprac.2019.104260.
Chen, Z., Renda, F., Le Gall, A., Mocellin, L., Bernabei, M., Dangel, T., Ciuti, G., Cianchetti, M., Stefanini, C., 2025. Data-driven methods applied to soft robot modeling and control: A review. IEEE Transactions on Automation Science and Engineering 22, 2241–2256. doi:10.1109/TASE.2024.3377291.
Chhatoi, S.P., Pierallini, M., Angelini, F., Mastalli, C., Garabini, M., 2023. Optimal control for articulated soft robots. IEEE Transactions on Robotics 39, 3671–3685. doi:10.1109/TRO.2023.3288837.
De Luca, A., 2000. Feedforward/feedback laws for the control of flexible robots, in: Proceedings 2000 ICRA. Millennium Conference. IEEE International Conference on Robotics and Automation. Symposia Proceedings (Cat. No. 00CH37065), IEEE. pp. 233–240. doi:10.1109/ROBOT.2000.844064.
De Luca, A., Farina, R., 2002. Dynamic scaling of trajectories for robots with elastic joints, in: Proceedings 2002 IEEE International Conference on Robotics and Automation (Cat. No.02CH37292), pp. 2436–2442 vol.3. doi:10.1109/ROBOT.2002.1013597.
Della Santina, C., Catalano, M.G., Bicchi, A., Ang, M., Khatib, O., Siciliano, B., 2020. Soft robots. Encyclopedia of Robotics 489.
Freeman, C.T., Cai, Z., Rogers, E., Lewin, P.L., 2010. Iterative learning control for multiple point-to-point tracking application. IEEE Transactions on Control Systems Technology 19, 590–600. doi:10.1109/TCST.2010.2051670.
Gabellieri, C., Palleschi, A., Pallottino, L., Garabini, M., 2022. Autonomous unwrapping of general pallets: a novel robot for logistics exploiting contact-based planning. IEEE Transactions on Automation Science and Engineering 20, 1194–1211. doi:10.1109/TASE.2022.3182362.
Golub, G.H., Van Loan, C.F., 2013. Matrix Computations. 4th ed., Johns Hopkins University Press, Baltimore, MD, USA.
Hollerbach, J., Khalil, W., Gautier, M., 2016. Model identification, in: Siciliano, B., Khatib, O. (Eds.), Springer Handbook of Robotics. 2nd ed.. Springer International Publishing, Cham. chapter 6, pp. 113–138. doi:10.1007/978-3-319-32552-1_6.
Page 16 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints
Li, J., You, Z., Li, Y., Miao, E., Yue, R., 2022. Five-axis contour error control based on spatial iterative learning. IEEE Transactions on Automation Science and Engineering 20, 112–123. doi:10.1109/TASE.2022.3142565.
Liu, L., Guo, F., Zou, Z., Duffy, V.G., 2024. Application, development and future opportunities of collaborative robots (cobots) in manufacturing: A literature review. International Journal of Human–Computer Interaction 40, 915–932. doi:10.1080/10447318.2022.2041907.
Liu, L., Tian, S., Xue, D., Zhang, T., Chen, Y., 2019. Industrial feedforward control technology: a review. Journal of Intelligent Manufacturing 30, 2819–2833. doi:10.1007/s10845-018-1399-6.
Lobbezoo, A., Qian, Y., Kwon, H.J., 2021. Reinforcement learning for pick and place operations in robotics: A survey. Robotics 10, 105. doi:10.3390/robotics10030105.
Mengacci, R., Angelini, F., Catalano, M.G., Grioli, G., Bicchi, A., Garabini, M., 2021a. On the motion/stiffness decoupling property of articulated soft robots with application to model-free torque iterative learning control. The International Journal of Robotics Research 40, 348–374. doi:10.1177/0278364920943275.
Mengacci, R., Garabini, M., Grioli, G., Catalano, M.G., Bicchi, A., 2021b. Overcoming the torque/stiffness range tradeoff in antagonistic variable stiffness actuators. IEEE/ASME Transactions on Mechatronics 26, 3186–3197. doi:10.1109/TMECH.2021.3055364.
Middletone, R.H., Goodwin, G.C., 1986. Adaptive computed torque control for rigid link manipulators, in: 1986 25th IEEE Conference on Decision and Control, pp. 68–73. doi:10.1109/CDC.1986.267156.
Pagliarani, N., Arleo, L., De Luca, G., Pozzi, J., Cianchetti, M., 2024. Variable stiffness structure inspired by seashells. Smart Materials and Structures 33, 025004. doi:10.1088/1361-665X/ad1b27.
Palleschi, A., Hamad, M., Abdolshah, S., Garabini, M., Haddadin, S., Pallottino, L., 2021. Fast and safe trajectory planning: Solving the cobot performance/safety trade-off in human-robot shared environments. IEEE Robotics and Automation Letters 6, 5445–5452. doi:10.1109/LRA.2021.3076968.
Pierallini, M., Angelini, F., Bicchi, A., Garabini, M., 2022. Swing-up of underactuated compliant arms via iterative learning control. IEEE Robotics and Automation Letters 7, 3186–3193. doi:10.1109/LRA.2022.3144786.
Pierallini, M., Angelini, F., Mengacci, R., Palleschi, A., Bicchi, A., Garabini, M., 2023. Iterative learning control for compliant underactuated arms. IEEE Transactions on Systems, Man, and Cybernetics: Systems 53, 3810–3822. doi:10.1109/TSMC.2023.3234403.
Pierallini, M., Gopanunni, R.K.M., Angelini, F., Bicchi, A., Garabini, M., 2025. Fishing for data: Modeling, optimal planning, and iterative learning control for flexible link robots. IEEE Transactions on Control Systems Technology doi:10.1109/TCST.2025.3550030.
Roman, S., 1992. Affine Geometry. Springer New York, New York, NY. pp. 315–328. URL: https://doi.org/10.1007/978-1-4757-2178-2_16, doi:10.1007/978-1-4757-2178-2_16.
Saab, S.S., Shen, D., Orabi, M., Kors, D., Jaafar, R.H., 2022. Iterative learning control: Practical implementation and automation. IEEE Transactions on Industrial Electronics 69, 1858–1866. doi:10.1109/TIE.2021.3063866.
Siciliano, B., Sciavicco, L., Villani, L., Oriolo, G., 2009. Dynamics. Springer London, London. pp. 247–302. URL: https://doi.org/10.1007/978-1-84628-642-1_7, doi:10.1007/978-1-84628-642-1_7.
Simonini, G., Baracca, M., Cavaliere, T.V., Bicchi, A., Salaris, P., 2025. A novel formulation for adaptive computed torque control enabling low feedback gains in highly dynamical tasks. IEEE Access 13, 69898–69909. doi:10.1109/ACCESS.2025.3561635.
Slotine, J.J.E., Li, W., 1987. On the adaptive control of robot manipulators. The International Journal of Robotics Research 6, 49–59. doi:10.1177/027836498700600303.
Spong, M.W., 1987. Modeling and control of elastic joint robots. Journal of Dynamic Systems, Measurement, and Control 109, 310–318. URL: https://doi.org/10.1115/1.3143860, doi:10.1115/1.3143860.
Surati, S., Hedaoo, S., Rotti, T., Ahuja, V., Patel, N., 2021. Pick and place robotic arm: a review paper. Int. Res. J. Eng. Technol 8, 2121–2129.
Tayebi, A., Abdul, S., Zaremba, M.B., Ye, Y., 2008. Robust iterative learning control design: Application to a robot manipulator. IEEE/ASME Transactions on Mechatronics 13, 608–613. doi:10.1109/TMECH.2008.2004627.
Zeng, A., Song, S., Lee, J., Rodriguez, A., Funkhouser, T., 2020. Tossingbot: Learning to throw arbitrary objects with residual physics. IEEE Transactions on Robotics 36, 1307–1319. doi:10.1109/TRO.2020.2988642.

Giorgia Pazzi is a PhD student in Information Engineering (Robotics) at the University of Pisa, Italy. She received her B.Sc. in Computer and Electronic Engineering and her M.Sc. in Robotics and Automation Engineering. Her research focuses on learning-based control and generalization of control actions for feedforward controllers, along with modeling and control of soft robotic systems. Her research is conducted on several robotic platforms, including soft articulated manipulators, quadruped robots, and robotic legs for the testing of lower-limb exoskeletons.

Giorgio Simonini received the bachelors degree in electronics, the masters degree in robotics engineering, and the Ph.D. degree in Robotics and Intelligent Machines from the University of Pisa, as part of the national doctoral program DRIM. His research interests include efficient planning and control techniques for both traditional and elastic-joint robots. A significant part of his work involves adaptive control and object manipulation, with a particular focus on object throwing using robotic manipulators.

Michele Pierallini received a B.S. degree in biomedical engineering in 2017, M.S. degree (cum laude) in automation and robotics engineering in 2020, and the Ph.D. degree (cum laude) in robotics in 2024 from the University of Pisa, Pisa, Italy, where he is currently working at the Research Center Enrico Piaggio. His current research focuses on the control of soft robotic systems and iterative learning control.

PAOLO SALARIS (Member, IEEE) received the M.Sc. degree in electrical engineering and the Ph.D. degree in automation and bioengineering from the University of Pisa, in 2007 and 2011, respectively. He was a Visiting Scholar with the Beckman Institute for Advanced Science and Technology, University of Illinois UrbanaChampaign, in 2009. He was a Postdoctoral Researcher with the Research Center E. Piaggio, from March 2011 to January 2014, and LAAS-CNRS, Toulouse, from February 2014 to July 2015. From 2015 to 2019, he was a Permanent Researcher (CRCN) with INRIA Sophia Antipolis Mediterranean, and from 2019 to 2022, he was an Assistant Professor with the University of Pisa, where he became an Associate Professor, in 2022. His research interests include optimal motion planning and control, active sensing, optimal sensor placements, optimal estimation, multi-robot, and nonholonomic systems.
Page 17 of 18
Payload generalization on feedforward control actions for trajectory tracking in robots with rigid and elastic joints

Giorgio Grioli received the Ph.D. degree in Robotics, Automation and Bioengineering in 2011 from the University of Pisa, Italy. He is currently a Senior Researcher with the Department of Information Engineering and the E. Piaggio Research Center, University of Pisa, and Visiting Scientist at Italian Institute of Technology. His research focuses on soft robotics, robotic and prosthetic hands, variable impedance actuation, haptics, and physical humanrobot interaction. He has contributed to the development of several widely adopted robotic and prosthetic systems, authored more than 150 scientific publications, holds multiple international patents, and co-founded two robotics spin-off companies qrobotics and Exsensia.

Manolo Garabini graduated in Mechanical Engineering and received the Ph.D. in Robotics from the University of Pisa where he is currently employed as Associate Professor. He contributed to the realization of modular Variable Stiffness Actuators. He coordinated the H2020 EU Research Project Natural Intelligence. His main research interests include the design, planning, and control of soft adaptive robots.

Franco Angelini received the B.S. degree in computer engineering in 2013, the M.S. degree in automation and robotics engineering in 2016, and the Ph.D. degree in robotics in 2020 from the University of Pisa, Pisa, Italy. Franco is currently an Assistant Professor at the University of Pisa. His main research interests are control of soft robotic systems, impedance planning, and robotic environmental monitoring.
Page 18 of 18