Dobb·E
HomepageGithub
  • Introduction
  • 🛠️Hardware
    • Putting Together the Stick
    • Setting up your iPhone
    • Using the Stick to Collect Data
    • Putting Together the Robot Mount
    • Mounting the iPhone to the Robot
  • 🖥️Software
    • Getting started with Dobb·E code
      • Setting up the Datasets
      • Fine-tuning Policies
      • Deploying a Policy on the Robot
      • [Optional] Training Your Own Home Pretrained Representations
    • Processing Collected Data
    • Running the Robot Controller
  • 📞Contact us
Powered by GitBook
On this page
  • Getting Started
  • Running
  1. Software

Running the Robot Controller

You will need to run the controller code on the robot so that our policy can communicate with the robot, get the observations, and execute the actions. This step walks you through that.

PreviousProcessing Collected DataNextContact us

Last updated 1 year ago

Code to start the camera stream publisher and robot controller. The code is useful for -based camera streaming, but can be adapted for other use cases.

Getting Started

  1. Clone repository onto your Hello Robot Stretch:

    git clone https://github.com/notmahi/dobb-e.git
    cd dobb-e/robot-server
  2. Install required packages on your root pip env (where hello_robot package is installed):

    pip install -r requirements.txt

Running

  1. If you just turned on the robot, perform joint calibration on your Stretch by running the following in terminal:

    stretch_robot_home.py

    this only needs to be run once every time the robot is booted up.

  2. In a separate terminal window, Run roscore on your Stretch within the conda/mamba environment home_robot on your Stretch

    mamba activate home_robot
    roscore
  3. .

  4. Change current working directory to this repository’s root folder (cd ../robot-server).

  5. Run in terminal (not within the conda environment, but in the root pip environment):

    python3 start_server.py
🖥️
Record3d
Attach and set up iPhone on robot