Install the Paxini SDK
Activate your virtual environment (created in Unit 0), then install the SDK:
sudo python -m paxini.install_udev once to set USB permissions, then unplug and replug the sensor.
Connect the Sensor
Plug the Gen3 into your computer using the included USB-C cable. At this point, the sensor does not need to be mounted on a gripper — you can hold it in your hand or lay it flat for testing.
Verify the sensor is detected:
Your First 5-Line Streaming Script
Create a file called first_reading.py and paste this:
Run it and press the sensor surface with your finger. You should see the force reading increase and in_contact switch to True. Press Ctrl+C to stop.
Live Heatmap Verification
The built-in visualizer shows the full taxel array as a color-coded heatmap. This is how you verify that every taxel is functional and calibrated:
With the heatmap open:
- With no contact, the entire array should be a uniform dark blue (near-zero pressure). Any taxels that appear bright yellow at rest indicate a calibration issue — run
sensor.calibrate()in Python to zero-offset. - Press the sensor surface with your fingertip. A localized region should light up bright yellow/red corresponding to the contact area. Move your finger around — the pressure centroid should follow.
- Press evenly across the full sensing area. Every taxel should respond. Any taxel that remains dark when pressed is defective — contact Paxini support.
Unit 1 Complete When...
You can run python -m paxini.discover and see your sensor listed. The live heatmap shows a dark resting state and a localized bright region when you press the sensing surface. Every taxel responds to contact — no permanent dark zones.