Toward Human-Like Robotic Massage: Representing and Transferring Dexterous Interaction Skills

A therapist’s demonstrations provide the motion and force targets for four robotic massage techniques. A six-axis arm positions the hand while tactile feedback guides how the palm and individual fingers load the surface.

Four techniques on the silicone phantom

Palm pressing
Palm pushing
Palm kneading
Five-finger grasping

From a therapist’s hand to a robot hand

A palm press and a five-finger grasp can produce similar loads at a robot’s wrist while creating quite different contacts at the skin. To transfer a massage technique, we record where the therapist touches the surface, how the hand moves and when each region takes up load. We use these measurements to drive a six-axis arm and a five-finger dexterous hand. A sensor embedded beneath the silicone surface gives us an independent way to compare their actions.

The four stages of skill transfer: recording the demonstration, representing contact and motion, commanding the robot, and comparing the resulting loads.
Fig. 1 The four stages of skill transfer: recording the demonstration, representing contact and motion, commanding the robot, and comparing the resulting loads.

What the demonstration records

An FZMotion optical tracking system measures wrist pose and finger landmarks. A tactile glove records the palm and fingertip forces on the same time base. A third instrument, a six-axis force/torque sensor beneath the load-bearing plate of the silicone phantom, records the reaction transmitted through the specimen. We reserve this last measurement for evaluation.

Palm-side tactile sensors record local forces. Markers on the back of the glove let the cameras track hand motion.
Fig. S1 Palm-side tactile sensors record local forces. Markers on the back of the glove let the cameras track hand motion.
Cross-section and dimensions of the silicone phantom, including the plate that transmits contact loads to the internal sensor.
Fig. S2 Cross-section and dimensions of the silicone phantom, including the plate that transmits contact loads to the internal sensor.

For technique m, the demonstration comprises a sequence of time-stamped motion and tactile measurements. The superscript h denotes the human hand. At each sample, we retain the wrist pose, the functional action points and the hand configuration. The active tactile channels depend on which parts of the hand the technique uses.

D_m = \bigl\{ H_m^h(t_k),\, F_m^h(t_k),\, t_k \bigr\}_{k=1}^{N_m} \tag{1}
H_m^h(t_k) = \bigl\{ {}^F\mathbf T_w^h(t_k),\, \mathbf P_{a,m}^h(t_k),\, \mathbf G_m^h(t_k) \bigr\} \tag{2}
F_m^h(t_k) = \bigl\{ f_i^h(t_k) \mid i \in C_m \bigr\} \tag{3}

The skill has four components: hand motion and configuration (K), the time course of loading (P), the spatial distribution of local contact (L), and the phase of the manipulation (Φ). The phases distinguish approach, first contact, loading, holding, release and departure. A fingertip that has yet to touch the surface therefore has a different target from one already carrying load.

S_m = \{K_m,\, P_m,\, L_m,\, \Phi_m\} \tag{4}

Mapping the wrist, palm and fingertips

The xArm6 positions the DH116 hand. Its finger lengths and joint axes differ from the therapist’s, so we calibrate the wrist reference, the action points and the hand shape after normalizing the dimensions of the two hands. Equation (5) weights the mismatch in these three quantities. Pressing, pushing and kneading use a palm action point. Grasping adds fingertip targets and directions between hand landmarks.

\begin{aligned} \Theta^{*} &= \operatorname*{arg\,min}_{\Theta} \Bigl[ \alpha_w E_w(\Theta) \narrowbreak + \sum_{j\in A} \alpha_{a,j} E_{a,j}(\Theta) + \alpha_g E_g(\Theta) \Bigr] \end{aligned} \tag{5}

At every sample, the retargeting problem in Eq. (6) chooses a feasible robot configuration. Its four terms penalize wrist-pose error, action-point error, disagreement in hand-segment directions and a jump from the previous configuration. The direction term is particularly important in grasping: two finger poses can reach the same point with different parts of the finger facing the surface. MoveIt handles inverse kinematics, motion planning and collision checks.

\begin{aligned} \widehat{\mathbf q}^{r}(t) &= \operatorname*{arg\,min}_{\mathbf q^{r}\in Q_{\mathrm{feas}}} \Bigl[ \narrowbreak \beta_w \bigl\lVert \operatorname{Log}\!\bigl( ({}^W\widehat{\mathbf T}_w^{r}(t))^{-1}\,{}^W\mathbf T_w^{r}(\mathbf q^{r}) \bigr) \bigr\rVert_{W_w}^{2} \\ &\quad + \sum_{j\in A_m} \beta_{a,j} \bigl\lVert {}^W\mathbf P_{a,m,j}^{r}(\mathbf q^{r}) - {}^W\widehat{\mathbf P}_{a,m,j}^{r}(t) \bigr\rVert_2^2 \\ &\quad + \beta_v \sum_{e\in\xi_m} \bigl\lVert \mathbf v_{m,e}^{r}(\mathbf q_h^{r}) - \widehat{\mathbf v}_{m,e}^{h}(t) \bigr\rVert_2^2 \\ &\quad + \beta_s \bigl\lVert \mathbf q^{r} - \widehat{\mathbf q}^{r}(t-\Delta t) \bigr\rVert_2^2 \Bigr] \end{aligned} \tag{6}
The xArm6 carries the DH116 hand and wrist force/torque sensor. Two RealSense cameras observe the workspace. The sensor beneath the phantom measures the load that passes through the silicone.
Fig. 2 The xArm6 carries the DH116 hand and wrist force/torque sensor. Two RealSense cameras observe the workspace. The sensor beneath the phantom measures the load that passes through the silicone.

Regulating contact during replay

Equation (7) maps glove channels onto the robot’s tactile regions. Each target is a weighted sum of the relevant glove readings. This accommodates different sensor layouts on the two hands. For palm kneading, the local targets change as the contact patch moves around the loop. For grasping, each fingertip has its own target and onset time. Equations (8) and (9) compare those targets with the measured regional forces and collect the differences into a vector.

\widehat f_{m,j}^{r}(t) = \sum_{i\in C_m} \gamma_{ji}^{(m)} f_i^{h}(t), \qquad j\in\mathcal I_m \tag{7}
e_{m,j}^{f}(t) = \widehat f_{m,j}^{r}(t) - f_{m,j}^{r}(t), \qquad j\in\mathcal I_m \tag{8}
\mathbf e_m^{f}(t) = \bigl[ e_{m,1}^{f}(t),\, \ldots,\, e_{m,\lvert\mathcal I_m\rvert}^{f}(t) \bigr]^{\mathsf T} \tag{9}

In free space, the arm and hand follow their nominal trajectories. During contact, an admittance controller converts the force errors into a displacement correction. Its virtual inertia, damping and stiffness set how quickly that correction develops. Equation (11) allocates it to the arm and hand according to the manipulation. The wrist sensor supplies a separate correction for the net interaction load.

\begin{aligned} &\mathbf M_{\mathrm{ad}}^{(m)}\ddot{\boldsymbol\eta}_m(t) + \mathbf D_{\mathrm{ad}}^{(m)}\dot{\boldsymbol\eta}_m(t) + \mathbf K_{\mathrm{ad}}^{(m)}\boldsymbol\eta_m(t) \\ &\quad = \mathbf K_P^{f,(m)}\mathbf e_m^{f}(t) + \mathbf K_I^{f,(m)}\!\int_0^t \mathbf e_m^{f}(\tau)\,\mathrm d\tau \narrowbreak + \mathbf K_D^{f,(m)}\dot{\mathbf e}_m^{f}(t) \end{aligned} \tag{10}
\begin{bmatrix} \Delta\boldsymbol\xi_{a,m}(t) \\ \Delta\mathbf q_{h,m}^{r}(t) \end{bmatrix} = \boldsymbol\Lambda_m\boldsymbol\eta_m(t) \tag{11}

Equation (12) combines the nominal arm pose with the local and wrist corrections, and adds the finger correction to the nominal hand configuration. As the hand releases the surface, the corrections taper and the robot follows the departure trajectory.

\left\{\begin{aligned} {}^W\mathbf T_E^{r,c}(t) &= {}^W\mathbf T_E^{r}\!\bigl(\widehat{\mathbf q}_a^{r}(t)\bigr) \narrowbreak \operatorname{Exp}\!\left(\bigl[\Delta\boldsymbol\xi_{a,m}(t) + \Delta\boldsymbol\xi_{w,m}(t)\bigr]^{\wedge}\right),\\ \mathbf q_h^{r,c}(t) &= \widehat{\mathbf q}_h^{r}(t) + \Delta\mathbf q_{h,m}^{r}(t) \end{aligned}\right. \tag{12}

Four techniques on the instrumented phantom

The four movements ask different things of the controller. Pressing builds and releases load at separate points. Pushing maintains contact as the palm travels along a stroke. Kneading moves the load around a repeating loop. In grasping, the fingers close and release in sequence. Figure 3 compares the reference and reproduced paths. The traces for grasping follow the individual fingertips as well as the wrist.

Reference and measured trajectories for pressing, pushing, kneading and grasping, from left to right. A close wrist trajectory can still coexist with a larger fingertip error.
Fig. 3 Reference and measured trajectories for pressing, pushing, kneading and grasping, from left to right. A close wrist trajectory can still coexist with a larger fingertip error.

Did the robot reproduce the load as well as the movement?

The internal sensor records three force and three torque components for both the therapist and the robot. In Fig. 4, compare the spacing of the peaks as well as their heights. The unloaded intervals separate successive presses. A pushing stroke stays loaded for longer. Kneading changes several components over a cycle, while grasping combines the loads of fingers that touch at different times.

Internal forces, torques and video frames for palm pressing and pushing. Dashed curves show the therapist’s reference and solid curves show the robot’s response.
Fig. 4a–b Internal forces, torques and video frames for palm pressing and pushing. Dashed curves show the therapist’s reference and solid curves show the robot’s response.
The same six internal channels during palm kneading and five-finger grasping. The frames beneath the traces show the changing contact configuration.
Fig. 4c–d The same six internal channels during palm kneading and five-finger grasping. The frames beneath the traces show the changing contact configuration.
Phantom trial · Table II Pressing Pushing Kneading Grasping
Wrist position error (mm) 0.08 6.37 2.13 1.60
Action-point error (mm) 0.08 6.43 2.12 11.18
Local contact-force error (N) 0.28 0.92 0.93 0.44
Internal force correlation 0.95 0.83 0.83 0.54
Internal torque correlation 0.87 0.63 0.84 0.63

Pressing gave the highest internal force correlation (0.95). Grasping had a relatively small local force error (0.44 N), yet its internal force correlation was the lowest (0.54). The regional sensors measure how much load each finger carries. The reaction inside the phantom also depends on where and when those forces act.

Reference and measured local contact forces. Palm traces show the first three techniques. The grasp panel follows the five fingertips separately.
Fig. S3 Reference and measured local contact forces. Palm traces show the first three techniques. The grasp panel follows the five fingertips separately.
Fig. S4 Wrist loads during the four phantom trials. Each column shows force above torque. The colored curves are the three sensor axes, and the black curve is their resultant magnitude.

Ablations: which parts of the skill transfer matter?

Each ablation changes one part of the full method. B1 tests the spatial distribution of load during kneading. B2 and B3 test two different features of grasping: contact timing and adaptation to the robot’s hand geometry.

Condition · Tables II–III Local force error (N) Internal force correlation Internal torque correlation
Kneading · full method 0.93 0.83 0.84
B1 · global force target and feedback 1.54 0.46 0.54
Grasping · full method 0.44 0.54 0.63
B2 · simultaneous contact activation 0.65 0.28 0.47
B3 · fingertip position targets alone 0.87 −0.12 0.40

B1 · Regional loading. Replacing the regional targets and feedback with a single global force target changed the response beneath the moving palm. The relative peak error of the phantom force rose from 5.52% to 43.58%. Equal total force can produce different moments as the point of application moves.

B2 · Finger-contact timing. Each finger retained its local force target, but all contacts were activated together. This changed the overlap between finger loads. Internal force correlation fell from 0.54 to 0.28 even though local force error rose by only 0.21 N.

B3 · Hand configuration. Tracking fingertip positions alone reduced action-point error from 11.18 to 9.58 mm. Figure 5 shows the cost of that apparent improvement: the fingers approached from different angles and the thumb could leave a gap. Local force error nearly doubled and the internal force correlation became negative.

Grasp configurations under the full method and B3. Compare the contacting finger surfaces, the thumb–phantom gap and the direction from which the hand approaches.
Fig. 5 Grasp configurations under the full method and B3. Compare the contacting finger surfaces, the thumb–phantom gap and the direction from which the hand approaches.
Local force histories for B1, B2 and B3. The five fingertip traces expose differences that a single wrist measurement combines.
Fig. S5 Local force histories for B1, B2 and B3. The five fingertip traces expose differences that a single wrist measurement combines.
Forces and torques at the wrist during the same three ablations, with B1, B2 and B3 in separate columns.
Fig. S6 Forces and torques at the wrist during the same three ablations, with B1, B2 and B3 in separate columns.
Internal phantom forces and torques in B1, B2 and B3. Compare these recordings with Fig. 4 to see how the modified contacts change the transmitted response.
Fig. S7 Internal phantom forces and torques in B1, B2 and B3. Compare these recordings with Fig. 4 to see how the modified contacts change the transmitted response.

Trials with six participants

Six participants with prior massage experience each received all four techniques. The wrist and tactile sensors continued to measure the robot’s loads. Participants then rated the reproduction quality of each technique on a five-point scale. The participant trials assess local contact and perceived gesture quality. The internal six-axis measurements above come from the silicone phantom.

Palm pressing
Palm pushing
Palm kneading
Five-finger grasping
Representative stages of pressing, pushing, kneading and grasping during the participant trials. Each sequence follows one technique from contact through execution.
Fig. 6 Representative stages of pressing, pushing, kneading and grasping during the participant trials. Each sequence follows one technique from contact through execution.
Participant trials · Table IV Pressing Pushing Kneading Grasping
Local contact-force error (N) 1.62 ± 0.28 1.91 ± 0.21 1.91 ± 0.17 0.92 ± 0.37
Reproduction rating (out of 5) 4.58 ± 0.49 4.67 ± 0.82 4.42 ± 0.58 4.25 ± 0.76

Pushing received the highest mean reproduction rating. Grasping had the smallest local force error and the lowest mean rating of the four. The participant ratings and the sensor errors describe different aspects of the same physical interaction.