Spent a few minutes building a rig to evaluate a LEGO Mindstorms sensor that measures angles. Spent a few hours trying to read the angles from a computer program. Eventually a simple test suggested the sensor is defective. My next LEGO creation needs to “know” its joint angles.