Described embodiments include apparatus that includes a catheter. A tube, at a distal portion of the catheter, includes a plurality of segments that are at least partly disconnected from each other, and a plurality of bridges that span respective neighboring pairs of the segments. The apparatus further includes one or more strain gauges, each of the strain gauges being coupled to a respective one of the bridges, and being configured to output a signal in response to bending of the respective one of the bridges. Other embodiments are also described.