Franka

We assume that you have a NUC running with a real-time kernelarrow-up-right as the Franka controller, and a separate workstation for policy inference, on the same network.

Gripper hardware setup

Follow this guide to assemble the gripper: Assembly Guidearrow-up-right

Have the following materials ready:

  1. Connect the Dynamixel Motor to the U2D2 Power Hub. You will hear a clicking sound when connected:

  1. Connect the Power Hub to the U2D2 Board

  1. Connect the U2D2 and your computer with the USB cable. A red light will turn on.

  1. Plug the 12V 5A power supply into the U2D2 Power Hub board and switch on the power. A red LED should turn on.

Go to the robot-server directory and run this script to initialize the gripper:

  1. Attach gripper to the mount with M2.5 x 10mm screws

  1. Mount your 3D printed franka mount with M6 x 10mm screws

NUC Set-Up

  1. SSH into the NUC hosting your Franka.

  1. Setup Deoxys, select 0.13.3 for libfranka when prompted

  1. Input necessary IPs into the following config

  1. Run the following from the deoxys directory to start deoxys server.

  • Errors will repeat until the next section is complete

Franka Setup

  1. Setup and activate a proxy in your browser (e.g., FoxyProxy on Firefox).

    • Example FoxyProxy config:

  1. Connect to Franka Desk using the Franka IP inputted into the config.

  • Where the URL is, you'll see the input is an IP:

  1. Unlock the joints in Franka Desk (open lock icon under the Joints tab).

  1. Set Execution mode (bottom-right in the UI).

  1. Activate FCI mode:

  • Click the IP (top-right) → Activate FCI Mode. The arm indicator should turn green (Not guaranteed for all versions of Franka):

  1. Review NUC SSH terminal that errors have stopped.

  2. Download the Franka gripper profile below

file-archive
468B
  1. Head to Settings in Franka Desk

  1. Click on End Effector

  1. Import the JSON from the downloaded zip

  1. Activate the Gripper Profile

Deploying a Trained Policy

  1. Set up the iPhone on the robot:

    • Slide the iPhone into the gripper mount until the camera block hits the mount, then tighten the knob (snug, not over-tight).

  • Connect the iPhone to the robot via USB.

  • In Record3D app settings: set RGBD Streaming mode to USB and FPS to 30.

  • Press Record to enter “stream-ready” mode.

Unless otherwise specified, the following steps assume that we are in the min-stretch repo root directory. 2. Set up Deoxys

  1. Edit the following config and input necessary IPs

  1. Calibrate Gripper:

  2. Start the robot server:

    This starts streaming images from the iPhone and the robot begins listening for action commands. If you have missing imports, try pip3 install hydra-core record3d (and any other missing packages).

  3. Run the policy in another terminal (requires display):


Last updated