Simulation Construction Set

Simulation Construction Set

  • IHMC Home
  • All IHMC Docs
  • About IHMC

›Creating a New Simulation

Getting Started

  • Quick Start
  • Requirements
  • Using IHMC Open Robotics Software .jar releases with Maven/Gradle
  • Building .jars
  • Depending Directly on the Source

Using the SCS GUI

  • Running a simulation
  • Changing the Camera Settings
  • SCS Variables
  • Graphing Variables
  • Simulation Replay
  • Data Buffer
  • Exporting Data
  • Export Snapshots and Video of the 3D View

Creating a New Simulation

  • Summary
  • Create a New Project
  • SimplePendulumSimulation.java
  • SimplePendulumRobot.java
  • Run the simulation

Adding Control to a Simulation

  • Summary
  • Adding control to a simulation
  • Run the simulation

Creating Links

  • Summary
  • Creating Links
  • Run the Simulation

Creating Robot with Multiple Joints

  • Summary
  • Create a New Package
  • Mobile Simulation
  • Initial Variables in MobileRobot Class
  • MobileRobot Class Description

Ground Contact Modeling

  • Summary
  • Create a New Package
  • Create a New Class FallingBrickSimulation
  • Create a New Class FallingBrickRobot
  • Create a New Class WavyGroundProfile
  • Description and Analysis

Implementing Closed-Chain Mechanisms Using External Force Points

  • Summary
  • Implementing Closed-Chain Mechanisms
  • FlyballGovernorSimulation Class
  • FlyballGovernorRobot Class
  • FlyballGovernorSimpleClosedLoopConstraintController Class
  • FlyballGovernorCommonControlParameters Class
  • Description and Analysis

Create a New Project

First you need to create the SimulationConstructionSetTutorial Gradle project which references some IHMC Maven artifacts. This project will also be used by all the other SCS tutorials. If you need a reminder of how to create the project, checkout the Quick Start.

1. Create the Project Directory Structure and the build.gradle File

Create a directory called SimulationConstructionSetTutorial and create the Gradle folder structure as follows:

SimulationConstructionSetTutorial
└── src
    └── main
        └── java

2. Create the build.gradle File

In your SimulationConstructionSetTutorial folder create a file named build.gradle with the following contents:


apply plugin: 'java'  

sourceCompatibility = 1.5  

repositories {
    maven {
        url  "http://dl.bintray.com/ihmcrobotics/maven-release" // IHMC Code releases
    }

    maven {
        url  "http://dl.bintray.com/ihmcrobotics/maven-vendor" // Third-party libraries that we have vendored for various reasons
    }

    /*
     *  Maven repos hosted at IHMC for some legacy vendored
     *  dependencies we have not been able to vendor on Bintray yet.
     *  This will be going away eventually.
     */
    maven {
        url "https://bengal.ihmc.us/nexus/content/repositories/thirdparty/"
    }

    jcenter() // One of the central Maven repos. You can also use mavenCentral() instead or in addition to.
}

dependencies {
    compile 'us.ihmc:SimulationConstructionSet:{{OpenSourceVersion}}' 
}


Now import this Gradle project into your IDE as you did in the Quick Start.

← SummarySimplePendulumSimulation.java →
Simulation Construction Set
Docs
Quick StartSoftware Documentation
Community
GitHubFacebookTwitterYouTube
Copyright © 2018 IHMC Robotics