FlexiTacDocs
On this pageOverview

Tactile representation

Give touch to a policy as a 2D map per pad, or as 3D tactile points in one point cloud with the camera's, shown on a simulated two-armed demonstration.

Every FlexiTac frame is a grid of numbers, one per taxel: 12 rows by 32 columns on a standard sensor. Before a policy can learn from it, you choose how to represent it. There are two ways, and the difference is whether touch knows where it happens.

2D tactile map3D tactile points
The policy getsOne 12 × 32 map per padEvery taxel as a 3D point with its reading, in one point cloud with the camera's points
You needOnly the sensorWhere each pad sits on the robot, its joint positions and a depth camera
EncoderAn MLP or a small CNNA point-cloud network such as PointNet
Used byLeFlexiTac, Touch in the Wild3D-ViTac, VT-Refine

2D: a map per pad

The firmware sends each frame as uint8[12][32], row by row (PyFlexiTac). Subtract each taxel's resting baseline and scale, and every reading lies between 0 and 1. Keep the numbers on their grid, colour them by value, and the array is an image:

A 12 by 32 grid of readings, mostly 0; the pressed taxels form a slanted band at one end of the pad
One pad at one moment: 384 readings on its 12 × 32 grid (row, column). The pressed taxels form a band where the plug lies across the pad. From the simulated demonstration below (right arm, left finger), at the same moment as its 3D view; the simulator reports force divided by 10 N.

A policy can take the map in two ways:

  • As a vector. Flatten the 384 readings into one list and feed it to an MLP. It's the simplest input, but the network has to learn which taxels are neighbours.
  • As an image. Keep the grid and use a small CNN, as for a one-channel camera image, so a contact's shape looks the same wherever it falls on the pad. LeFlexiTac does this: three 3 × 3 convolution layers with pooling turn each map into 256 features, which become extra tokens for ACT, or part of Diffusion Policy's conditioning (encoder). Touch in the Wild treats touch as images too: its pre-training learns to rebuild masked tactile images from the camera image.

Settle two things before you record:

  • How you normalize. PyFlexiTac's normalized divides each frame by its own peak once there is contact, so it keeps the shape of a contact but not how hard it is (details). LeFlexiTac records these maps, and VT-Refine uses the same kind of rule: each pad is scaled by its own peak once it is pressed. If force matters, record raw and the baseline too. Either way, normalize the same way in training and on the robot.
  • Which pad is which. Keep the pads in a fixed order and orientation. Touch in the Wild stores its two pads side by side, as one 12 × 64 map per frame.

What a map can't tell the policy is where the pad is. The same line of contact means something different when the gripper is turned or the object is higher, and the policy has to work that out from the joint angles. 3D tactile points put it in the data.

3D: tactile points

3D-ViTac (CoRL 2024) places every taxel in space, in the same frame as the camera's points, so the fingers, the contacts and the objects are in one picture. VT-Refine (CoRL 2025) uses the same representation with the 12 × 32 pads on the two-armed ALOHA robot. The viewer below shows it on a clean, simulated frame: one of the plug–socket demonstrations bundled with FlexiTac's Isaac Sim simulation, replayed on ALOHA with UMI-style fingers and a FlexiTac pad on each of its four fingers. The camera sits beside the table, on the same side as VT-Refine's, and the inset is its picture.

One frame of a simulated plug–socket insertion: the camera picture in a corner, grey camera points of the grippers, plug and socket, and four pads of tactile points with the pressed taxels in orange

The right arm holds the plug over the socket in the left hand. Inset: the camera's picture. Grey: the points the same camera sees, 1,024 of them here so they read clearly (VT-Refine keeps 512). Purple to yellow: the four pads' 1,536 tactile points, colored by reading on the viridis scale (purple where nothing presses). On the right, the same readings as 2D maps; below, the joint positions the policy also gets. Drag to turn it, Camera view goes back to the camera, and play runs the demonstration at its recorded 30 frames a second.

How a frame is built

  1. Camera points

    The depth camera's image becomes 3D points, which are moved into the table's frame (its origin is the centre of the table). Points outside a box around the workspace are dropped, and 512 of the rest are kept. They carry no colour.

  2. Tactile points

    Each taxel has a fixed spot on its pad: a 12 × 32 grid, 2 mm apart. Forward kinematics turns the robot's joint positions into each pad's pose at that moment, and moving the grid by that pose puts every taxel in the table's frame. Each tactile point carries its reading. Untouched taxels stay, with a reading of 0, so there are always 4 × 384 = 1,536 of them, and they also show where the fingers are.

  3. One point cloud

    Both sets go into one cloud of 2,048 points. Each point has five numbers: x, y, z, the reading (0 for camera points), and a flag that tells the two kinds apart (0 for the camera, 1 for touch).

  4. Proprioception

    The 16 joint positions of both arms and grippers go in beside the cloud, through a small MLP. (That is the design in both papers. VT-Refine's released ALOHA config leaves it out and uses the cloud alone.)

  5. Encoder and policy

    A PointNet runs the same small network on every point, then keeps the maximum of each feature over all points, so the order of the points doesn't matter. With the joint features, the result conditions a Diffusion Policy. In VT-Refine it sees the last two frames, predicts the next 16 steps of target joint positions, runs 8 of them, then looks again. 3D-ViTac uses PointNet++.

Joint positions are used twice: once to place the tactile points, and once as an input of their own.

Why 3D

3D-ViTac compared the two representations with the same point-cloud vision, on four two-armed tasks. Its pads were the earlier 16 × 16 sensor (FlexiTac-V1). Success rates over 20 trials:

TaskTactile images (CNN)Tactile points
Egg steaming0.700.85
Fruit preparation0.650.80
Hex key collection0.500.90
Sandwich serving0.650.85

From the 3D-ViTac paper, Table 1 ("PC w/ Tactile Image" against "PC w/ Tactile Points"). With the camera points alone, the same policy scored 0.45 to 0.65.

In simulation

VT-Refine builds the same observation in simulation, so a policy trained on real demonstrations can keep training there with reinforcement learning. The taxel grid is laid on each simulated pad, the physics engine gives the pad's pose, and each reading comes from how far the taxel presses into the object, normalized with the same rule as the real pads. Noise is added to the simulated camera points only. See Tactile simulation.

The viewer above comes from FlexiTac's Isaac Sim simulation in the same way. Its tactile sensors give each taxel's position and reading directly. The picture and the camera points come from the simulated camera's color and depth images, so the cloud has no sensor noise, and the table is cropped away just above its surface, as on a real robot (recording script).

The data

VT-Refine's pre-training data, its real-robot demonstrations, stores every step as plain arrays. For the ALOHA tasks:

ArrayShape per stepWhat it holds
point_cloud3 × 512Camera points: x, y, z in metres, in the table's frame
tactile_points4 × 1,536The four pads' 384 taxels each: x, y, z and the reading (0 to 1, each pad scaled by its own peak)
joint_states16Joint positions: per arm, 6 joints and 2 fingers, left arm first, scaled to −1…1
actions16Target joint positions, in the same order and scale
traj_lengthsone per demonstrationIts number of steps, to split the arrays into demonstrations

The pads are in the order left arm left finger, left arm right finger, right arm left finger, right arm right finger. normalization.pth, next to each train.npz, holds the ranges to turn joint values and actions back into radians and metres.

To get the 2D maps back from this data, or to build the five-channel cloud yourself:

import numpy as np

d = np.load("train.npz")                    # plain arrays; no pickle needed
pc, tac = d["point_cloud"][t], d["tactile_points"][t]   # (3, 512), (4, 1536)

# 2D: each pad's 384 points are stored column by column
maps = tac[3].reshape(4, 32, 12).transpose(0, 2, 1)       # (4, 12, 32)

# 3D: x, y, z, reading, flag
cloud = np.concatenate([
    np.vstack([pc,  np.zeros((2, 512))]),    # camera points: reading 0, flag 0
    np.vstack([tac, np.ones((1, 1536))]),    # tactile points: reading, flag 1
], axis=1)                                   # (5, 2048)

The data is about 909 MB, under CC BY-NC 4.0. Download it with data/fetch_vt-refine_data.sh from the VT-Refine repository.