IHMC Open Robotics Software

IHMC Open Robotics Software

  • IHMC Home
  • All IHMC Docs
  • About IHMC

›Quick Start (Eclipse)

Quick Start (Eclipse)

  • Prerequisites
  • Create your First GradleProject
  • Import GradleProject
  • Create the ValkyrieDemo Class
  • ValkyrieDemo Run Configuration
  • Run ValkyrieDemo

Create The ValkyrieDemo Class


Open the Java Perspective

You'll want to have the Java Perspective open before you create and edit your class. After importing the Gradle Project you are often left with the Gradle Tasks window open and the Java Perspective minimized. Click the maximize perspective button on the right of the Eclipse IDE window to expand the Java Perspective.

Wizard Search

Once expanded you should see the GradleProject selected on the left and Java on the top right.

Wizard Search


Create a New Class to Run the Valkyrie Simulation

Press Ctrl+N (Cmd+N on OS X) to bring up the "New" wizard, type out "Class" to filter down to the "Class" option, and then click Next.

Wizard Search

Java classes are organized by "packages". Many IHMC packages start with us.ihmc, you can use your organization, a personal website, or whatever you'd like as your package. Here we're going to use us.ihmc.demo as the package, and ValkyrieDemo as the name of the class. Fill out this information and click Finish:

New Class Wizard

Fill in the class to look like the following:

← Import GradleProjectValkyrieDemo Run Configuration →
IHMC Open Robotics Software
Docs
Quick StartSoftware Documentation
Community
GitHubFacebookTwitterYouTube
Copyright © 2018 IHMC Robotics